/**
 * 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 video: fallback when not loading = solid accent red */
#hero-bg-video {
  background-color: var(--color-accent);
}

/* Music section image: full B&W */
#music-section .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;
  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);
}

.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 section: taller, more breathing room, clear gap to next section */
#section-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 7rem;
}
#section-contact .div-block-12 {
  margin-bottom: 1.25rem;
}
#section-contact .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) {
  #section-contact .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;
  }
  #section-contact .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) {
  #section-contact .links-contact-button-div {
    flex-direction: column;
    align-items: center;
  }
  #section-contact .links-contact-button-div .booking-link-button {
    width: 100%;
    max-width: 280px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  #section-contact .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 */
#past-venues.past-venues-section {
  height: auto;
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
}
#past-venues .title-div {
  margin-bottom: 1.25rem;
}
#past-venues .div-block-6 {
  margin-top: 0;
  margin-bottom: 0;
}
#past-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;
}
#past-venues .past-venues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  max-width: 757px;
  margin: 0 0 2.5rem;
}
#past-venues .past-venues-subtitle:last-of-type {
  margin-top: 1rem;
}
#past-venues .past-venues-list,
#past-venues .past-venues-list-single {
  list-style: none;
  margin: 0;
  padding: 0;
}
#past-venues .past-venues-list-single {
  max-width: 757px;
}
#past-venues .past-venues-list li,
#past-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;
}
#past-venues .past-venues-list li::before,
#past-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) {
  #past-venues .past-venues-grid {
    grid-template-columns: 1fr;
    /* Single column: no gap between stacked <ul>s; item spacing comes from li margin */
    gap: 0;
  }
  #past-venues.past-venues-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* 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);
  }
}
#youtube-sets.youtube-sets-section {
  height: auto;
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: 0;
  margin-bottom: 0;
}
#youtube-sets .title-div {
  margin-bottom: 1.25rem;
}
#youtube-sets .div-block-6 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
#youtube-sets .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);
}
#youtube-sets .youtube-embed-glow-shell:hover {
  box-shadow: var(--youtube-glow-hover);
}
#youtube-sets .youtube-embed-wrap {
  --youtube-ring: 3px;
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
#youtube-sets .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);
}
#youtube-sets .youtube-embed-glow-shell:hover .youtube-embed-wrap::before {
  filter: brightness(1.12);
}
#youtube-sets .youtube-embed-inner {
  position: absolute;
  z-index: 1;
  inset: var(--youtube-ring);
  border-radius: 11px;
  overflow: hidden;
  background-color: var(--color-void);
}
#youtube-sets .youtube-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  #youtube-sets .youtube-embed-glow-shell {
    transition: box-shadow 0.55s ease;
  }
  #youtube-sets .youtube-embed-wrap::before {
    animation: none;
    transition: filter 0.55s ease;
  }
}
@media screen and (max-width: 767px) {
  #youtube-sets.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;
  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 img {
    width: 220px;
    height: 160px;
  }
  /* Prevent slider and contact title overlapping on mobile */
  #section-contact {
    margin-top: 5rem;
  }
  .slider-infinite-wrap {
    margin-bottom: 5.5rem;
  }
}

/* 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.section-links {
  padding-top: 0;
}
@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;
}

.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) {
  color: var(--color-dawn);
}

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

/* Media link blocks (icons) – keep visible on dark */
.media-links-block {
  opacity: 0.9;
}

.media-links-block:hover {
  opacity: 1;
}

/* 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;
  }
}
