.grid .work .project-case-link {
  border-radius: 15px;
}

.grid .work .project-case-link::before {
  inset: 0;
  border: 1px solid #293f4c;
  border-radius: inherit;
  border-image: none;
  background: linear-gradient(110deg, #344b58, #142833);
  box-shadow: inset 0 1px #ffffff18, 0 3px 7px #122c3938;
}

.grid .work .project-case-link::after {
  display: none;
}

.grid .work .plumora-project .project-case-link {
  --cta-outline: shape(
    from 21px 0,
    hline to calc(100% - 21px),
    curve by 10px 6px with 6px 0 / 8px 2px,
    curve by 6px 4px with 1px 2px / 3px 3px,
    curve by 5px 10px with 4px 1px / 5px 4px,
    vline to calc(100% - 20px),
    curve by -5px 10px with 0 6px / -1px 9px,
    curve by -6px 4px with -3px 1px / -5px 2px,
    curve by -10px 6px with -2px 4px / -4px 6px,
    hline to 21px,
    curve by -10px -6px with -6px 0 / -8px -2px,
    curve by -6px -4px with -1px -2px / -3px -3px,
    curve to 0 calc(100% - 20px) with 4px calc(100% - 11px) / 0 calc(100% - 14px),
    vline to 20px,
    curve to 5px 10px with 0 14px / 1px 11px,
    curve by 6px -4px with 3px -1px / 5px -2px,
    curve by 10px -6px with 2px -4px / 4px -6px,
    close
  );
  border-radius: 17px;
  filter: drop-shadow(0 3px 4px #51381548);
  text-shadow: 0 1px 1px #122c2270;
}

.grid .work .plumora-project .project-case-link::before,
.grid .work .plumora-project .project-case-link::after {
  clip-path: var(--cta-outline);
  border: 0;
}

.grid .work .plumora-project .project-case-link::before {
  z-index: -2;
  background: linear-gradient(#ffe49b, #b88136 38%, #e8bc65 72%, #a66c29);
  box-shadow: none;
}

.grid .work .plumora-project .project-case-link::after {
  display: block;
  z-index: -1;
  inset: 3px;
  border-radius: 14px;
  background: linear-gradient(112deg, #3a4d32, #233a2b 82%);
  box-shadow: inset 0 0 0 1px #554823;
  transition: filter 160ms ease;
}

.grid .work .plumora-project .project-case-link > span:first-child::before {
  position: absolute;
  inset-inline-start: clamp(7px, 1.55vw, 23px);
  top: 50%;
  width: clamp(26px, 3.25vw, 48px);
  aspect-ratio: 47 / 35;
  transform: translateY(-50%);
  background: linear-gradient(130deg, #a5a552, #747940);
  clip-path: shape(
    from 16% 78%,
    curve to 59% 43% with 26% 57% / 42% 44%,
    curve to 82% 66% with 71% 46% / 75% 57%,
    curve to 60% 48% with 75% 60% / 67% 49%,
    curve to 20% 79% with 42% 48% / 28% 60%,
    close,
    move to 29% 56%,
    curve to 57% 9% with 22% 37% / 38% 13%,
    curve to 34% 50% with 60% 29% / 46% 41%,
    curve to 48% 21% with 39% 39% / 42% 29%,
    curve to 29% 56% with 37% 30% / 32% 43%,
    close,
    move to 49% 53%,
    curve to 90% 68% with 63% 39% / 78% 53%,
    curve to 49% 53% with 76% 75% / 58% 70%,
    close,
    move to 30% 67%,
    curve to 62% 77% with 41% 56% / 55% 61%,
    curve to 30% 67% with 49% 88% / 36% 81%,
    close
  );
  content: "";
  pointer-events: none;
}

.grid .work .plumora-project .project-case-link:hover::after {
  filter: brightness(1.13) saturate(1.05);
}

.grid .work .plumora-project .project-case-link:active::after {
  filter: brightness(.91);
}

@supports not (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  .grid .work .plumora-project .project-case-link > span:first-child::before {
    display: none;
  }
}

@media (min-width: 801px) and (max-width: 1120px), (max-width: 360px) {
  .grid .work .plumora-project .project-case-link > span:first-child::before {
    inset-inline-start: 7px;
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid .work .plumora-project .project-case-link::after { transition: none; }
}

@media (forced-colors: active) {
  .grid .work .plumora-project .project-case-link {
    filter: none;
    text-shadow: none;
  }

  .grid .work .project-case-link::before,
  .grid .work .plumora-project .project-case-link::after,
  .grid .work .plumora-project .project-case-link > span:first-child::before {
    display: none;
  }
}
