/* ════════════════════════════════
   FONTS
════════════════════════════════ */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton-v27-latin_latin-ext-regular.163ff15e88b5.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-v9-latin_latin-ext-regular.11abf72b9714.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-v9-latin_latin-ext-italic.644d0d4cad40.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-v9-latin_latin-ext-500.eaf4b0e9654b.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-v9-latin_latin-ext-600.05b68a5da1ce.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-v9-latin_latin-ext-700.d866c611f958.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("fonts/spline-sans-mono-v13-latin_latin-ext-regular.4c2a14fa0773.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("fonts/spline-sans-mono-v13-latin_latin-ext-500.259eff58b47a.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("fonts/spline-sans-mono-v13-latin_latin-ext-600.017595dcb41c.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ════════════════════════════════
   TOKENS
════════════════════════════════ */
:root {
  --font-mono: "Spline Sans Mono", monospace;
  --bg: #f6f2ea;
  --bg2: #ede9df;
  --bg-inv: #0f0d09;
  --text: #0f0d09;
  --text-inv: #ede9df;
  --muted: #6e6a63;
  --muted-inv: #7a7670;
  --green: #10b981;
  --green-dk: #059669;
  --border: #d5d0c5;
  --nav-bg: rgba(246, 242, 234, 0.92);
}
html.dark {
  --bg: #0f0d09;
  --bg2: #181510;
  --bg-inv: #f0ede5;
  --text: #ede9df;
  --text-inv: #0f0d09;
  --muted: #7a7670;
  --muted-inv: #5a5753;
  --green: #10b981;
  --green-dk: #0d9e6e;
  --border: #262218;
  --nav-bg: rgba(15, 13, 9, 0.92);
}

/* ════════════════════════════════
   RESET + BASE
════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition:
    background 0.25s,
    color 0.25s;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ════════════════════════════════
   SHARED BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-green {
  background: var(--green);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}
.btn-green:hover {
  background: var(--green-dk);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-inv {
  background: transparent;
  color: var(--text-inv);
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.btn-inv:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-inv-filled {
  background: var(--green);
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}
.btn-inv-filled:hover {
  background: var(--green-dk);
}

/* Inline arrow that slides forward on parent hover */
.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  will-change: transform;
}
a:hover > .arrow,
button:hover > .arrow {
  transform: translateX(4px);
}
a:hover > .arrow-left,
button:hover > .arrow-left {
  transform: translateX(-4px);
}

/* ════════════════════════════════
   THEME PILL
════════════════════════════════ */
.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.75rem 1rem;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.theme-pill:hover {
  border-color: var(--green);
  color: var(--green);
}
.theme-pill svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* Desktop nav: icon-only theme toggle (de-emphasized utility button) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.theme-toggle:hover {
  color: var(--green);
  background: var(--bg2);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

html.light .ico-sun {
  display: none;
}
html.dark .ico-moon {
  display: none;
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
  transition: color 0.2s;
}
.logo svg {
  display: block;
  height: 18px;
  width: auto;
}
html.dark .logo {
  color: var(--green);
}
.logo:hover {
  color: var(--muted);
}
html.dark .logo:hover {
  color: var(--green);
  opacity: 0.8;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.cc-active {
  color: var(--green);
}
html.dark .nav-links a.cc-active {
  color: var(--green-dk);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ════════════════════════════════
   MOBILE DRAWER
════════════════════════════════ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.scrim.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 700;
  width: min(300px, 84vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-close {
  position: absolute;
  top: 1.125rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s;
}
.drawer-close:hover {
  color: var(--text);
}
.drawer nav {
  display: flex;
  flex-direction: column;
}
.drawer nav a,
.drawer nav button {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.drawer nav button {
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.drawer nav a:hover,
.drawer nav a.cc-active,
.drawer nav button:hover {
  color: var(--green);
}
html.dark .drawer nav a.cc-active {
  color: var(--green-dk);
}
.drawer-cta,
.drawer-cta button {
  display: block;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
  width: 100%;
  text-align: left;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.drawer-cta:hover,
.drawer-cta button:hover {
  color: var(--green);
}
.drawer-auth {
  margin-bottom: 1.5rem;
}
.drawer-foot {
  margin-top: auto;
}

/* ════════════════════════════════
   SECTION HEADERS (shared)
════════════════════════════════ */
.sec-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.375rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.sec-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sec-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.sec-more:hover {
  color: var(--green);
}

/* ════════════════════════════════
   TRACKLIST
════════════════════════════════ */
.track {
  display: grid;
  grid-template-columns: auto 200px 1fr auto auto auto;
  grid-template-areas: "cover info wave bpm dur actions" "cover info tags bpm dur actions";
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.4rem;
  padding: 1.1rem 0.875rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s;
}
.track:hover {
  background: var(--bg2);
}
.track:hover::before {
  transform: scaleY(1);
}

.tr-cover {
  grid-area: cover;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.tr-cover img,
.pl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tr-cover > svg {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}
.track.playing .tr-cover > svg {
  display: none;
}
.tr-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
  pointer-events: none;
  z-index: 1;
}
.track.playing .tr-cover::after {
  background: rgba(0, 0, 0, 0.5);
}

.tr-bars {
  display: none;
  position: absolute;
  inset: 0;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  padding-bottom: 6px;
  z-index: 2;
  pointer-events: none;
}
.track.playing .tr-bars {
  display: flex;
}
.tr-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #10b981;
  height: 18px;
  transform-origin: bottom;
  animation: bar-dance 0.8s ease-in-out infinite alternate;
}
.tr-bars span:nth-child(1) {
  animation-duration: 0.7s;
}
.tr-bars span:nth-child(2) {
  animation-duration: 0.9s;
  animation-delay: 0.12s;
}
.tr-bars span:nth-child(3) {
  animation-duration: 0.62s;
  animation-delay: 0.26s;
}
.tr-bars span:nth-child(4) {
  animation-duration: 0.82s;
  animation-delay: 0.05s;
}
@keyframes bar-dance {
  0% {
    transform: scaleY(0.15);
  }
  100% {
    transform: scaleY(1);
  }
}

.tr-info {
  grid-area: info;
  min-width: 0;
  overflow: hidden;
}
.tr-name {
  font-weight: 600;
  font-size: 0.9375rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  text-decoration: none;
}
.tr-name::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4em;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.tr-name:hover {
  color: var(--green);
}
.tr-name:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.tr-tags {
  grid-area: tags;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin: 0;
}
.tr-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.track:hover .tr-tag:not(:hover) {
  border-color: var(--green);
  color: var(--green);
}
.tr-tag:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tr-wave {
  grid-area: wave;
  width: 100%;
  height: 36px;
  min-width: 60px;
  cursor: pointer;
  display: block;
}
.tr-bpm {
  grid-area: bpm;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.tr-dur {
  grid-area: dur;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  min-width: 3rem;
  text-align: right;
}

.tr-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tr-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition:
    border-color 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.tr-dl:hover {
  border-color: var(--green);
  color: var(--green);
}
.tr-dl svg {
  width: 13px;
  height: 13px;
}
.tr-buy {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  height: 32px;
  padding: 0 0.875rem;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  flex-shrink: 0;
}
.tr-buy:hover {
  background: var(--green-dk);
}

.tr-btn {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  z-index: 2;
  transition:
    opacity 0.18s,
    background 0.2s;
}
.track:hover .tr-btn {
  opacity: 1;
}
.tr-btn:hover {
  background: var(--green);
}
.tr-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  display: block;
}
.tr-btn .ico-play {
  margin-left: 2px;
}
.tr-btn .ico-pause {
  display: none;
}
.track.playing .tr-btn .ico-play {
  display: none;
}
.track.playing .tr-btn .ico-pause {
  display: block;
  margin-left: 0;
}
.track.playing {
  background: rgba(16, 185, 129, 0.06);
}
.track.playing::before {
  transform: scaleY(1);
}

/* ════════════════════════════════
   STICKY AUDIO PLAYER
════════════════════════════════ */
.player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.875rem 2rem;
  padding-bottom: calc(0.875rem + env(safe-area-inset-bottom, 0px));
  -webkit-transform: translateY(100%) translateZ(0);
  transform: translateY(100%) translateZ(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.player.visible {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
body.has-player {
  padding-bottom: 72px;
}

.pl-track {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 230px;
  flex-shrink: 0;
  overflow: hidden;
}
.pl-cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pl-cover svg {
  width: 15px;
  height: 15px;
  opacity: 0.55;
}
.pl-meta {
  min-width: 0;
  flex: 1;
}
.pl-title {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s,
    background 0.2s;
}
.pl-btn:hover {
  transform: scale(1.06);
}
.pl-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.pl-btn .ico-play {
  margin-left: 2px;
}
.pl-btn .ico-pause {
  display: none;
  margin-left: 0;
}
.player.playing .pl-btn .ico-play {
  display: none;
}
.player.playing .pl-btn .ico-pause {
  display: block;
}

.pl-skip {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  opacity: 0.65;
  flex-shrink: 0;
  transition:
    opacity 0.2s,
    color 0.2s;
  padding: 0.2rem;
}
.pl-skip:hover {
  opacity: 1;
  color: var(--green);
}
.pl-skip svg {
  width: 22px;
  height: 22px;
}
.pl-skip span {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 600;
  line-height: 1;
}

.pl-wave {
  flex: 1;
  height: 40px;
  cursor: pointer;
  display: block;
  min-width: 80px;
}

.pl-vol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.pl-vol-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s;
}
.pl-vol-btn:hover {
  color: var(--text);
}
.pl-vol-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.pl-vol-btn .ico-vol-muted {
  display: none;
}
.player.muted .pl-vol-btn .ico-vol {
  display: none;
}
.player.muted .pl-vol-btn .ico-vol-muted {
  display: block;
}
.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 14px;
  background: transparent;
  outline: none;
  cursor: pointer;
  --vol: 80%;
}
.vol-slider::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--green) 0%,
    var(--green) var(--vol),
    var(--border) var(--vol),
    var(--border) 100%
  );
}
.vol-slider::-moz-range-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
}
.vol-slider::-moz-range-progress {
  height: 5px;
  background: var(--green);
  border-radius: 3px;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -3px;
  opacity: 0;
  transition: opacity 0.2s;
}
.vol-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}
.pl-vol:hover .vol-slider::-webkit-slider-thumb,
.vol-slider:focus-visible::-webkit-slider-thumb {
  opacity: 1;
}
.pl-vol:hover .vol-slider::-moz-range-thumb,
.vol-slider:focus-visible::-moz-range-thumb {
  opacity: 1;
}

/* ════════════════════════════════
   DOWNLOAD MODAL
════════════════════════════════ */
.dl-scrim {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.dl-scrim.open {
  opacity: 1;
  pointer-events: all;
}
.dl-modal {
  background: #181510;
  color: #ede9df;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.dl-scrim.open .dl-modal {
  transform: translateY(0);
}
.dl-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem 1.375rem;
}
.dl-cover {
  width: 108px;
  height: 108px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-cover svg {
  width: 38px;
  height: 38px;
  opacity: 0.38;
}
.dl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-meta {
  flex: 1;
  min-width: 0;
  padding-top: 0.125rem;
}
.dl-body {
  padding: 0 1.75rem 1.75rem;
}
.dl-close {
  position: absolute;
  top: 0.875rem;
  right: 1.125rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1;
}
.dl-close:hover {
  color: #fff;
}
.dl-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 2rem);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  padding-right: 1.5rem;
}
.dl-artist {
  font-size: 0.875rem;
  color: rgba(237, 233, 223, 0.55);
  margin-bottom: 0.625rem;
}
.dl-free {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.dl-attr-box {
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 10px;
  padding: 1.125rem;
  margin-bottom: 1.5rem;
}
.dl-attr-req {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.dl-attr-desc {
  font-size: 0.8125rem;
  color: rgba(237, 233, 223, 0.6);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.dl-btn {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.dl-btn:hover {
  background: var(--green-dk);
}
.dl-guide-h {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ede9df;
  margin-bottom: 0.375rem;
}
.dl-guide-sub {
  font-size: 0.8125rem;
  color: rgba(237, 233, 223, 0.5);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.dl-guide-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(237, 233, 223, 0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
  white-space: pre-line;
}
.dl-copy-btn {
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  background: none;
  color: var(--green);
  font-family: "Figtree", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.dl-copy-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--green);
}
.dl-copy-btn.copied {
  color: #34d399;
  border-color: #34d399;
}

/* ════════════════════════════════
   LICENSING PRICING BAND
════════════════════════════════ */
.lp-band {
  background: #0f0d09;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
html.dark .lp-band {
  background: var(--bg2);
  border-top-color: var(--border);
}

.lp-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.lp-head {
  margin-bottom: 3rem;
}
.lp-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.625rem;
}
.lp-sub {
  font-size: 0.9375rem;
  color: rgba(237, 233, 223, 0.5);
  line-height: 1.6;
}
html.dark .lp-sub {
  color: var(--muted);
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.lp-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.lp-card.popular {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.04);
}
html.dark .lp-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
html.dark .lp-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
html.dark .lp-card.popular {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.06);
}

.lp-name {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #ede9df;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
html.dark .lp-name {
  color: var(--text);
}

.lp-badge {
  font-family: "Figtree", sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(237, 233, 223, 0.8);
  border-radius: 99px;
  padding: 0.2rem 0.55rem;
}
html.dark .lp-badge {
  background: var(--bg);
  color: var(--muted);
}

.lp-desc {
  font-size: 0.875rem;
  color: rgba(237, 233, 223, 0.5);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
html.dark .lp-desc {
  color: var(--muted);
}

.lp-price {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.lp-price sup {
  font-size: 0.42em;
  vertical-align: super;
}

.lp-buy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem;
  background: none;
  color: rgba(237, 233, 223, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  margin-bottom: 1.5rem;
}
.lp-buy:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
html.dark .lp-buy {
  color: var(--text);
  border-color: var(--border);
}
html.dark .lp-buy:hover {
  border-color: var(--green);
  color: var(--green);
}
html.dark .lp-buy.filled:hover {
  border-color: var(--green-dk);
  color: #fff;
}
.lp-buy.filled {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.lp-buy.filled:hover {
  background: var(--green-dk);
  border-color: var(--green-dk);
  color: #fff;
}

.lp-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.lp-toggle {
  display: inline-flex;
  position: relative;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 4px;
  gap: 2px;
}
html.dark .lp-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}
.lp-toggle-slider {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 99px;
  background: var(--green);
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
.lp-toggle-btn {
  position: relative;
  z-index: 1;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border: none;
  border-radius: 99px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s;
}
.lp-toggle-btn:hover {
  color: #ede9df;
}
.lp-toggle-btn.active {
  color: #fff;
}
html.dark .lp-toggle-btn {
  color: var(--muted);
}
html.dark .lp-toggle-btn:hover {
  color: var(--text);
}
html.dark .lp-toggle-btn.active {
  color: #fff;
}

.lp-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.lp-feats li {
  font-size: 0.8125rem;
  color: rgba(237, 233, 223, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
html.dark .lp-feats li {
  color: var(--muted);
}
.lp-feats li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.lp-dots {
  display: none;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-cta-text h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}
.footer-cta-text p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-cta-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}
.f-logo {
  margin-bottom: 0.875rem;
}
.f-logo a {
  display: inline-flex;
  color: var(--green);
  transition: opacity 0.2s;
}
.f-logo a:hover {
  opacity: 0.75;
}
.f-logo svg {
  display: block;
  height: 20px;
  width: auto;
}
.f-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 26ch;
  line-height: 1.6;
}
.f-col h3 {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.875rem;
}
.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.f-col a:not(.btn) {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.f-col a:not(.btn):hover {
  color: var(--green);
}

/* Footer social icons */
.f-socials {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.f-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--muted);
  border-radius: 6px;
  transition:
    color 0.18s,
    background 0.18s;
}
.f-icon:hover {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 8%, transparent);
}
.f-icon svg {
  display: block;
  height: 15px;
  width: auto;
}

/* Donations column */
.f-donate-text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.875rem;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.f-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ════════════════════════════════
   RESPONSIVE — SHARED
════════════════════════════════ */
@media (max-width: 1024px) {
  .lp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links,
  .nav-end {
    display: none;
  }
  .burger {
    display: flex;
  }
  .track {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "cover info actions" "cover tags actions";
  }
  .tr-bpm {
    display: none;
  }
  .tr-dur {
    display: none;
  }
  .tr-wave {
    display: none;
  }
  .tr-dl {
    display: none;
  }
  .pl-wave {
    display: none;
  }
  .pl-vol {
    display: none;
  }
  .pl-skip {
    display: flex;
  }
  .pl-track {
    width: auto;
    flex: 1;
  }
  .player {
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
  }
  .lp-inner {
    padding: 3.5rem 1.5rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer-cta-links {
    width: 100%;
  }
  .footer-cta-links .btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 580px) {
  .lp-inner {
    padding: 3rem 0;
  }
  .lp-head {
    padding: 0 1.5rem;
  }
  .lp-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.875rem;
    padding: 0 1.5rem 1.25rem;
    scroll-padding-left: 1.5rem;
  }
  .lp-grid::-webkit-scrollbar {
    display: none;
  }
  .lp-card {
    flex-shrink: 0;
    width: 78vw;
    scroll-snap-align: start;
  }
  .lp-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0 1.5rem;
  }
  .lp-dot {
    width: 7px;
    height: 4px;
    border-radius: 99px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition:
      background 0.3s,
      width 0.3s;
    flex-shrink: 0;
  }
  .lp-dot.active {
    background: var(--green);
    width: 28px;
  }
}

/* ════════════════════════════════
   BACK TO TOP
════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  transform: translateY(10px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}
body.has-player .back-to-top {
  bottom: 5.5rem;
}
@media (max-width: 480px) {
  .dl-header {
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
  }
  .dl-cover {
    width: 88px;
    height: 88px;
  }
  .dl-body {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ════════════════════════════════
   NOTIFICATION BAR
════════════════════════════════ */
.notif-bar {
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--green) 25%, transparent);
  padding: 0.75rem 2rem;
  margin-top: 58px;
}
.notif-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.notif-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  color: var(--green);
}
html.dark .notif-icon {
  color: var(--green-dk);
}
.notif-body {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: baseline;
}
.notif-heading {
  font-weight: 600;
}
.notif-text,
.notif-text p {
  display: inline;
  color: var(--muted);
  margin: 0;
}
.notif-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ════════════════════════════════
   HERO (index.html)
════════════════════════════════ */
.hero {
  min-height: min(100svh, 860px);
  display: flex;
  flex-direction: column;
  padding-top: 58px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2rem 0;
  position: relative;
  z-index: 1;
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.8;
}
html.dark .aurora {
  opacity: 1;
}
.ar {
  position: absolute;
  left: -20%;
  width: 140%;
  border-radius: 50%;
}
.ar1 {
  top: 3%;
  height: 22%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #10b981 18%,
    #34d399 48%,
    #10b981 80%,
    transparent 100%
  );
  filter: blur(55px);
  animation: ar1 12s ease-in-out infinite alternate;
}
.ar2 {
  top: 16%;
  height: 18%;
  background: linear-gradient(
    90deg,
    transparent 8%,
    #5eead4 38%,
    #10b981 64%,
    #34d399 88%,
    transparent 100%
  );
  filter: blur(48px);
  animation: ar2 17s ease-in-out infinite alternate;
  animation-delay: -6s;
}
.ar3 {
  top: 30%;
  height: 26%;
  background: linear-gradient(
    90deg,
    transparent 5%,
    #10b981 28%,
    #34d399 55%,
    #10b981 82%,
    transparent 100%
  );
  filter: blur(62px);
  animation: ar3 23s ease-in-out infinite alternate;
  animation-delay: -12s;
}
.ar4 {
  top: 50%;
  height: 16%;
  background: linear-gradient(
    90deg,
    transparent 12%,
    #34d399 44%,
    #5eead4 68%,
    transparent 100%
  );
  filter: blur(44px);
  animation: ar4 15s ease-in-out infinite alternate;
  animation-delay: -4s;
}
.ar5 {
  top: 58%;
  height: 20%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #10b981 24%,
    #34d399 52%,
    transparent 100%
  );
  filter: blur(52px);
  animation: ar5 20s ease-in-out infinite alternate;
  animation-delay: -9s;
}
@keyframes ar1 {
  0% {
    transform: translateX(0%) scaleY(0.7);
    opacity: 0.25;
  }
  50% {
    transform: translateX(14%) scaleY(1.3);
    opacity: 0.45;
  }
  100% {
    transform: translateX(22%) scaleY(0.85);
    opacity: 0.28;
  }
}
@keyframes ar2 {
  0% {
    transform: translateX(0%) scaleY(0.85);
    opacity: 0.18;
  }
  50% {
    transform: translateX(-12%) scaleY(1.2);
    opacity: 0.36;
  }
  100% {
    transform: translateX(-20%) scaleY(0.9);
    opacity: 0.2;
  }
}
@keyframes ar3 {
  0% {
    transform: translateX(0%) scaleY(0.75);
    opacity: 0.2;
  }
  50% {
    transform: translateX(18%) scaleY(1.15);
    opacity: 0.4;
  }
  100% {
    transform: translateX(28%) scaleY(0.8);
    opacity: 0.22;
  }
}
@keyframes ar4 {
  0% {
    transform: translateX(0%) scaleY(0.8);
    opacity: 0.15;
  }
  50% {
    transform: translateX(-10%) scaleY(1.25);
    opacity: 0.28;
  }
  100% {
    transform: translateX(-16%) scaleY(0.88);
    opacity: 0.17;
  }
}
@keyframes ar5 {
  0% {
    transform: translateX(0%) scaleY(0.72);
    opacity: 0.18;
  }
  50% {
    transform: translateX(16%) scaleY(1.18);
    opacity: 0.32;
  }
  100% {
    transform: translateX(22%) scaleY(0.82);
    opacity: 0.2;
  }
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-kicker::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
}
.hero-h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(3.75rem, 12vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.h1-line1 {
  display: block;
}
.h1-line2 {
  display: block;
  color: var(--green);
}
.hero-tagline {
  font-family: "Figtree", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.hero-foot {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hst-n {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 1.875rem;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}
.hst-l {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.25rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════
   MARQUEE (index.html)
════════════════════════════════ */
.marquee {
  overflow: hidden;
  background: var(--bg-inv);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: mscroll 32s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.m-item {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-inv);
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin: 0 1.375rem;
}
@keyframes mscroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--marquee-w, 50%)));
  }
}

/* ════════════════════════════════
   SECTION WRAPPER + COMPOSER (index.html)
════════════════════════════════ */
.sec {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.composer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.composer-inner {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}
.comp-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}
.comp-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 3.5rem;
  align-items: center;
}
.comp-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg2);
}
.comp-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comp-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.comp-quote {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.25vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.comp-quote em {
  font-style: italic;
  color: var(--green);
}
.comp-id {
  text-align: left;
}
.comp-name {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.comp-origin {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.comp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
}
.soc-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.soc-pill:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ════════════════════════════════
   PATREON STRIP (index.html)
════════════════════════════════ */
.patreon-strip {
  background: #110a06;
  border-top: 1px solid rgba(255, 66, 61, 0.18);
  border-bottom: 1px solid rgba(255, 66, 61, 0.18);
}
.patreon-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.patreon-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #ff424d;
}
.patreon-strip-text {
  flex: 1;
  min-width: 0;
}
.patreon-strip-text h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.patreon-strip-text p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 56ch;
}
.btn-patreon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ff424d;
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.625rem;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-patreon:hover {
  background: #e03540;
}

/* ════════════════════════════════
   COMPLETE COLLECTION (index.html)
════════════════════════════════ */
.collection-band {
  background: #0f0d09;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
html.dark .collection-band {
  background: var(--bg2);
  border-top-color: var(--border);
}
.collection-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.collection-img-wrap {
  position: relative;
}
.collection-img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(16, 185, 129, 0.12);
}
.collection-content {
  display: flex;
  flex-direction: column;
}
.collection-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.collection-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ede9df;
  margin-bottom: 1rem;
}
.collection-sub {
  font-size: 0.9375rem;
  color: rgba(237, 233, 223, 0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.collection-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.coll-stat-n {
  font-family: "Anton", sans-serif;
  font-size: 1.75rem;
  color: #ede9df;
  letter-spacing: -0.02em;
  line-height: 1;
}
.coll-stat-l {
  font-size: 0.75rem;
  color: rgba(237, 233, 223, 0.4);
  margin-top: 0.2rem;
}
.collection-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 1.75rem;
}
.coll-price-num {
  font-family: "Anton", sans-serif;
  font-size: 3.5rem;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
}
.coll-price-num sup {
  font-size: 0.38em;
  vertical-align: super;
}
.coll-price-label {
  font-size: 0.875rem;
  color: rgba(237, 233, 223, 0.35);
}
.coll-orig {
  font-size: 0.8125rem;
  color: rgba(237, 233, 223, 0.3);
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.btn-collection {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 99px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  align-self: flex-start;
}
.btn-collection:hover {
  background: var(--green-dk);
}

/* ════════════════════════════════
   INDEX RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .comp-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .comp-portrait {
    max-width: 280px;
  }
  .collection-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }
}
@media (max-width: 768px) {
  .hero-body {
    padding: 2.5rem 1.5rem 0;
  }
  .hero-foot {
    padding: 1.5rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hst-n {
    font-size: 1.5rem;
  }
  .hero-actions {
    gap: 0.625rem;
  }
  .sec {
    padding: 3.5rem 1.5rem;
  }
  .composer {
    padding: 3.5rem 1.5rem;
  }
  .patreon-strip-inner {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .btn-patreon {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 580px) {
  .collection-stats {
    gap: 1.25rem;
  }
  .patreon-strip-inner {
    padding: 1rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ════════════════════════════════
   MUSIC LIBRARY + CATEGORY PAGES
════════════════════════════════ */
.lib-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  min-height: calc(100vh - 58px);
}
.page-header {
  padding: 0 0 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-title em {
  font-style: normal;
  color: var(--green);
}
.page-subtitle {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 3.5rem;
}
.page-subtitle a {
  color: var(--green);
  text-decoration: none;
}
.page-subtitle a:hover {
  text-decoration: underline;
}
.lib-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lib-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.lib-sort-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lib-sort-wrap svg {
  position: absolute;
  right: 0.875rem;
  width: 12px;
  height: 12px;
  stroke: var(--muted);
  pointer-events: none;
}
.lib-sort {
  font-family: "Figtree", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.55rem 2.25rem 0.55rem 1.125rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.lib-sort:focus,
.lib-sort:hover {
  border-color: var(--green);
  color: var(--green);
}
.lib-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.lib-search-icon {
  position: absolute;
  left: 0.875rem;
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}
.lib-search {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.55rem 2.25rem 0.55rem 2.375rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  width: 260px;
  outline: none;
  transition:
    border-color 0.2s,
    width 0.3s;
}
.lib-search:focus {
  border-color: var(--green);
  width: 320px;
}
.lib-search::placeholder {
  color: var(--muted);
}
.lib-search-clear {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0;
  display: none;
  transition: color 0.2s;
}
.lib-search-clear:hover {
  color: var(--text);
}
.lib-search-clear.visible {
  display: block;
}
.lib-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.55rem 1.125rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.lib-filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.lib-filter-btn.active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(16, 185, 129, 0.06);
}
.lib-filter-btn svg {
  width: 14px;
  height: 14px;
}
.filter-badge {
  background: var(--green);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 0.1rem 0.45rem;
  min-width: 18px;
  text-align: center;
  display: none;
}
.filter-badge.visible {
  display: inline-block;
}
.lib-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.lib-active-filters:empty {
  display: none;
}
.af-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 99px;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
}
.af-pill button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green);
  font-size: 0.8rem;
  line-height: 1;
  padding: 0;
  opacity: 0.65;
  transition: opacity 0.15s;
}
.af-pill button:hover {
  opacity: 1;
}
.lib-results-info {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 0 0.25rem;
  min-height: 2rem;
}
.lib-empty {
  text-align: center;
  padding: 6rem 2rem;
  display: none;
}
.lib-empty svg {
  width: 44px;
  height: 44px;
  stroke: var(--border);
  margin: 0 auto 1.25rem;
  display: block;
}
.lib-empty h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.lib-empty p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.load-sentinel {
  height: 1px;
}
.load-spinner {
  text-align: center;
  padding: 2rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Breadcrumb — category pages */
.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
}
.cat-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cat-breadcrumb a:hover {
  color: var(--green);
}
.cat-breadcrumb span {
  opacity: 0.45;
}

/* Category description — category_detail.html */
.cat-description {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
  padding: 1.25rem 0 0;
}

@media (max-width: 768px) {
  .lib-page {
    padding: 4.5rem 1.25rem 3rem;
  }
  .page-header {
    padding-top: 2rem;
  }
  .lib-controls {
    flex-wrap: wrap;
    width: 100%;
  }
  .lib-search-wrap {
    flex: 1 1 100%;
  }
  .lib-search,
  .lib-search:focus {
    width: 100%;
  }
  .lib-sort-wrap {
    flex: 1;
  }
  .lib-sort {
    width: 100%;
  }
  .lib-filter-btn {
    flex: 1;
    justify-content: center;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }
  .filter-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ════════════════════════════════
   FILTER DRAWER (music.html)
════════════════════════════════ */
.filter-scrim {
  position: fixed;
  inset: 0;
  z-index: 799;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.filter-scrim.open {
  opacity: 1;
  pointer-events: all;
}
.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 800;
  width: min(520px, 94vw);
  background: #141210;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-drawer.open {
  transform: translateX(0);
}
.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.filter-drawer-head h2 {
  font-family: "Figtree", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
}
.filter-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.filter-close:hover {
  color: #fff;
}
.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem;
}
.filter-drawer-body::-webkit-scrollbar {
  width: 4px;
}
.filter-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.filter-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.filter-section-h {
  font-family: "Figtree", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.filter-section-h + .filter-section-h,
.filter-grid + .filter-section-h {
  margin-top: 2rem;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 0.5rem;
}
.filter-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}
.filter-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.filter-check input[type="checkbox"]:checked {
  background: var(--green);
  border-color: var(--green);
}
.filter-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.filter-check span {
  font-size: 0.8125rem;
  color: var(--green);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-drawer-foot {
  padding: 1.125rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  background: #141210;
}
.filter-clear-btn {
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.filter-clear-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.filter-apply-btn {
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-apply-btn:hover {
  background: var(--green-dk);
}

/* ════════════════════════════════
   CATEGORIES PAGE
════════════════════════════════ */
.cat-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  min-height: calc(100vh - 58px);
}
.cat-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── BUNDLE LISTING ── */
.bl-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  min-height: calc(100vh - 58px);
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.bl-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
}
.bl-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bl-cover svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}
.bl-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bl-info-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bl-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.bl-title a {
  color: inherit;
  text-decoration: none;
}
.bl-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}
.bl-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0;
}
.bl-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.bl-songs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.bl-song {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.bl-song:last-child {
  border-bottom: none;
}
.bl-song:hover {
  background: var(--bg2);
}
.bl-song-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
  width: 1.5rem;
}
.bl-song-title {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bl-song-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
}
.bl-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bl-empty {
  color: var(--muted);
  font-size: 0.9375rem;
  padding: 3rem 0;
}
@media (max-width: 900px) {
  .bl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .bl-grid {
    grid-template-columns: 1fr;
  }
}
/* ── END BUNDLE LISTING ── */

/* ════════════════════════════════
   MY ACCOUNT
════════════════════════════════ */
.acct-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.acct-stats {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.acct-stat {
  background: var(--bg2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.acct-stat-value {
  font-family: "Anton", sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--green);
  letter-spacing: 0.01em;
  line-height: 1.1;
  word-break: break-all;
}
html.dark .acct-stat-value {
  color: var(--green-dk);
}
.acct-stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
}
.acct-lic-pills {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.acct-lic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.acct-pill-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
}
.acct-pill {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}
.acct-pill--active {
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
}
html.dark .acct-pill--active {
  background: rgba(255, 255, 255, 0.08);
}
.acct-pill--personal {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}
.acct-pill--business {
  background: rgba(99, 91, 255, 0.12);
  color: #635bff;
}
html.dark .acct-pill--business {
  background: rgba(99, 91, 255, 0.18);
}
.acct-licenses {
  margin-top: 2rem;
}
.acct-lic-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.acct-lic-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.acct-lic-header {
  display: flex;
  gap: 2rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.acct-lic-meta-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.acct-lic-id-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.acct-lic-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text);
  opacity: 0.7;
}
.acct-lic-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text);
}
.acct-lic-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}
.acct-lic-song {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.acct-lic-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  white-space: nowrap;
  align-self: flex-start;
}
.acct-lic-badge--personal {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}
.acct-lic-badge--b2b {
  background: rgba(99, 91, 255, 0.12);
  color: #635bff;
}
html.dark .acct-lic-badge--personal {
  background: rgba(16, 185, 129, 0.15);
}
html.dark .acct-lic-badge--b2b {
  background: rgba(99, 91, 255, 0.18);
}
.acct-lic-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.acct-lic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-lic-song-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.acct-lic-song-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.dark .acct-lic-song-title {
  color: var(--green-dk);
}
.acct-lic-song-author {
  font-size: 0.8125rem;
  color: var(--muted);
}
.acct-lic-id {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted);
  opacity: 0.55;
  word-break: break-all;
  padding: 0 0.5rem;
}
.acct-lic-dl {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 0.4rem 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.acct-lic-dl:hover {
  background: var(--green);
  color: #fff;
}
html.dark .acct-lic-dl {
  color: var(--green-dk);
  border-color: var(--green-dk);
}
html.dark .acct-lic-dl:hover {
  background: var(--green-dk);
  color: #000;
}
.acct-empty {
  color: var(--muted);
  font-size: 0.9375rem;
  padding: 2rem 0;
}
.acct-empty a {
  color: var(--green);
}
@media (max-width: 640px) {
  .acct-stats {
    grid-template-columns: 1fr 1fr;
  }
  .acct-stat-wide {
    grid-column: 1 / -1;
  }
  .acct-lic-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .acct-lic-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .acct-lic-id {
    flex-basis: 100%;
    padding: 0;
  }
}

.bundle-tracks {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}
.bundle-tracks .sd-col-h {
  margin-bottom: 1.25rem;
}
.bundle-tracks .tr-actions {
  display: none;
}

.cat-section {
  margin-top: 3.5rem;
}
.cat-sec-top {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.cat-sec-h {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cat-sec-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3rem;
}
.genre-row {
  flex: 0 0 calc(50% - 1.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: background 0.2s;
}
.genre-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s;
}
.genre-row:hover {
  background: var(--bg2);
}
.genre-row:hover::before {
  transform: scaleY(1);
}
.genre-swatch {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg2);
  transition: box-shadow 0.2s;
}
.genre-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.genre-swatch svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.genre-info {
  flex: 1;
  min-width: 0;
}
.genre-name {
  font-weight: 600;
  font-size: 0.9375rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.genre-row:hover .genre-name {
  color: var(--green);
}
.genre-count {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  display: block;
}
.genre-arrow {
  color: var(--muted);
  font-size: 0.875rem;
  flex-shrink: 0;
  transition:
    color 0.2s,
    transform 0.2s;
  line-height: 1;
}
.genre-row:hover .genre-arrow {
  color: var(--green);
  transform: translateX(3px);
}
.mood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-top: 1.5rem;
}
.mood-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.mood-chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(16, 185, 129, 0.05);
}
.mood-chip-count {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.mood-chip:hover .mood-chip-count {
  color: rgba(16, 185, 129, 0.7);
}
@media (max-width: 768px) {
  .cat-page {
    padding: 4.5rem 1.25rem 4rem;
  }
  .cat-section {
    margin-top: 2.5rem;
  }
  .genre-row {
    flex: 0 0 100%;
  }
}

/* ════════════════════════════════
   FAQ PAGE
════════════════════════════════ */
.faq-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.generic-body {
  max-width: 720px;
}
.rich-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.rich-text h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 0.75rem;
}
.rich-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}
.rich-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rich-text ul,
.rich-text ol {
  color: var(--muted);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.rich-text ul {
  list-style: disc;
}
.rich-text ol {
  list-style: decimal;
}
.rich-text strong {
  color: var(--text);
  font-weight: 600;
}
.rich-text hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.page-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-kicker::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
}
.faq-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 5rem;
}
.faq-index-col {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--border);
}
.faq-index-col:nth-child(3),
.faq-index-col:nth-child(6) {
  border-right: none;
}
.faq-index-col:nth-child(4),
.faq-index-col:nth-child(5),
.faq-index-col:nth-child(6) {
  border-top: 1px solid var(--border);
}
.faq-index-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}
.faq-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.faq-index-list a {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  padding: 0.3rem 0;
  transition: color 0.18s;
}
.faq-index-list a:hover {
  color: var(--green);
}
.faq-section {
  margin-bottom: 4rem;
  scroll-margin-top: 80px;
}
.faq-section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.faq-item {
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  scroll-margin-top: 80px;
}
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.2s;
}
.faq-item:target::before,
.faq-item:hover::before {
  background: var(--green);
}
.faq-q-text {
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.faq-a-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.faq-a-text p {
  margin: 0 0 0.625rem;
}
.faq-a-text p:last-child {
  margin-bottom: 0;
}
.faq-a-text a {
  color: var(--green);
  text-decoration: none;
}
.faq-a-text a:hover {
  text-decoration: underline;
}
.faq-a-text strong {
  color: var(--text);
}
.faq-a-text code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: var(--text);
}
.faq-a-text ul {
  margin: 0.5rem 0 0.625rem 1.25rem;
  padding: 0;
}
.faq-a-text li {
  margin-bottom: 0.35rem;
}
.faq-cta {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.faq-cta-text h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}
.faq-cta-text p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-cta-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .faq-index {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-index-col:nth-child(3) {
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .faq-index-col:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .faq-index-col:nth-child(5) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .faq-index-col:nth-child(6) {
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 540px) {
  .faq-wrap {
    padding: 3.5rem 1.25rem 5rem;
  }
  .faq-index {
    grid-template-columns: 1fr;
  }
  .faq-index-col {
    border-right: none !important;
    border-top: 1px solid var(--border) !important;
  }
  .faq-index-col:first-child {
    border-top: none !important;
  }
  .faq-item {
    padding: 1.25rem 0 1.25rem 1rem;
  }
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .faq-cta-links {
    width: 100%;
  }
  .faq-cta-links .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ════════════════════════════════
   SONG PAGE
════════════════════════════════ */
.song-hero {
  background: #0f0d09;
  padding-top: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
html.dark .song-hero {
  background: var(--bg2);
  border-bottom-color: var(--border);
}
.song-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}
.song-cover {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.song-cover > svg {
  width: 72px;
  height: 72px;
  opacity: 0.45;
}
.song-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
}
.song-cover:hover .song-play-wrap {
  background: rgba(0, 0, 0, 0.45);
}
.song-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.22s,
    transform 0.22s,
    border-color 0.2s,
    background 0.2s;
}
.song-cover:hover .song-play-btn {
  opacity: 1;
  transform: scale(1);
}
.song-play-btn.is-playing {
  opacity: 1;
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.15);
}
.song-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.song-play-btn .ico-play {
  margin-left: 3px;
}
.song-play-btn .ico-pause {
  display: none;
}
.song-play-btn.is-playing .ico-play {
  display: none;
}
.song-play-btn.is-playing .ico-pause {
  display: block;
  margin-left: 0;
}
.song-cover-bars {
  display: none;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.song-play-btn.is-playing ~ .song-cover-bars {
  display: flex;
}
.song-cover-bars span {
  display: block;
  width: 3.5px;
  border-radius: 2px;
  background: #10b981;
  height: 22px;
  transform-origin: bottom;
  animation: bar-dance 0.8s ease-in-out infinite alternate;
}
.song-cover-bars span:nth-child(1) {
  animation-duration: 0.7s;
}
.song-cover-bars span:nth-child(2) {
  animation-duration: 0.9s;
  animation-delay: 0.12s;
}
.song-cover-bars span:nth-child(3) {
  animation-duration: 0.62s;
  animation-delay: 0.26s;
}
.song-cover-bars span:nth-child(4) {
  animation-duration: 0.82s;
  animation-delay: 0.05s;
}
.song-hero-info {
  flex: 1;
  min-width: 0;
  padding-top: 0.25rem;
}
.song-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(237, 233, 223, 0.4);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.song-breadcrumb a {
  color: var(--green);
  transition: opacity 0.2s;
}
.song-breadcrumb a:hover {
  opacity: 0.75;
}
.song-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}
.song-artist {
  font-size: 0.9375rem;
  color: rgba(237, 233, 223, 0.55);
  margin-bottom: 1.25rem;
}
.song-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.song-meta-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(237, 233, 223, 0.55);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.song-meta-item strong {
  color: #ede9df;
  font-weight: 600;
}
.song-meta-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}
.song-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.song-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(237, 233, 223, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.song-tag:hover {
  border-color: var(--green);
  color: var(--green);
}
.song-license-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.lic-card {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 1.25rem 1.375rem;
}
.lic-card-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(237, 233, 223, 0.45);
  margin-bottom: 0.5rem;
}
.lic-card-price {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ede9df;
  margin-bottom: 0.75rem;
}
.lic-card-price sup {
  font-size: 0.55em;
  vertical-align: super;
}
.lic-card-price.word {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.lic-card-desc {
  font-size: 0.8125rem;
  color: rgba(237, 233, 223, 0.45);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.lic-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--green);
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.lic-btn-green:hover {
  background: var(--green-dk);
}
.lic-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: rgba(237, 233, 223, 0.75);
  font-family: "Figtree", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.lic-btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.song-details {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid var(--border);
}
.sd-col-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.sd-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 99px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1rem;
}
.sd-free-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.sd-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  color: var(--text);
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
  margin-bottom: 1.75rem;
}
.sd-dl-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.sd-dl-btn svg {
  width: 15px;
  height: 15px;
}
.sd-attr-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.sd-attr-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}
.sd-attr-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.875rem;
}
.sd-attr-text {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text);
  line-height: 1.75;
  white-space: pre-line;
}
.sd-copy-btn {
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  background: none;
  color: var(--green);
  font-family: "Figtree", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.sd-copy-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--green);
}
.sd-copy-btn.copied {
  color: #34d399;
  border-color: #34d399;
}
.sd-lic-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}
.sd-lic-text p {
  margin-bottom: 1rem;
}
.sd-lic-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related-sec {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .song-hero-inner {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  .song-cover {
    width: 160px;
    height: 160px;
  }
  .song-details {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
  }
  .related-sec {
    padding: 2.5rem 1.5rem;
  }
  .song-license-row {
    flex-direction: column;
  }
}

/* ════════════════════════════════
   LICENSING INFO PAGE
════════════════════════════════ */
.lc-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.lc-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lc-kicker::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
}
.lc-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.lc-title em {
  font-style: normal;
  color: var(--green);
}
.lc-body {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.lc-body h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin: 2.5rem 0 0.875rem;
}
.lc-body h2:first-child {
  margin-top: 0;
}
.lc-body h3 {
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.lc-body p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 0.875rem;
}
.lc-body a {
  color: var(--green);
  text-decoration: none;
}
.lc-body a:hover {
  text-decoration: underline;
}
.lc-body strong {
  color: var(--text);
  font-weight: 600;
}
.lc-body em {
  font-style: italic;
}
.lc-body ul,
.lc-body ol {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}
.lc-body li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.lc-body blockquote {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
}
.lc-body blockquote p {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  margin: 0;
}
.lc-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.lc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.875rem;
}
.lc-body th {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.lc-body td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.6;
}
.lc-body tr:last-child td {
  border-bottom: none;
}
.lc-body td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .lc-wrap {
    padding: 3.5rem 1.25rem 5rem;
  }
  .lc-body table {
    font-size: 0.8125rem;
  }
  .lc-body th,
  .lc-body td {
    padding: 0.5rem;
  }
  .lc-body td:first-child {
    white-space: normal;
  }
}

/* ════════════════════════════════
   TIMELINE PAGE
════════════════════════════════ */
.tl-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.tl-head {
  margin-bottom: 3rem;
}
.tl-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  overflow-wrap: break-word;
  padding-bottom: 0.25rem;
}
.tl-count span {
  color: var(--green);
  font-weight: 600;
}
.tl-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.tl-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tl-pill:hover {
  color: var(--text);
  border-color: var(--text);
}
.tl-pill.active {
  color: var(--green);
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 8%, transparent);
}
.tl-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tl-pill[data-type="all"] .tl-pill-dot {
  background: var(--muted);
}
.tl-pill[data-type="song"] .tl-pill-dot {
  background: var(--green);
}
.tl-pill[data-type="tech"] .tl-pill-dot {
  background: #60a5fa;
}
.tl-pill[data-type="gene"] .tl-pill-dot {
  background: #f59e0b;
}
.tl-pill[data-type="post"] .tl-pill-dot {
  background: #f87171;
}
.tl-year {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--border);
  margin: 2.5rem 0 0;
  user-select: none;
  pointer-events: none;
}
.tl-month {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.75rem 0 0.25rem 1rem;
  user-select: none;
  pointer-events: none;
}
html.dark .tl-month {
  color: var(--green-dk);
}
.tl-event {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: opacity 0.2s;
}
.tl-event.hidden {
  display: none;
}
.tl-event::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s;
  border-radius: 2px;
}
.tl-event:hover::before {
  transform: scaleY(1);
}
.tl-event[data-type="song"]::before {
  background: var(--green);
}
.tl-event[data-type="tech"]::before {
  background: #60a5fa;
}
.tl-event[data-type="gene"]::before {
  background: #f59e0b;
}
.tl-event[data-type="post"]::before {
  background: #f87171;
}
.tl-date {
  padding: 1.1rem 0 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tl-date-main {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tl-date-rel {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted);
  opacity: 0.55;
}
.tl-content {
  padding: 1.1rem 1rem 1.1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.tl-type-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.125rem;
}
.tl-event[data-type="song"] .tl-type-badge {
  background: color-mix(in srgb, var(--green) 12%, transparent);
  color: var(--green);
}
.tl-event[data-type="tech"] .tl-type-badge {
  background: color-mix(in srgb, #60a5fa 12%, transparent);
  color: #60a5fa;
}
.tl-event[data-type="gene"] .tl-type-badge {
  background: color-mix(in srgb, #f59e0b 12%, transparent);
  color: #f59e0b;
}
.tl-event[data-type="post"] .tl-type-badge {
  background: color-mix(in srgb, #f87171 12%, transparent);
  color: #f87171;
}
.tl-body {
  flex: 1;
  min-width: 0;
}
.tl-action {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.tl-action a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.18s;
}
.tl-action a:hover {
  color: var(--green);
}
.tl-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.tl-desc p {
  margin: 0;
  padding: 0;
}
.tl-desc ul {
  margin: 0.25rem 0 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
}
.tl-desc li {
  margin: 0.15rem 0;
  padding: 0;
}
.tl-empty {
  display: none;
  padding: 4rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}
.tl-empty.visible {
  display: block;
}
@media (max-width: 768px) {
  .tl-wrap {
    padding: 3.5rem 1.25rem 5rem;
  }
  .tl-event {
    grid-template-columns: 1fr;
  }
  .tl-date {
    padding: 1rem 0 0 1rem;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
  .tl-content {
    padding: 0.5rem 1rem 1rem 1rem;
  }
}

/* ════════════════════════════════
   AUTH PAGES (login / logout)
════════════════════════════════ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(58px + 4rem) 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: rgba(246, 242, 234, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
html.dark .auth-card {
  background: rgba(24, 21, 16, 0.62);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
}
.auth-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.auth-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.auth-title em {
  font-style: italic;
  color: var(--green);
}
.auth-sub {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.auth-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-input {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: "Figtree", sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.auth-input:focus {
  border-color: var(--green);
}

.auth-submit {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s;
  text-decoration: none;
  margin-top: 0.5rem;
}
.auth-submit:hover {
  background: var(--green-dk);
}

.auth-meta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}
.auth-meta a {
  color: var(--green);
}
.auth-meta a:hover {
  color: var(--green-dk);
}
.pw-meter {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.pw-meter-bar {
  height: 100%;
  width: 0;
  border-radius: 99px;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.pw-meter-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .auth-wrap {
    padding: calc(58px + 2.5rem) 1.25rem 2.5rem;
  }
  .auth-card {
    padding: 2rem 1.5rem;
  }
  /* Prevent iOS Safari auto-zoom on focus — any form control must be ≥16px */
  .auth-input,
  .lib-search,
  .lib-sort {
    font-size: 16px;
  }
}

/* ════════════════════════════════
   AUTH — show/hide password + strength meter
════════════════════════════════ */
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-wrap .auth-input {
  padding-right: 2.75rem;
  width: 100%;
}
.auth-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
}
.auth-toggle:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}
html.dark .auth-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}
.auth-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}
.auth-toggle .icon-eye-off {
  display: none;
}
.auth-toggle.showing .icon-eye {
  display: none;
}
.auth-toggle.showing .icon-eye-off {
  display: block;
}

.pw-strength {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.5rem;
  min-height: 0.9rem;
}
.pw-strength-bar {
  display: flex;
  gap: 3px;
  flex: 1;
}
.pw-strength-bar span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.25s;
}
.pw-strength[data-score="1"] .pw-strength-bar span:nth-child(1) {
  background: #ef4444;
}
.pw-strength[data-score="2"] .pw-strength-bar span:nth-child(-n + 2) {
  background: #f59e0b;
}
.pw-strength[data-score="3"] .pw-strength-bar span:nth-child(-n + 3) {
  background: #eab308;
}
.pw-strength[data-score="4"] .pw-strength-bar span {
  background: var(--green);
}
.pw-strength-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 3.25rem;
  text-align: right;
}
.pw-strength[data-score="1"] .pw-strength-label {
  color: #ef4444;
}
.pw-strength[data-score="2"] .pw-strength-label {
  color: #f59e0b;
}
.pw-strength[data-score="3"] .pw-strength-label {
  color: #eab308;
}
.pw-strength[data-score="4"] .pw-strength-label {
  color: var(--green);
}

/* ════════════════════════════════
   AUTOFILL — kill the blue/yellow Chrome highlight
   (browsers block background-color override on autofilled inputs,
    so we fake it with a giant inset shadow + delay the autofill
    transition long enough that it never visually applies)
════════════════════════════════ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg2) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

/* ════════════════════════════════
   WELCOME / ABOUT (homepage, under hero)
════════════════════════════════ */
.welcome {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.welcome-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
}
.welcome-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.welcome-kicker::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
}
.welcome-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 1.25rem;
}
.welcome-h em {
  font-style: italic;
  color: var(--green);
}
.welcome-body {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.welcome-cta {
  font-size: 0.9375rem;
  padding: 0.7rem 1.625rem;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.welcome-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.4s ease;
}
.welcome-grid img:hover {
  filter: grayscale(0) contrast(1);
}

/* ════════════════════════════════
   NEWS FLASH (homepage, before collection)
════════════════════════════════ */
.newsflash {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.newsflash-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  min-height: 440px;
}
.newsflash-content {
  background: var(--green);
  color: #fff;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsflash-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
}
.newsflash-h {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 1.5rem;
}
.newsflash-body {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 2rem;
}
.newsflash-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.newsflash-cta:hover {
  color: #fff;
  opacity: 0.85;
}
.newsflash-media {
  position: relative;
  min-height: 280px;
}
.newsflash-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .welcome-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
}
@media (max-width: 768px) {
  .welcome {
    padding: 3.5rem 1.5rem;
  }
  .welcome-card {
    padding: 1.75rem;
  }
  .newsflash {
    padding: 3.5rem 1.5rem;
  }
  .newsflash-inner {
    grid-template-columns: 1fr;
  }
  .newsflash-content {
    order: 2;
    padding: 2.5rem 1.75rem;
  }
  .newsflash-media {
    order: 1;
    min-height: 240px;
  }
}

/* ════════════════════════════════
   CHECKOUT (uses auth-wrap / auth-card + aurora)
════════════════════════════════ */
.checkout-card {
  max-width: 480px;
}
.co-error {
  background: color-mix(in srgb, #ef4444 10%, transparent);
  border: 1px solid #ef4444;
  color: #ef4444;
  font-size: 0.875rem;
  padding: 0.6rem 0.875rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.co-success {
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.875rem;
  padding: 0.6rem 0.875rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.co-items {
  border-top: 1px solid var(--border);
  margin-top: 1.75rem;
}
.co-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.co-item-cover {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.co-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.co-item-name {
  flex: 1;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}
.co-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  white-space: nowrap;
}
.co-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 0.5rem;
}
.co-total-label {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
}
.co-total-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--green);
}
.co-license-type {
  margin-bottom: 1.25rem;
}
.co-license-type-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.625rem;
}
.co-license-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.co-license-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s;
}
.co-license-opt:has(input:checked) {
  border-color: var(--green);
}
.co-license-opt input[type="radio"] {
  accent-color: var(--green);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.co-license-opt span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.co-license-opt span em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.875rem;
}
html.dark .co-license-opt {
  border-color: var(--border);
}
html.dark .co-license-opt:has(input:checked) {
  border-color: var(--green);
}
.co-license-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.co-pay {
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}
.co-stripe {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
.co-stripe strong {
  color: #635bff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.co-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
}
.pay-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 44px;
  padding: 0 0.5rem;
  background: #fff;
  border-radius: 5px;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1;
}
.pay-visa {
  color: #1a1f71;
  letter-spacing: 0.02em;
}
.pay-paypal {
  color: #003087;
  font-style: italic;
}
.pay-paypal span {
  color: #009cde;
}
.pay-mc {
  padding: 0 0.35rem;
}
.co-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.co-success-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--green);
}
.co-success-msg {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.co-item-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.co-next {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.co-next-heading {
  font-family: "Anton", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.co-next-list {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* ════════════════════════════════
   LOADERS (htmx)
════════════════════════════════ */
.dot-loader {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.dot-loader span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dot-pulse 1.1s ease-in-out infinite both;
}
.dot-loader span:nth-child(2) {
  animation-delay: 0.16s;
}
.dot-loader span:nth-child(3) {
  animation-delay: 0.32s;
}
@keyframes dot-pulse {
  0%,
  70%,
  100% {
    transform: scale(0.5);
    opacity: 0.3;
  }
  35% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Filter/sort/search indicator — takes no layout space when idle */
#libSpinner {
  display: none;
  justify-content: center;
  padding: 1.25rem 0;
}
#libSpinner.htmx-request {
  display: flex;
}

/* Infinite-scroll loader (visible, centred — distinct from the 1px .load-sentinel) */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.load-more-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.load-more-btn.htmx-request .load-more-label {
  display: none;
}
.load-more-btn .load-more-spinner {
  display: none;
}
.load-more-btn.htmx-request .load-more-spinner {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.load-more-btn .load-more-spinner span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dot-pulse 1.1s ease-in-out infinite both;
}
.load-more-btn .load-more-spinner span:nth-child(2) {
  animation-delay: 0.16s;
}
.load-more-btn .load-more-spinner span:nth-child(3) {
  animation-delay: 0.32s;
}
