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

:root {
  --black: #090000;
  --white: #ffffff;
  --gray: #666666;
  --light-bg: #f6f6f6;
  --accent: #e22c2c;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --site-max-width: 1200px;
  --site-gutter: 3vw;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--black);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Container */
.container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}

.container.narrow {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.2rem; }

/* Fade-in animations on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.6s, transform 0.4s ease 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

header.header-dark {
  background-color: var(--black);
}

header.header-dark .header-nav a {
  color: var(--white);
}

header.header-dark .burger span {
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--site-gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  height: 31px;
  width: auto;
}

.header-nav a {
  margin-left: 28px;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  transition: color 0.3s;
}

header.scrolled .header-nav a {
  color: var(--black);
}

.header-nav a:hover {
  color: var(--accent) !important;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

header.scrolled .burger span {
  background: var(--black);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4vmax 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  max-width: 350px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 2vmax var(--site-gutter);
}

.section-dark {
  background-color: var(--white);
}

.section h2 {
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--black);
}

.section p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 24px;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
}

.split-content h3 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.split-content p {
  margin-bottom: 28px;
}

/* Artist List */
.artist-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0 32px;
}

.artist-card {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.artist-card:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.artist-card:hover {
  padding-left: 12px;
}

.artist-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

/* About Section */
.section#about {
  padding-top: 8vmax;
}

.about-intro {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-details p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.highlight-number {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--black);
}

.highlight-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 300;
}

/* Buttons — outline pill style like APG */
.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 2px solid var(--accent);
  border-radius: 300px;
  cursor: pointer;
  transition: 0.1s background-color linear, 0.1s color linear;
  font-family: var(--font);
  background: none;
  color: var(--accent);
}

.btn:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary {
  border-color: var(--accent);
  color: var(--accent);
  background: none;
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* Page Section (About, Press, Video) */
.page-section {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 60vh;
}

.page-section h1 {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.page-section p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Press Grid */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.press-item {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s;
}

.press-item:hover {
  opacity: 0.8;
}

.press-item img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.press-item h4 {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
}

.press-item p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 0;
}

.press-link-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.press-source {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.press-link-card h4 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}

.press-link-card p {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 400;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.video-item h4 {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 400;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: var(--white);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.footer-contact {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--gray);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--red);
}

.footer-copy {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
}

/* Portfolio Grid (Artists page) */
.portfolio-section {
  background: var(--black);
  min-height: 100vh;
  padding-top: 70px;
}

.page-dark {
  background: var(--black);
}

.page-dark .footer {
  background: var(--black);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.page-dark .footer-contact {
  color: rgba(255, 255, 255, 0.4);
}

.page-dark .footer-contact a {
  color: rgba(255, 255, 255, 0.4);
}

.page-dark .footer-copy {
  color: rgba(255, 255, 255, 0.4);
}

.page-dark .footer-logo-img {
  filter: invert(1);
}

.portfolio-header {
  text-align: center;
  padding: 80px 0 60px;
}

.portfolio-header h1 {
  color: var(--white);
  font-size: 4rem;
  font-weight: 500;
  margin: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
}

.grid-item .grid-image {
  width: 100%;
  height: 100%;
}

.grid-item .grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.grid-item:hover .grid-image img {
  transform: scale(1.05);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.grid-item:hover .grid-overlay {
  opacity: 1;
}

.grid-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.grid-item:hover .grid-text {
  opacity: 1;
}

.grid-text h3 {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Nav active state */
.nav-active {
  color: var(--accent) !important;
}

/* Artist Detail Page */
.artist-detail {
  padding-top: 80px;
  min-height: 100vh;
}

.artist-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px var(--site-gutter);
  align-items: start;
}

.artist-detail-text {
  padding-right: 60px;
}

.artist-detail-text h1 {
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--black);
}

.artist-detail-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 16px;
}

.artist-socials {
  display: flex;
  gap: 16px;
  margin: 28px 0;
}

.artist-socials a {
  color: var(--black);
  transition: color 0.3s;
}

.artist-socials a:hover {
  color: var(--accent);
}

.artist-spotify-embed {
  margin-top: 20px;
  max-width: 500px;
}

.artist-detail-image {
  position: relative;
}

.artist-detail-image img {
  width: 100%;
  display: block;
}

/* Artist Pagination */
.artist-pagination {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0;
}

.pagination-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-spacer {
  flex: 1;
}

.pagination-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.pagination-link:hover {
  opacity: 0.7;
}

.pagination-prev {
  align-items: flex-start;
}

.pagination-next {
  align-items: flex-end;
}

.pagination-label {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pagination-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --site-gutter: 6vw;
  }

  .desktop-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .logo {
    height: 45px;
  }

  .hero-logo {
    display: none;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.1rem; }

  .portfolio-header h1 {
    font-size: 2.4rem;
  }

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

  .grid-text {
    opacity: 1;
  }

  .grid-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
  }

  .grid-text h3 {
    font-size: 1.6rem;
  }

  .artist-detail-inner {
    grid-template-columns: 1fr;
    padding: 30px var(--site-gutter);
  }

  .artist-detail-text {
    padding-right: 0;
    order: 2;
  }

  .artist-detail-image {
    order: 1;
    margin-bottom: 30px;
  }

  .artist-detail-text h1 {
    font-size: 3rem;
  }

  .artist-spotify-embed {
    max-width: 100%;
  }

  .pagination-title {
    font-size: 1.1rem;
  }

  .about-highlights {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .about-intro {
    font-size: 1.1rem;
  }

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

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

  .page-section h1 {
    font-size: 2.4rem;
  }
}
