/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1c1c1c;
  --gold: #c9a84c;
  --gold-light: #e2c473;
  --gold-dim: rgba(201,168,76,0.15);
  --text: #e8e0d0;
  --text-muted: #8a7f70;
  --border: rgba(201,168,76,0.2);
  --radius: 4px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Typography ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: #0d0d0d;
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover { background: var(--gold-dim); transform: translateY(-2px); }

.btn--sm { padding: 8px 16px; font-size: 0.78rem; }

/* ─── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero__grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.hero__content {
  flex: 1;
  max-width: 520px;
  z-index: 1;
}
.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.05;
}
.hero__artist {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ─── Vinyl Record (Hero) ──────────────────────────────────────── */
.hero__record-wrap {
  flex-shrink: 0;
  z-index: 1;
}
.hero__record {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 80px rgba(201,168,76,0.12), 0 40px 80px rgba(0,0,0,0.7);
}
.spinning { animation: spin 8s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Concentric grooves */
.hero__record::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #1a1a1a 0px,
    #111 1px,
    #1a1a1a 2px,
    #111 3px
  );
}

.hero__record-art {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #7b1a1a, #c9a84c, #2a1a3e, #7b1a1a);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.hero__record-label {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: #1c0f0a;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2;
}
.hero__record-label span {
  font-size: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.hero__record-hole {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d0d0d;
  z-index: 3;
  box-shadow: 0 0 0 2px #222;
}

/* ─── Section Shared ───────────────────────────────────────────── */
.section { padding: 100px 0; }
.section:nth-child(odd) { background: var(--bg); }
.section:nth-child(even) { background: var(--bg2); }

/* ─── Catalog Grid ─────────────────────────────────────────────── */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.record-card {
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.record-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.15), 0 0 0 1px rgba(201,168,76,0.25);
  border-color: rgba(201,168,76,0.3);
}

/* CSS-generated album art */
.record-card__art {
  width: 100%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 70% 30%, var(--c3) 0%, transparent 45%),
    radial-gradient(circle at 20% 70%, var(--c1) 0%, transparent 50%),
    linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  position: relative;
  overflow: hidden;
}
.record-card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 4px,
      rgba(0,0,0,0.08) 4px,
      rgba(0,0,0,0.08) 5px
    );
}
.record-card__art::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 10px rgba(0,0,0,0.15),
    0 0 0 20px rgba(0,0,0,0.1);
  z-index: 2;
}

.record-card__info {
  padding: 18px 20px 20px;
}
.record-card__info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.record-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.record-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.record-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
}

/* ─── Events ───────────────────────────────────────────────────── */
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 12px 32px rgba(201,168,76,0.1);
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  padding-top: 2px;
}
.event-card__day {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.event-card__month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.event-card__body h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.event-card__time {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.event-card__body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }

/* ─── About ────────────────────────────────────────────────────── */
.about__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.about__vinyl {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
}
.about__disc {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #1a1a1a 0px, #111 1px, #1a1a1a 2px, #111 3px
  );
  border: 2px solid rgba(201,168,76,0.15);
  position: relative;
  box-shadow: 0 0 40px rgba(201,168,76,0.08);
}
.about__disc::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1c0f0a;
  border: 1px solid rgba(201,168,76,0.3);
}
.about__disc::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 1;
}
.about__text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; max-width: 540px; }

/* ─── Newsletter ───────────────────────────────────────────────── */
.newsletter { background: var(--bg2) !important; }
.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 56px 48px;
  background: var(--bg3);
  box-shadow: 0 0 60px rgba(201,168,76,0.07);
}
.newsletter__inner h2 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.newsletter__inner > p { color: var(--text-muted); margin-bottom: 2rem; }
.newsletter__form {
  display: flex;
  gap: 12px;
}
.newsletter__form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter__form input:focus { border-color: var(--gold); }
.newsletter__form input::placeholder { color: var(--text-muted); }
.newsletter__note { margin-top: 12px; font-size: 0.85rem; color: var(--gold); min-height: 20px; }

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.7;
}
.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer__social a {
  display: flex;
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
}
.footer__social a:hover { opacity: 1; transform: translateY(-2px); }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
}
.footer__copy p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Fade-in Animation ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* stagger children */
.catalog__grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.catalog__grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.catalog__grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.catalog__grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.catalog__grid .fade-in:nth-child(6) { transition-delay: 0.40s; }

.events__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.events__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; text-align: center; gap: 48px; padding-top: 120px; }
  .hero__desc { margin: 0 auto 2rem; }
  .hero__record { width: 280px; height: 280px; }
  .about__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav__links.open { display: flex; }
  .nav__link {
    padding: 14px 24px;
    display: block;
  }
  .nav__link::after { display: none; }
  .nav__hamburger { display: flex; }

  .catalog__grid { grid-template-columns: 1fr; }
  .hero__record { width: 240px; height: 240px; }
  .newsletter__inner { padding: 36px 24px; }
  .newsletter__form { flex-direction: column; }
  .about__vinyl { display: none; }
  .footer__inner { flex-direction: column; }
  .event-card { flex-direction: column; gap: 12px; }
}
