/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0f;
  --bg-soft: #12121b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f7;
  --muted: #9a9aae;
  --accent: #ff4d2d;
  --accent-2: #7c4dff;
  --max: 1100px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: "Sora", "Inter", sans-serif; }

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

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

/* ---------- Background FX ---------- */
.bg-glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  z-index: -2;
  background:
    radial-gradient(40% 60% at 20% 20%, rgba(255, 77, 45, 0.28), transparent 70%),
    radial-gradient(45% 55% at 80% 10%, rgba(124, 77, 255, 0.26), transparent 70%);
  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.1); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav (transparent, centered logo) ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(18px, 5vw, 48px);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* subtle backdrop once scrolled off the hero */
.nav.scrolled {
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-side {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-side a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-side a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-side a:hover { color: #fff; }
.nav-side a:hover::after { width: 100%; }

.brand { display: inline-flex; align-items: center; justify-content: center; }

.brand-logo {
  height: 30px;
  width: auto;
  /* logo art is black; invert to white for the dark theme */
  filter: invert(1);
}

/* Hamburger toggle + mobile menu (hidden on desktop) */
.nav-toggle { display: none; }

.mobile-menu { display: none; }

/* ---------- Layout ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 22px;
  scroll-margin-top: 84px;
}

.section-head { margin-bottom: 34px; text-align: center; }

.section h2 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0;
  line-height: 1.1;
}

/* ---------- Hero (full-bleed horizontal) ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -8% 0 -8% 0; /* extra height for parallax travel */
  z-index: -2;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.45) 0%, rgba(10,10,15,0.0) 30%, rgba(10,10,15,0.0) 70%, rgba(10,10,15,0.95) 100%);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 77, 45, 0.7);
}
.btn-primary:hover { background: #ff623f; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: stretch; /* image column matches bio height */
}

.about-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* picture wrapper needs to fill the stretched grid cell */
.about-media picture { display: block; height: 100%; }

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.02);
}

.about-copy p { color: #c9c9d6; margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--text); font-weight: 600; }

/* ---------- Players ---------- */
.players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.player-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.player-title {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.embed { width: 100%; border-radius: 14px; overflow: hidden; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed-spotify { height: 352px; }
.embed-soundcloud { height: 352px; }

/* ---------- Feature banner ---------- */
.feature {
  position: relative;
  max-width: var(--max);
  margin: 20px auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-media {
  position: absolute;
  inset: -12% 0 -12% 0;
  will-change: transform;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.feature { height: clamp(300px, 50vw, 480px); }

.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 4vw, 44px);
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.85) 100%);
}

.feature-quote {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 4vw, 34px);
  max-width: 18ch;
  line-height: 1.15;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shot:hover img { transform: scale(1.05); }

/* lift the gallery into a staggered, layered look on wider screens
   (margin, not transform — so the 3D tilt can own transform) */
@media (min-width: 881px) {
  .gallery .shot:nth-child(even) { margin-top: 28px; }
}

/* ---------- Upcoming Shows ---------- */
.shows-intro {
  max-width: 560px;
  margin: -10px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}

.ig-feed {
  margin: 0 auto;
  max-width: 880px;
}

/* responsive iframes pasted in from SnapWidget/LightWidget */
.ig-feed iframe {
  width: 100% !important;
  border: 0;
  display: block;
  border-radius: var(--radius);
  margin-top: 34px; /* spacing only appears once a widget iframe is present */
}

.shows-cta { margin-top: 22px; text-align: center; }

.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ig-btn svg { width: 20px; height: 20px; }

/* ---------- Perspective / tilt ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.tilt:hover { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); }

/* ---------- Contact ---------- */
.contact { text-align: center; padding-bottom: 40px; }
.contact .section-head { margin-bottom: 26px; }

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icon-btn svg { width: 26px; height: 26px; }

.icon-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--surface-2);
  color: var(--accent);
}

.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.mail-btn svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 22px 60px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
  flex-direction: column;
}

.footer-logo {
  height: 22px;
  width: auto;
  filter: invert(1);
  opacity: 0.85;
}

/* ---------- Reveal animation ---------- */
.section, .hero { opacity: 1; }
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { max-width: 460px; margin: 0 auto; aspect-ratio: 4 / 5; }
  .players { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
  /* Mobile nav: logo left, hamburger right */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    gap: 10px;
  }
  .nav-side { display: none; }       /* hide the desktop side links */
  .brand { justify-content: flex-start; }
  .brand-logo { height: 24px; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }
  /* animate to an X when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Dropdown panel */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 49;
    padding: 78px 22px 22px;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-105%);
    transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    padding: 16px 4px;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:active { color: var(--accent); }

  .section { padding: 54px 18px; }
  .hero { min-height: 86vh; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.0) 35%, rgba(10,10,15,0.95) 100%);
  }
}

/* Disable tilt/parallax motion when reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
  .tilt, .hero-bg, .feature-media { transition: none !important; transform: none !important; }
  .scroll-cue span { animation: none; }
}
