:root {
  color-scheme: dark;
  --ink: #14120f;
  --panel: #201a14;
  --paper: #fff4df;
  --muted: #d6c8b5;
  --gold: #f2c47c;
  --line: #58452f;
  --radius: 12px;
  --section: clamp(2.6rem, 5.2vw, 4.8rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: Georgia, serif; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.071em; }
h1 em { color: var(--gold); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.4vw, 3.7rem); letter-spacing: -.044em; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.6rem); }
p { color: var(--muted); }
h2 + p, h3 + p { margin-top: .55rem; }
a { color: var(--gold); text-underline-offset: .22em; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img, svg { display: block; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.brand { color: var(--paper); font-size: 1.4rem; text-decoration: none; }
nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a { color: var(--muted); display: grid; align-items: center; min-height: 44px; text-decoration: none; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .6rem; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.hero { background: radial-gradient(ellipse at 85% 50%, #4a2f1d 0%, #201811 40%, #14120f 78%); border-block: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 2rem; min-height: 540px; padding-block: 3rem; }
.hero-art { display: grid; place-items: center; }
.emblem { width: min(100%, 435px); height: auto; filter: drop-shadow(0 16px 32px #0a0605); }
.eyebrow { color: var(--gold); font-size: .73rem; font-weight: 750; letter-spacing: .16em; margin-bottom: .65rem; }
.lede { max-width: 48ch; margin-top: 1.2rem; }
.actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .56rem .9rem; background: #261e16; border: 1px solid var(--line); border-radius: 7px; color: var(--paper); text-decoration: none; font: 700 .875rem/1.3 system-ui, sans-serif; cursor: pointer; }
.button:hover { border-color: var(--gold); background: #35271a; }
.primary { color: #20160b; background: var(--gold); border-color: var(--gold); }
.primary:hover { color: #20160b; background: #ffe1ac; }
.content-stack, .section { padding-block: var(--section); }
.catalog-section { margin-top: var(--section); }
section[id] { scroll-margin-top: 1rem; }
.featured-record, .player-idle, .youtube-panel, .track-card, .collections article, .kofi, .wallets details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.featured-record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); align-items: center; gap: clamp(1.1rem, 4vw, 3rem); padding: clamp(.9rem, 2.5vw, 1.65rem); }
.featured-record > img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 7px; }
#featured-play { margin-top: .55rem; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; margin-top: 1.25rem; }
.player-column { grid-column: 2; grid-row: 1; position: sticky; top: 1rem; min-width: 0; scroll-margin-top: 1rem; }
.player-idle { overflow: hidden; }
.player-idle img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.player-idle > div, .youtube-panel { padding: clamp(.8rem, 2vw, 1.15rem); }
.chart-list { list-style: none; grid-column: 1; grid-row: 1; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chart-row { display: grid; grid-template-columns: 1.65rem clamp(3.6rem, 7vw, 5.5rem) minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .43rem .65rem; border-bottom: 1px solid #3b3025; }
.chart-row:last-child { border-bottom: 0; }
.chart-row img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--panel); }
.chart-rank { text-align: center; font: 700 1.05rem Georgia, serif; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-leader { background: linear-gradient(90deg, #382718, #1c1712); box-shadow: inset 2px 0 #a77b44; }
.chart-leader .chart-rank, .chart-play[aria-current=true] { color: var(--gold); }
.chart-title { color: var(--paper); font-weight: 740; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.chart-title:hover { text-decoration: underline; }
.chart-views { font-size: .79rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-play { padding-inline: .62rem; white-space: nowrap; }
.player-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
#youtube-slot { margin-block: .65rem; }
#youtube-slot iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; border-radius: 6px; background: #080706; }
.track-grid, .collections, .platforms, .wallets { display: grid; gap: .9rem; margin-top: 1rem; }
.track-grid, .platforms { list-style: none; padding: 0; }
.track-grid, .platforms, .wallets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.track-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: .85rem; padding: .72rem; height: 100%; color: var(--paper); text-decoration: none; }
.track-card:hover { border-color: var(--gold); }
.track-card img { width: 100%; max-width: 158px; aspect-ratio: 4 / 3; object-fit: contain; background: #0d0b09; border-radius: 6px; }
.track-card h3 { overflow-wrap: anywhere; }
.track-card time { display: block; font-size: .8rem; color: var(--muted); margin-top: .28rem; }
.release-cta { display: inline-flex; border: 1px solid var(--line); border-radius: 5px; padding: .25rem .45rem; margin-top: .55rem; color: var(--gold); font-size: .8rem; font-weight: 700; }
.more-release { display: inline-block; margin-top: .85rem; }
.collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collections article { display: flex; flex-direction: column; overflow: hidden; }
.collection-art { display: block; background: #0d0b09; }
.collection-art:focus-visible { outline-offset: -4px; }
.collection-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.collection-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.05rem; }
.collection-body p { margin-bottom: .9rem; }
.collection-body .button { margin-top: auto; }
.platforms .button { width: 100%; min-height: 50px; }
.service-icon, .coin-icon { --icon-color: var(--gold); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: none; color: var(--icon-color); border-radius: 50%; background: #12100e; }
.service-icon svg, .coin-icon svg { width: 1.12rem; height: 1.12rem; fill: currentColor; }
.service-icon svg [fill="var(--gold)"] { fill: #12100e; }
.service-icon svg [stroke="var(--gold)"] { stroke: #12100e; }
.platforms li:nth-child(1) .service-icon, .platforms li:nth-child(5) .service-icon { --icon-color: #ff5c5c; }
.platforms li:nth-child(2) .service-icon { --icon-color: #50e583; }
.platforms li:nth-child(3) .service-icon, .platforms li:nth-child(6) .service-icon { --icon-color: #ff718e; }
.platforms li:nth-child(4) .service-icon { --icon-color: #7ed9fa; }
.tip { background: #1a1510; border-block: 1px solid var(--line); }
.kofi, .contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.kofi { margin-top: 1.25rem; padding: clamp(.9rem, 2.4vw, 1.4rem); }
.kofi .primary { min-width: 145px; }
.platform-heading { margin-top: 1.65rem; }
.wallets { align-items: start; }
.wallets summary { cursor: pointer; min-height: 78px; padding: .8rem; display: grid; grid-template-columns: 2.05rem minmax(0, 1fr) 1rem; grid-template-rows: auto auto; align-content: center; column-gap: .58rem; list-style: none; }
.wallets summary::-webkit-details-marker { display: none; }
.wallets summary > span { display: contents; font-weight: 750; }
.wallets summary::after { content: "+"; grid-area: 1 / 3 / 3; align-self: center; color: var(--gold); }
.wallets details[open] summary::after { content: "−"; }
.wallets summary small { grid-area: 2 / 2; color: var(--muted); }
.coin-icon { grid-area: 1 / 1 / 3; align-self: center; width: 2rem; height: 2rem; }
.wallets details:nth-child(1) .coin-icon { --icon-color: #70efbe; }
.wallets details:nth-child(2) .coin-icon { --icon-color: #a9b8ff; }
.wallets details:nth-child(3) .coin-icon { --icon-color: #ffab52; }
.wallet-body { padding: 0 .85rem .85rem; }
.wallet-body img { width: 155px; height: auto; margin-block: .7rem; border-radius: 4px; }
.wallet-body label, .status { color: var(--muted); font-size: .85rem; }
textarea { display: block; width: 100%; margin: .3rem 0 .55rem; padding: .5rem; background: var(--ink); color: var(--paper); border: 1px solid var(--line); border-radius: 4px; resize: none; overflow-wrap: anywhere; font: .88rem/1.4 ui-monospace, monospace; }
.status:not(:empty) { margin-top: .65rem; }
.email { display: inline-block; margin-top: .55rem; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
footer .bar { min-height: 63px; }
@media (max-width: 850px) {
  .track-card { grid-template-columns: 1fr; align-content: start; }
  .track-card img { max-width: 100%; }
}
@media (max-width: 700px) {
  .hero-inner, .featured-record, .chart-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; padding-block: 2.5rem; gap: 1.5rem; }
  .emblem { width: min(75vw, 320px); }
  .player-column, .chart-list { grid-column: 1; grid-row: auto; }
  .player-column { position: static; }
  .player-idle img { display: none; }
  .chart-row { gap: .48rem; padding-inline: .35rem; }
  .chart-play { padding-inline: .45rem; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections, .wallets { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .wrap { width: calc(100% - 28px); }
  .track-grid { grid-template-columns: 1fr; }
  .track-card { grid-template-columns: minmax(0, 105px) minmax(0, 1fr); align-content: center; }
  .platforms .button { font-size: .78rem; padding-inline: .35rem; }
}

.wallet-label { grid-area: 1 / 2 / 3; align-self: center; min-width: 0; }
.wallet-label small { display: block; font-weight: 400; }
