:root {
  color-scheme: dark;
  --bg: #030303;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #f6f3ee;
  --muted: #9f9d98;
  --accent: #c4c2be;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 30px 90px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 25%),
              radial-gradient(circle at 30% 20%, rgba(255,255,255,0.02), transparent 18%),
              linear-gradient(180deg, #080808 0%, #020202 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

body.locked {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
}

body.locked::before {
  opacity: 0;
}

body.locked .site-header,
body.locked .hero-bg,
body.locked .hero-logo,
body.locked .hero-mono,
body.locked .hero-tagline,
body.locked .section,
body.locked .site-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header,
.hero-bg,
.hero-logo,
.hero-mono,
.hero-tagline,
.hero-panel {
  transition: opacity 0.9s ease, transform 0.9s ease, visibility 0.9s ease;
}

body.locked .hero {
  min-height: 100vh;
  display: block;
  padding: 0;
}

body.locked .hero-panel {
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
  max-width: none;
  width: 100%;
  min-height: 100vh;
}

body.locked .enter-button {
  display: inline-flex;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 9999;
  width: min(320px, calc(100% - 80px));
}

.page-shell.unlocked .enter-button,
body:not(.locked) .enter-button {
  display: none;
}

.page-shell:not(.unlocked) main {
  overflow: hidden;
}

.page-shell:not(.unlocked) .section,
.page-shell:not(.unlocked) .site-footer {
  opacity: 0;
  transform: translateY(28px);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.85s ease, transform 0.85s ease, max-height 0.85s ease, visibility 0.85s ease;
}

.page-shell.unlocked .section,
.page-shell.unlocked .site-footer {
  opacity: 1;
  transform: translateY(0);
  max-height: 10000px;
  visibility: visible;
  pointer-events: auto;
}

.page-shell {
  position: relative;
  overflow: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 240px 240px;
  opacity: 0.12;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  background: transparent;
}

.brand-mark {
  letter-spacing: 0.42em;
  font-size: 0.86rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 40px;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.05), transparent 22%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03), transparent 15%),
              linear-gradient(120deg, rgba(255,255,255,0.02), transparent 28%, rgba(255,255,255,0.02) 70%);
  opacity: 0.85;
  pointer-events: none;
  animation: float 22s ease-in-out infinite;
}

.hero-top-logo {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  max-width: 22vw;
  height: auto;
  z-index: 30;
  pointer-events: none;
  opacity: 0.98;
}

/* hide polished logo on locked intro, show after unlock */
body.locked .hero-top-logo {
  display: none !important;
}
.page-shell.unlocked .hero-top-logo {
  display: block;
  opacity: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
}

.hero-panel {
  position: relative;
  text-align: center;
  z-index: 1;
  max-width: 820px;
  width: min(100%, 820px);
  padding: 56px 36px;
  background: rgba(10,10,10,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 36px 120px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
}

.hero-mono {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-logo {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(255,255,255,0.04);
  animation: pulseGlow 5s infinite alternate;
  white-space: normal;
}

.hero-tagline {
  margin: 22px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.enter-button {
  display: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--text);
  padding: 18px 36px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.28s ease, color 0.28s ease, border-color 0.28s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.enter-button:hover {
  transform: translateY(-4px);
  color: #ffffff;
  border-color: rgba(255,255,255,0.32);
}

main {
  padding: 180px 40px 80px;
}

.section {
  margin: 0 auto 100px;
  max-width: 1180px;
  counter-increment: section;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  position: relative;
}

.section-header::before {
  content: counter(section, decimal-leading-zero);
  position: absolute;
  top: -4px;
  left: -4px;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.16);
  font-weight: 700;
}

.section-header span {
  color: var(--muted);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 28px;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.music-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: start;
}

.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,6,6,0.92);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.card.media-card {
  min-height: auto;
}

.card::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 64px;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.card h3, .card .card-title {
  margin: 0 0 16px;
  font-size: 1.12rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.dark-card {
  border-color: rgba(255,255,255,0.06);
}

.media-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 20px;
}

.artist-header h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.artist-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.artist-links a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.artist-links a:hover {
  color: var(--text);
}

.link-divider {
  color: var(--muted);
  opacity: 0.6;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(255,255,255,0.12);
  color: var(--muted);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.product-card {
  display: grid;
  gap: 20px;
}

.product-swatch {
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, #242424 0%, #090909 100%);
  border: 1px solid rgba(255,255,255,0.07);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: #0a0a0a;
}

.price {
  margin-top: auto;
  display: inline-block;
  color: var(--text);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card {
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8,8,8,0.96);
}

.contact-card h3 {
  margin: 0 0 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--text);
}

.site-footer {
  padding: 40px 40px 60px;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 0.92rem;
}

@keyframes pulseGlow {
  from { text-shadow: 0 0 30px rgba(255,255,255,0.08); }
  to { text-shadow: 0 0 70px rgba(255,255,255,0.16); }
}

/* header slide animation */
.site-header {
  transition: transform 0.36s cubic-bezier(.22,.9,.38,1), opacity 0.28s ease;
}
.site-header.hidden {
  transform: translateY(-120%);
  opacity: 0;
}

/* Mobile menu button and drawer */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9997;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-btn.hidden {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(3, 3, 3, 0.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-direction: column;
  gap: 0;
  padding: 0;
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer a {
  display: block;
  padding: 16px 24px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, box-shadow 0.3s ease;
}

.mobile-drawer a:hover {
  background-color: rgba(255,255,255,0.04);
}

.mobile-drawer a.active {
  box-shadow: inset 0 0 20px rgba(196, 194, 190, 0.4);
  background-color: rgba(196, 194, 190, 0.08);
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 900px) {
  .site-header {
    padding: 20px 24px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .site-nav {
    display: none;
  }
  .mobile-drawer {
    display: flex;
  }
  .hero {
    padding: 0 24px;
  }
  main {
    padding-top: 140px;
  }
  .music-grid,
  .shop-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero {
    padding: 0 18px;
  }
  .hero-panel {
    padding: 42px 24px;
  }
  .hero-logo {
    font-size: clamp(1.4rem, 8vw, 2.8rem);
    letter-spacing: 0.07em;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin: 0 auto;
    text-align: center;
    line-height: 0.95;
  }

  .hero-tagline {
    font-size: 0.95rem;
    letter-spacing: 0.24em;
  }
  .enter-button {
    width: 100%;
  }
  .section {
    padding: 0 10px;
  }
  .section-header::before {
    left: 0;
  }
}

