@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #10091d;
  --bg-deep: #1a1031;
  --panel: rgba(31, 19, 52, 0.78);
  --panel-strong: rgba(46, 29, 73, 0.95);
  --text: #f7f2ff;
  --muted: #cbb8e4;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff746d;
  --accent-2: #fb326b;
  --accent-3: #ffb88c;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --radius-sm: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(251, 50, 107, 0.28), transparent 28rem),
    radial-gradient(circle at top right, rgba(255, 116, 109, 0.18), transparent 24rem),
    linear-gradient(180deg, #1d1235 0%, #120a20 48%, #0c0716 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
}

.page-shell::before {
  width: 16rem;
  height: 16rem;
  left: -4rem;
  top: 10rem;
  background: radial-gradient(circle, rgba(255, 184, 140, 0.34), transparent 68%);
}

.page-shell::after {
  width: 20rem;
  height: 20rem;
  right: -6rem;
  top: 24rem;
  background: radial-gradient(circle, rgba(251, 50, 107, 0.28), transparent 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 8, 28, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.content-wrap,
.site-footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(255, 116, 109, 0.18);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.content-wrap {
  padding: 3rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
}

.hero-copy,
.hero-card,
.section-card,
.feature-card,
.note-card,
.contact-card,
.footer-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.note-card,
.contact-card {
  background: linear-gradient(180deg, rgba(40, 25, 66, 0.9), rgba(22, 13, 38, 0.94));
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2vw, 2rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.lede {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff8fb;
  box-shadow: 0 14px 30px rgba(251, 50, 107, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: calc(var(--radius) + 6px);
  padding: 1rem;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem -1rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 116, 109, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-card img {
  border-radius: calc(var(--radius) - 6px);
  width: 100%;
  object-fit: cover;
}

.section {
  margin-top: 2.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-head p {
  max-width: 38rem;
  color: var(--muted);
}

.feature-grid,
.panel-grid,
.roster-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: stretch;
}

.roster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotify-roster {
  display: grid;
  gap: 1.35rem;
}

.spotify-card {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--card-start, #526672), var(--card-end, #465964));
  box-shadow: var(--shadow);
}

.spotify-embed-card {
  align-items: center;
}

.spotify-loading-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.spotify-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(145deg, rgba(22, 18, 36, 0.94), rgba(52, 38, 81, 0.84));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.spotify-art-panel {
  display: flex;
  align-items: center;
}

.spotify-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
}

.spotify-art span {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.spotify-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spotify-embed-head {
  display: grid;
  gap: 0.45rem;
}

.spotify-embed-head p {
  color: rgba(255, 255, 255, 0.82);
}

.spotify-embed-frame,
.spotify-embed-fallback {
  border-radius: 1.35rem;
  overflow: hidden;
  background: rgba(17, 24, 28, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spotify-embed-frame iframe {
  display: block;
  width: 100%;
  min-height: 232px;
  border: 0;
}

.spotify-embed-fallback {
  padding: 1.2rem 1.25rem;
}

.spotify-embed-fallback p {
  color: rgba(255, 255, 255, 0.82);
}

.spotify-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.spotify-track-stack {
  display: grid;
  gap: 0.85rem;
}

.spotify-track {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: #fff;
  transition: transform 160ms ease, background 160ms ease;
}

.spotify-track:hover,
.spotify-track:focus-visible {
  transform: translateY(-1px);
  background: rgba(14, 20, 24, 0.16);
}

.spotify-track-featured {
  background: rgba(21, 31, 37, 0.68);
}

.spotify-track-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  min-width: 1.8rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.spotify-track-icon svg,
.spotify-round svg,
.spotify-control svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.spotify-track-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.spotify-track-copy strong {
  font-weight: 700;
}

.spotify-track-copy span {
  color: rgba(255, 255, 255, 0.78);
}

.spotify-player-footer {
  margin-top: auto;
  display: grid;
  gap: 0.75rem;
}

.spotify-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spotify-footer-copy {
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.spotify-round,
.spotify-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.spotify-round {
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  border-radius: 999px;
  background: #ffffff;
  color: #2f4049;
  transition: transform 160ms ease;
}

.spotify-round:hover,
.spotify-round:focus-visible,
.spotify-control:hover,
.spotify-control:focus-visible {
  transform: translateY(-1px);
}

.spotify-round-ghost {
  width: 2.8rem;
  height: 2.8rem;
  min-width: 2.8rem;
}

.spotify-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 0.85rem;
}

.spotify-progress {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(21, 31, 37, 0.68);
  overflow: hidden;
}

.spotify-progress-fill {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.spotify-duration {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  white-space: nowrap;
}

.spotify-control-more {
  opacity: 0.85;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
}

.feature-card,
.section-card,
.footer-panel {
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
}

.feature-card p,
.section-card p,
.note-card p,
.contact-card p,
.footer-panel p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.section-card img {
  margin-top: 1.25rem;
  width: clamp(7rem, 30vw, 11rem);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(255, 116, 109, 0.16);
}

.mono {
  color: var(--accent-3);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.roster-card {
  min-height: 100%;
}

.roster-card p:last-child,
.contact-list li + li {
  margin-top: 0.65rem;
}

.contact-email {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.site-footer {
  padding-bottom: 2.5rem;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 1rem;
}

.footer-panel {
  min-height: 100%;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.accent-link {
  color: var(--accent-3);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 1rem;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(40, 25, 66, 0.9), rgba(22, 13, 38, 0.94));
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.admin-head {
  margin-bottom: 1rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.field-help {
  color: var(--muted);
  line-height: 1.5;
}

.field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(10, 7, 17, 0.44);
  color: var(--text);
}

.field input[type="color"] {
  padding: 0.35rem;
}

.field-static {
  align-content: start;
}

.field-note {
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(10, 7, 17, 0.28);
  color: var(--muted);
  line-height: 1.6;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.admin-actions-compact {
  justify-content: flex-end;
}

.admin-status {
  min-height: 1.4rem;
  color: var(--accent-3);
}

.admin-status.is-error {
  color: #ff9ea9;
}

.admin-list {
  display: grid;
  gap: 0.8rem;
}

.admin-empty {
  color: var(--muted);
}

.admin-artist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.admin-artist-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.admin-swatch {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  flex: 0 0 auto;
}

.admin-artist-name {
  color: #fff;
  font-weight: 700;
}

.admin-artist-meta {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-small-button {
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
}

.admin-danger {
  border-color: rgba(255, 158, 169, 0.4);
  color: #ffd4da;
}

.hidden {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

[data-reveal="2"] {
  animation-delay: 90ms;
}

[data-reveal="3"] {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero,
  .admin-layout,
  .panel-grid,
  .roster-grid,
  .spotify-card,
  .contact-grid,
  .site-footer-inner,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(19, 11, 34, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .content-wrap,
  .site-footer-inner {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .content-wrap {
    padding-top: 2rem;
  }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .hero-copy,
  .hero-card,
  .note-card,
  .contact-card {
    padding: 1.2rem;
  }

  .spotify-card {
    padding: 1rem;
    gap: 1rem;
  }

  .spotify-art {
    min-height: 11rem;
  }

  .spotify-top {
    flex-direction: column;
  }

  .spotify-controls,
  .field-grid,
  .admin-artist-card {
    grid-template-columns: 1fr;
  }

  .spotify-controls {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-artist-card {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary {
    width: 100%;
  }
}
