/* Kate Kolody Next Project */

.kknp-button-wrap {
  width: 100%;
}

.kknp-button-link {
  display: inline-flex;
  align-items: center;
  color: #CDC9B9;
  text-decoration: none;
  cursor: pointer;
}

.kknp-button-link:hover {
  color: #CDC9B9;
  text-decoration: none;
}

.kknp-button-prefix,
.kknp-button-text {
  display: inline-block;
}

.kknp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: #121212;
  text-decoration: none;
  isolation: isolate;
}

a.kknp-hero {
  cursor: pointer;
}


.kknp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.30);
  pointer-events: none;
}

.kknp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.kknp-hero-media-el,
.kknp-hero-image,
.kknp-hero-video,
.kknp-hero-mux-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.kknp-hero-image,
.kknp-hero-video {
  object-fit: cover;
  object-position: 50% var(--kknp-media-y, 50%);
}

.kknp-hero-mux-wrap {
  overflow: hidden;
}

.kknp-hero-mux-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.777vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.kknp-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.kknp-hero-kicker {
  color: #CDC9B9;
}

.kknp-hero-title {
  margin: 0;
  color: #CDC9B9;
  max-width: 100%;
}

.kknp-hero-button {
  display: inline-flex;
  width: fit-content;
  color: #CDC9B9;
  text-decoration: none;
}

.kknp-scramble {
  position: relative;
}

.kknp-scramble .kknp-char {
  display: inline-block;
  will-change: transform, opacity;
}

@media (max-width: 767px) {
  .kknp-hero {
    min-height: 75vh;
  }
}


/* v1.0.2: strict media cover + animated next cursor */

.kknp-hero,
.kknp-hero * {
  box-sizing: border-box;
}

.kknp-hero {
  --kknp-cursor-x: 50%;
  --kknp-cursor-y: 50%;
}

.kknp-hero-media,
.kknp-hero-media-el,
.kknp-hero-image,
.kknp-hero-video,
.kknp-hero-mux-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: hidden !important;
}

.kknp-hero-image,
.kknp-hero-video {
  object-fit: cover !important;
  object-position: 50% var(--kknp-media-y, 50%) !important;
  display: block !important;
}

.kknp-hero-mux-wrap {
  background: #000;
}

.kknp-hero-mux-iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  border: 0 !important;
  pointer-events: none !important;

  /* Cover math for 16:9 video: always overfills the container, like background-size: cover. */
  width: max(100vw, 177.77777778vh) !important;
  height: max(56.25vw, 100vh) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  transform: translate(-50%, -50%) scale(var(--kknp-media-scale, 1)) !important;
}

.kknp-hero:hover {
  cursor: none;
}

.kknp-next-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(205, 201, 185, 0.32);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.44);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #CDC9B9;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.kknp-next-cursor.is-active {
  display: inline-flex;
  opacity: 1;
}

.kknp-next-cursor::after {
  content: "→";
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
  transform: translateX(0);
  animation: kknpNextArrow 850ms ease-in-out infinite;
}

@keyframes kknpNextArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (hover: none), (pointer: coarse) {
  .kknp-hero:hover {
    cursor: pointer;
  }

  .kknp-next-cursor {
    display: none !important;
  }
}


/* v1.0.3: circular Next cursor, no arrow, no pill */
.kknp-hero:hover {
  cursor: none;
}

.kknp-next-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #121212;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.22,.61,.36,1);
}

.kknp-next-cursor.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(var(--kknp-cursor-scale, 1));
}

.kknp-next-cursor::after {
  content: none !important;
  display: none !important;
}

@media (hover: none), (pointer: coarse) {
  .kknp-hero:hover {
    cursor: pointer;
  }

  .kknp-next-cursor {
    display: none !important;
  }
}
