/* RoboRoots — roots-reggae steampunk-robot theme
   Palette pulls from the Roots, Robot, Reggae! cover:
   wood brown, ember orange, mustard gold, reggae green, deep red */

:root {
  --rr-wood-dark: #1a0e07;
  --rr-wood: #2a180c;
  --rr-wood-lit: #4a2810;
  --rr-ember: #c9491f;
  --rr-gold: #d9a441;
  --rr-gold-lit: #f4c76b;
  --rr-green: #3a7a2c;
  --rr-red: #a81e18;
  --rr-cream: #f2e2c4;
  --rr-ink: #0c0603;
  --rr-serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --rr-sans: "Oswald", "Impact", system-ui, sans-serif;
  --rr-body: "Merriweather", Georgia, serif;
}

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800&family=Oswald:wght@400;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--rr-body);
  color: var(--rr-cream);
  background: var(--rr-wood-dark);
  background-image:
    radial-gradient(ellipse at top, rgba(217,164,65,0.10), transparent 55%),
    radial-gradient(ellipse at bottom, rgba(168,30,24,0.14), transparent 60%),
    repeating-linear-gradient(
      180deg,
      var(--rr-wood) 0px,
      var(--rr-wood) 2px,
      var(--rr-wood-dark) 3px,
      var(--rr-wood) 6px
    );
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--rr-gold-lit); text-decoration: none; }
a:hover { color: var(--rr-cream); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(12,6,3,0.92), rgba(12,6,3,0.75));
  border-bottom: 2px solid var(--rr-gold);
  backdrop-filter: blur(6px);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--rr-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--rr-cream);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .robo { color: var(--rr-ember); }
.brand .roots { color: var(--rr-green); }
.brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-family: var(--rr-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.88rem;
}
.nav-links a { color: var(--rr-cream); }
.nav-links a:hover { color: var(--rr-gold-lit); text-decoration: none; }
@media (max-width: 620px) {
  .nav-links { gap: 0.85rem; font-size: 0.78rem; }
  .brand { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4rem 1.25rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(217,164,65,0.18), transparent 45%),
    linear-gradient(180deg, transparent 0%, var(--rr-wood-dark) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
}
.album-art {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border: 4px solid var(--rr-gold);
  box-shadow:
    0 0 0 1px var(--rr-wood-dark),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 90px rgba(201,73,31,0.25);
  border-radius: 4px;
}
.hero h1 {
  font-family: var(--rr-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: var(--rr-gold-lit);
  text-shadow: 0 2px 0 var(--rr-wood-dark), 0 6px 18px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}
.hero h1 .sub {
  display: block;
  font-family: var(--rr-sans);
  font-weight: 600;
  font-size: 0.42em;
  letter-spacing: 0.35em;
  color: var(--rr-ember);
  margin-top: 0.6rem;
  text-transform: uppercase;
}
.hero p.tagline {
  font-size: 1.1rem;
  color: var(--rr-cream);
  opacity: 0.92;
  margin: 1rem 0 1.5rem;
  max-width: 52ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 820px) {
  .cta-row { justify-content: center; }
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-family: var(--rr-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.88rem;
  border: 2px solid var(--rr-gold);
  color: var(--rr-cream);
  background: transparent;
  transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--rr-gold);
  color: var(--rr-wood-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--rr-ember);
  border-color: var(--rr-ember);
  color: var(--rr-cream);
}
.btn.primary:hover {
  background: var(--rr-gold);
  border-color: var(--rr-gold);
  color: var(--rr-wood-dark);
}

/* ---------- Section frame ---------- */
section.panel {
  padding: 4rem 1.25rem;
  border-top: 1px solid rgba(217,164,65,0.25);
}
section.panel .panel-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--rr-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--rr-gold-lit);
  margin: 0 0 0.25rem;
  letter-spacing: 0.04em;
}
.section-kicker {
  display: block;
  font-family: var(--rr-sans);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rr-ember);
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--rr-cream);
  opacity: 0.85;
  max-width: 70ch;
  margin: 0 0 2rem;
}

/* ---------- Band grid ---------- */
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.member-card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--rr-gold);
  background: var(--rr-wood);
  aspect-ratio: 1 / 1;
  transform: translateZ(0);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.member-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease, filter 350ms ease;
  filter: saturate(1.05);
}
.member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,6,3,0.92) 100%);
  pointer-events: none;
}
.member-card .name-plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.8rem 0.7rem;
  font-family: var(--rr-sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--rr-cream);
  z-index: 2;
}
.member-card .name-plate .role {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--rr-gold-lit);
  margin-top: 2px;
}
.member-card:hover {
  border-color: var(--rr-ember);
  box-shadow: 0 0 0 1px var(--rr-ember), 0 18px 40px rgba(0,0,0,0.6);
  transform: translateY(-3px);
  text-decoration: none;
}
.member-card:hover img { transform: scale(1.04); filter: saturate(1.2); }

/* ---------- Music section ---------- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.track-card {
  border: 2px solid var(--rr-gold);
  background: linear-gradient(180deg, rgba(74,40,16,0.65), rgba(26,14,7,0.85));
  padding: 1.25rem;
}
.track-card h3 {
  font-family: var(--rr-serif);
  margin: 0 0 0.15rem;
  color: var(--rr-gold-lit);
  font-size: 1.3rem;
}
.track-card .album {
  font-family: var(--rr-sans);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--rr-ember);
  margin-bottom: 0.75rem;
  display: block;
}
.track-card p { margin: 0 0 1rem; font-size: 0.95rem; opacity: 0.9; }
.track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.track-links .btn { font-size: 0.75rem; padding: 0.55rem 0.85rem; letter-spacing: 0.14em; }
.track-alt {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  opacity: 0.75;
  font-style: italic;
}
.track-alt a { color: var(--rr-gold-lit); }

/* ---------- About / record ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid p { font-size: 1.02rem; }
.about-grid .frame {
  border: 4px solid var(--rr-gold);
  padding: 0.4rem;
  background: var(--rr-wood);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.about-grid .frame img { display: block; width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  border-top: 2px solid var(--rr-gold);
  background: var(--rr-wood-dark);
  font-family: var(--rr-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.site-footer .rasta-bar {
  width: 60%;
  max-width: 360px;
  height: 6px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    90deg,
    var(--rr-green) 0 33%,
    var(--rr-gold) 33% 66%,
    var(--rr-red) 66% 100%
  );
  border-radius: 2px;
}
.site-footer a { margin: 0 0.5rem; }
.site-footer .fine { opacity: 0.55; margin-top: 0.75rem; letter-spacing: 0.18em; }

/* ---------- Profile page ---------- */
.profile-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: end start;
  padding: 3rem 1.25rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.profile-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,6,3,0.1) 0%, rgba(12,6,3,0.55) 60%, rgba(12,6,3,0.95) 100%),
    linear-gradient(90deg, rgba(12,6,3,0.7), transparent 55%);
}
.profile-hero .profile-hero-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.profile-hero h1 {
  font-family: var(--rr-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--rr-gold-lit);
  margin: 0;
  text-shadow: 0 3px 0 var(--rr-wood-dark), 0 8px 24px rgba(0,0,0,0.7);
  letter-spacing: 0.02em;
}
.profile-hero .role {
  display: block;
  font-family: var(--rr-sans);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rr-ember);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.profile-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.profile-body p { font-size: 1.08rem; }
.profile-body h2 {
  font-family: var(--rr-serif);
  color: var(--rr-gold-lit);
  font-size: 1.6rem;
  margin-top: 2.2rem;
  border-bottom: 1px solid rgba(217,164,65,0.3);
  padding-bottom: 0.35rem;
}
.profile-body ul { padding-left: 1.2rem; }
.profile-body ul li { margin-bottom: 0.35rem; }
.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--rr-sans);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}
.back-link::before { content: "\2190  "; }

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(217,164,65,0.25);
  margin-top: 2rem;
  font-family: var(--rr-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.prev-next a { display: inline-block; }
