/* MAGIC PAPER — the store. HIS world (PERSONALITY-BRAND-2026-10-28):
   deep navy night, electric blue, metallic gold at full strength.
   Sampled from his medallion art: ring #0066FF, jersey royal blue,
   lettering gold #F2C158, warm white #F3EAE1. No red — red is his
   other artwork, not this album. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --field: #01081c;
  --field-2: #020e30;
  --panel: #04163a;
  --panel-2: #061e4c;
  --ink: #f5efe0;
  --muted: #9db1d6;
  --hairline: rgba(147, 167, 204, 0.20);
  --gold: #f2c158;
  --gold-hi: #ffe9a8;
  --gold-deep: #c8890a;
  --gold-line: rgba(242, 193, 88, 0.34);
  --blue: #0066ff;
  --blue-soft: #2e7dff;
  --navy-text: #04122e;
  --gold-grad: linear-gradient(180deg, #ffe9a8 0%, #f2c158 46%, #d98e0b 80%, #f2c158 100%);
  --gold-metal: linear-gradient(160deg, #ffe9a8 0%, #c8890a 28%, #8a5a06 52%, #f2c158 78%, #7a4e04 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { overscroll-behavior: none; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
::selection { background: var(--gold); color: var(--navy-text); }

/* metallic gold gradient text — his two-tone lettering: white, then gold */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* printed grain over flat fields */
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; min-width: 0; }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--gold-line);
}
.wordmark {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.55rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.wordmark em { font-style: normal; }
.artist-mark {
  width: 36px; height: 36px; border-radius: 24%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero-note { color: var(--muted); font-size: 1rem; max-width: 32rem; margin: 0.9rem 0 0; }
.head-meta {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.18em; font-size: 0.8rem; color: var(--muted); text-transform: uppercase;
  white-space: nowrap;
}
.head-link {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: 0.14em; font-size: 0.85rem; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--gold-line); border-radius: 999px;
  padding: 0.5rem 1rem; white-space: nowrap; color: var(--gold);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .head-link:hover { border-color: var(--gold); color: var(--gold-hi); }
}

/* ---------- type furniture ---------- */
.eyebrow {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.82rem;
  color: var(--gold); margin: 0 0 0.9rem;
}
h1, h2 {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; margin: 0;
}
h2 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
section { padding: 4.2rem 0 0; }

/* ---------- hero: his night — navy room, golden city glow ---------- */
.hero { position: relative; padding: 3.2rem 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/cover-blue-rebuilt.jpg") center 30% / cover no-repeat;
  filter: blur(42px) saturate(1.35); opacity: 0.5; transform: scale(1.15);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(58% 42% at 50% 26%, rgba(242, 193, 88, 0.30), rgba(242, 193, 88, 0) 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1, 8, 28, 0.55), rgba(1, 8, 28, 0.96) 80%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; align-items: center;
}
.hero h1 { font-size: clamp(4.6rem, 21vw, 12.5rem); }
.hero h1 .tape-line { display: block; color: var(--ink); }
.hero h1 .tape-line.gold-text { color: transparent; }
.hero-sub {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  font-size: clamp(1.35rem, 4.6vw, 1.9rem); line-height: 1.15; letter-spacing: 0.01em;
  margin: 1.1rem 0 0; max-width: 30rem; text-transform: uppercase;
}
.hero-sub strong { color: var(--gold); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }

/* ---------- the medallion, set like a pendant ----------
   Chunky gold plaque frame, an electric-blue inner ring echoing the
   ring in his own art, gold glints at the corners. The art itself is
   never cropped, stretched, or written over (verdicts #1/#2 stand). */
.album-card { width: min(320px, 82vw); margin-inline: auto; }
.medallion {
  position: relative; padding: 10px; border-radius: 22px;
  background: var(--gold-metal);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.75),
    0 0 64px rgba(242, 193, 88, 0.28),
    0 0 130px rgba(0, 102, 255, 0.22);
}
.medallion::before {
  content: ""; position: absolute; inset: 5px; border-radius: 18px;
  border: 2px solid rgba(0, 102, 255, 0.6); pointer-events: none; z-index: 2;
}
.medallion img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 13px; position: relative; z-index: 1;
}
.sparkle { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 0 6px rgba(255, 233, 168, 0.8)); }
.sparkle.s1 { top: -13px; left: -11px; width: 30px; height: 30px; }
.sparkle.s2 { top: -8px; right: -9px; width: 21px; height: 21px; }
.sparkle.s3 { bottom: -11px; right: 12%; width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .sparkle { animation: glint 3.2s var(--ease-in-out) infinite alternate; }
  .sparkle.s2 { animation-delay: 1.1s; }
  .sparkle.s3 { animation-delay: 2s; }
}
@keyframes glint { from { opacity: 0.55; } to { opacity: 1; } }
.cover-caption {
  margin-top: 0.95rem; text-align: center; color: var(--gold);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
}

/* ---------- his own words ---------- */
.his-words { position: relative; z-index: 1; margin-top: 3rem; max-width: 44rem; }
.his-words blockquote {
  margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 5.4vw, 2.1rem); line-height: 1.12; text-transform: uppercase;
  letter-spacing: 0.01em;
}
.his-words blockquote::before { content: "“"; color: var(--gold); }
.his-words blockquote::after { content: "”"; color: var(--gold); }
.his-words figcaption {
  margin-top: 0.6rem; color: var(--muted);
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem;
}
.his-words figcaption strong { color: var(--gold); font-weight: 700; }

/* ---------- gold chain divider — his jewelry as page furniture ---------- */
.chain {
  height: 20px; margin-top: 3.2rem; opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='20' viewBox='0 0 34 20'%3E%3Cg fill='none' stroke-width='2.6'%3E%3Cellipse cx='9' cy='10' rx='8' ry='4.6' stroke='%23c8890a' transform='rotate(-24 9 10)'/%3E%3Cellipse cx='25' cy='10' rx='8' ry='4.6' stroke='%23f2c158' transform='rotate(24 25 10)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; background-size: 34px 20px;
}

/* ---------- buttons: the money button is gold ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold-grad); color: var(--navy-text); border: 0; border-radius: 8px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.95rem 1.7rem; text-decoration: none;
  box-shadow: 0 10px 30px rgba(200, 137, 10, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 140ms var(--ease-out), filter 160ms var(--ease-out);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { filter: brightness(1.07); }
}
.btn.ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-line); box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn.ghost:hover { border-color: var(--gold); filter: none; }
}
.cta-note { color: var(--muted); font-size: 0.9rem; }

.fact-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--gold-line); border: 1px solid var(--gold-line); border-radius: 10px;
  overflow: hidden; margin-top: 3rem;
}
.fact {
  background: var(--panel); padding: 1.05rem 1.2rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.fact svg { flex-shrink: 0; }

/* ---------- protection beats ---------- */
.beats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2rem; }
.beat {
  background: var(--panel); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
  border-radius: 12px; padding: 1.6rem 1.5rem 1.7rem;
}
.beat .num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 2.6rem; line-height: 1;
}
.beat h3 {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.55rem; letter-spacing: 0.02em; margin: 0.7rem 0 0.5rem; line-height: 1;
}
.beat p { margin: 0; color: var(--muted); }

/* ---------- tracklist ---------- */
.tracks {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden;
}
.track {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--panel); padding: 1rem 1.2rem; min-width: 0;
}
.track + .track { border-top: 1px solid var(--hairline); }
.track .no {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.3rem;
  color: var(--gold); font-variant-numeric: tabular-nums; flex-shrink: 0; width: 2ch;
}
.track .title {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.15rem; flex: 1 1 auto; min-width: 0;
  overflow-wrap: anywhere;
}
.track .state {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; flex-shrink: 0;
}

/* ---------- buy card ---------- */
.buy-card {
  margin-top: 2rem; background: var(--panel-2);
  border: 2px solid var(--gold-deep); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 233, 168, 0.25), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 70px rgba(242, 193, 88, 0.10);
  padding: 1.7rem 1.5rem; display: grid; gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
}
.buy-card .thumb {
  width: 92px; height: auto; border-radius: 8px;
  border: 2px solid var(--gold-deep); box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.4);
}
.buy-head { display: flex; gap: 1.2rem; align-items: center; min-width: 0; }
.buy-name {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.9rem; line-height: 0.95; margin: 0;
}
.buy-artist { color: var(--muted); margin: 0.3rem 0 0; }
.price-line { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.price {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.get-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; color: var(--muted); }
.get-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.get-list li::before { content: "—"; color: var(--gold); font-weight: 700; }
.buy-card .btn { justify-content: center; width: 100%; }
.fineprint { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ---------- footer ---------- */
footer { margin-top: 5rem; border-top: 1px solid var(--gold-line); padding: 2.2rem 0 2.6rem; }
footer .f-brand {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: 0.04em;
}
footer p { color: var(--muted); font-size: 0.9rem; max-width: 36rem; }
footer a { color: var(--gold); }

/* ---------- checkout sheet ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(1, 5, 18, 0.76);
  opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out);
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  background: var(--panel-2); border-top: 3px solid var(--gold);
  border-radius: 18px 18px 0 0; padding: 1.6rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform 260ms var(--ease-out);
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
}
.sheet.open { transform: translateY(0); }
.sheet h2 { font-size: 2.2rem; }
.sheet .row-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--hairline); padding: 0.9rem 0; margin-bottom: 1.2rem;
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.85rem; color: var(--muted);
}
.field input {
  width: 100%; font-size: 16px; font-family: "Barlow", system-ui, sans-serif; font-weight: 600;
  background: var(--field); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 8px; padding: 0.85rem 1rem;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.sheet .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.sheet-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: 1px solid var(--gold-line);
  color: var(--gold); border-radius: 999px; width: 2.4rem; height: 2.4rem; font-size: 1.1rem; line-height: 1;
  user-select: none; -webkit-user-select: none;
}
.success-mark {
  width: 4rem; height: 4rem; border-radius: 999px; background: rgba(242, 193, 88, 0.12);
  border: 2px solid var(--gold); display: grid; place-items: center; margin-bottom: 1rem;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.35);
}

/* ---------- listen page ---------- */
.license-card {
  margin-top: 2.2rem; background: var(--panel-2);
  border: 2px solid var(--gold-deep); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 233, 168, 0.25), 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 1.5rem; display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap;
}
.license-card .thumb {
  width: 84px; height: auto; border-radius: 8px; flex-shrink: 0;
  border: 2px solid var(--gold-deep); box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.4);
}
.license-card .lic-label {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--gold); margin: 0;
}
.license-card .lic-name {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 2rem; line-height: 1; margin: 0.25rem 0; overflow-wrap: anywhere;
}
.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.chip {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 0.28rem 0.7rem; color: var(--muted);
}
.chip.hot { border-color: var(--gold); color: var(--gold); }
.leak-line { color: var(--muted); margin: 1rem 0 0; }
.leak-line strong { color: var(--ink); }

.player-bar {
  margin-top: 2rem; background: var(--panel); border: 1px solid var(--gold-line);
  border-radius: 14px; padding: 1.3rem 1.4rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.play-main {
  width: 4.2rem; height: 4.2rem; border-radius: 999px; border: 0; flex-shrink: 0;
  background: var(--gold-grad); color: var(--navy-text); display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(200, 137, 10, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 140ms var(--ease-out);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.play-main:active { transform: scale(0.95); }
.now { min-width: 0; flex: 1 1 12rem; }
.now .now-label {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.2em;
  font-size: 0.75rem; text-transform: uppercase; color: var(--gold); margin: 0;
}
.now .now-title {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.7rem; line-height: 1; margin: 0.2rem 0 0.3rem; overflow-wrap: anywhere;
}
.now .now-status { margin: 0; color: var(--muted); font-size: 0.92rem; }
.now .now-status strong { color: var(--gold); }

.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; flex-shrink: 0; }
.eq i {
  display: block; width: 4px; height: 100%; background: var(--gold); border-radius: 2px;
  transform-origin: bottom; transform: scaleY(0.25);
}
@media (prefers-reduced-motion: no-preference) {
  .eq.on i { animation: eq-bounce 0.7s var(--ease-in-out) infinite alternate; }
  .eq.on i:nth-child(2) { animation-delay: 0.15s; }
  .eq.on i:nth-child(3) { animation-delay: 0.3s; }
  .eq.on i:nth-child(4) { animation-delay: 0.45s; }
}
@keyframes eq-bounce { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

.track .play-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 999px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--gold-line); color: var(--gold);
  display: grid; place-items: center;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.track .play-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .track .play-btn:hover { border-color: var(--gold); }
}
.track.active { background: var(--panel-2); }
.track.active .play-btn { background: var(--gold-grad); border-color: var(--gold-deep); color: var(--navy-text); }
.slot-note {
  display: none; width: 100%; color: var(--muted); font-size: 0.88rem; margin: 0;
  padding: 0 0 0.9rem 3.4rem;
}
.track.active .slot-note { display: block; }
.slot-note strong { color: var(--gold); font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.14em; }

.no-dl {
  margin-top: 2rem; border: 1px dashed var(--gold-line); border-radius: 12px;
  padding: 1.3rem 1.4rem; color: var(--muted);
}
.no-dl strong { color: var(--ink); }

/* ---------- artist view ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.stat {
  background: var(--panel); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
  border-radius: 12px; padding: 1.2rem 1.3rem;
}
.stat .stat-num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 2.6rem;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .stat-label {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem;
}
.buyers { margin-top: 1.6rem; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.buyer {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center;
  background: var(--panel); padding: 1.05rem 1.2rem;
}
.buyer .b-id { flex: 1 1 11rem; min-width: 0; }
.buyer + .buyer { border-top: 1px solid var(--hairline); }
.buyer .b-name {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: 0.03em; overflow-wrap: anywhere;
}
.buyer .b-meta { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.status { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.14em; font-size: 0.78rem; text-transform: uppercase; }
.status.active { color: #8bd45e; }   /* functional status signal, not a brand color */
.status.cut { color: #ff7a59; }      /* functional status signal, not a brand color */
.cut-btn {
  margin-left: auto; background: transparent; border: 1px solid var(--gold-line); color: var(--ink);
  border-radius: 8px; padding: 0.55rem 0.95rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.85rem; white-space: nowrap;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease-out);
  user-select: none; -webkit-user-select: none;
}
.cut-btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .cut-btn:hover { border-color: var(--gold); }
}

/* ---------- desktop composition ---------- */
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .album-card { margin-inline: 0; justify-self: end; width: min(400px, 100%); }
  .fact-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .beats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buy-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .buy-card .btn { width: auto; padding-inline: 2.4rem; }
  .sheet { left: auto; width: 480px; border-radius: 18px 0 0 0; border-left: 3px solid var(--gold); }
}

@media (max-width: 560px) {
  .head-meta { display: none; }
  .site-head { gap: 0.7rem; }
  .wordmark { font-size: 1.35rem; }
  .artist-mark { width: 32px; height: 32px; }
  /* numbers never wrap or clip (P-26): the $105 stat must fit its column whole */
  .stats { gap: 0.7rem; }
  .stat { padding: 1rem 0.85rem; }
  .stat .stat-num { font-size: 1.85rem; white-space: nowrap; }
  .stat .stat-label { font-size: 0.68rem; letter-spacing: 0.13em; }
}

@media (prefers-reduced-motion: reduce) {
  .eq.on i { animation: none; transform: scaleY(0.7); }
  .sparkle { animation: none; }
  .sheet, .sheet-backdrop, .btn, .play-main, .track .play-btn, .cut-btn, .head-link { transition: none; }
}

/* ---------- JEWEL UPGRADE — Oct 28, 2026 (Joseph: page read too cheap; his style is jewels) ----------
   Lawrence's world turned up: the medallion is treated like a pendant, the price like a gold
   plaque, the section numbers like coins, and every panel gets gold trim, bevel and depth.
   No new motion is introduced here; the existing sparkle/EQ loops keep their reduced-motion gates. */
:root {
  --gold-line: rgba(242, 193, 88, 0.55);
  --hairline: rgba(163, 184, 222, 0.26);
  --jewel-panel: linear-gradient(155deg, rgba(255, 233, 168, 0.075), rgba(0, 102, 255, 0.065) 44%, rgba(0, 0, 0, 0.18));
}
body {
  background:
    radial-gradient(62rem 34rem at 50% -10rem, rgba(242, 193, 88, 0.16), rgba(242, 193, 88, 0) 62%),
    radial-gradient(46rem 30rem at 88% 18%, rgba(0, 102, 255, 0.20), rgba(0, 102, 255, 0) 65%),
    radial-gradient(40rem 26rem at 8% 62%, rgba(242, 193, 88, 0.07), rgba(242, 193, 88, 0) 60%),
    linear-gradient(180deg, #020d2e 0%, var(--field) 34rem);
  background-color: var(--field);
}
.site-head {
  border-bottom: 1px solid rgba(242, 193, 88, 0.65);
  box-shadow: 0 1px 0 rgba(255, 233, 168, 0.22), 0 16px 34px rgba(0, 0, 0, 0.22);
}
.artist-mark {
  width: 40px; height: 40px; border-width: 3px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 102, 255, 0.35), 0 0 24px rgba(242, 193, 88, 0.22);
}
.head-link {
  background: rgba(1, 8, 28, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.35), 0 8px 22px rgba(0, 0, 0, 0.25);
}
.hero-bg {
  background:
    radial-gradient(58% 42% at 50% 26%, rgba(242, 193, 88, 0.30), rgba(242, 193, 88, 0) 70%),
    url("assets/cover-blue-rebuilt.jpg") center 30% / cover no-repeat;
  filter: blur(34px) saturate(1.45);
  opacity: 0.58;
}
.eyebrow { text-shadow: 0 0 18px rgba(242, 193, 88, 0.35); }
.hero-sub strong { text-shadow: 0 0 16px rgba(242, 193, 88, 0.35); }
.medallion {
  padding: 14px; border-radius: 26px;
  border: 1px solid rgba(255, 233, 168, 0.78);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.78),
    0 0 72px rgba(242, 193, 88, 0.34),
    0 0 150px rgba(0, 102, 255, 0.26),
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -12px 24px rgba(90, 52, 0, 0.55);
}
.medallion::before {
  inset: 8px; border-radius: 20px; border-width: 3px;
  border-color: rgba(46, 125, 255, 0.88);
  box-shadow: inset 0 0 0 2px rgba(255, 233, 168, 0.35), 0 0 20px rgba(0, 102, 255, 0.45);
}
.medallion img { border-radius: 16px; }
.btn {
  position: relative; overflow: hidden;
  border: 1px solid #7a4e04; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(200, 137, 10, 0.42), inset 0 2px 0 rgba(255, 255, 255, 0.75), inset 0 -8px 16px rgba(122, 78, 4, 0.45);
  text-shadow: 0 1px 0 rgba(255, 233, 168, 0.55);
}
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.30) 50%, rgba(255, 255, 255, 0) 60%);
}
.btn.ghost { box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.22); text-shadow: none; }
.btn.ghost::after { content: none; }
.chain {
  height: 30px; opacity: 1;
  background-image:
    radial-gradient(circle at 50% 50%, #ffe9a8 0 2.5px, #c8890a 3.5px, rgba(200, 137, 10, 0) 5.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='24' viewBox='0 0 42 24'%3E%3Cg fill='none' stroke-width='3'%3E%3Cellipse cx='11' cy='12' rx='10' ry='5.6' stroke='%23c8890a' transform='rotate(-24 11 12)'/%3E%3Cellipse cx='31' cy='12' rx='10' ry='5.6' stroke='%23f2c158' transform='rotate(24 31 12)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; background-size: 34px 30px, 42px 24px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}
.fact-row, .tracks, .buyers {
  border-color: rgba(242, 193, 88, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.22), 0 18px 44px rgba(0, 0, 0, 0.35);
}
.fact, .beat, .track, .stat, .buyer { background: var(--jewel-panel), var(--panel); }
.beat {
  border: 1px solid rgba(242, 193, 88, 0.40); border-radius: 14px;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.20), 0 16px 36px rgba(0, 0, 0, 0.30);
}
.beat::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--gold-metal);
  box-shadow: 0 1px 0 rgba(255, 233, 168, 0.55);
}
.beat .num {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--gold-metal); -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--navy-text); display: grid; place-items: center;
  font-size: 1.35rem; border: 1px solid #7a4e04;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -6px 12px rgba(122, 78, 4, 0.50), 0 8px 20px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 0 rgba(255, 233, 168, 0.60);
}
.track .no {
  width: 2.15rem; height: 2.15rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(242, 193, 88, 0.13); border: 1px solid rgba(242, 193, 88, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.35);
}
.buy-card, .license-card {
  background:
    radial-gradient(120% 150% at 15% 0%, rgba(242, 193, 88, 0.16), rgba(242, 193, 88, 0) 46%),
    linear-gradient(155deg, rgba(255, 233, 168, 0.085), rgba(0, 102, 255, 0.07)),
    var(--panel-2);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px #020b24, 0 0 0 5px rgba(200, 137, 10, 0.85), inset 0 2px 0 rgba(255, 233, 168, 0.35), inset 0 -18px 34px rgba(0, 0, 0, 0.35), 0 28px 70px rgba(0, 0, 0, 0.62), 0 0 84px rgba(242, 193, 88, 0.16);
}
.buy-card .thumb, .license-card .thumb {
  border-radius: 999px; border: 3px solid var(--gold); object-fit: cover; aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 2px #020b24, 0 0 0 4px rgba(0, 102, 255, 0.65), 0 10px 26px rgba(0, 0, 0, 0.45);
}
.price {
  display: inline-block; padding: 0.08em 0.28em 0.02em; border-radius: 10px;
  background: var(--gold-metal); color: var(--navy-text); border: 1px solid #7a4e04;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -8px 14px rgba(122, 78, 4, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 0 rgba(255, 233, 168, 0.55);
}
.get-list li::before { content: "◆"; font-size: 0.72em; }
.chip.hot { background: rgba(242, 193, 88, 0.12); box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.30); }
.player-bar {
  border-color: rgba(242, 193, 88, 0.55);
  background: var(--jewel-panel), var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.20), 0 16px 36px rgba(0, 0, 0, 0.30);
}
.play-main {
  border: 1px solid #7a4e04;
  box-shadow: 0 12px 28px rgba(200, 137, 10, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.65), inset 0 -8px 14px rgba(122, 78, 4, 0.42);
}
.stat {
  border-color: rgba(242, 193, 88, 0.40);
  box-shadow: inset 0 1px 0 rgba(255, 233, 168, 0.20), 0 14px 30px rgba(0, 0, 0, 0.28);
}
.sheet {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(242, 193, 88, 0.14), rgba(242, 193, 88, 0) 52%),
    var(--panel-2);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45), 0 0 60px rgba(242, 193, 88, 0.10);
}
.success-mark {
  background: var(--gold-metal); color: var(--navy-text);
  box-shadow: 0 0 0 2px #020b24, 0 0 0 4px rgba(0, 102, 255, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.60), 0 12px 26px rgba(0, 0, 0, 0.35);
}
@media (max-width: 560px) {
  .artist-mark { width: 36px; height: 36px; }
  .medallion { padding: 12px; }
  .price { font-size: 2.55rem; }
}

/* Joseph, Oct 28, 2026: the drawn chain motif is killed — never render it. */
.chain { display: none !important; }

/* ---------- SIMPLE STORE — Oct 28, 2026 (Joseph: "too much going on — it doesn't just say buy and play the music") ----------
   The storefront is now one screen of intent: cover, name, price, one button, the tracks.
   The argument sections are gone; what remains is the buy and the play. */
.hero.simple { padding-top: 1.4rem; }
.simple-wrap { position: relative; z-index: 1; }
.simple-cover { width: min(340px, 86vw); margin-inline: auto; }
.simple-title {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.01em; margin: 1.5rem 0 0;
  font-size: clamp(3.9rem, 17.5vw, 6.4rem);
}
.simple-title .tape-line { display: block; color: var(--ink); }
.simple-title .tape-line.gold-text { color: transparent; }
.simple-sub { font-size: 1.12rem; color: var(--ink); margin: 0.7rem 0 0; max-width: 30rem; }
.simple-buy { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.35rem; }
.simple-btn { font-size: 1.35rem; padding: 1rem 2.1rem; }
.simple-note { color: var(--muted); margin: 1rem 0 0; max-width: 30rem; }
.simple-tracks { padding-top: 3rem; }
.simple-h { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.success-mark svg path { stroke: #04122e; }
@media (min-width: 760px) {
  .simple-wrap { max-width: 640px; }
  .simple-cover { width: 380px; }
  .simple-tracks { max-width: 860px; }
}

/* ---------- RICH REDESIGN — staging Oct 28, 2026 ----------
   Rich = real light, real texture, black, and space. The hero is a photographic scene
   (black velvet, a shaft of light, gold dust) with his real medallion composited into it.
   Everything drawn and flat comes off the page: no blue panels, no clip-art coins. */
body.rich { background: #030303; }
.rich-hero { position: relative; overflow: hidden; background: #000; }
.rich-hero-img {
  display: block; width: 100%; height: min(93svh, 1020px);
  object-fit: cover; object-position: 50% 36%;
}
.rich-veil {
  position: absolute; inset: auto 0 0 0; text-align: center;
  padding: 5rem 1.25rem 2.1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.52) 46%, rgba(0,0,0,.9));
}
.rich-house {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.42em; text-indent: 0.42em; color: var(--gold); font-size: 0.95rem; margin: 0;
}
.rich-line { color: var(--ink); font-size: 1.12rem; margin: 0.65rem auto 0; }
.rich-btn { margin-top: 1.3rem; font-size: 1.28rem; padding: 1.02rem 2.15rem; }
.rich-micro { color: #b6b0a1; font-size: 0.97rem; margin: 1rem auto 0; max-width: 32rem; text-align: center; }
.rich-play { padding-top: 2.8rem; }
.rich-play-h {
  font-size: 1.02rem; font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
}
.rich-tracks { background: transparent; border: none; border-radius: 0; box-shadow: none; overflow: visible; margin-top: 0.9rem; }
.rich-tracks li { padding: 0.95rem 0.1rem; border-bottom: 1px solid rgba(242,193,88,.16); gap: 0.95rem; }
.rich-tracks li:first-child { border-top: 1px solid rgba(242,193,88,.16); }
.rich-tracks .title { font-size: 1.12rem; }
.rich-tracks .state { color: #8d8672; }
.rich .play-ring {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(233,185,73,.85); background: rgba(233,185,73,.07);
  display: grid; place-items: center; box-shadow: none;
}
.rich .play-ring svg { margin-left: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 760px) {
  .rich-hero-img { object-position: 50% 22%; }
  .rich-play { max-width: 860px; }
}

/* Rich fix — the base .tracks panel outranked the first rich override; scope it to the page. */
body.rich .rich-tracks { background: transparent; border: none; border-radius: 0; box-shadow: none; }
body.rich .rich-tracks li { background: transparent; border-bottom: 1px solid rgba(242,193,88,.16); }
body.rich .rich-tracks li:first-child { border-top: 1px solid rgba(242,193,88,.16); }
body.rich .play-ring {
  width: 36px; height: 36px; border: 2px solid rgba(233,185,73,.9);
  background: rgba(233,185,73,.08); box-shadow: 0 0 0 3px rgba(0,0,0,.35);
}

/* Rich fix 2 — the rows themselves carried the navy paint (.tracks li), and the page
   class never landed on <body>. Rows go transparent; only hairlines remain. */
.tracks.rich-tracks li { background: transparent; }

/* ---------- The two doors: $35 album · $7 a song (Joseph, Oct 28, 2026) ---------- */
.song-price {
  background: rgba(242,193,88,.08); border: 1.5px solid rgba(242,193,88,.6); border-radius: 999px;
  color: #f2c158; cursor: pointer; font-family: var(--font-display); font-size: .86rem; font-weight: 700;
  letter-spacing: .05em; padding: .42rem .85rem; white-space: nowrap;
}
.song-price:active { transform: scale(.96); }
.doors-line { color: var(--muted); font-size: 1rem; margin: .2rem 0 0; }
.doors-line strong { color: #f2c158; }
.track.locked .title { color: var(--muted); }
.track.locked .no { opacity: .4; }
.track.locked .play-btn { background: transparent; border-color: var(--hairline); color: var(--muted); cursor: default; }

/* ---------- RICH v2 upgrades: theater scene, case frame, fuller gold (Oct 28, 2026) ---------- */
.rich-hero-img { height: min(96svh, 1080px); object-position: 50% 42%; }
/* Case frame removed by Joseph (Oct 28, 2026): the backdrop just fills the hero, unframed. */
.rich-house { font-size: 1.02rem; letter-spacing: .52em; }
.rich-btn { font-size: 1.32rem; padding: 1.12rem 2.7rem; }
.rich-doors { color: #b6ad97; font-size: 1rem; margin: .35rem 0 1.2rem; }
.rich-doors strong { color: #e9b949; }
.rich-tracks .play-ring { box-shadow: 0 0 10px rgba(233,185,73,.30); }
@media (min-width: 760px) { .rich-hero-img { object-position: 50% 42%; } }

/* Scroll-jump fix (Joseph, Oct 28, 2026): the hero was sized in svh — the phone's SMALL
   viewport measure, which changes as the browser bar hides and shows mid-scroll — so the
   image kept re-cropping and the name line jumped. The hero now sizes in lvh, the stable
   full measure, with a plain vh fallback. */
.rich-hero-img { height: min(96vh, 1080px); height: min(96lvh, 1080px); }

/* Identity redo (Oct 28, 2026): every shelf row carries its own art — real covers
   for Magic Paper + Eskimo, designed title tiles for the rest. */
.rich-tracks .song-thumb {
  flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover;
  border: 1px solid rgba(242,193,88,.35); background: #01081c;
}

/* Hero lettering clearance (Oct 28, 2026): the spaced CYPH LIFE line lived in the
   bottom-anchored overlay veil, right where the medallion's gold rings arc down —
   the ring strokes cut through the letters (first C and last E half-eclipsed),
   worse on shorter viewports where the cover-crop shifts the disk lower.
   Fix: the caption now flows BELOW the photograph, pulling up only over the
   marble floor — a zone the disk and rings can never reach — and the photograph
   is trimmed to 76lvh so the hero keeps its overall height and the button stays
   where it was. Theater, beam, portrait and rings are untouched; the lettering
   now sits fully clear below them at every viewport. */
.rich-hero-img { height: min(76vh, 850px); height: min(76lvh, 850px); }
.rich-veil {
  position: relative; inset: auto;
  margin-top: -3rem; padding: 0.5rem 1.25rem 2.1rem;
  background: linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.62) 3.4rem, rgba(0,0,0,.92) 7.5rem);
}
