/* Robert M Drums — modern site styles */

:root {
  --bg: #0d0a13;
  --bg-alt: #16101f;
  --surface: #1c1526;
  --surface-hover: #261b35;
  --border: #34253f;
  --text: #f4eef8;
  --text-dim: #b8abc4;
  --accent: #b45cd6;
  --accent-bright: #dc9bf0;
  --accent-deep: #5b1f78;
  --radius: 14px;
  --max-width: 1180px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(ellipse 1100px 620px at 50% -8%, rgba(180, 92, 214, 0.28), transparent 62%),
    radial-gradient(ellipse 900px 700px at 100% 30%, rgba(91, 31, 120, 0.16), transparent 60%),
    var(--bg);
  background-attachment: fixed, fixed, fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; color: var(--accent-bright); }

p { color: var(--text-dim); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

/* Layout helpers */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 0 44px;
}

.section-head p {
  margin-top: 12px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 19, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-bright);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 12px;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 30%;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,28,0.12) 0%, rgba(20,12,28,0.5) 45%, rgba(13,10,19,0.94) 85%, var(--bg) 100%),
              linear-gradient(120deg, rgba(180,92,214,0.22) 0%, transparent 55%);
  z-index: -1;
}

.hero-inner {
  padding: 0 24px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  margin-bottom: 6px;
}

.hero .tagline {
  color: var(--accent-bright);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 18px;
}

.hero p.lede {
  max-width: 560px;
  color: var(--text);
  opacity: 0.85;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #150c1c;
}

.btn-primary:hover {
  background: var(--accent-bright);
  text-decoration: none;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--gallery { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

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

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--surface-hover);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 22px;
}

.card-body h3 {
  margin-bottom: 4px;
}

.card-body p {
  font-size: 0.92rem;
  margin: 0;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

a.card--link {
  color: inherit;
  text-decoration: none;
}

a.card--link:hover {
  text-decoration: none;
}

a.card--link .card-link {
  color: var(--accent-bright);
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(180, 92, 214, 0.18);
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.tag--muted {
  background: rgba(184, 171, 196, 0.12);
  color: var(--text-dim);
}

.placeholder-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

/* Track list (music) */
.band-block {
  margin-bottom: 56px;
}

.band-block h3 {
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.track {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.track strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.track p {
  font-size: 0.88rem;
  margin: 0 0 10px;
}

audio {
  width: 100%;
  accent-color: var(--accent);
}

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.video-frame video {
  width: 100%;
  display: block;
}

/* Before/after */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare figure {
  margin: 0;
}

.compare img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.compare figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Catalog spread + horizontal photo strips */
.catalog-spread {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.catalog-spread img {
  width: 100%;
  height: auto;
}

.catalog-spread figcaption {
  padding: 14px 18px;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.stage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stage-nav a {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
}

.stage-nav a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

.stage-section:nth-child(even) {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.photo-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photo-strip img {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  background: #000;
  cursor: zoom-in;
}

.photo-strip img:hover {
  border-color: var(--accent);
}

.photo-strip:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 6, 14, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
}

.lightbox-img {
  display: block;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid var(--border);
  background: rgba(18, 14, 28, 0.88);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

.prose-blurb {
  max-width: 720px;
  color: var(--text-dim);
  line-height: 1.7;
}

.prose-blurb p + p {
  margin-top: 14px;
}

.band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.contact-grid .track {
  margin-bottom: 0;
}

.contact-grid .btn {
  margin-top: 8px;
}

.band-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.band-links a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: var(--accent-bright);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--accent-bright);
}

/* Responsive nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
  }

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

  .nav-links a {
    padding: 12px 24px;
    display: block;
  }

  .compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 66vh; }
}
