/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* FOOTER */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Footer  */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  z-index: 900;
  background-image: url('/wp-content/themes/w64-base/assets/images/layout/footer-background.webp');
  background-size: 100% 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
footer {
    background-size: auto 100%
}
  }
/* Right button & popup */
#made-by-hand-btn, #sound-control-btn {
  position: fixed;
  right: var(--padding-desktop);
  bottom: calc(var(--footer-height) / 2);
  transform: translateY(50%);
  height: var(--right-popup-btn-height);
  width: auto;
  z-index: 2000;
  border: none;
  outline: none;
  background: none;
  cursor: pointer !important;
  padding: 0;
  margin: 0;
}
#made-by-hand-btn:hover img, #sound-control-btn:hover img {

      transform: scale(1.1);
      transform-origin: center;
      transition: all 0.3s ease;
      
    }
#made-by-hand-btn:active img, #made-by-hand-btn:focus img, #sound-control-btn:active img, #sound-control-btn:focus img {
      opacity: 0.8;
    }
#sound-control-btn  {
  display: none;
  
}
#sound-control-btn img {
    height: 20px;
  }
#sound-control-btn img.sound-on {
      display: none;
    }
#made-by-hand-btn img {
  height: 100%;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.made-by-hand-btn.light {
  display: block;
}
.made-by-hand-btn.dark {
  display: none;
}
body.right-popup-open #made-by-hand-btn.light {
  display: none;
}
body.right-popup-open #made-by-hand-btn.dark {
  display: block;
}
#right-popup-overlay {
  position: fixed;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  z-index: 3000;
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
  pointer-events: none;
}
@media (max-width: 529px) {
#right-popup-overlay {
    max-width: 100vw;
    width: 100vw
}
  }
#right-popup-overlay img {
  max-width: 460px;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: right bottom;
     object-position: right bottom;
  margin: 0;
  padding: 0;
  margin-bottom: -2px;
  margin-right: -2px;
 
}
@media (max-width: 529px) {
#right-popup-overlay img {
    max-width: 100%
 
}
  }
#right-popup-img-mobile {
  display: none;
}
@media (max-width: 529px) {
#right-popup-img-mobile {
    display: block
}
  }
#right-popup-img {
  display: block;
}
@media (max-width: 529px) {
#right-popup-img {
    display: none
}
  }
#right-popup-overlay nav#artists-nav {
  position: absolute;
  bottom: calc(var(--footer-height) / 2);
  right: var(--padding-desktop);
  transform: translateY(calc(var(--right-popup-btn-height) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 529px) {
#right-popup-overlay nav#artists-nav {
    right: 50%;
    transform: translate(50%, calc(var(--right-popup-btn-height) / 2));
    width: 100%;
    padding: 0 20px
}
  }
#artists-nav p {
  padding: 0;
  margin: 0;
  max-width: 250px;
  color: var(--Text-Inverse, #4A2B0C);
  text-align: right;
  font-family: var(--Font-Family-Body, Barlow);
  font-size: var(--Font-Size-SM, 14px);
  font-style: normal;
  font-weight: var(--Font-Weight-Regular, 400);
  line-height: 120%;
}
@media (max-width: 529px) {
#artists-nav p {
    text-align: center;
    width: 100%;
    margin: 0 auto
}
  }
#artists-nav ul.artists-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
@media (max-width: 529px) {
#artists-nav ul.artists-list {
    justify-content: center;
    width: 100%;
    align-items: flex-start
}
  }
#artists-nav ul.artists-list li {
  padding: 0;
  margin: 0;
}
#artists-nav ul.artists-list li a.artist-item {
  color: var(--Text-Inverse, #4A2B0C);
  width: 64px;
  height: 64px;
  border-radius: 100px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: all 0.2s ease;
  display: block;
  position: relative;
}
#artists-nav ul.artists-list li a.artist-item img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    z-index:0;
  }
#artists-nav ul.artists-list li a.artist-item span.artist-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display:flex;
    align-items: center;
    justify-content: center;
    color: var(--Text-Default, #E5CEB8);
    text-align: center;
    font-family: var(--Font-Family-Headline, "Barlow Condensed");
    font-size: var(--Spacing-3, 12px);
    font-style: normal;
    font-weight: var(--Font-Weight-XBold, 800);
    line-height: 12px; /* 100% */
    text-transform: uppercase;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
#artists-nav ul.artists-list li a.artist-item:hover span.artist-name {
      opacity: 1;
    }
@media (max-width: 529px) {
#artists-nav ul.artists-list li a.artist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: unset;
    border-radius: 0;
    height: auto
}

    #artists-nav ul.artists-list li a.artist-item img {
      border-radius: 100px;
      max-width: 100%;
      aspect-ratio: 1 / 1;
      -o-object-fit: cover;
         object-fit: cover;
      -o-object-position: center;
         object-position: center;
    }

    #artists-nav ul.artists-list li a.artist-item span.artist-name {
      position: relative;
      bottom: unset;
      left: unset;
      opacity: 1;
      background-color: transparent;
      color: var(--Text-Inverse, #4A2B0C);
      text-align: center;
      font-family: var(--Font-Family-Headline, "Barlow Condensed");
      font-size: var(--Spacing-3, 12px);
      font-style: normal;
      font-weight: var(--Font-Weight-XBold, 800);
      line-height: 100%;
      text-transform: uppercase;
      text-decoration: none;
      text-decoration-color: transparent;
    }
  }
#right-popup-overlay .made-by-hand-sign {
  height: var(--right-popup-btn-height);
  width: auto;
  margin: 0;
  padding: 0;
  position: relative;

}
#right-popup-overlay .made-by-hand-sign img {
    height: 100%;
    width: auto;
  }
#right-popup-close-btn {
  position: absolute;
  left: 15%;
  top: 25%;
  width: 16px;
  height: 16px;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
@media (max-width: 529px) {
#right-popup-close-btn {
    left: 20px;
    top: 15%
}
    
  }
#right-popup-close-btn img {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}
/* Right Popup Overlay  */
#right-popup-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  opacity: 0;
  pointer-events: none;
}
#right-popup-bg-overlay .bg-blur-layer {
  position: absolute;
  inset: 0;
}
/* Layer 1 — 3px, full width (left baseline) */
#right-popup-bg-overlay .bg-blur-layer:nth-child(1) {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
/* Layer 2 — 7px, fades in across the middle-left zone */
#right-popup-bg-overlay .bg-blur-layer:nth-child(2) {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to left, transparent 20%, black 55%);
  mask-image:         linear-gradient(to left, transparent 20%, black 55%);
}
/* Layer 3 — 13px */
#right-popup-bg-overlay .bg-blur-layer:nth-child(3) {
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  -webkit-mask-image: linear-gradient(to left, transparent 40%, black 70%);
  mask-image:         linear-gradient(to left, transparent 40%, black 70%);
}
/* Layer 4 — 19px */
#right-popup-bg-overlay .bg-blur-layer:nth-child(4) {
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  -webkit-mask-image: linear-gradient(to left, transparent 57%, black 82%);
  mask-image:         linear-gradient(to left, transparent 57%, black 82%);
}
/* Layer 5 — 25px, leftmost zone only */
#right-popup-bg-overlay .bg-blur-layer:nth-child(5) {
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  -webkit-mask-image: linear-gradient(to left, transparent 72%, black 95%);
  mask-image:         linear-gradient(to left, transparent 72%, black 95%);
}
/* Dark gradient tint — top layer, no blur, just colour */
#right-popup-bg-overlay .bg-blur-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.00) 100%);
}
/* Left Popup Overlay  */
.left-popup-btns-container {
  position: fixed;
  bottom: calc(var(--footer-height) / 2);
  transform: translateY(50%);
  left: var(--padding-desktop);
  z-index: 2000;
  display: flex;
  gap: 8px;
}
.left-popup-btn {
  width: 24px;
  height: 24px;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.left-popup-btn:hover {
  transform: scale(1.1);
  transform-origin: center center;
  transition: all 0.3s ease;
}
.left-popup-btn img {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}
#left-popup-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  max-width: 100vw;
  z-index: 3000;
  clip-path: polygon(0% 100%, 0% 100%, 0% 100%);
  pointer-events: none;
  overflow: hidden;
}
#left-popup-img {
  display: block;
  width: 460px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left bottom;
     object-position: left bottom;
  margin: 0;
  padding: 0;
  margin-bottom: -2px;
  margin-left: -2px;
  z-index: 1;
  position: relative;
}
@media (max-width: 529px) {
#left-popup-img {
    display: none
}
  }
#left-popup-img-mobile {
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left bottom;
     object-position: left bottom;
  margin: 0;
  padding: 0;
  margin-bottom: 0px;
  margin-left: 0px;
  z-index: 1;
  position: relative;
  display: none;
}
@media (max-width: 529px) {
#left-popup-img-mobile {
    display: block
}
  }
@media (max-width: 529px) {
  #left-popup-img {
    width: 120vw;
  }
}
#left-popup-content {
  position: absolute;
  bottom: calc( var(--footer-height) / 2 );
  left: var(--padding-desktop);
  opacity: 0;
  z-index: 2;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#left-popup-content h2 {
  color: var(--Text-Inverse, #4A2B0C);
  font-family: var(--Font-Family-Headline, "Barlow Condensed");
  font-size: var(--Font-Size-2XL, 24px);
  font-style: normal;
  font-weight: var(--Font-Weight-XBold, 800);
  line-height: 100%;
  margin-bottom: 8px;
}
#left-popup-content p {
  color: var(--Text-Inverse, #4A2B0C);
  font-family: var(--Font-Family-Body, Barlow);
  font-size: var(--Font-Size-SM, 14px);
  font-style: normal;
  font-weight: var(--Font-Weight-Regular, 400);
  line-height: 120%;
    margin-bottom: 0;
}
#left-popup-content [data-panel][hidden] {
  display: none;
}
#left-popup-content .share-list {
  list-style: none;
  display: flex;
  gap: 8px;
}
#left-popup-content .link-to-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  padding: 8px 16px;
  min-width: none;
  outline: none;
  background: none;
  margin: 0;
  cursor: pointer;
  background-image: url('/wp-content/themes/w64-base/assets/images/components/button-dark.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--Text-Inverse, #4A2B0C);
  text-align: center;
  font-family: var(--Font-Family-Headline, "Barlow Condensed");
  font-size: var(--Spacing-3, 12px);
  font-style: normal;
  font-weight: var(--Font-Weight-XBold, 800);
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 12px;
  text-decoration: none;
}
#left-popup-content .link-to-location:hover {
    background-image: url('/wp-content/themes/w64-base/assets/images/components/button-bg-hover-dark.webp');
    background-size: 100% 100%;
    color: var(--Text-Default, #E5CEB8);
  }
@media (max-width: 529px) {
  #left-popup-content {
    left: 50%;
    transform: translateX(-50%);
  }

  #left-popup-content, #left-popup-content > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #left-popup-content p, #left-popup-content h2 {
    text-align: center;
  }
}
/* 
#left-popup-content .share-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
} */
#left-popup-content .share-list li {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#left-popup-content .share-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  background-image: url('/wp-content/themes/w64-base/assets/images/components/icon-bg.webp');
  transition: all 0.3s ease;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--Text-Inverse, #4A2B0C);
}
#left-popup-content .share-list li a svg {
    width: 20px;
    height: 20px;
  }
#left-popup-content .share-list li a:hover {
    background-image: url('/wp-content/themes/w64-base/assets/images/components/icon-bg-hover.webp');
    /* opacity: 0.8; */
    color: var(--Text-Default, #E5CEB8);
  }
#left-popup-content .share-list li a:hover {
  opacity: 0.8;
}
/* Left Popup bg overlay */
#left-popup-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  opacity: 0;
  pointer-events: none;
}
#left-popup-bg-overlay .bg-blur-layer {
  position: absolute;
  inset: 0;
}
#left-popup-bg-overlay .bg-blur-layer:nth-child(1) {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#left-popup-bg-overlay .bg-blur-layer:nth-child(2) {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to right, transparent 20%, black 55%);
  mask-image:         linear-gradient(to right, transparent 20%, black 55%);
}
#left-popup-bg-overlay .bg-blur-layer:nth-child(3) {
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  -webkit-mask-image: linear-gradient(to right, transparent 40%, black 70%);
  mask-image:         linear-gradient(to right, transparent 40%, black 70%);
}
#left-popup-bg-overlay .bg-blur-layer:nth-child(4) {
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  -webkit-mask-image: linear-gradient(to right, transparent 57%, black 82%);
  mask-image:         linear-gradient(to right, transparent 57%, black 82%);
}
#left-popup-bg-overlay .bg-blur-layer:nth-child(5) {
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  -webkit-mask-image: linear-gradient(to right, transparent 72%, black 95%);
  mask-image:         linear-gradient(to right, transparent 72%, black 95%);
}
#left-popup-bg-overlay .bg-blur-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.00) 100%);
}
#left-popup-close-btn {
  position: absolute;
  right: 15%;
  top: 43%;
  width: 16px;
  height: 16px;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  z-index: 2000;
}
@media (max-width: 529px) {
  #left-popup-close-btn {
    right: 20px !important;
    top: 10%;
  }
}
#left-popup-close-btn img {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}
/* JUMP TO END & BACK TO TIMELINE BUTTONS */
.jump-btn, .artists-btn {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  display: flex;
  height: var(--Spacing-6, 24px);
  padding: 10px var(--Spacing-2, 8px);
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--Text-Default, #E5CEB8);
  text-align: center;
  z-index: 1000;
  font-family: var(--Font-Family-Headline, "Barlow Condensed");
  font-size: var(--Spacing-3, 12px);
  font-style: normal;
  font-weight: var(--Font-Weight-XBold, 800);
  line-height: 12px; /* 100% */
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  background: url('/wp-content/themes/w64-base/assets/images/components/button.webp') no-repeat center center;
  background-size: 100% 100%;
  text-decoration: none;
  transition: all 0.2s ease;
}
.jump-btn:hover, .artists-btn:hover {
    background: url('/wp-content/themes/w64-base/assets/images/components/button-bg-hover-light.webp') no-repeat center center;
    background-size: 100% 100%;
    color: var(--Text-Inverse, #4A2B0C);
  }
body.no-footer-button .jump-btn {
  display: none !important;
}
body:not(.home) .outro-footer-container, body:not(.home) .jump-btn {
  display: none !important;
}
body.page-artists .artists-btn {
  display: flex !important;
}
body.home .artists-btn {
  display: none !important;
}
@media (max-width: 529px) {
.outro-footer-container {
    display: none !important
}
  }
@media (max-width: 529px) {
#made-by-hand-btn {
    display: flex !important
}
  }
body.outro-active #sound-control-btn {
  display: flex !important;
}
body.outro-active.sound-on #sound-control-btn img.sound-on {
    display: block;
  }
body.outro-active.sound-on #sound-control-btn img.sound-off {
    display: none;
  }