/* Makes Me Human — site chrome, hero, events, sonic pleasures */

/* —— Header —— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: box-shadow 0.3s ease;
  flex-shrink: 0;
}

.logo-link:hover .logo-image {
  box-shadow: 0 0 20px var(--accent);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

/* Brand switcher (MMH ↔ Rhizome) */
.brand-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.brand-switcher__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-switcher__toggle:hover,
.brand-switcher__toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.brand-switcher__toggle[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.12);
}

.brand-switcher__chevron {
  display: block;
  transition: transform 0.2s ease;
}

.brand-switcher__toggle[aria-expanded='true'] .brand-switcher__chevron {
  transform: rotate(180deg);
}

.brand-switcher__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 240px;
  padding: 0.4rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  z-index: 1100;
}

.brand-switcher__menu[hidden] {
  display: none;
}

.brand-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: #fff;
}

.brand-switcher__item:hover,
.brand-switcher__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.brand-switcher__item.is-current {
  background: rgba(255, 255, 255, 0.06);
}

.brand-switcher__item-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.brand-switcher__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-switcher__item-label {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-list,
.nav-menu {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.header-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.social-outlined-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.social-outlined-link:hover {
  border-color: rgba(156, 39, 176, 0.85);
  box-shadow: 0 0 14px var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.hamburger .bar {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.25rem;
  }
}

/* —— Hero slider —— */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #070613 0%, #0c0c16 50%, #0a101e 100%);
  overflow: hidden;
}

.slide-background-blur {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(23px);
  transform: scale(1.1);
  opacity: 0.45;
}

.slide-background::before,
.slide-background::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  filter: blur(40px);
  pointer-events: none;
}

.slide-background::before {
  background:
    linear-gradient(45deg, transparent 0%, var(--color1, rgba(80, 6, 128, 0.8)) 20%, transparent 40%),
    linear-gradient(135deg, transparent 30%, var(--color2, rgba(11, 36, 67, 0.9)) 50%, transparent 70%),
    linear-gradient(90deg, transparent 10%, var(--color3, rgba(58, 36, 92, 0.7)) 35%, transparent 60%);
  animation: flowingLines1 28s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.slide-background::after {
  background:
    linear-gradient(225deg, transparent 20%, var(--color4, rgba(32, 19, 74, 0.6)) 45%, transparent 70%),
    linear-gradient(315deg, transparent 0%, var(--color5, rgba(15, 23, 43, 0.8)) 25%, transparent 50%),
    linear-gradient(180deg, transparent 40%, var(--color6, rgba(18, 18, 32, 0.7)) 65%, transparent 90%);
  filter: blur(50px);
  animation: flowingLines2 35s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.slide:nth-child(1) .slide-background {
  --color1: rgba(15, 25, 60, 0.8);
  --color2: rgba(8, 15, 45, 0.9);
  --color3: rgba(40, 35, 8, 0.7);
  --color4: rgba(25, 20, 50, 0.6);
  --color5: rgba(8, 10, 25, 0.8);
  --color6: rgba(12, 12, 20, 0.7);
}

.slide:nth-child(2) .slide-background {
  --color1: rgba(8, 45, 40, 0.8);
  --color2: rgba(5, 30, 35, 0.9);
  --color3: rgba(15, 60, 50, 0.7);
  --color4: rgba(12, 35, 30, 0.6);
  --color5: rgba(3, 20, 18, 0.8);
  --color6: rgba(8, 15, 15, 0.7);
}

.slide:nth-child(3) .slide-background {
  --color1: rgba(80, 15, 10, 0.8);
  --color2: rgba(60, 8, 15, 0.9);
  --color3: rgba(45, 12, 35, 0.7);
  --color4: rgba(70, 20, 5, 0.6);
  --color5: rgba(25, 5, 15, 0.8);
  --color6: rgba(20, 8, 12, 0.7);
}

@keyframes flowingLines1 {
  0% { transform: translate(-70%, -80%) rotate(0deg) skewX(0deg); }
  14% { transform: translate(-30%, -20%) rotate(25deg) skewX(15deg); }
  28% { transform: translate(40%, 10%) rotate(-15deg) skewX(-20deg); }
  42% { transform: translate(-15%, -50%) rotate(35deg) skewX(25deg); }
  56% { transform: translate(60%, -30%) rotate(-25deg) skewX(-10deg); }
  70% { transform: translate(-50%, 20%) rotate(45deg) skewX(30deg); }
  84% { transform: translate(20%, -70%) rotate(-35deg) skewX(-15deg); }
  100% { transform: translate(-70%, -80%) rotate(0deg) skewX(0deg); }
}

@keyframes flowingLines2 {
  0% { transform: translate(60%, 40%) rotate(0deg) skewY(0deg); }
  20% { transform: translate(-20%, -30%) rotate(-20deg) skewY(10deg); }
  40% { transform: translate(30%, -50%) rotate(30deg) skewY(-15deg); }
  60% { transform: translate(-40%, 20%) rotate(-10deg) skewY(20deg); }
  80% { transform: translate(10%, 50%) rotate(15deg) skewY(-10deg); }
  100% { transform: translate(60%, 40%) rotate(0deg) skewY(0deg); }
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
}

.release-artwork-square {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.square-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-info {
  flex: 1;
  text-align: left;
}

.catalog-number {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slide .release-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.15;
}

.slide .artist-name {
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.event-slide-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.listen-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  font-family: inherit;
}

.listen-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.prev-arrow { left: 1.5rem; }
.next-arrow { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.85rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
}

.dot.active {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 720px) {
  .slide-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 4rem;
  }

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

  .event-slide-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .release-artwork-square {
    width: 160px;
    height: 160px;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .prev-arrow { left: 0.75rem; }
  .next-arrow { right: 0.75rem; }
}

/* —— Page shells —— */
.page-content {
  flex: 1;
  padding: 7rem 0 4rem;
}

.content-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-intro {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0;
}

/* —— Events list —— */
.events-year-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}

.events-year-filter__btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.events-year-filter__btn:hover {
  color: #fff;
  border-color: rgba(156, 39, 176, 0.55);
}

.events-year-filter__btn.is-active {
  color: #fff;
  border-color: rgba(156, 39, 176, 0.75);
  background: rgba(156, 39, 176, 0.18);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-card[hidden] {
  display: none !important;
}

.events-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0.5rem;
}

.events-load-more {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(156, 39, 176, 0.55);
  color: #e0b3f0;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.events-load-more:hover {
  color: #fff;
  border-color: rgba(156, 39, 176, 0.9);
  background: rgba(156, 39, 176, 0.2);
}

.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  border-color: rgba(156, 39, 176, 0.4);
  box-shadow: 0 0 24px rgba(156, 39, 176, 0.12);
}

.event-card__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0a0a0a;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card__badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

.event-card__badge.is-upcoming {
  border-color: rgba(156, 39, 176, 0.6);
  color: #e0b3f0;
}

.event-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.event-card__title a:hover {
  color: #e0b3f0;
}

.event-card__venue {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.event-card__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.event-card__cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.event-card__cta:hover {
  border-bottom-color: rgba(156, 39, 176, 0.8);
  color: #e0b3f0;
}

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

  .event-card__media {
    max-width: 200px;
  }
}

/* —— Sonic pleasures / mix tabs —— */
.mix-series-tabs {
  margin: 0 0 2rem;
  text-align: center;
}

.tab-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.mix-show-player {
  margin: 1rem 0 2.5rem;
}

.player-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.soundcloud-embed {
  margin-top: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.soundcloud-embed iframe {
  border: 0;
  border-radius: 8px;
  display: block;
}

.embed-credit {
  font-size: 10px;
  color: #ccc;
  margin-top: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}

.embed-credit a {
  color: #ccc;
}

.about-show {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-text {
  color: rgba(255, 255, 255, 0.8);
}

/* —— Footer —— */
.footer {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem 0 1rem;
  margin-top: auto;
  width: 100%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-social .social-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
}

.footer-social .social-link:hover {
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 36rem;
}

.footer-quote {
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

.footer-attribution {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

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