.rootcutpath {
  --lemon: #f4e939;
  --lemon-light: #fffccc;
  --berry: #d63fd4;
  --melon: #ff6565;
  --fetch-border: 0.25em solid var(--berry);
  --clip: polygon(
  	13.11% 90.58%,
  	16.56% 80.25%,
  	12.89% 58.92%,
  	28.49% 32.1%,
  	31.45% 23.32%,
  	40.59% 5.64%,
  	51.21% 2.82%,
  	61.54% 4.36%,
  	66.88% 6.68%,
  	72.12% 16.53%,
  	83.2% 29.85%,
  	90.21% 48.93%,
  	90.24% 74.74%,
  	92.62% 88.65%,
  	67.72% 99.54%
  );
}

.gridcutpath {
  margin: auto;
  display: grid;
  grid-template-rows: 10rem auto 5rem;
}

.titlecutpath {
  margin: -5rem 0 1.5rem;
  align-self: center;
  justify-self: center;
  grid-row: 1/2;
  grid-column: 1/-1;
  padding: 0.5rem 1rem;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 5vmin;
  position: relative;
  z-index: 1;
}

.title__featurecutpath {
  font-weight: 500;
  border-top: var(--fetch-border);
}

.subtitlecutpath {
  margin: 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  justify-self: end;
  padding: 1.25rem;
  background-color: #fff;
  z-index: 1;
  position: relative;
}

.panelscutpath {
  display: flex;
  grid-row: 2/3;
  background-color: var(--lemon);
  position: relative;
  box-shadow: 1.5rem 1.5rem 0 var(--lemon-light);
}

.panelcutpath {
  height: 50vmin;
}

.panel__imgcutpath {
  display: block;
  max-width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(1) contrast(2);
  mix-blend-mode: darken;
  -webkit-clip-path: var(--clip);
          clip-path: var(--clip);
}

.panel--featurecutpath {
  background-color: var(--berry);
  -webkit-clip-path: var(--clip);
          clip-path: var(--clip);
  transform: scale(1.35);
}

.panel--smolcutpath {
  position: relative;
  padding: 0.25rem;
  transform: scale(0.75);
  background-color: var(--lemon-light);
}
.panel--smolcutpath::before, .panel--smolcutpath::after {
  --offset: 4%;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  -webkit-clip-path: var(--clip);
          clip-path: var(--clip);
}
.panel--smolcutpath::before {
  left: var(--offset);
  top: var(--offset);
  background-color: var(--melon);
}
.panel--smolcutpath::after {
  left: calc(var(--offset) * -0.75);
  top: calc(var(--offset) * -0.75);
  background-color: #ccc;
  mix-blend-mode: multiply;
  z-index: -1;
}

.wavy-linecutpath {
  margin-top: -1.5rem;
  grid-column: 1/-1;
  grid-row: 1/2;
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 0;
  font-family: sans-serif;
  -webkit-text-decoration: var(--berry) wavy line-through;
          text-decoration: var(--berry) wavy line-through;
  color: transparent;
  font-size: 10vmin;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@media screen and (min-width: 56.25rem) {
  .gridcutpath {
    grid-template-columns: 10vmin 15vmin auto 15vmin;
    grid-template-rows: 10vmin auto 10vmin;
  }

  .titlecutpath {
    margin: 0;
    -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    grid-column: 4/-1;
    grid-row: 1/-1;
    align-self: center;
    background-color: transparent;
  }

  .title__featurecutpath {
    border-top: none;
    border-left: var(--fetch-border);
    padding-left: 0.15em;
  }

  .subtitlecutpath {
    grid-column: 1/4;
    grid-row: 2/4;
    align-self: center;
    justify-self: start;
  }

  .panelscutpath {
    grid-column: 2/4;
    grid-row: 2/3;
  }

  .wavy-linecutpath {
    -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    grid-column: 1/3;
    grid-row: 1/-1;
    margin-right: 3vmin;
    margin-top: 3vmin;
  }
}