/* CrowdHive header brand chrome */
.Header .logo,
.HeaderDrawer .logo,
a.logo[href="/"],
a.logo[aria-current="page"]{
  width: auto !important;
  height: auto !important;
  min-height: 72px;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-image: none !important;
}
.Header .logo:hover,
.Header .logo:focus,
.Header .logo:focus-visible,
.Header .logo[aria-current="page"],
.HeaderDrawer .logo:hover,
.HeaderDrawer .logo:focus-visible,
a.logo:hover,
a.logo:focus-visible,
a.logo[aria-current="page"]{
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit !important;
  outline: none !important;
}
/* kill any decorative underline bars on the home logo */
.Header .logo::after,
.Header .logo::before,
.HeaderDrawer .logo::after,
.HeaderDrawer .logo::before{
  content: none !important;
  display: none !important;
}
.Header .logo .LogoIntro.static .container::after{
  text-decoration: none !important;
  border-bottom: none !important;
  background: none !important;
  box-shadow: none !important;
}
/* Bigger mark in header (LogoIntro paints mark via ::before) */
.Header .logo .LogoIntro.static .container::before,
.HeaderDrawer .logo .LogoIntro.static .container::before{
  width: 68px !important;
  height: 68px !important;
  border-radius: 16px;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.Header .logo .LogoIntro.static,
.Header .logo .LogoIntro.static .container{
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
}
@media (min-width: 48em){
  .Header .logo,
  .HeaderDrawer .logo{ min-height: 76px; }
  .Header .logo .LogoIntro.static .container::before,
  .HeaderDrawer .logo .LogoIntro.static .container::before{
    width: 76px !important;
    height: 76px !important;
    border-radius: 18px;
  }
  .Header .logo .LogoIntro.static,
  .Header .logo .LogoIntro.static .container{
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }
}
@media (min-width: 62em){
  .Header .logo,
  .HeaderDrawer .logo{ min-height: 84px; }
  .Header .logo .LogoIntro.static .container::before,
  .HeaderDrawer .logo .LogoIntro.static .container::before{
    width: 84px !important;
    height: 84px !important;
    border-radius: 20px;
  }
  .Header .logo .LogoIntro.static,
  .Header .logo .LogoIntro.static .container{
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
    min-height: 84px !important;
  }
}


/* Force readable brand treatment in header */
.Header .logo,
.Header .logo:link,
.Header .logo:visited,
.Header .logo:hover,
.Header .logo:focus,
.Header .logo:focus-visible,
.Header .logo[aria-current="page"],
.HeaderDrawer .logo,
.HeaderDrawer .logo:link,
.HeaderDrawer .logo:visited,
.HeaderDrawer .logo:hover,
.HeaderDrawer .logo:focus-visible{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}
/* Wordmark lives behind the hero — header keeps the mark only */
.Header .logo .LogoIntro.static .container::after,
.HeaderDrawer .logo .LogoIntro.static .container::after,
.LogoIntro.static .container::after{
  content: none !important;
  display: none !important;
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* some engines paint decoration on the pseudo itself via parent */
.Header .logo *{
  text-decoration: none !important;
}

/* ===== Home splash + hero =====
 * Splash → PreLoader % countdown only (no globe, no logo letters)
 * Exit   → fast eased fade into cast hero art
 * Globe  → never shown (splash or footer)
 */

/* Black stage for home teaser */
body:has(.PreLoader),
body:has(.Teaser),
body:has(.globeContainer){
  background-color: #000 !important;
  isolation: isolate;
}

/* ---- Kill the globe entirely ---- */
.globeContainer,
.globeContainer canvas,
.LogoIntro:not(.static),
.LogoIntro:not(.static) .globeLetter,
.LogoIntro:not(.static) .globe,
.LogoIntro:not(.static) .logoGlobe,
.LogoIntro:not(.static) canvas,
body:has(.header-container.visible) .globeContainer{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ---- PreLoader: percentage only, dramatic type ---- */
.PreLoader{
  z-index: 2000 !important;
  background: #000 !important;
  /* Fast exit once app removes / fades it */
  transition:
    opacity .42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .42s cubic-bezier(0.22, 1, 0.36, 1),
    transform .42s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity, transform;
}
.PreLoader[aria-busy="false"],
.PreLoader.is-done,
.PreLoader.hidden,
.PreLoader.fade-out{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(1.04) !important;
}
/* Hide "LOADING..." copy — keep the big % digits only */
.PreLoader > p{
  display: none !important;
}
/* Center the countdown digits */
.PreLoader{
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
}
.PreLoader data{
  font-size: clamp(5.5rem, 22vw, 14rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.9 !important;
  color: var(--primary, #a855f7) !important;
  filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.35));
}
/* Snappier digit reel */
.PreLoader data .numbers{
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ---- Hero cast art: off during splash, fast ease-in after ----
   Box stays locked to the PNG's 16:9 ratio and is capped by BOTH vw and svh,
   so zoom in/out never crops the photo with background-size:cover. */
body:has(.Teaser)::before,
body:has(.globeContainer)::before{
  content: "" !important;
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  /* Fit inside viewport on both axes while preserving 1280×720 */
  width: min(900px, 86vw, calc(52svh * 16 / 9)) !important;
  height: min(506px, calc(86vw * 9 / 16), 52svh) !important;
  aspect-ratio: 16 / 9 !important;
  transform: translate(-50%, -52%) scale(1.06) !important;
  z-index: 2 !important;
  isolation: isolate;
  pointer-events: none !important;
  background: url("/images/hero-tolls.png?v=1") center center / 100% 100% no-repeat;
  opacity: 0;
  /* Dramatic but fast ease into hero */
  transition:
    opacity .55s cubic-bezier(0.16, 1, 0.3, 1),
    transform .7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
  /* No oval silhouette / drop-shadow — bottom vignette + soft corner blend only */
  -webkit-mask-image:
    linear-gradient(to bottom,
      #000 0%,
      #000 52%,
      rgba(0,0,0,.78) 70%,
      rgba(0,0,0,.3) 86%,
      transparent 100%),
    radial-gradient(ellipse 60% 52% at 0% 100%,
      transparent 0%,
      transparent 40%,
      #000 90%),
    radial-gradient(ellipse 60% 52% at 100% 100%,
      transparent 0%,
      transparent 40%,
      #000 90%);
  mask-image:
    linear-gradient(to bottom,
      #000 0%,
      #000 52%,
      rgba(0,0,0,.78) 70%,
      rgba(0,0,0,.3) 86%,
      transparent 100%),
    radial-gradient(ellipse 60% 52% at 0% 100%,
      transparent 0%,
      transparent 40%,
      #000 90%),
    radial-gradient(ellipse 60% 52% at 100% 100%,
      transparent 0%,
      transparent 40%,
      #000 90%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-composite: source-in, source-in;
  mask-composite: intersect;
  filter: none;
}
/* Reveal hero when splash chrome is up (preloader gone / header visible) */
body:has(.header-container.visible)::before{
  opacity: 1 !important;
  transform: translate(-50%, -54%) scale(1) !important;
}
/* Huge CrowdHive title — fully behind the cast, nudged up.
   Size is width-capped so the full wordmark never clips at any zoom/viewport.
   --crowdhive-wordmark-size is measured in home-stage.js; CSS calc is the fallback. */
body:has(.Teaser)::after,
body:has(.globeContainer)::after{
  content: "CrowdHive" !important;
  position: fixed !important;
  left: 50% !important;
  top: 38% !important;
  z-index: 0 !important;
  transform: translate(-50%, -50%) scale(1.04) !important;
  pointer-events: none !important;
  font-family: "DenimINKWD", "DenimINK", "Denim INK", system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: var(--crowdhive-wordmark-size, min(22rem, calc(94vw / 6.15))) !important;
  letter-spacing: -0.06em !important;
  line-height: 0.78 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  white-space: nowrap !important;
  text-transform: none !important;
  text-shadow: 0 0 80px rgba(0,0,0,.45);
  mix-blend-mode: normal !important;
  opacity: 0;
  max-width: 94vw;
  overflow: visible;
  transition:
    opacity .55s cubic-bezier(0.16, 1, 0.3, 1),
    transform .7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}
body:has(.header-container.visible)::after{
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}
/* While preloader is still busy, force hero hidden even if header races ahead */
body:has(.PreLoader[aria-busy="true"])::before,
body:has(.PreLoader[aria-busy="true"])::after{
  opacity: 0 !important;
  transition: none !important;
}
body:has(.PreLoader[aria-busy="true"])::before{
  transform: translate(-50%, -52%) scale(1.06) !important;
}

/* Stack chrome above hero fill */
body:has(.Teaser) main,
body:has(.Teaser) .header-container,
body:has(.globeContainer) main,
body:has(.globeContainer) .header-container{
  z-index: 1;
}
body:has(.Teaser) .Footer,
body:has(.globeContainer) .Footer{
  z-index: 3 !important;
}

/* Faster header/footer chrome fade-in after splash */
body:has(.Teaser) .header-container.visible,
body:has(.Teaser) .Footer.visible{
  transition:
    opacity .45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (min-width: 62em){
  body:has(.Teaser)::before,
  body:has(.globeContainer)::before{
    width: min(980px, 82vw, calc(56svh * 16 / 9)) !important;
    height: min(551px, calc(82vw * 9 / 16), 56svh) !important;
  }
}
@media (max-width: 48em){
  body:has(.Teaser)::before,
  body:has(.globeContainer)::before{
    width: min(94vw, 440px, calc(48svh * 16 / 9)) !important;
    height: min(calc(94vw * 9 / 16), 248px, 48svh) !important;
    transform: translate(-50%, -56%) scale(1.05) !important;
    -webkit-mask-image:
      linear-gradient(to bottom,
        #000 0%,
        #000 48%,
        rgba(0,0,0,.75) 66%,
        rgba(0,0,0,.28) 82%,
        transparent 100%),
      radial-gradient(ellipse 62% 54% at 0% 100%,
        transparent 0%,
        transparent 38%,
        #000 90%),
      radial-gradient(ellipse 62% 54% at 100% 100%,
        transparent 0%,
        transparent 38%,
        #000 90%);
    mask-image:
      linear-gradient(to bottom,
        #000 0%,
        #000 48%,
        rgba(0,0,0,.75) 66%,
        rgba(0,0,0,.28) 82%,
        transparent 100%),
      radial-gradient(ellipse 62% 54% at 0% 100%,
        transparent 0%,
        transparent 38%,
        #000 90%),
      radial-gradient(ellipse 62% 54% at 100% 100%,
        transparent 0%,
        transparent 38%,
        #000 90%);
  }
  body:has(.header-container.visible)::before{
    transform: translate(-50%, -58%) scale(1) !important;
  }
}


/* Hide teaser single title (e.g. DISTANT LOVER) — keep buttons only */
.Hero > h2,
.Hero h2,
article.Hero > h2{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  font-size: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/*
 * Hero CTAs are a SIBLING of .Teaser under <main>, not a child.
 * Home hero uses the cast + subtitle only — hide Signup / Enter buttons.
 */
.Hero .button-container,
.Countdown .button-container,
body.crowdhive-has-247 .Hero .button-container,
body.crowdhive-has-247 .Countdown .button-container,
body.crowdhive-has-songo .Hero .button-container,
body.crowdhive-has-songo .Countdown .button-container{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.crowdhive-has-247 main,
body.crowdhive-has-songo main{
  position: relative;
  z-index: 1;
  isolation: isolate;
}
body.crowdhive-has-247 .Hero,
body.crowdhive-has-247 .Countdown,
body.crowdhive-has-songo .Hero,
body.crowdhive-has-songo .Countdown{
  z-index: 2;
  transform: none !important;
  mix-blend-mode: normal;
  pointer-events: none !important;
}

/* Conversion subtitle — hugged tight under the cast art */
.crowdhive-hero-sub{
  position: fixed;
  left: 50%;
  /* Anchor just below the hero cast (cast is centered ~50% with ~50svh height) */
  top: calc(50% + clamp(8.75rem, 17.5svh, 11.25rem));
  bottom: auto;
  z-index: 2;
  transform: translateX(-50%) translateY(10px);
  margin: 0;
  padding: 0 1.25rem;
  width: min(920px, 92vw);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity .55s cubic-bezier(0.16, 1, 0.3, 1) .08s,
    transform .7s cubic-bezier(0.16, 1, 0.3, 1) .08s;
}
body.crowdhive-hero-ready .crowdhive-hero-sub,
body:has(.header-container.visible) .crowdhive-hero-sub{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.crowdhive-hero-sub__line{
  display: block;
  font-family: "DenimINK", "Denim INK", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.15vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,.65);
}
.crowdhive-hero-sub__line--soft{
  margin-top: 0.35em;
  font-weight: 500;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
body.crowdhive-hero-leaving .crowdhive-hero-sub,
body.crowdhive-on-landing .crowdhive-hero-sub{
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: none !important;
}
@media (max-width: 48em){
  .crowdhive-hero-sub{
    top: calc(50% + clamp(7rem, 16svh, 9.5rem));
  }
}

/* ===== Hero logo carousel strip — under subtitle, floating marks ===== */
.crowdhive-logo-strip{
  position: fixed;
  left: 0;
  right: 0;
  top: calc(50% + clamp(18rem, 33svh, 22.5rem));
  bottom: auto;
  z-index: 2;
  height: 4rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .55s cubic-bezier(0.16, 1, 0.3, 1) .12s,
    transform .7s cubic-bezier(0.16, 1, 0.3, 1) .12s;
}
body.crowdhive-hero-ready .crowdhive-logo-strip,
body:has(.header-container.visible) .crowdhive-logo-strip{
  opacity: 1;
  transform: translateY(0);
}
body.crowdhive-hero-leaving .crowdhive-logo-strip,
body.crowdhive-on-landing .crowdhive-logo-strip{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
}
@media (max-width: 48em){
  .crowdhive-logo-strip{
    top: calc(50% + clamp(15rem, 30svh, 19rem));
    height: 3.5rem;
  }
}
.crowdhive-logo-strip__viewport{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.crowdhive-logo-strip__track{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  height: 100%;
  padding-inline: 1rem;
  animation: crowdhive-logo-marquee 55s linear infinite;
  will-change: transform;
}
.crowdhive-logo-strip:hover .crowdhive-logo-strip__track{
  animation-play-state: paused;
}
@keyframes crowdhive-logo-marquee{
  from{ transform: translate3d(0, 0, 0); }
  to{ transform: translate3d(-50%, 0, 0); }
}
.crowdhive-logo-strip__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 4rem;
  padding: 0 1.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  user-select: none;
}
.crowdhive-logo-strip__logo{
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  pointer-events: none;
}
.crowdhive-logo-strip__item--word .crowdhive-logo-strip__logo{
  height: 1.85rem;
  max-width: 12rem;
  filter: none; /* already white wordmarks */
  opacity: 0.88;
}
.crowdhive-logo-strip__item--icon .crowdhive-logo-strip__logo{
  height: 2.55rem;
  width: 2.55rem;
  max-width: none;
}
@media (max-width: 48em){
  .crowdhive-logo-strip__item{
    height: 3.4rem;
    padding: 0 0.85rem;
  }
  .crowdhive-logo-strip__logo{
    height: 2rem;
  }
  .crowdhive-logo-strip__item--word .crowdhive-logo-strip__logo{
    height: 1.55rem;
  }
  .crowdhive-logo-strip__item--icon .crowdhive-logo-strip__logo{
    height: 2.15rem;
    width: 2.15rem;
  }
}
@media (prefers-reduced-motion: reduce){
  .crowdhive-logo-strip__track{
    animation: none;
    transform: none;
  }
}


/* ===== 247artists production landing (two-way snap under hero) ===== */
body.crowdhive-has-247,
body.crowdhive-has-songo{
  overflow: hidden !important;
  overflow-x: clip !important;
  height: 100svh !important;
  max-height: 100svh !important;
  overscroll-behavior: none;
}
/* 247 sits full-viewport under the hero, then slides up / back down */
#crowdhive-247-host{
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  background: #0a0a0a;
  margin: 0;
  padding: 0;
  border: 0;
  transform: translate3d(0, 100%, 0);
  transition: transform .78s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: transform;
  /* Contain any overdraw; never let hero chrome composite through */
  isolation: isolate;
  overflow: hidden;
}
#crowdhive-247-frame{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a0a0a;
}
#crowdhive-songo-host{ display: none !important; }

body.crowdhive-has-247 .Teaser,
body.crowdhive-has-songo .Teaser{
  min-height: 100svh;
  position: relative;
  z-index: 1;
  transition:
    opacity .62s cubic-bezier(0.16, 1, 0.3, 1),
    transform .78s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Landing in view — panel covers hero; hero chrome fully gone (not transformed away) */
body.crowdhive-hero-leaving #crowdhive-247-host,
body.crowdhive-on-landing #crowdhive-247-host{
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
body.crowdhive-hero-leaving .Teaser,
body.crowdhive-on-landing .Teaser{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Teaser art may ease out; do not drag Hero CTAs with it */
  transform: translate3d(0, -12vh, 0) scale(0.98);
}
/* Hero shell: hide with stage (CTAs already display:none always) */
body.crowdhive-hero-leaving .Hero,
body.crowdhive-hero-leaving .Countdown,
body.crowdhive-on-landing .Hero,
body.crowdhive-on-landing .Countdown{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}
body.crowdhive-hero-leaving::before,
body.crowdhive-on-landing::before{
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, -54%) scale(1) !important;
  transition:
    opacity .48s cubic-bezier(0.16, 1, 0.3, 1),
    visibility .48s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
body.crowdhive-hero-leaving::after,
body.crowdhive-on-landing::after{
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Returning to hero — 247 slides down, banner comes back in place */
body.crowdhive-hero-returning #crowdhive-247-host{
  transform: translate3d(0, 100%, 0);
  pointer-events: none;
}
body.crowdhive-hero-returning .Teaser,
body.crowdhive-hero-stage .Teaser{
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
body.crowdhive-hero-returning .Hero,
body.crowdhive-hero-returning .Countdown,
body.crowdhive-hero-stage .Hero,
body.crowdhive-hero-stage .Countdown{
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: none !important;
}
body.crowdhive-hero-returning::before,
body.crowdhive-hero-stage::before{
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -54%) scale(1) !important;
}
body.crowdhive-hero-returning::after,
body.crowdhive-hero-stage::after{
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
  top: 38% !important;
}

body.crowdhive-on-landing .Footer,
body.crowdhive-hero-leaving .Footer{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Header must sit ABOVE Teaser/main (both were z-index:1 → Teaser ate clicks) */
body.crowdhive-has-247 .header-container,
body.crowdhive-has-songo .header-container,
body:has(.Teaser) .header-container,
.header-container{
  position: relative !important;
  z-index: 100 !important;
  pointer-events: none !important; /* empty chrome passes through */
}
body.crowdhive-has-247 .Header,
body.crowdhive-has-songo .Header,
body:has(.Teaser) .Header,
.Header{
  z-index: 100 !important;
  pointer-events: none !important; /* stock rule; re-enable children below */
}
.Header nav,
.Header .header-menu,
.Header .header-menu > li,
.Header .logo,
.Header .crowdhive-start-growing-li,
.Header .crowdhive-start-growing,
.Header a,
.Header button{
  pointer-events: auto !important;
  position: relative;
  z-index: 101;
}
.Header .logo,
.Header .crowdhive-start-growing{
  cursor: pointer !important;
}
/* FX canvas must never steal clicks / hover from the real controls */
.crowdhive-fx-canvas,
.crowdhive-fx-canvas canvas{
  pointer-events: none !important;
  z-index: 0 !important;
}
.Header .logo .LogoIntro,
.crowdhive-start-growing__label{
  position: relative;
  z-index: 2;
  pointer-events: none; /* let the <a> receive the click */
}
.Header .logo{
  pointer-events: auto !important;
}
body.crowdhive-has-247 .Footer,
body.crowdhive-has-songo .Footer{
  z-index: 25 !important;
}

/* Home hero: hide partner logos + Privacy / Terms / Share — keep scroll cue */
body.crowdhive-has-247 .Footer .logos-container,
body.crowdhive-has-songo .Footer .logos-container,
body:has(.Teaser) .Footer .logos-container,
.Footer .logos-container,
.Footer .musicow-logo,
.Footer .rocnation-logo{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.crowdhive-has-247 .Footer .links,
body.crowdhive-has-songo .Footer .links,
body:has(.Teaser) .Footer .links{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ===== Header: logo + Start Growing only ===== */
.Header .header-menu > li.crowdhive-nav-hidden,
.Header .crowdhive-nav-hidden,
.HeaderDrawer .crowdhive-nav-hidden,
.Header .header-menu > li:not(:has(a.logo)):not(:has(.logo)):not(.crowdhive-start-growing-li){
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
/* Keep logo left, CTA right */
.Header .header-menu{
  justify-content: space-between !important;
}
.Header .header-menu > li:has(a.logo),
.Header .header-menu > li:has(.logo){
  margin-right: auto !important;
  display: list-item !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
}
.Header .header-menu > li.crowdhive-start-growing-li{
  display: list-item !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
  pointer-events: auto !important;
}
.crowdhive-start-growing{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: 52px;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 0;
  background: #fff !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  font-family: "DenimINK", "Denim INK", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform .25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .25s ease,
    filter .25s ease;
  cursor: pointer;
}
.crowdhive-start-growing > :not(.crowdhive-fx-canvas){
  position: relative;
  z-index: 2;
}
.crowdhive-start-growing:hover,
.crowdhive-start-growing:focus-visible,
.crowdhive-start-growing.is-fx-hover{
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  background: #fff !important;
  filter: brightness(1.02);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}
.crowdhive-start-growing:active{
  transform: translateY(0) scale(0.98);
  filter: brightness(0.98);
}
@media (max-width: 48em){
  .crowdhive-start-growing{
    min-height: 46px;
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
}

/* ===== Three.js hover FX hosts (logo + Start Growing) ===== */
.Header .logo.crowdhive-fx-host,
.crowdhive-start-growing.crowdhive-fx-host{
  position: relative !important;
  overflow: visible !important;
  transform-style: preserve-3d;
  perspective: 600px;
}
.crowdhive-fx-canvas{
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  display: block;
  overflow: visible;
}
.crowdhive-fx-host--logo .crowdhive-fx-canvas{
  inset: -28%;
  z-index: 1;
}
.crowdhive-fx-host--button .crowdhive-fx-canvas{
  inset: -45% -22%;
  z-index: 0;
}
.crowdhive-fx-canvas canvas{
  display: block;
  width: 100% !important;
  height: 100% !important;
}
/* Keep logo mark / button label above the WebGL glow layer */
.Header .logo.crowdhive-fx-host .LogoIntro{
  position: relative;
  z-index: 2;
  transform:
    perspective(500px)
    rotateX(var(--fx-rx, 0deg))
    rotateY(var(--fx-ry, 0deg))
    scale(var(--fx-scale, 1));
  transition: transform .12s linear;
  transform-style: preserve-3d;
  will-change: transform;
}
.Header .logo.is-fx-hover .LogoIntro.static .container::before{
  box-shadow: none !important;
  filter: none !important;
}

/* ===== Hero funnel: SCROLL DOWN (replaces center © copy) ===== */
body.crowdhive-has-247 .Footer .copy,
body.crowdhive-has-songo .Footer .copy,
.Footer .copy.crowdhive-scroll-cue-wrap{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}
.Footer .copy.crowdhive-scroll-cue-wrap p{
  display: none !important;
}
.crowdhive-scroll-cue{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 1.1rem 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-family: "DenimINK", "Denim INK", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: color .25s ease, transform .25s ease;
}
.crowdhive-scroll-cue:hover,
.crowdhive-scroll-cue:focus-visible{
  color: #fff;
  outline: none;
  transform: translateY(2px);
}
.crowdhive-scroll-cue__label{
  display: block;
  white-space: nowrap;
}
.crowdhive-scroll-cue__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: inherit;
  animation: crowdhive-scroll-bounce 1.45s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.crowdhive-scroll-cue__arrow svg{
  display: block;
  width: 18px;
  height: 18px;
}
@keyframes crowdhive-scroll-bounce{
  0%, 100%{ transform: translateY(0); opacity: 0.55; }
  45%{ transform: translateY(6px); opacity: 1; }
  70%{ transform: translateY(2px); opacity: 0.85; }
}
/* Hide cue while leaving / on landing (footer already fades; belt + suspenders) */
body.crowdhive-hero-leaving .crowdhive-scroll-cue,
body.crowdhive-on-landing .crowdhive-scroll-cue{
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
@media (max-width: 48em){
  .crowdhive-scroll-cue{
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    padding: 0.45rem 0.85rem 0.35rem;
  }
}
