.km-hero {
  padding-block: var(--block-spacing, clamp(min(120px, 27.91vw), 145.77px + -1.34vw, 140px) 0);
  background: var(--block-background, transparent);
  overflow-x: clip;
}
.km-hero__inner {
  padding-bottom: clamp(min(36px, 8.37vw), 24.74px + 2.62vw, 75px);
}
.km-hero__title {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(min(45px, 10.47vw), 29.42px + 3.62vw, 99px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.028em;
}
.km-hero__a {
  position: relative;
  display: inline-block;
}
.km-hero__a-letter {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.km-hero__lines {
  position: absolute;
  top: 68%;
  left: 50%;
  width: 1.03em;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.km-hero__services {
  display: flex;
  flex-direction: column;
  margin: clamp(min(157px, 36.51vw), 135.64px + 4.97vw, 231px) 0 0;
  padding: 0;
  list-style: none;
}
.km-hero__service {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}
.km-hero__service--marked {
  align-self: flex-start;
}
.km-hero__service--marked .km-hero__service-text {
  position: relative;
  padding-bottom: 0.8em;
}
.km-hero__service--marked .km-hero__service-text::after {
  content: "";
  position: absolute;
  right: auto;
  bottom: 0.02em;
  left: 0;
  width: 13.22em;
  height: 0.72em;
  background: url("../../assets/img/brush-line-crop.webp") left top/13.22em auto no-repeat;
  pointer-events: none;
}
.km-hero__service-text {
  display: inline-block;
}
.km-js .km-hero__service--marked .km-hero__service-text::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.78s cubic-bezier(0.22, 0.72, 0.22, 1);
}
.km-js .km-hero.is-service-line-in .km-hero__service--marked .km-hero__service-text::after {
  clip-path: inset(0 0 0 0);
}
.km-hero__feature {
  margin: 0;
  overflow: hidden;
}
.km-hero__media {
  position: relative;
  aspect-ratio: 1920/1003;
  overflow: hidden;
  background: #000;
}
.km-hero__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920/1003;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.km-hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scaleX(1.004);
}
.km-hero__feature.has-frame .km-hero__img {
  opacity: 0;
}
.km-hero__toggle {
  position: absolute;
  z-index: 3;
  right: clamp(min(12px, 2.79vw), 8.54px + 0.81vw, 24px);
  bottom: clamp(min(12px, 2.79vw), 8.54px + 0.81vw, 24px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.km-hero__toggle[hidden] {
  display: none;
}
.km-hero__toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #000;
}
.km-hero__icon {
  grid-area: 1/1;
  fill: currentColor;
}
.km-hero__icon--play {
  display: none;
}
.km-hero__feature.is-paused .km-hero__icon--pause {
  display: none;
}
.km-hero__feature.is-paused .km-hero__icon--play {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .km-hero__img {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .km-hero__title {
    width: max-content;
    margin-top: -5px;
    margin-inline: auto;
    font-size: clamp(31px, 9.8vw, 45px);
    text-align: center;
  }
  .km-hero__services {
    margin-top: calc(clamp(min(157px, 36.51vw), 135.64px + 4.97vw, 231px) + 5px);
  }
}
@media (min-width: 992px) {
  .km-hero__lines {
    top: 64.5%;
  }
  .km-hero {
    padding-block: var(--block-spacing, clamp(30px, 25.724px + 0.431vw, 34px) 0);
    text-align: center;
  }
  .km-hero__inner {
    padding-bottom: clamp(147px, 151.138px - 0.2155vw, 149px);
  }
  .km-hero__media {
    width: 100%;
    height: auto;
    aspect-ratio: 1546/823;
  }
  .km-hero__img {
    height: 100%;
  }
  .km-hero__services {
    flex-flow: row nowrap;
    justify-content: center;
    margin-top: clamp(185px, 58.828px + 12.719vw, 303px);
    margin-inline: 0;
    text-align: left;
  }
  .km-hero__service {
    font-size: clamp(12px, 1.429vw, 31px);
    white-space: nowrap;
    line-height: 2.6;
    letter-spacing: -0.01em;
  }
  .km-hero__service:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.27em;
    height: 0.27em;
    margin-inline: 0.3em;
    vertical-align: middle;
    border-radius: 50%;
    background: currentColor;
  }
  .km-hero__service--marked {
    align-self: auto;
  }
  .km-hero__service-text, .km-hero__service--marked .km-hero__service-text {
    position: relative;
    padding: 0;
    margin: 0;
    background: none;
  }
  .km-hero__service--marked .km-hero__service-text::after {
    content: "";
    position: absolute;
    left: 0;
    top: 1.936em;
    width: 13.22em;
    height: 0.754em;
    background: url("../../assets/img/brush-line-crop.webp") left top/13.22em auto no-repeat;
    pointer-events: none;
  }
}
@media (min-width: 992px) {
  .km-hero__feature {
    width: min(81.89vw, 1546px);
    max-width: 1546px;
    margin-inline: auto;
    border-radius: 69px;
  }
}

.km-js:not(.km-ready) [data-km-intro]:not([data-km-intro=feature]) {
  opacity: 0;
}

.km-js:not(.km-ready) [data-km-intro=feature] {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
}

@media (prefers-reduced-motion: no-preference) and (max-width: 991.98px) {
  .km-js:not(.km-ready):not(.km-intro-script) [data-km-intro]:not([data-km-intro=feature]) {
    animation: km-m-late 0.35s 0.35s both;
  }
  .km-js:not(.km-ready):not(.km-intro-script) [data-km-intro=feature] {
    animation: km-m-late-img 0.5s 0.35s both;
  }
}
@keyframes km-m-late {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes km-m-late-img {
  from {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.06);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .km-js:not(.km-ready) [data-km-intro]:not([data-km-intro=feature]) {
    opacity: 1;
  }
  .km-js:not(.km-ready) [data-km-intro=feature] {
    clip-path: none;
    transform: none;
  }
  .km-js .km-hero__service--marked .km-hero__service-text::after {
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .km-hero__a-letter {
    animation: km-liftoff 0.9s 0.9s both;
  }
  .km-hero__lines {
    animation: km-exhaust 0.9s 0.9s both;
  }
  .km-js .km-hero__a-letter,
  .km-js .km-hero__lines {
    animation-name: none;
  }
  .km-js .km-hero__title.is-liftoff .km-hero__a-letter {
    animation-name: km-liftoff;
    animation-delay: 0s;
  }
  .km-js .km-hero__title.is-liftoff .km-hero__lines {
    animation-name: km-exhaust;
    animation-delay: 0s;
  }
}
@keyframes km-liftoff {
  0% {
    transform: translateY(3.15em);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.22, 0.72, 0.22, 1);
  }
  14% {
    opacity: 1;
  }
  82% {
    transform: translateY(-0.06em);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes km-exhaust {
  0%, 18% {
    transform: translateX(-50%) translateY(1.15em) scaleY(0.25);
    opacity: 0;
  }
  48% {
    opacity: 0.72;
  }
  82% {
    transform: translateX(-50%) translateY(-0.05em) scaleY(1.04);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}
