*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #222;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #ff3c3c;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Main */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

/* Home hero */
.hero {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero .bio {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Artist grid */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.artist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.artist-card:hover {
  border-color: var(--accent);
}

.artist-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.artist-card .info {
  padding: 1rem;
}

.artist-card h3 {
  margin-bottom: 0.25rem;
}

.artist-card .location {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Artist detail page */
.artist-detail {
  max-width: 640px;
}

.artist-detail .artist-image {
  width: 280px;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.artist-detail h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.artist-detail .location {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.artist-detail .bio {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.artist-detail .links a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background 0.2s;
}

.artist-detail .links a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

footer p + p {
  margin-top: 0.5rem;
}
