/* index_4 shell: custom cursor, spotlight, scroll-nav */

#spot {
  position: fixed;
  left: 0;
  top: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(181, 138, 94, 0.1), transparent 62%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

#cur {
  position: fixed;
  z-index: 99;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brassL);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

#curR {
  position: fixed;
  z-index: 99;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(216, 185, 140, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}

#curR.big {
  width: 64px;
  height: 64px;
  border-color: var(--brassL);
}

#prog {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), var(--brassL));
  z-index: 85;
  width: 0;
}

body.sm-shell nav.site-nav,
body.sm-index4 nav.site-nav {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sm-index4 nav.site-nav {
  background: rgba(11, 19, 34, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* Hero-inhoud niet onder vaste nav */
body.sm-index4 #hero {
  box-sizing: border-box;
  padding-top: clamp(88px, 11vh, 120px);
}

body.sm-shell nav.site-nav.hide {
  transform: translateY(-130%);
}

body.sm-index4 nav.site-nav.hide {
  transform: translateY(-130%);
}

body.sm-index4 nav.site-nav .cta {
  background: transparent;
}

/* Alleen native cursor verbergen als JS custom cursor succesvol activeert (.sm-custom-cursor). */
@media (hover: hover) and (pointer: fine) {
  body.sm-custom-cursor,
  body.sm-custom-cursor a,
  body.sm-custom-cursor button,
  body.sm-custom-cursor .chip,
  body.sm-custom-cursor .gr,
  body.sm-custom-cursor input,
  body.sm-custom-cursor textarea,
  body.sm-custom-cursor select,
  body.sm-custom-cursor label {
    cursor: none;
  }
}

@media (pointer: coarse) {
  #cur,
  #curR,
  #spot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cur,
  #curR,
  #spot {
    display: none;
  }

  body.sm-shell nav.site-nav.hide,
  body.sm-index4 nav.site-nav.hide {
    transform: none;
  }
}

#cur,
#curR {
  opacity: 0;
}

body.sm-custom-cursor #cur,
body.sm-custom-cursor #curR {
  opacity: 1;
}
