/* =========================================================
   BEN BIRON — press-kit-inspired one-pager
   Color language + typography lifted from the PDF press kit:
   terracotta headlines, neon-lime accents, deep near-black
   backgrounds, bold condensed display type.
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111318;
  --panel: #14181f;
  --terracotta: #c9714f;
  --lime: #c6ff4a;
  --white: #f5f2ec;
  --muted: #a9a9a4;
  --border: rgba(245, 242, 236, 0.12);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { margin: 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-title--accent { color: var(--terracotta); }
.section-title--white { color: var(--white); }

.section-heading { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------------- top loading bar (progressive image/video load) ---------------- */
.top-loader { position: fixed; top:0; left:0; height:2px; width:0; background: var(--lime); z-index: 999; transition: width .3s ease; }

/* ---------------- header / nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
  transition: background .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-nav a { opacity: 0.85; padding: 0.25rem 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.site-nav a:hover { opacity: 1; border-color: var(--lime); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { height: 2px; width: 100%; background: var(--white); }

/* ---------------- HERO / VIDEO CAROUSEL ---------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
}

.hero-carousel { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-slide video,
.hero-slide img,
.hero-slide .hero-slide-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide .hero-slide-fallback {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  right: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-arrow {
  background: rgba(245,242,236,0.08);
  border: 1px solid var(--border);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--lime); color: #0a0a0a; border-color: var(--lime); }

.hero-dots { display: flex; gap: 0.5rem; }
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(245,242,236,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-dot.is-active { background: var(--lime); transform: scale(1.3); }

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 1.75rem;
  bottom: 2.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.8;
}
.hero-scroll span {
  width: 1px; height: 26px;
  background: var(--lime);
  display: inline-block;
  animation: scrollpulse 1.6s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.hero-no-video .hero-controls,
.hero-no-video .hero-scroll { opacity: 0.6; }

/* ---------------- BIO ---------------- */
.bio {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 90vh;
  padding-top: 6.5rem;
  background: var(--panel);
}
.bio-image { overflow: hidden; }
.bio-image img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.bio-panel {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 5vw, 4.5rem);
  border-left: 3px solid var(--lime);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bio-panel p { color: #d8d5cf; font-size: 1.02rem; margin: 0 0 1.1rem; }
.bio-panel strong { color: var(--lime); }
.bio-panel em { color: var(--terracotta); font-style: normal; }

/* ---------------- GALLERY ---------------- */
.gallery { padding: 5rem 1.5rem; max-width: var(--container); margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  grid-auto-rows: 190px;
}
.g-item { position: relative; overflow: hidden; grid-column: span 2; grid-row: span 1; border-radius: 3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 3; }
.g-tall { grid-row: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
}

/* ---------------- LIGHTBOX (Gallery + Gigs slider) ---------------- */
.g-item { cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(5,5,6,0.92); }
.lightbox-stage {
  position: relative; z-index: 1;
  max-width: 88vw; max-height: 78vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-stage img, .lightbox-stage video {
  max-width: 88vw; max-height: 78vh;
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem; z-index: 2;
  background: none; border: none; color: var(--white);
  font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(20,23,28,0.7); border: 1px solid var(--border); color: var(--white);
  width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.lightbox-arrow:hover { background: rgba(20,23,28,0.95); border-color: var(--lime); }
.lightbox-arrow--prev { left: 1.25rem; }
.lightbox-arrow--next { right: 1.25rem; }
.lightbox-info {
  position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 2;
  text-align: center; color: var(--white);
}
.lightbox-caption { font-size: 0.95rem; margin: 0 0 0.25rem; }
.lightbox-counter { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 760px) {
  .lightbox-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; }
  .lightbox-arrow--prev { left: 0.5rem; }
  .lightbox-arrow--next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 1rem; font-size: 1.8rem; }
}

/* ---------------- ON THE ROAD (GIGS MAP) ---------------- */
.gigs { padding: 0; background: #0a0a0a; }

.gigs-map {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  background: url('assets/images/gallery/gigs_map_bg.jpg') center / cover no-repeat;
}
.gigs-map::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  z-index: 1;
  pointer-events: none;
}
.gigs-title {
  position: absolute;
  top: 2rem; left: 1.5rem; right: 1.5rem;
  z-index: 2;
  margin: 0 auto;
  max-width: var(--container);
  text-shadow: 0 2px 12px rgba(0,0,0,0.75), 0 0 32px rgba(0,0,0,0.5);
}
.gigs-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.gigs-lines line {
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  opacity: 0.85;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
}
.gig-anchor {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid #0a0a0a;
  box-shadow: 0 0 0 2px rgba(198,255,74,0.4);
  pointer-events: none;
}

.gig-pin {
  position: absolute;
  z-index: 2;
  width: clamp(110px, 15%, 175px);
  background: rgba(20,23,28,0.92);
  backdrop-filter: blur(2px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.55rem 0.65rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.gig-pin--wide { width: clamp(150px, 21%, 240px); }
.gig-country {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: var(--lime);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.gig-venue { margin: 0 0 0.2rem; font-weight: 600; color: var(--white); font-size: clamp(0.65rem, 0.95vw, 0.78rem); line-height: 1.25; }
.gig-loc { margin: 0; color: var(--muted); font-size: clamp(0.6rem, 0.85vw, 0.72rem); }
.gig-pin.has-photos { cursor: pointer; transition: border-color .2s, transform .2s; }
.gig-pin.has-photos:hover { border-color: var(--lime); }
.gig-pin.has-photos::after {
  content: "▸ View Gallery";
  display: block; margin-top: 0.4rem;
  font-size: 0.62rem; color: var(--lime); font-weight: 700; letter-spacing: 0.03em;
}

/* ---------------- BEATPORT STATS ---------------- */
.stats {
  padding: 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(5,6,7,0.65), rgba(5,6,7,0.65)), url('assets/images/gallery/beatport_bg.jpg') center / cover fixed;
}
.stats > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.stats-top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.stat-rank {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--lime);
  font-style: italic;
  line-height: 1;
}
.stat-track { font-size: 1.15rem; font-weight: 600; margin: 0.5rem 0 0.15rem; }
.stat-label { color: var(--terracotta); margin: 0; }

.stats-chartlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.chart-col p { margin: 0 0 0.9rem; font-size: 0.92rem; color: #d8d5cf; }
.chart-col span { color: var(--lime); font-weight: 700; margin-right: 0.4rem; }

.stats-summary { color: var(--white); font-size: 1.05rem; margin-bottom: 2.5rem; }

.stats-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.stats-labels-title { color: var(--terracotta); font-weight: 700; margin-right: 0.4rem; }

/* ---------------- ARTIST SUPPORT ---------------- */
.support {
  padding: 5rem 1.5rem;
  background:
    linear-gradient(rgba(8,8,9,0.35), rgba(8,8,9,0.55)),
    url('assets/images/gallery/support_bg.jpg') center 15% / cover no-repeat;
}
.support > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.support-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--lime);
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.support-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; position: absolute; inset: 0; }
.support-card img.obj-raised { object-position: center 78%; }
.support-card img.obj-mimi { object-position: center 65%; }
.support-card img.obj-moblack { object-position: center 60%; }
.support-info {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0.05) 100%);
}
.support-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.support-info p {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  color: #d8d5cf;
  line-height: 1.35;
}
.support-info p.support-venue {
  min-height: 2.15em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.support-track { color: var(--lime) !important; margin-bottom: 0 !important; margin-top: auto; }

.support-card.has-media { cursor: pointer; transition: transform .2s, border-color .2s; }
.support-card.has-media:hover { border-color: var(--lime); transform: translateY(-3px); }
.support-view { display: none; }
.support-card.has-media .support-view {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---------------- CONTACT ---------------- */
.contact {
  padding: 6rem 1.5rem;
  background:
    linear-gradient(rgba(10,10,10,0.45), rgba(10,10,10,0.45)),
    url('assets/images/gallery/contact_bg.jpg') center / cover fixed;
  border-top: 3px solid var(--lime);
}
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-block { margin-bottom: 2rem; }
.contact-label { text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.contact-email { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--lime); word-break: break-word; display: block; }
.contact-email:hover { color: var(--terracotta); }
.contact-email + .contact-email { margin-top: 0.3rem; }

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}
.social-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.social-icon:hover { background: var(--lime); transform: translateY(-3px); }
.social-icon img { width: 58%; height: 58%; display: block; object-fit: contain; opacity: .8; }

/* ---------------- PRESS PAGE ---------------- */
.site-nav a.is-active { color: var(--lime); opacity: 1; border-color: var(--lime); }

body.press-page {
  background:
    linear-gradient(180deg, rgba(5,5,6,0.8), rgba(5,5,6,0.6) 30%, rgba(5,5,6,0.82) 70%, rgba(5,5,6,0.95)),
    url('assets/images/gallery/press_bg.jpg') center 15% / cover no-repeat fixed;
}
.press-hero {
  padding: 9rem 1.5rem 3rem;
  text-align: center;
}
.press-hero-inner { max-width: var(--container); margin: 0 auto; }
.press-hero-sub { color: var(--muted); font-size: 1.05rem; margin-top: 0.5rem; }
.press-download-wrap { text-align: center; margin-top: 1rem; }
.press-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--lime);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.press-download-btn:hover { background: var(--white); transform: translateY(-2px); }

.press-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.press-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.press-card-image { display: block; overflow: hidden; }
.press-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.press-card-image:hover img { transform: scale(1.05); }
.press-card-body { padding: 1.5rem 1.75rem 1.5rem 0; display: flex; flex-direction: column; justify-content: center; }
.press-outlet { color: var(--lime); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; margin-bottom: 0.6rem; }
.press-card-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; line-height: 1.25; margin-bottom: 0.75rem; }
.press-card-body h2 a { color: var(--white); }
.press-card-body h2 a:hover { color: var(--terracotta); }
.press-card-body p { color: #d8d5cf; font-size: 0.95rem; margin: 0 0 1rem; }
.press-read { color: var(--terracotta); font-weight: 600; font-size: 0.9rem; }
.press-read:hover { color: var(--lime); }

@media (max-width: 700px) {
  .press-card { grid-template-columns: 1fr; }
  .press-card-image { aspect-ratio: 16/9; }
  .press-card-body { padding: 1.5rem; }
}

/* ---------------- MUSIC PAGE ---------------- */
.music-hero {
  padding: 9rem 1.5rem 3rem;
  text-align: center;
  background:
    linear-gradient(rgba(10,10,10,0.45), rgba(10,10,10,0.45)),
    url('assets/images/gallery/music_hero_vinyl.jpg') center / cover no-repeat;
}
.music-hero-inner { max-width: var(--container); margin: 0 auto; }

.music-section { padding: 3.5rem 1.5rem; background: var(--bg); }
.music-section--alt {
  position: relative;
  z-index: 0;
  background: var(--bg-alt) url('assets/images/gallery/sets_bg.jpg') center 20% / cover no-repeat;
}
.music-section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.88), rgba(5,5,6,0.72) 45%, rgba(5,5,6,0.9));
  z-index: 1;
  pointer-events: none;
}
.music-section--alt .music-section-inner { position: relative; z-index: 2; }
.music-section--covers {
  position: relative;
  z-index: 0;
  background: url('assets/images/covers/releases_collage_tile.jpg') repeat;
}
.music-section--covers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.9), rgba(5,5,6,0.78) 45%, rgba(5,5,6,0.9));
  z-index: 1;
  pointer-events: none;
}
.music-section--covers .music-section-inner { position: relative; z-index: 2; }
.music-section-inner { max-width: 860px; margin: 0 auto; }
.music-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.music-section-head .section-title { margin-bottom: 0; }
.music-ext-link { color: var(--lime); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.music-ext-link:hover { color: var(--terracotta); }
.music-embed { border-radius: 8px; overflow: hidden; line-height: 0; }
.music-embed iframe { display: block; border-radius: 8px; }

.music-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.music-chart-item {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  background: #1b1f26;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
}
.music-chart-rank { font-family: var(--font-display); color: var(--lime); font-size: 1.2rem; flex-shrink: 0; }
.music-chart-item p { margin: 0; font-size: 0.9rem; color: var(--white); }
.music-chart-item em { color: var(--muted); font-style: normal; }
.music-chart-summary { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 600px) {
  .music-chart-grid { grid-template-columns: 1fr; }
}

/* ---------------- PROJECTS PAGE ---------------- */
body.projects-page {
  background:
    linear-gradient(180deg, rgba(5,5,6,0.8), rgba(5,5,6,0.6) 30%, rgba(5,5,6,0.82) 70%, rgba(5,5,6,0.95)),
    url('assets/images/gallery/projects_bg.jpg') center 10% / cover no-repeat fixed;
}
.projects-hero {
  padding: 9rem 1.5rem 3rem;
  text-align: center;
}
.projects-hero-inner { max-width: var(--container); margin: 0 auto; }

.projects-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.project-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.project-media {
  position: relative;
  min-height: 220px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.project-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.project-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #1b1f26, #1b1f26 10px, #20242b 10px, #20242b 20px);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}
.project-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.project-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.project-body p { color: #d8d5cf; font-size: 0.95rem; margin: 0; line-height: 1.55; }

.project-card.has-media { cursor: pointer; transition: transform .2s, border-color .2s; }
.project-card.has-media:hover { border-color: var(--lime); transform: translateY(-3px); }
.project-view { display: none; }
.project-card.has-media .project-view {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.projects-community {
  padding: 1rem 1.5rem 2rem;
  text-align: center;
}
.projects-community-title { max-width: var(--container); margin: 0 auto 2rem; }
.projects-community .projects-list { text-align: left; }

@media (max-width: 700px) {
  .project-card { grid-template-columns: 1fr; }
  .project-media { min-height: 180px; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: #050505;
  text-align: center;
  color: var(--muted);
  overflow: hidden; /* prevents .socials' top margin from collapsing through and showing the page background as a stripe above the footer */
}
.bio-page .site-footer { background: var(--panel); }
.press-page .site-footer,
.projects-page .site-footer { background: transparent; }
.music-page .site-footer {
  background: linear-gradient(180deg, rgba(5,6,7,0.65), rgba(5,6,7,0.65)), url('assets/images/gallery/beatport_bg.jpg') center / cover fixed;
}
.home-page .site-footer {
  background: linear-gradient(rgba(10,10,10,0.45), rgba(10,10,10,0.45)), url('assets/images/gallery/contact_bg.jpg') center / cover fixed;
}
.footer-photo { width: 100%; height: auto; display: block; }
.site-footer .socials { margin: 2rem 0 0.5rem; }
.footer-copy { font-size: 0.8rem; padding: 1.25rem 1.5rem; margin: 0; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 64px; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(10px);
    width: min(260px, 80vw);
    padding: 1.5rem;
    gap: 1.1rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-left: 1px solid var(--border);
    height: calc(100vh - 64px);
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  .bio { grid-template-columns: 1fr; }
  .bio-image img { min-height: 320px; }
  .bio-panel { border-left: none; border-top: 3px solid var(--lime); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }

  .gigs-map {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-size: cover;
  }
  .gigs-title {
    position: static;
    margin: 0 0 0.5rem;
    max-width: none;
  }
  .gig-pin, .gig-pin--wide {
    position: static;
    width: 100%;
    transform: none !important;
  }

  .stats-top3, .stats-chartlist { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
