@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;900&family=Inter:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ─ Design system ─────────────────────────────────────── */
:root {
  --bg:       #0d0d14;
  --bg-card:  #13131c;
  --bg-hero:  #0e0e1b;
  --fg:       #ece8df;
  --muted:    #7a7890;
  --line:     #1e1e2a;
  --accent:   #e8392f;
  --display:  'Big Shoulders Display', sans-serif;
  --ease:     cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Transitions on all links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mono {
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.06em;
}

/* Fixed grain overlay — GPU safe, pointer-events none */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 999;
}

/* ─ Scroll reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─ Header (utility bar) ──────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mark {
  display: inline-flex;
  flex: none;
}

.logo-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  transition: opacity 0.2s var(--ease);
}

.logo-mark:hover img { opacity: 0.7; }

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
  text-wrap: balance;
}

.wordmark a { display: inline-block; }

.header-utils {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.label-tag {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  border-radius: 2px;
}

.merch-link {
  font-size: 11px;
  color: var(--muted);
}

.merch-link:hover { color: var(--fg); }

@media (max-width: 560px) {
  .header-utils { display: none; }
}

/* ─ Fritz Bonko hero ──────────────────────────────────── */
.bonko-hero {
  background: linear-gradient(135deg, #0e0e1b 0%, #111119 55%, #13111f 100%);
  border-bottom: 1px solid var(--line);
}

.bonko-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.bonko-logo-link {
  display: block;
  flex: none;
  transition: opacity 0.2s var(--ease);
}

.bonko-logo-link img {
  width: clamp(100px, 14vw, 160px);
  height: clamp(100px, 14vw, 160px);
  object-fit: contain;
  display: block;
}

.bonko-logo-link:hover { opacity: 0.8; }

.bonko-hero-text { flex: 1; min-width: 0; }

.bonko-hero-eyebrow {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.bonko-hero-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--accent);
  text-wrap: balance;
}

.bonko-hero-role {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.bonko-hero-link {
  font-size: 11px;
  color: var(--fg);
  opacity: 0.4;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.bonko-hero-link:hover { opacity: 1; color: var(--accent); }

@media (max-width: 560px) {
  .bonko-hero-inner { flex-direction: column; gap: 24px; }
  .bonko-hero-name  { font-size: clamp(44px, 14vw, 72px); }
}

/* ─ Roster ────────────────────────────────────────────── */
.roster-wrapper {
  position: relative;
  overflow: hidden;
}

.roster-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44%;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: screen;
  z-index: 0;
}

.roster-watermark img { width: 100%; height: auto; display: block; }

.roster {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) { .roster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .roster { grid-template-columns: repeat(2, 1fr); } }

/* Cards ── */
.card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Red border slides in from left on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 3;
}

/* Ghost catalog number fades in over art */
.card::after {
  content: attr(data-cat);
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--fg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.card:hover::before { transform: scaleX(1); }
.card:hover::after  { opacity: 0.08; }

.card:hover,
.card:focus-visible {
  background: #1a1a24;
  box-shadow: 0 8px 32px rgba(13, 13, 30, 0.7);
}

.card-art {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}

.card-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.card:hover .card-art img { transform: scale(1.04); }

.card-spec {
  border-top: 1px solid var(--line);
  padding: 10px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-spec-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.card-genre {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
}

.card-cat {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.card-status {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─ Artist page ───────────────────────────────────────── */
.artist-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  transition: color 0.2s var(--ease);
}

.back-link:hover { color: var(--fg); }

.artist-art {
  display: flex;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
  margin-bottom: 28px;
  box-shadow: 0 0 48px rgba(232, 57, 47, 0.04);
}

.artist-art img {
  max-width: 340px;
  width: 100%;
  object-fit: contain;
}

.artist-meta {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.artist-eyebrow {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.artist-name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.artist-genre {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.artist-bio {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 36px;
  text-wrap: pretty;
}

.artist-bio.pending { color: var(--muted); }

.spotify-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.spotify-btn.disabled {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  pointer-events: none;
}

.spotify-embed {
  display: block;
  border-radius: 8px;
  margin-bottom: 8px;
}

.merch-btn {
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--accent);
  transition: opacity 0.2s var(--ease);
}

.merch-btn:hover { opacity: 0.7; }

/* ─ Credit lines ──────────────────────────────────────── */
.credit-line {
  font-size: 12px;
  color: var(--muted);
  margin: -18px 0 28px;
}

.credit-line a { color: var(--accent); }
.credit-line a:hover { text-decoration: underline; }

.produced-for {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.produced-for-title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin: 28px 0 14px;
}

.produced-for-title:first-child { margin-top: 0; }

.produced-for-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.produced-for-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  font-size: 15px;
}

.produced-for-list a {
  transition: color 0.2s var(--ease);
}

.produced-for-list a:hover { color: var(--accent); }

.produced-for-list .mono {
  font-size: 11px;
  color: var(--muted);
}

/* ─ Catalog nav ───────────────────────────────────────── */
.catalog-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.catalog-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
}

.catalog-nav-link.next {
  text-align: right;
  align-items: flex-end;
}

.catalog-nav-link .mono {
  font-size: 11px;
  color: var(--muted);
}

.catalog-nav-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.2s var(--ease);
}

.catalog-nav-link:hover .catalog-nav-name { color: var(--accent); }

/* ─ Footer ────────────────────────────────────────────── */
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .mono {
  font-size: 13px;
  color: var(--muted);
}

.site-footer a.mono:hover { color: var(--fg); }

.footer-merch { color: var(--accent) !important; }
.footer-merch:hover { text-decoration: underline; }
