.hero-block-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-top: 0 !important;
}

.hero-block {
  width: 100%;
  height: calc(100vh - 100px);
}

.hero-block__frame,
.hero-block__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-block__media {
  height: calc(100vh - 100px);
  overflow: hidden;
}

.hero-block__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.85s ease-in-out;
  transition: opacity 0.85s ease-in-out;
  clip-path: inset(0);
  will-change: opacity, clip-path;
}

.hero-block__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-block__img,
.hero-block__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  aspect-ratio: 16/9;
}

.hero-block__slide.is-intro {
  clip-path: inset(50% 0);
}

.hero-block__slide.hero-intro-animating {
  -webkit-animation: hero-tv-on 0.7s ease-out forwards;
          animation: hero-tv-on 0.7s ease-out forwards;
}

@-webkit-keyframes hero-tv-on {
  0% {
    clip-path: inset(50% 0);
  }
  60% {
    clip-path: inset(5% 0);
  }
  100% {
    clip-path: inset(0);
  }
}

@keyframes hero-tv-on {
  0% {
    clip-path: inset(50% 0);
  }
  60% {
    clip-path: inset(5% 0);
  }
  100% {
    clip-path: inset(0);
  }
}
.hero-block__slide.is-outro {
  -webkit-animation: hero-wipe-out-left 1s linear forwards;
          animation: hero-wipe-out-left 1s linear forwards;
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}

@-webkit-keyframes hero-wipe-out-left {
  0% {
    clip-path: inset(0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes hero-wipe-out-left {
  0% {
    clip-path: inset(0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
.hero-block__final {
  position: absolute;
  top: 50%;
  left: var(--inline-padding, 2rem);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  pointer-events: none;
  min-height: 7.5rem;
}

.hero-block__final-text {
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease, -webkit-transform 0.4s ease;
  font: var(--h1-font);
  display: block;
}

.hero-block-section.is-final-visible .hero-block__final-text {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.hero-block__project {
  position: absolute;
  top: 50%;
  right: var(--inline-padding, 2rem);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: calc(var(--column) * 5 + var(--gutter) * 4);
  max-width: 100%;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  -webkit-transition: opacity 0.45s ease, clip-path 0.7s ease-out;
  transition: opacity 0.45s ease, clip-path 0.7s ease-out;
  will-change: opacity, clip-path;
}
.hero-block__project a {
  z-index: 99;
  text-decoration: none;
}
.hero-block__project a h3 {
  font: var(--body-font);
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  text-decoration: underline;
  margin-top: -1.25rem;
}
.hero-block__project a h3 .heading, .hero-block__project a h3 .customer {
  text-decoration: inherit;
}
.hero-block__project a h3 .customer:after {
  content: "-";
  color: var(--color-text);
  opacity: 0.5;
  text-decoration: inherit;
}

.hero-block-section.is-project-visible .hero-block__project {
  opacity: 1;
  clip-path: inset(0);
}
.hero-block-section.is-project-visible .hero-block__project a h3 {
  opacity: 1;
  -webkit-transition-delay: 0.7s;
          transition-delay: 0.7s;
}

@container main (max-width: 79.9375rem) {
  .hero-block-section {
    overflow: visible;
  }
  .hero-block {
    height: auto;
  }
  .hero-block__frame {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .hero-block__media {
    height: calc(100vh - 100px);
  }
  h1 {
    font-size: 40px;
  }
  .hero-block__final {
    position: static;
    -webkit-transform: none;
            transform: none;
    margin: 3.75rem 0 1.5rem;
    pointer-events: auto;
    width: 40%;
    max-width: 40%;
  }
  .hero-block__final-text {
    text-align: left;
  }
  .hero-block__project {
    position: static;
    -webkit-transform: none;
            transform: none;
    display: block;
    width: 75%;
    max-width: 75%;
    margin-left: auto;
    margin-right: 0;
  }
  .hero-block-section.is-final-visible {
    height: auto;
    min-height: 0;
  }
  .hero-block-section.is-final-visible .hero-block__frame {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .hero-block-section.is-final-visible .hero-block__media {
    height: 0;
    overflow: hidden;
  }
}
@container main (max-width: 47.9375rem) {
  .hero-block-section, .hero-block {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .hero-block__frame {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .hero-block__media {
    height: auto;
  }
  .hero-block__final {
    position: static;
    -webkit-transform: none;
            transform: none;
    margin: 3.75rem 0 1.25rem;
    pointer-events: auto;
    width: 75%;
    max-width: 75%;
  }
  .hero-block__final-text {
    text-align: left;
  }
  .hero-block__project {
    position: static;
    -webkit-transform: none;
            transform: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .hero-block__project .project-entry .img-wrapper,
  .hero-block__project .project-entry .iframe-container {
    aspect-ratio: 366/442;
  }
}