.tk-theme-frontend .h-animate--from-top,
.tk-theme-frontend .h-animate--from-left,
.tk-theme-frontend .h-animate--from-right,
.tk-theme-frontend .h-animate--from-bottom {
  transition: 0.4s cubic-bezier(0, 0, 0.3, 1.2);
  will-change: opacity;
}

.tk-theme-frontend .h-animate--from-top:not(.scrolled-to),
.tk-theme-frontend .h-animate--from-left:not(.scrolled-to),
.tk-theme-frontend .h-animate--from-right:not(.scrolled-to),
.tk-theme-frontend .h-animate--from-bottom:not(.scrolled-to) {
  opacity: 0;
}

.tk-theme-frontend .h-animate--from-top:not(.scrolled-to).js-animate--visible,
.tk-theme-frontend .h-animate--from-left:not(.scrolled-to).js-animate--visible,
.tk-theme-frontend .h-animate--from-right:not(.scrolled-to).js-animate--visible,
.tk-theme-frontend .h-animate--from-bottom:not(.scrolled-to).js-animate--visible {
  opacity: 1;
}

.tk-theme-frontend .js-reveal--from-top,
.tk-theme-frontend .js-reveal--from-bottom {
  overflow: hidden;
}

.tk-theme-frontend .js-reveal--from-top:not(.scrolled-to) > *,
.tk-theme-frontend .js-reveal--from-bottom:not(.scrolled-to) > * {
  opacity: 0;
}

.tk-theme-frontend .js-reveal--from-top:not(.scrolled-to) > *.js-animate--visible > *,
.tk-theme-frontend .js-reveal--from-bottom:not(.scrolled-to) > *.js-animate--visible > * {
  opacity: 1;
}

.tk-theme-frontend .js-reveal--from-top > *,
.tk-theme-frontend .js-reveal--from-bottom > * {
  transition: 1s cubic-bezier(0.31, 0, 0.05, 0.93);
  will-change: opacity;
}

.tk-theme-frontend .js-reveal--from-top > a,
.tk-theme-frontend .js-reveal--from-top > p,
.tk-theme-frontend .js-reveal--from-bottom > a,
.tk-theme-frontend .js-reveal--from-bottom > p {
  display: block;
}

@media (min-width: 601px) {
  .tk-theme-frontend .h-animate--from-top:not(.scrolled-to) {
    translate: 0 -8vw;
  }
}

@media (max-width: 600px) {
  .tk-theme-frontend .h-animate--from-top:not(.scrolled-to) {
    translate: 0 -15vw;
  }
}

@media (min-width: 601px) {
  .tk-theme-frontend .h-animate--from-left:not(.scrolled-to) {
    translate: -8vw;
  }
}

@media (max-width: 600px) {
  .tk-theme-frontend .h-animate--from-left:not(.scrolled-to) {
    translate: -15vw;
  }
}

@media (min-width: 601px) {
  .tk-theme-frontend .h-animate--from-right:not(.scrolled-to) {
    translate: 8vw;
  }
}

@media (max-width: 600px) {
  .tk-theme-frontend .h-animate--from-right:not(.scrolled-to) {
    translate: 15vw;
  }
}

@media (min-width: 601px) {
  .tk-theme-frontend .h-animate--from-bottom:not(.scrolled-to) {
    translate: 0 8vw;
  }
}

@media (max-width: 600px) {
  .tk-theme-frontend .h-animate--from-bottom:not(.scrolled-to) {
    translate: 0 15vw;
  }
}

.tk-theme-frontend .js-reveal--from-top:not(.scrolled-to) > * {
  translate: 0 -100%;
}

.tk-theme-frontend .js-reveal--from-bottom:not(.scrolled-to) > * {
  translate: 0 100%;
}

.tk-theme-frontend header.wp-block-template-part + div > *:first-child .h-animate--from-top,
.tk-theme-frontend header.wp-block-template-part + div > *:first-child .h-animate--from-left,
.tk-theme-frontend header.wp-block-template-part + div > *:first-child .h-animate--from-right,
.tk-theme-frontend header.wp-block-template-part + div > *:first-child .h-animate--from-bottom,
.tk-theme-frontend header.wp-block-template-part + div > *:first-child .js-reveal--from-top > *,
.tk-theme-frontend header.wp-block-template-part + div > *:first-child .js-reveal--from-bottom > * {
  transition-delay: 1s;
}

.tk-theme-frontend .h-reveal--images--from-bottom {
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  position: relative;
  overflow: hidden;
  transition: 1.4s cubic-bezier(0.5, 0, 0, 1);
}

.tk-theme-frontend .h-reveal--images--from-bottom:not(.scrolled-to) {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.tk-theme-frontend .h-reveal--images--from-bottom:not(.scrolled-to) img {
  transform: scale(1.3);
}

.tk-theme-frontend .h-reveal--images--from-bottom img {
  transform-origin: 50% 100%;
  transition: transform 1.8s cubic-bezier(0.5, 0, 0, 1) !important;
  transform: scale(1);
}