@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion-state=static]) .motion-story--opening {
    height: calc((980vh - 100svh) * 0.62 + 100svh);
  }
  html:not([data-motion-state=static]) .motion-story--about {
    height: calc((980vh - 100svh) * 0.38 + 100svh);
  }
}
.flow-features {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 35.523px 20px 144.477px;
  background: #fff;
  font-family: "ABC Service Zen", sans-serif;
  color: #232323;
}

.flow-card {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #f4f4f4;
  border-radius: 12px;
  overflow: hidden;
}

.flow-card__content {
  min-width: 0;
  padding: 86.472px 15.441176% 48px 19.852941%;
}

.flow-card__label {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  background: #232323;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.flow-card__title {
  margin: 40px 0 0;
  white-space: normal;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.8;
}

.flow-card__body {
  margin: 40px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.flow-card__photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.flow-card__photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.flow-card--1 .flow-card__photo > img {
  transform: scale(1.0285537);
}

.flow-card--2 .flow-card__photo > img {
  transform: scale(1.1116667);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-card.is-flow-pending {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 750ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .flow-card.is-flow-shown {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 768px) {
  .flow-card__content {
    padding-top: 156.472px;
  }
  .flow-card__title {
    font-size: min(40px, 2.857143vw);
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html:not([data-motion-state=static]) .motion-story--opening {
    height: calc((650vh - 100svh) * 0.44117647 + 100svh);
  }
  html:not([data-motion-state=static]) .motion-story--about {
    height: calc((650vh - 100svh) * 0.55882353 + 100svh);
  }
}
@media (max-width: 767px) {
  .flow-features {
    gap: 5.4054054054vw;
    padding: 8.6486486486vw 5.4054054054vw 17.2972972973vw;
  }
  .flow-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .flow-card__content {
    padding: 8.6486486486vw 6.4864864865vw;
  }
  .flow-card__label {
    white-space: nowrap;
    font-size: 3.7837837838vw;
    line-height: 2;
  }
  .flow-card__title {
    margin-top: 7.5675675676vw;
    font-size: 7.027027027vw;
    line-height: 1.8;
  }
  .flow-card__body {
    margin-top: 7.5675675676vw;
    font-size: 4.3243243243vw;
  }
  .flow-card__photo {
    aspect-ratio: 680/600;
  }
}
.flow-card__label > span {
  position: relative;
  top: -1px;
}

@keyframes flow-photo-drift {
  from {
    scale: 1;
  }
  to {
    scale: 1.045;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .flow-card__photo > img {
    animation: flow-photo-drift 18s ease-in-out infinite alternate;
    animation-play-state: paused;
  }
  .flow-card.is-photo-active .flow-card__photo > img {
    animation-play-state: running;
  }
}
