#idgaf-scroll-stack {
  background: #000;
  box-sizing: border-box;
  color: #fff;
  padding: 0;
  position: relative;
  width: 100%;
}

html.idgaf-stack-active nav.idgaf-static-navigation {
  opacity: 0 !important;
  pointer-events: none !important;
  transition:
    opacity 260ms var(--idgaf-ease-out),
    transform 440ms var(--idgaf-ease-out),
    visibility 0s linear 440ms !important;
  transform: translate3d(0, -100%, 0) !important;
  visibility: hidden !important;
}

#idgaf-scroll-stack .scroll-stack-heading {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#idgaf-scroll-stack .scroll-stack-cards {
  margin: 0 auto;
  max-width: none;
  position: relative;
  width: 100%;
}

#idgaf-scroll-stack .scroll-stack-card {
  --cover-progress: 0;
  align-items: center;
  background: #180306;
  box-sizing: border-box;
  display: flex;
  height: 100svh;
  justify-content: center;
  margin: 0 0 14svh;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: calc(var(--stack-index) + 1);
}

#idgaf-scroll-stack .scroll-stack-card:last-child {
  margin-bottom: 0;
}

#idgaf-scroll-stack .scroll-stack-image,
#idgaf-scroll-stack .scroll-stack-shade {
  inset: 0;
  position: absolute;
}

#idgaf-scroll-stack .scroll-stack-image {
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center);
  transform: scale(calc(1.035 - (var(--cover-progress) * 0.015)));
  transition: transform 120ms linear;
  will-change: transform;
  width: 100%;
}

#idgaf-scroll-stack .scroll-stack-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 32%, rgba(0, 0, 0, 0.32)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.04) 15%, rgba(0, 0, 0, 0.28) 100%);
  opacity: calc(0.86 + (var(--cover-progress) * 0.14));
  transition: opacity 120ms linear;
  will-change: opacity;
  z-index: 1;
}

#idgaf-scroll-stack .scroll-stack-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 18px);
  max-width: min(900px, 88%);
  position: relative;
  text-align: center;
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.75);
  z-index: 2;
}

#idgaf-scroll-stack .scroll-stack-title {
  color: #fff;
  font: 400 clamp(58px, 9vw, 142px)/0.88 "Season Mix", Georgia, serif;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}

@media (max-width: 809px) {
  #idgaf-scroll-stack {
    padding: 0;
  }

  #idgaf-scroll-stack .scroll-stack-card {
    height: 100svh;
    margin-bottom: 11svh;
  }

  #idgaf-scroll-stack .scroll-stack-title {
    font-size: clamp(48px, 17vw, 86px);
    line-height: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  #idgaf-scroll-stack .scroll-stack-image {
    transform: none;
    transition: none;
  }
}
