:root {
  --bg: #050505;
  --bg-soft: #0d0b08;
  --panel: rgba(18, 15, 10, 0.82);
  --gold: #d6aa3d;
  --gold-bright: #f3cf68;
  --text: #f6f1e5;
  --muted: #b1a999;
  --line: rgba(214, 170, 61, 0.28);
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(214,170,61,.08), transparent 30%),
    linear-gradient(180deg, #030303, #080706 55%, #030303);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

#rain-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  opacity: .16;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max))/2));
  background: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.4), transparent);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .12em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: Georgia, serif;
}
.site-nav { display: flex; gap: 30px; }
.site-nav a {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.site-nav a:hover { color: var(--gold-bright); }
.menu-toggle {
  display: none;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 130px 24px 80px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../assets/images/brand/artist-hero.png") center 30% / cover no-repeat;
  transform: scale(1.025);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.68) 42%, rgba(0,0,0,.44) 70%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.42), transparent 45%, #050505 98%);
}
.hero-content {
  width: min(var(--max), 100%);
  margin: auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .24em;
}
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 {
  max-width: 950px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 10vw, 8.5rem);
  letter-spacing: -.055em;
}
h1 span { color: var(--gold); }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}
h3 { font-size: 1.65rem; }
.hero-copy {
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d6d0c5;
}
.hero-actions, .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 900;
  border: 1px solid var(--line);
  transition: .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #16110a;
  background: linear-gradient(135deg, var(--gold-bright), #a87812);
  box-shadow: 0 14px 40px rgba(214,170,61,.22);
}
.btn-ghost { background: rgba(0,0,0,.28); }
.hero-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: .9rem;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}
.section-heading > p:last-child { color: var(--muted); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.featured-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 46% 1fr;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(26,21,13,.95), rgba(8,8,8,.92));
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.featured-copy p { color: var(--muted); }
.tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  margin-top: 28px;
}
.music-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214,170,61,.18);
  border-radius: 18px;
  background: #0a0907;
  transition: .28s ease;
}
.music-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243,207,104,.6);
}
.music-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.music-card-copy { padding: 18px; }
.music-card-copy p { color: var(--muted); font-size: .88rem; }
.music-card-copy .btn { width: 100%; }

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.story-image img {
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 12px rgba(214,170,61,.04), 0 30px 90px rgba(0,0,0,.45);
}
.story-copy p { color: var(--muted); }
blockquote {
  margin: 30px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 2px solid var(--gold);
  color: var(--text);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.gallery-item {
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(214,170,61,.15);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.contact-panel {
  padding: clamp(28px, 7vw, 78px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(31,24,12,.92), rgba(4,4,4,.94)),
    url("../assets/images/covers/nobody-knows-me-yet.png") center/cover;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}
.contact-panel > p { max-width: 700px; color: var(--muted); }
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 30px 0;
}
.social-link {
  padding: 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.42);
  font-weight: 800;
}
.social-link:hover { border-color: var(--gold-bright); }
.email-link { color: var(--gold-bright); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(0,0,0,.94);
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(900px, 94vw);
  max-height: 88vh;
  border-radius: 14px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  color: white;
  background: transparent;
  font-size: 2.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes drift {
  from { transform: scale(1.025) translate3d(-.4%, 0, 0); }
  to { transform: scale(1.055) translate3d(.4%, -.5%, 0); }
}

@media (max-width: 980px) {
  .featured-grid { grid-template-columns: 1fr; }
  .catalog-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-image { max-width: 620px; margin: auto; }
  .social-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5,5,5,.96);
  }
  .site-nav.open { display: flex; }
  .brand { font-size: .85rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card img { aspect-ratio: 1; }
  .catalog-grid, .gallery-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .section { width: min(100% - 28px, var(--max)); padding: 85px 0; }
  .hero { padding-inline: 18px; }
  .hero-bg { background-position: 38% 20%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  #rain-canvas { display: none; }
}


/* V2 enhancements */
.hero-bg {
  filter: brightness(1.12) saturate(1.06);
  will-change: transform;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.56) 42%, rgba(0,0,0,.28) 70%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 45%, #050505 98%);
}
.now-playing {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.player-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25,20,12,.94), rgba(7,7,7,.96));
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.player-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.player-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.player-info strong {
  font-family: Georgia, serif;
  font-size: 2rem;
}
.player-info p { color: var(--muted); }
.player-label {
  color: var(--gold-bright);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 10px;
}
.gallery-grid {
  columns: 3 280px;
  display: block;
}
.gallery-item {
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
}
.gallery-item img {
  aspect-ratio: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a:hover { color: var(--gold-bright); }

@media (max-width: 850px) {
  .now-playing { grid-template-columns: 1fr; }
  .player-shell { grid-template-columns: 1fr; }
  .player-art img { aspect-ratio: 1; }
}
