/* ================================================================
   DOPAMINE CAUSE RECORDS — stylesheet
   ----------------------------------------------------------------
   COLOR PALETTE (edit the variables below to re-theme the whole site)
   - Background:  near-black
   - Text:        off-white
   - Accent:      electric pink (the "dopamine" color — used for
                  links, hover states, highlights)
================================================================ */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --fg: #f2ede7;
  --fg-dim: #9a9490;
  --accent: #ff2e88;       /* electric pink — the one accent color */
  --accent-dim: #ff2e8833;
  --border: #262626;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 72px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

section.section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.section__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin-bottom: clamp(24px, 4vw, 48px);
  line-height: 1;
}

/* ---------- Scroll fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 64px);
  z-index: 1000;
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.nav__links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--fg);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav__links a:hover {
  color: var(--accent);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* HERO BACKGROUND — swap this gradient/placeholder for a background
   image or <video> element. To use a video, add a <video> tag inside
   .hero__bg in index.html and set object-fit: cover on it here. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 30%, var(--accent-dim), transparent 60%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 60%, #000 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.8rem, 12vw, 8rem);
  line-height: 0.98;
  color: var(--fg);
}

.hero__tagline {
  margin-top: clamp(16px, 3vw, 28px);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--fg-dim);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* ================================================================
   ABOUT
================================================================ */
.about__text {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--fg-dim);
}

/* ================================================================
   ARTISTS
================================================================ */
.artists {
  background: var(--bg-alt);
}

.artists__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.artist-card {
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px var(--accent-dim);
}

.artist-card__photo {
  overflow: hidden;
}
.artist-card__photo img {
  width: 100%;
  height: auto;
  display: block;
}
/* PRESS PHOTO PLACEHOLDER LABEL — only shown if no <img> is present */
.artist-card__photo-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: repeating-linear-gradient(
    45deg, #1a1a1a, #1a1a1a 10px, #151515 10px, #151515 20px
  );
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}

.artist-card__body {
  padding: clamp(20px, 3vw, 32px);
}

.artist-card__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 12px;
}

.artist-card__bio {
  color: var(--fg-dim);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.artist-card__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.artist-card__link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.artist-card__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ================================================================
   RELEASES
================================================================ */
.releases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.release-card {
  transition: transform 0.35s ease;
}
.release-card:hover {
  transform: translateY(-6px);
}

.release-card__cover {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.release-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.release-card:hover .release-card__cover {
  border-color: var(--accent);
  box-shadow: 0 0 30px -8px var(--accent-dim);
}
/* COVER ART PLACEHOLDER LABEL — only shown if no <img> is present */
.release-card__cover-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #101010 100%);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}

.release-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.release-card__tag {
  color: var(--fg-dim);
  font-size: 0.8rem;
}

.release-card__artist {
  color: var(--fg-dim);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.release-card__listen {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.release-card__listen:hover {
  opacity: 0.75;
  transform: translateX(4px);
}

/* ================================================================
   CONTACT / DEMOS
================================================================ */
.contact {
  background: var(--bg-alt);
  text-align: center;
}
.contact .section__heading { }

.contact__text {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--fg-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--fg);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  transition: color 0.25s ease;
}
.contact__email:hover {
  color: var(--accent);
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  padding: 40px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__logo {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ================================================================
   RESPONSIVE — mobile nav
================================================================ */
@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.is-open {
    max-height: 320px;
  }

  .nav__links a {
    padding: 18px 0;
    width: 100%;
    text-align: center;
  }

  .nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
