/**
 * Bujjhati theme: "Light in the dark"
 * Palette – darker colors prioritized, accent for emphasis.
 *
 * COLOR NAMES (for reference):
 *   --color-void:    #0b110f  → Void (darkest – main backgrounds)
 *   --color-slate:   #1b2c36  → Slate (dark blue‑gray – sections, nav)
 *   --color-dusk:    #2d4a58  → Dusk (steel teal – cards, borders, secondary)
 *   --color-dawn:    #d4dff5  → Dawn (lavender mist – text on dark, soft light)
 *   --color-white:   #ffffff  → White (highlights, strong contrast)
 *   --color-accent:  #ac2d27  → Accent (emphasis, CTAs, links)
 */

:root {
  --color-void: #0b110f;
  --color-slate: #1b2c36;
  --color-dusk: #2d4a58;
  --color-dawn: #d4dff5;
  --color-white: #ffffff;
  --color-accent: #ac2d27;

  /* Legacy compatibility */
  --white: var(--color-white);
  --black: var(--color-void);
  --dark-grey: var(--color-dusk);
  --gainsboro: var(--color-dawn);
}

/* Base: dark background, light text */
body {
  background-color: var(--color-void);
  color: var(--color-dawn);
}

/* Typography on dark */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dawn);
}

h2, h3 {
  color: var(--color-dawn);
}

p, ul, ol, blockquote, figcaption {
  color: var(--color-dawn);
}

blockquote {
  border-top-color: var(--color-dusk);
  border-left-color: var(--color-dusk);
}

/* Navigation: darkest (Void) – solid, no visible bar under nav */
.navigation,
.navigation-container {
  background-color: var(--color-void);
  border-bottom: 1px solid transparent;
}

.navigation-link,
.navigation-link-text {
  color: var(--color-dawn);
  transition: color 0.2s ease;
}

.navigation-link:hover,
.navigation-link-text:hover {
  color: var(--color-accent);
}

.nav-link {
  color: var(--color-dawn);
}

.nav-link.white {
  color: var(--color-white);
}

/* Mobile nav menu – same darkest */
.nav-menu {
  background-color: var(--color-void);
}

.navigation-hover {
  background-color: var(--color-void);
}

/* Mobile menu (≤991px): Lottie eye — exact accent via overlay (opacity), not filter hue tricks */
@keyframes lottieEyeAccentTint {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.82;
  }
}

.menu-button .lottie-eye-outer {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  /*
   * Lottie sets the SVG to 100%×100% of .lottie-eye, so the wrapper fills the whole menu hit area.
   * The multiply ::after uses inset:0 — it must match the *drawn* icon, not the button.
   * Override inline 100% on the SVG so .lottie-eye shrinks to icon size (≈54px in 80×80 btn with 13px padding).
   */
  .menu-button .lottie-eye-outer .lottie-eye {
    filter: none;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Beat Lottie inline 100% so the box shrink-wraps the SVG (otherwise ::after stays button-sized) */
    width: fit-content !important;
    height: fit-content !important;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    box-sizing: border-box;
  }

  .menu-button .lottie-eye-outer .lottie-eye svg {
    display: block;
    filter: brightness(0) invert(1);
    width: min(54px, 100%) !important;
    height: min(54px, 100%) !important;
    margin: 0;
    flex-shrink: 0;
  }

  /* Same box as SVG — red tint only on the glyph, not the full nav button */
  .menu-button .lottie-eye-outer .lottie-eye::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    mix-blend-mode: multiply;
    opacity: 0;
    /* Disabled: remove navbar icon pulse animation */
    animation: none !important;
    pointer-events: none;
  }
}

@media screen and (max-width: 991px) and (prefers-reduced-motion: reduce) {
  .menu-button .lottie-eye-outer .lottie-eye::after {
    animation: none;
    opacity: 0;
  }
}

/* Paragraphs / hero text */
.paragraph {
  color: var(--color-dawn);
}

.paragraph._2 {
  color: var(--color-dawn);
}

/* Hero: offset = navbar height only so content is not cropped by fixed nav (no extra gap) */
.section-2 {
  margin-top: 106px; /* nav height desktop */
  padding-top: 0;
}

/* Hero: 16:9 box; poster + video share identical fill/position */
.hero-bg-video-wrap.background-video {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  height: auto !important;
  flex-shrink: 0;
}

/* Override Webflow’s negative-inset video hack — keeps poster/video aligned from first paint */
.hero-bg-video-wrap.w-background-video > video,
.hero-bg-video-wrap .hero-bg-poster {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-bg-video-wrap .hero-bg-poster {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-bg-video-wrap .hero-bg-poster.is-fading-out {
  opacity: 0;
}

.hero-bg-video-wrap.w-background-video > video#hero-bg-video {
  z-index: 1 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  opacity: 0;
  transition: opacity 0.7s ease;
  background-color: transparent;
}

.hero-bg-video-wrap.w-background-video > video#hero-bg-video.is-ready {
  opacity: 1 !important;
}

.section-2 .div-block-2 {
  position: relative;
  isolation: isolate;
}

/* Music section image: full B&W */
#music .image-2 {
  filter: grayscale(100%);
}

/* Sections: layered darks */
.section-2,
.section-links,
.section-b,
.media-links-sec,
.projects-section,
.div-block-2,
.div-block-3,
.div-block-4,
.div-block-5,
.div-block-6,
.div-block-7,
.div-block-8,
.title-div,
.h1 {
  color: var(--color-dawn);
}

/* Buttons & CTAs – accent */
.link-button,
.submit-button,
a.link-button {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.link-button:hover,
.submit-button:hover,
a.link-button:hover {
  background-color: var(--color-dusk);
  color: var(--color-white);
  border-color: var(--color-dawn);
}

/* Footer */
.footer {
  background-color: var(--color-void);
  border-top-color: var(--color-dusk);
}

.footer-title-text {
  color: var(--color-dusk);
}

.separator-color {
  background-color: var(--color-dusk);
}

.separator-color.footer-line {
  background-color: var(--color-dusk);
}

/* Form inputs on dark */
.text-field {
  color: var(--color-dawn);
  background-color: var(--color-slate);
  border-color: var(--color-dusk);
}

/* Cards / panels */
.top-post,
.div-block-10,
.div-block-12 {
  background-color: transparent;
}

.contact-title,
.email,
.email-text .email {
  color: var(--color-dawn);
}

/* Circular headshot above contact title (index + contact page) – always round, never oval */
.contact-headshot {
  display: block;
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;
  max-width: none; /* override Webflow global img { max-width: 80% } */
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}
.contact-headshot-wrap {
  height: auto;
  min-height: 0;
  margin-bottom: 1.25rem;
  background-color: transparent;
  min-width: 180px;
}
.contact-headshot-wrap .contact-headshot {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .contact-headshot {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    margin-bottom: 1.5rem;
  }
  .contact-headshot-wrap {
    min-width: 140px;
    margin-bottom: 1.5rem;
  }
}

/* PRESS KIT button: dark blue text on white (override .w-button color: white) */
a.booking-link-button.w-button:not(.rider):not(._2) {
  color: #1b2c36 !important;
  background-color: var(--color-white);
  border: 2px solid var(--color-dusk);
}

a.booking-link-button.w-button:not(.rider):not(._2):hover {
  color: #1b2c36 !important;
  border-color: var(--color-accent);
}

/* Booking / contact CTAs: center label in the button (Webflow only applied text-align:center at ≤479px) */
.booking-link-button.w-button,
a.booking-link-button.w-button {
  text-align: center;
  box-sizing: border-box;
}

.email-text:hover .email,
a.email-text:hover {
  color: var(--color-accent);
}

/* No border bars under email (contact page) */
.email-text._2 {
  border-bottom: none;
}

/* More releases / links */
.more-releases,
.link-block-2 .more-releases,
.link-block-3 .more-releases {
  color: var(--color-dawn);
}

.link-block-2:hover .more-releases,
.link-block-3:hover .more-releases {
  color: var(--color-accent);
}

/* Sections: transparent so layout-inner void shows through (no gaps/bars) */
.section-b {
  background-color: transparent;
  border-top: none;
  border-bottom: none;
}

/* Contact / booking: Webflow `.section-b` uses fixed 214px height — expand so CTAs + headshot aren’t clipped */
#booking.section-b {
  height: auto;
  min-height: auto;
  overflow: visible;
}

/* Contact section: tighter spacing to adjacent sections (preview-tuned) */
#booking {
  margin-top: -81px;
  padding-top: 2rem;
  padding-bottom: 14px;
}
#booking .div-block-12 {
  margin-bottom: 1.25rem;
}
#booking .links-contact-button-div {
  margin-top: 1.5rem;
}

/* Tablet: full-width row + gap so the CTA group stays visually centered (avoids margin-based drift) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  #booking .links-contact-button-div {
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.75rem 1.25rem;
  }
  #booking .links-contact-button-div .booking-link-button {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mobile only: stack PRESS KIT and RIDER & HOSPITALITY (and TECHNICAL RIDER) vertically */
@media screen and (max-width: 767px) {
  #booking .links-contact-button-div {
    flex-direction: column;
    align-items: center;
  }
  #booking .links-contact-button-div .booking-link-button {
    width: 100%;
    max-width: 280px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  #booking .links-contact-button-div .booking-link-button:last-child {
    margin-bottom: 0;
  }
}

.projects-section {
  background-color: transparent;
  padding-bottom: 5rem;
  border-top: none;
}

/* Projects hero image: nudge up so we see a bit more of the top (width/height unchanged) */
.projects-section .div-block-4._2 img {
  transform: translateY(10%);
}

/* Projects hero strip overlay: lava-lamp style drifting blobs + base gradient */
@keyframes projectsLavaBlobA {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  28% {
    transform: translate(12%, 22%) scale(1.12) rotate(10deg);
  }
  52% {
    transform: translate(-8%, 18%) scale(0.92) rotate(-8deg);
  }
  76% {
    transform: translate(10%, -14%) scale(1.06) rotate(6deg);
  }
}

@keyframes projectsLavaBlobB {
  0%,
  100% {
    transform: translate(0, 0) scale(1.05) rotate(0deg);
  }
  35% {
    transform: translate(-14%, 10%) scale(0.88) rotate(-12deg);
  }
  62% {
    transform: translate(8%, -18%) scale(1.14) rotate(9deg);
  }
}

.projects-section .div-block-9 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(172, 45, 39, 0.12) 42%,
    rgba(130, 35, 30, 0.9) 100%
  );
  box-shadow: inset 0 0 40px rgba(255, 200, 190, 0.15);
}

.projects-section .div-block-9::before,
.projects-section .div-block-9::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: 0.85;
  will-change: transform;
}

/* Large warm blob — top / left */
.projects-section .div-block-9::before {
  width: 165%;
  height: 155%;
  left: -45%;
  top: -55%;
  background: radial-gradient(
    circle at 42% 48%,
    rgba(255, 190, 175, 0.95) 0%,
    rgba(200, 70, 58, 0.55) 38%,
    rgba(172, 45, 39, 0.2) 62%,
    transparent 74%
  );
  animation: projectsLavaBlobA 16s ease-in-out infinite;
}

/* Cooler deep blob — bottom / right */
.projects-section .div-block-9::after {
  width: 150%;
  height: 165%;
  right: -48%;
  bottom: -58%;
  background: radial-gradient(
    circle at 58% 55%,
    rgba(172, 45, 39, 0.98) 0%,
    rgba(85, 28, 24, 0.65) 42%,
    rgba(40, 15, 14, 0.35) 68%,
    transparent 78%
  );
  animation: projectsLavaBlobB 19s ease-in-out infinite 1.5s;
}

@media (prefers-reduced-motion: reduce) {
  .projects-section .div-block-9,
  .projects-section .div-block-9::before,
  .projects-section .div-block-9::after {
    animation: none !important;
  }

  .projects-section .div-block-9::before,
  .projects-section .div-block-9::after {
    opacity: 0.5;
    transform: none;
  }
}

.section-links {
  background-color: transparent;
  border-bottom: none;
}

/* Past Venues: own vertical space (override .section-b fixed height), clear section padding */
#venues.past-venues-section {
  height: auto;
  min-height: auto;
  padding-top: 13px;
  padding-bottom: 13px;
  margin-top: 2.5rem;
  margin-bottom: 0;
}
#venues .title-div {
  margin-bottom: 1.25rem;
}
#venues .div-block-6 {
  margin-top: 0;
  margin-bottom: 0;
}
#venues .past-venues-subtitle {
  color: var(--color-accent);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 1rem;
  max-width: 757px;
}
#venues .past-venues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  max-width: 757px;
  margin: 0 0 2.5rem;
}
#venues .past-venues-subtitle:last-of-type {
  margin-top: 1rem;
}
#venues .past-venues-list,
#venues .past-venues-list-single {
  list-style: none;
  margin: 0;
  padding: 0;
}
#venues .past-venues-list-single {
  max-width: 757px;
}
#venues .past-venues-list li,
#venues .past-venues-list-single li {
  position: relative;
  padding-left: 1rem;
  /* Override global webflow `li { margin-top: 10px }` — otherwise 2nd <ul>’s first item looks like a gap */
  margin-top: 0;
  margin-bottom: 0.35rem;
}
#venues .past-venues-list li::before,
#venues .past-venues-list-single li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  #venues .past-venues-grid {
    grid-template-columns: 1fr;
    /* Single column: no gap between stacked <ul>s; item spacing comes from li margin */
    gap: 0;
  }
  #venues.past-venues-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/*
 * Homepage Spotify compact embeds: cross-origin iframe — we can’t target clicks inside it.
 * This link covers the left 85% (title/artwork area → open release on site); the right 15%
 * stays clear so the embed’s play control on the right edge stays clickable.
 */
/* Homepage Spotify rows: keep pair side-by-side; solo (3rd) release centered below */
.div-block-7.div-block-7--spotify-row {
  justify-content: center;
  flex-wrap: wrap;
}
.div-block-7.div-block-7--spotify-row-solo {
  margin-top: 12px;
}
/* ≤991px rows stack: drop row/solo margins so gap matches embed stack (not double gap on 3rd) */
@media screen and (max-width: 991px) {
  .div-block-7.div-block-7--spotify-row:not(.div-block-7--spotify-row-solo) {
    margin-bottom: 0;
  }
  .div-block-7.div-block-7--spotify-row-solo {
    margin-top: 0;
  }
}

.spotify-embed-shell {
  position: relative;
}
.spotify-embed-shell .spotify-embed-release-hit {
  position: absolute;
  top: 0;
  right: 15%;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: transparent;
  cursor: pointer;
}
.spotify-embed-shell .spotify-embed-release-hit:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}
.spotify-embed-shell .spotify-embed-release-hit-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* YouTube sets: same rhythm as Past Venues, strict 16:9 + soft animated accent border */
@keyframes youtube-border-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
#mixes.youtube-sets-section {
  height: auto;
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}
#mixes .youtube-sets-embeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: min(100%, 1554px);
  margin: 0 auto;
  align-items: start;
  box-sizing: border-box;
}
#mixes .youtube-sets-embeds .youtube-embed-glow-shell {
  max-width: none;
  width: 100%;
  margin: 0;
}
#mixes .youtube-embed-glow-shell {
  --youtube-glow-rest:
    0 0 18px rgba(172, 45, 39, 0.28),
    0 0 42px rgba(172, 45, 39, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.35);
  --youtube-glow-hover:
    0 0 38px rgba(172, 45, 39, 0.52),
    0 0 76px rgba(172, 45, 39, 0.22),
    0 10px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 757px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 18px;
  box-shadow: var(--youtube-glow-rest);
  transition: box-shadow 0.8s cubic-bezier(0.33, 0.06, 0.2, 1);
}
#mixes .youtube-embed-glow-shell:hover {
  box-shadow: var(--youtube-glow-hover);
}
#mixes .youtube-embed-wrap {
  --youtube-ring: 3px;
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
#mixes .youtube-embed-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    rgba(172, 45, 39, 0.12),
    rgba(172, 45, 39, 0.55),
    rgba(255, 210, 210, 0.22),
    rgba(172, 45, 39, 0.35),
    rgba(255, 180, 180, 0.15),
    rgba(172, 45, 39, 0.12)
  );
  animation: youtube-border-spin 14s linear infinite;
  filter: brightness(1);
  transition: filter 0.8s cubic-bezier(0.33, 0.06, 0.2, 1);
}
#mixes .youtube-embed-glow-shell:hover .youtube-embed-wrap::before {
  filter: brightness(1.12);
}
#mixes .youtube-embed-inner {
  position: absolute;
  z-index: 1;
  inset: var(--youtube-ring);
  border-radius: 11px;
  overflow: hidden;
  background-color: var(--color-void);
}
#mixes .youtube-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  #mixes .youtube-embed-glow-shell {
    transition: box-shadow 0.55s ease;
  }
  #mixes .youtube-embed-wrap::before {
    animation: none;
    transition: filter 0.55s ease;
  }
}
@media screen and (max-width: 991px) {
  #mixes .youtube-sets-embeds {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  #mixes.youtube-sets-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Infinite image slider below More mixes (images from public/images/slider1) */
.slider-infinite-wrap {
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 134px;
}
.slider-infinite-track {
  display: flex;
  width: max-content;
  animation: slider-infinite-scroll 68s linear infinite;
}
.slider-infinite-track img {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  max-width: none; /* override Webflow global img { max-width: 80% } — caused gaps between slides */
  object-fit: cover;
  display: block;
}
@keyframes slider-infinite-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media screen and (max-width: 767px) {
  .slider-infinite-track {
    /* 20% faster than desktop: 68s × 0.8 */
    animation-duration: 54.4s;
  }
  .slider-infinite-track img {
    width: 220px;
    height: 160px;
  }
  /* Space below slider / above booking — keep clear of overlap without a large dead zone */
  #booking {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
  #booking .div-block-12 {
    margin-bottom: 0.75rem;
  }
  .contact-headshot {
    margin-bottom: 1rem;
  }
  .slider-infinite-wrap {
    margin-bottom: 1.5rem;
    margin-top: 1.25rem;
  }
}

/* Space between social icons and music section: equal above/below so “borde” is centered */
.media-links-sec {
  background-color: transparent;
  padding-bottom: 0;
}
.hero-divider {
  padding: 2.5rem 0;
}
.hero-divider::before {
  content: '';
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
#music.section-links {
  padding-top: 0;
}
/* Spotify / SoundCloud blocks: same heading + lead rhythm as #mixes */
#music .music-subsection-title {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}
#music .music-subsection-title.music-subsection-title--follows-cta {
  margin-top: 0;
}
/* Section now opens with “latest releases”; avoid double gap under hero divider */
#music.section-links > .title-div.music-subsection-title:first-child {
  margin-top: 0;
}
/* MUSIC hero (image + bio) sits after releases CTA, before full mixes */
#music .music-intro-after-releases {
  margin-top: 24px;
  padding-top: 0;
  padding-bottom: 0;
}
/* YouTube embed block nested in music: full-width grid; no extra top padding (same rhythm as MORE RELEASES → full mixes). */
#music #mixes.youtube-sets-section {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  padding-top: 0;
  margin-top: 0;
}
#music #mixes .youtube-sets-embeds {
  width: 100%;
  min-width: 0;
}
/* Space between "youtube sets" heading and the players */
#music .youtube-sets-heading {
  margin-bottom: 1.75rem;
}
@media screen and (max-width: 767px) {
  .hero-divider {
    padding: 2rem 0;
  }
}

/* Body dark variant (e.g. /contact): solid darkest blue, no prismatic bars */
.body-dark {
  background-color: var(--color-void);
}
.body-dark .page-wrapper,
.body-dark .section-5 {
  background-color: transparent;
}

/* Contact: fixed nav clears headshot (same rhythm as .releases-page-main) */
.body-dark .contact-page .section-5 {
  padding-top: calc(106px + 1.25rem);
}
@media screen and (max-width: 479px) {
  .body-dark .contact-page .section-5 {
    padding-top: calc(14vh + 1.25rem);
  }
}

.body-dark .coming-soon-text {
  color: var(--color-dawn);
}

/* Text spans and emphasis */
.text-span,
.text-span-2,
.text-span-3,
.italic-text,
.bold-text {
  color: var(--color-dawn);
}

/* Section headings */
.title-div .h1,
.h1 {
  color: var(--color-dawn);
}

/* Links in content */
a:not(.link-button):not(.navigation-link):not(.nav-link):not(.release-listen-row) {
  color: var(--color-dawn);
}

a:not(.link-button):not(.navigation-link):not(.nav-link):not(.release-listen-row):hover {
  color: var(--color-accent);
}

/* Media link blocks (icons) – keep visible on dark; hover = site accent red */
.media-links-block {
  opacity: 0.9;
  /* Don’t animate `filter` (invert → recolor looks muddy mid-transition) */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.media-links-block:hover,
.media-links-block:focus-visible {
  opacity: 1;
  /* Replace Webflow `invert()` with flat silhouette tinted to --color-accent (#ac2d27) */
  filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(5000%) hue-rotate(347deg)
    brightness(0.92) contrast(0.94);
}

/* Project card text (Avanta Design) */
.project-card-text .project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1rem;
  border: 2px solid var(--color-dusk);
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
}

.project-card-label {
  color: var(--color-dawn);
  font-family: Libre Franklin, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.project-card-text .project-link:hover {
  border-color: var(--color-accent);
}

.project-card-text .project-link:hover .project-card-label {
  color: var(--color-white);
}

/* Projects grid: desktop 2x2, mobile 1x4 */
.projects-section #w-node-_902813a6-99ac-830c-5a9e-84ae4805c315-df00704f {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
}

.projects-section #w-node-_902813a6-99ac-830c-5a9e-84ae4805c315-df00704f .w-layout-cell {
  grid-column: span 1;
  grid-row: span 1;
}

@media screen and (max-width: 479px) {
  .projects-section #w-node-_902813a6-99ac-830c-5a9e-84ae4805c315-df00704f {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
}

/* Responsive: offset = nav height + extra space inside hero on mobile */
@media screen and (max-width: 767px) {
  .section-2 {
    padding-top: 1.5rem;
  }
}

@media screen and (max-width: 479px) {
  .section-2 {
    margin-top: 14vh; /* nav height mobile */
    padding-top: 2rem; /* more space between nav and video */
  }
}

/* Site footer: red bg, centered inverted logo, click = back to top */
/* Root scroll-padding: fixed .navigation (106px) so in-page #anchors clear the bar (scroll-margin on targets is flaky with flex sections) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}
@media screen and (max-width: 479px) {
  html {
    scroll-padding-top: 14vh;
  }
}
/* Spacer above footer: same color as sections so no visible “gap” */
.site-footer::before {
  content: '';
  display: block;
  height: clamp(4rem, 10vw, 8rem);
  background-color: var(--color-void);
}
.site-footer {
  background-color: var(--color-accent);
  padding: 1.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer-logo-link {
  display: block;
  line-height: 0;
}
.site-footer-logo {
  display: block;
  width: auto;
  height: 84px;
  max-width: 126px;
  object-fit: contain;
  filter: invert(1);
  transition: opacity 0.2s ease;
}
.site-footer-logo-link:hover .site-footer-logo {
  opacity: 0.85;
}
@media screen and (max-width: 767px) {
  .projects-section {
    padding-bottom: 4rem;
  }
  .site-footer::before {
    height: 5rem;
  }
  .site-footer {
    padding: 1.4rem 1rem;
  }
  .site-footer-logo {
    height: 70px;
    max-width: 105px;
  }
}

/* Releases hub + TapeLink-style detail pages */
/* Clear fixed .navigation (106px desktop, 14vh ≤479px) — same rhythm as .section-2 */
.releases-page-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(106px + 1.25rem) 1.25rem 4rem;
  box-sizing: border-box;
}
@media screen and (max-width: 479px) {
  .releases-page-main {
    padding-top: calc(14vh + 1.25rem);
  }
}
.releases-page-intro {
  width: 100%;
  margin-bottom: 2rem;
}
.releases-page-back {
  margin: 0 0 1rem;
  text-align: center;
}
.releases-page-back-arrow {
  display: inline-block;
  margin-right: 0.2em;
  font-size: 0.85em;
  opacity: 0.9;
  vertical-align: 0.05em;
}
.releases-page-heading.title-div {
  text-align: center;
  margin-bottom: 0;
}
.releases-page-heading.title-div .h1 {
  margin-bottom: 0;
}
.releases-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
@media screen and (max-width: 767px) {
  .releases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .release-card-body {
    padding: 0.65rem 0.55rem 0.85rem;
  }
  .release-card-badge {
    font-size: 0.52rem;
  }
  .release-card-badge--new,
  .release-card-badge--date {
    padding: 0.28rem 0.4rem;
  }
}
.releases-grid-item {
  min-width: 0;
  display: flex;
}
.release-card,
.release-card.w-inline-block {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: none;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(27, 44, 54, 0.65);
  border: 1px solid var(--color-dusk);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-sizing: border-box;
}
/* Full-card animated red gradient (only this card on hover) */
.release-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    #5c1412 0%,
    var(--color-accent) 28%,
    #d43832 48%,
    var(--color-accent) 68%,
    #7a1f1c 100%
  );
  background-size: 350% 350%;
  transition: opacity 0.4s ease;
}
.release-card:hover::before,
.release-card:focus-visible::before {
  opacity: 1;
  animation: release-card-gradient-flow 3.5s ease infinite;
}
.release-card:not(:hover):not(:focus-visible)::before {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .release-card:hover::before,
  .release-card:focus-visible::before {
    animation: none;
  }
}
.release-card:hover,
.release-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
@keyframes release-card-gradient-flow {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}
/* Above ::before gradient so cover art stays visible on hover */
.release-card-image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-slate);
}
.release-card-badge {
  position: absolute;
  z-index: 2;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}
.release-card-badge--new {
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.release-card-badge--date {
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  background: rgba(11, 17, 15, 0.88);
  color: var(--color-dawn);
  border: 1px solid rgba(45, 74, 88, 0.85);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.release-card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Release format — bottom-centre of artwork; fades/slides in on card hover */
.release-card-type-pill {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  z-index: 4;
  transform: translate3d(-50%, 12px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0.16rem 0.85rem;
  border-radius: 999px;
  background: rgba(11, 17, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s ease;
}
.release-card:hover .release-card-type-pill,
.release-card:focus-visible .release-card-type-pill {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .release-card-type-pill {
    transition: opacity 0.25s ease, visibility 0.25s ease;
    transform: translate3d(-50%, 0, 0);
  }
  .release-card:hover .release-card-type-pill,
  .release-card:focus-visible .release-card-type-pill {
    transform: translate3d(-50%, 0, 0);
  }
}
.release-card-body {
  position: relative;
  z-index: 3;
  padding: 1rem 1.1rem 1.25rem;
}
.release-card-title {
  font-weight: 600;
  color: var(--color-dawn);
  margin-bottom: 0.25rem;
  transition: color 0.35s ease;
}
.release-card-artist {
  color: var(--color-dawn);
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.release-card-label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-dawn);
  opacity: 0.72;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.release-card:hover .release-card-title,
.release-card:focus-visible .release-card-title {
  color: #ffffff;
}
.release-card:hover .release-card-artist,
.release-card:focus-visible .release-card-artist {
  color: #ffffff;
  opacity: 1;
}
.release-card:hover .release-card-label,
.release-card:focus-visible .release-card-label {
  color: #ffffff;
  opacity: 1;
}
.release-card-listen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(45, 74, 88, 0.45);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dawn);
  opacity: 0.8;
  line-height: 1.2;
  transition: color 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
}
.release-card-listen-icon {
  width: 0.68rem;
  height: 0.68rem;
  flex-shrink: 0;
  align-self: center;
  transition: stroke 0.35s ease;
}
.release-card:hover .release-card-listen,
.release-card:focus-visible .release-card-listen {
  color: #ffffff;
  opacity: 1;
  border-top-color: rgba(255, 255, 255, 0.35);
}

.release-detail-main {
  flex: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: calc(106px + 1rem) 1.25rem 4rem;
  box-sizing: border-box;
}
@media screen and (max-width: 479px) {
  .release-detail-main {
    padding-top: calc(14vh + 1rem);
  }
}
.release-detail-back {
  margin: 0 0 1.25rem;
}
.release-detail-back-link {
  color: var(--color-dawn);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: color 0.2s ease;
}
.release-detail-back-link:hover {
  color: var(--color-accent);
}
.release-detail-artwork-wrap {
  width: 100%;
  max-width: 396px; /* 360px × 1.1 */
  margin: 0 auto 1.5rem;
}
.release-detail-artwork {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.release-detail-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.release-detail-head-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.release-detail-title {
  margin: 0;
  font-size: clamp(1.625rem, 5vw, 2rem);
  line-height: 30px;
}
.release-detail-artist {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.92;
}
.release-detail-info-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 0.15rem;
  padding: 0;
  border: 1px solid var(--color-dusk);
  border-radius: 50%;
  background: rgba(212, 223, 245, 0.06);
  color: var(--color-dawn);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.release-detail-info-btn:hover,
.release-detail-info-btn:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(172, 45, 39, 0.12);
}
.release-detail-info-icon {
  width: 22px;
  height: 22px;
}
.release-detail-dialog {
  max-width: min(92vw, 420px);
  width: 100%;
  padding: 0;
  border: 1px solid var(--color-dusk);
  border-radius: 12px;
  background-color: var(--color-slate);
  color: var(--color-dawn);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.release-detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(5px);
}
.release-detail-dialog-inner {
  padding: 1rem 1.15rem 1.35rem;
  max-height: min(85vh, 720px);
  overflow-y: auto;
  box-sizing: border-box;
}
.release-detail-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-dusk);
}
.release-detail-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dawn);
}
.release-detail-dialog-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-dawn);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.release-detail-dialog-close:hover,
.release-detail-dialog-close:focus-visible {
  outline: none;
  color: var(--color-accent);
  background: rgba(212, 223, 245, 0.06);
}
.release-detail-meta {
  margin: 0 0 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-dusk);
  border-bottom: 1px solid var(--color-dusk);
}
.release-detail-meta--dialog {
  margin: 0 0 1.25rem;
  padding: 0 0 1.25rem;
  border-top: none;
  border-bottom: 1px solid var(--color-dusk);
}
.release-detail-dialog-credits {
  margin: 0;
  padding: 0;
}
.release-detail-dialog-credits .release-detail-section-title {
  margin-top: 0;
}
.release-detail-meta-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem 1rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.release-detail-meta-row dt {
  margin: 0;
  color: var(--color-dawn);
  opacity: 0.55;
  font-weight: 500;
}
.release-detail-meta-row dd {
  margin: 0;
  color: var(--color-dawn);
}
.release-detail-section {
  margin-bottom: 2rem;
}
.release-detail-section-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--color-dawn);
}
.release-detail-credits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.release-detail-credits li {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.release-detail-credit-role {
  color: var(--color-dawn);
  opacity: 0.65;
  font-size: 0.85rem;
}
.release-detail-credit-name {
  color: var(--color-dawn);
}
.release-listen-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.release-listen-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 6px 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--color-dusk);
  background: rgba(212, 223, 245, 0.06);
  text-decoration: none;
  color: var(--color-dawn);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}
.release-listen-row .release-listen-label {
  color: inherit;
}
/* Brand listen rows: solid platform colors on hover / keyboard focus */
.release-listen-row--brand:hover,
.release-listen-row--brand:focus-visible {
  border-color: var(--color-accent);
  background: rgba(212, 223, 245, 0.09);
}
.release-listen-row--brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.release-listen-row--brand:hover .release-listen-icon,
.release-listen-row--brand:focus-visible .release-listen-icon {
  opacity: 1;
}
.release-listen-row--brand.release-listen-row--spotify:hover,
.release-listen-row--brand.release-listen-row--spotify:focus-visible {
  background: #1db954;
  border-color: #1db954;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--applemusic:hover,
.release-listen-row--brand.release-listen-row--applemusic:focus-visible {
  background: #fa243c;
  border-color: #fa243c;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--youtube:hover,
.release-listen-row--brand.release-listen-row--youtube:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--deezer:hover,
.release-listen-row--brand.release-listen-row--deezer:focus-visible {
  background: #feaa2d;
  border-color: #feaa2d;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--tidal:hover,
.release-listen-row--brand.release-listen-row--tidal:focus-visible {
  background: #000000;
  border-color: #000000;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--soundcloud:hover,
.release-listen-row--brand.release-listen-row--soundcloud:focus-visible {
  background: #ff5500;
  border-color: #ff5500;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--amazonmusic:hover,
.release-listen-row--brand.release-listen-row--amazonmusic:focus-visible {
  background: #232f3e;
  border-color: #232f3e;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--youtubemusic:hover,
.release-listen-row--brand.release-listen-row--youtubemusic:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--bandcamp:hover,
.release-listen-row--brand.release-listen-row--bandcamp:focus-visible {
  background: #408294;
  border-color: #408294;
  color: #fff;
}
.release-listen-row--brand.release-listen-row--beatport:hover,
.release-listen-row--brand.release-listen-row--beatport:focus-visible {
  background: #94d500;
  border-color: #94d500;
  color: #000;
}
.release-listen-row--soon {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}
.release-listen-row--soon.release-listen-row--brand:hover,
.release-listen-row--soon.release-listen-row--brand:focus-visible {
  border-color: var(--color-dusk);
  background: rgba(212, 223, 245, 0.06);
  color: var(--color-dawn);
}
.release-listen-row--soon.release-listen-row--brand:hover .release-listen-icon,
.release-listen-row--soon.release-listen-row--brand:focus-visible .release-listen-icon {
  opacity: 0.92;
}
.release-listen-soon {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.72;
}
.release-listen-row--hub {
  justify-content: center;
  text-align: center;
  border-color: rgba(172, 45, 39, 0.45);
  background: rgba(172, 45, 39, 0.12);
}
.release-listen-row--hub:hover {
  border-color: var(--color-accent);
  background: rgba(172, 45, 39, 0.18);
}
.release-listen-row--brand .release-listen-label {
  flex: 1;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  text-align: left;
}
.release-listen-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.release-listen-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.release-listen-row--hub .release-listen-label {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.release-listen-placeholder {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.75;
}
