#process {
  background: linear-gradient(155deg,#e7e2ef,#d8d1e7 65%,#e3eae9);
  color: #3d3b65;
  padding: clamp(48px,7vw,100px) 7.1%;
  overflow: hidden;
  position: relative;
}

#process .mh-proc-kicker {
  font: 600 10px/1.5 Arial,sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #68627e;
}

#process h2 {
  font: 400 clamp(26px,2.8vw,40px)/1.15 Alice,Georgia,serif;
  margin: 5px 0 30px;
  color: #3d3b65;
}

#process .mh-proc-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(16px,3vw,48px);
  position: relative;
  max-width: 1200px;
  margin: auto;
}

#process .mh-proc-step {
  position: relative;
  min-width: 0;
  text-align: center;
}

#process .mh-proc-art {
  display: block;
  width: min(100%,180px);
  height: auto;
  margin: 0 auto 14px;
  overflow: visible;
  filter: drop-shadow(0 12px 12px #51466c20);
}

#process .mh-proc-step h3 {
  font: 400 clamp(17px,1.55vw,23px)/1.25 Alice,Georgia,serif;
  margin: 0 0 10px;
  color: #3d3b65;
}

#process .mh-proc-step p {
  font: 400 14px/1.65 Arial,sans-serif;
  margin: 0;
  color: #514b68;
}

#process .mh-proc-number {
  font: 600 10px/1.5 Arial,sans-serif;
  letter-spacing: .12em;
  color: #716984;
  display: block;
  margin-bottom: 5px;
}

#process .mh-proc-piece {
  transform-box: view-box;
  transform-origin: 0 0;
  transition: transform 700ms cubic-bezier(.22,.8,.25,1);
}

#process .mh-proc-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  opacity: .6;
}

#process .mh-proc-intro {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  width: 180px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
}

#process .mh-proc-intro svg {
  width: 100%;
  display: block;
  overflow: visible;
}

#process .mh-proc-intro-label {
  text-align: center;
  font: 400 19px Alice,Georgia,serif;
  color: #3d3b65;
}

#process.mh-proc-playing .mh-proc-intro {
  opacity: 1;
}

#process.mh-proc-playing .mh-proc-art {
  opacity: 0;
}

#process .mh-proc-art {
  transition: opacity .4s ease;
}

@media(max-width:760px) {
  #process .mh-proc-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 30px 20px;
  }

  #process .mh-proc-art {
    width: min(100%,135px);
  }

  #process .mh-proc-ribbon {
    display: none;
  }

  #process .mh-proc-intro {
    display: none;
  }

  #process.mh-proc-playing .mh-proc-art {
    opacity: 1;
  }

  #process .mh-proc-step p {
    font-size: 13px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #process * {
    transition: none !important;
    animation: none !important;
  }
}

#process.mh-proc-pending .mh-proc-step,#process.mh-proc-playing .mh-proc-step {
  opacity: 0;
  transform: perspective(900px) rotateY(-85deg);
  pointer-events: none;
}

#process.mh-proc-pending .mh-proc-ribbon,#process.mh-proc-playing .mh-proc-ribbon {
  opacity: 0;
}

#process.mh-proc-revealed .mh-proc-step {
  animation: procFlipIn 720ms cubic-bezier(.22,.8,.25,1) both;
  backface-visibility: hidden;
  transform-origin: center center;
}

#process.mh-proc-revealed .mh-proc-step:nth-of-type(2) {
  animation-delay: 130ms;
}

#process.mh-proc-revealed .mh-proc-step:nth-of-type(3) {
  animation-delay: 260ms;
}

#process.mh-proc-revealed .mh-proc-step:nth-of-type(4) {
  animation-delay: 390ms;
}

#process.mh-proc-revealed .mh-proc-ribbon {
  transition: opacity .7s ease .35s;
}

@keyframes procFlipIn {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateY(-85deg) translateY(14px);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: perspective(900px) rotateY(0) translateY(0);
  }
}

@media(max-width:760px) {
  #process.mh-proc-playing .mh-proc-intro {
    display: block;
    width: 135px;
    top: 12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #process .mh-proc-step {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.mh-pose-0 { transform:translate(70px,66px) rotate(35deg); }
.mh-pose-1 { transform:translate(79px,87px) rotate(0deg); }
.mh-pose-2 { transform:translate(80px,76px) rotate(65deg); }
.mh-pose-3 { transform:translate(88px,72px) rotate(-25deg); }
.mh-pose-4 { transform:translate(58px,56px) rotate(35deg); }
.mh-pose-5 { transform:translate(88px,62px) rotate(-42deg); }
.mh-pose-6 { transform:translate(65px,88px) rotate(65deg); }
.mh-pose-7 { transform:translate(94px,94px) rotate(-25deg); }
.mh-pose-8 { transform:translate(33px,34px) rotate(-30deg); }
.mh-pose-9 { transform:translate(120px,34px) rotate(0deg); }
.mh-pose-10 { transform:translate(33px,120px) rotate(-15deg); }
.mh-pose-11 { transform:translate(120px,120px) rotate(40deg); }
.mh-pose-12 { transform:translate(77px,38px) rotate(0deg); }
.mh-pose-13 { transform:translate(77px,99px) rotate(0deg); }
.mh-pose-14 { transform:translate(77px,99px) rotate(0deg); }
.mh-pose-15 { transform:translate(77px,99px) rotate(0deg); }
.mh-pose-16 { transform:translate(70px,66px) rotate(35deg); }
.mh-pose-17 { transform:translate(79px,87px) rotate(0deg); }
.mh-pose-18 { transform:translate(80px,76px) rotate(65deg); }
.mh-pose-19 { transform:translate(88px,72px) rotate(-25deg); }

#process .mh-proc-ribbon { inset: 0 5% auto; width: 90%; height: 170px; object-fit: fill; opacity: .38; }

@media (prefers-reduced-motion:no-preference) {
#process .mh-proc-step.mh-proc-hover .mh-pose-0 { transform:translate(60px,58px) rotate(22deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-1 { transform:translate(79px,96px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-2 { transform:translate(72px,83px) rotate(48deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-3 { transform:translate(99px,65px) rotate(-12deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-4 { transform:translate(49px,48px) rotate(20deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-5 { transform:translate(100px,50px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-6 { transform:translate(52px,103px) rotate(42deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-7 { transform:translate(108px,107px) rotate(-12deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-8 { transform:translate(26px,27px) rotate(-42deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-9 { transform:translate(128px,26px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-10 { transform:translate(26px,128px) rotate(-27deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-11 { transform:translate(128px,128px) rotate(52deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-12 { transform:translate(77px,38px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-13 { transform:translate(77px,99px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-14 { transform:translate(77px,99px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-15 { transform:translate(77px,99px) rotate(0deg); }
}

#process .mh-proc-step.mh-proc-hover .mh-pose-12 { transform:translate(77px,31px) rotate(-8deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-13, #process .mh-proc-step.mh-proc-hover .mh-pose-14, #process .mh-proc-step.mh-proc-hover .mh-pose-15 { transform:translate(77px,101px) scale(1.04); }

/* V3.4: Push the boundaries draws the pieces together on hover. */
#process .mh-proc-step.mh-proc-hover .mh-pose-12 { transform:translate(77px,48px) rotate(0deg); }
#process .mh-proc-step.mh-proc-hover .mh-pose-13,
#process .mh-proc-step.mh-proc-hover .mh-pose-14,
#process .mh-proc-step.mh-proc-hover .mh-pose-15 { transform:translate(77px,88px) scale(1.03); }
#process > .mh-proc-kicker, #process > h2 { max-width:1200px; margin-inline:auto; }
#process .mh-proc-step { text-align:left; }
