.work-showcase {
  position: relative;
  padding-block: clamp(54px, 6vw, 82px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 28%, rgba(216, 0, 22, .18), transparent 28rem),
    #101312;
  isolation: isolate;
}

.work-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 100% 72px;
  content: "";
  pointer-events: none;
}

.work-showcase__header {
  padding-bottom: 18px;
}

.work-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(var(--shell), 1040px);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #191d1b;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .34);
}

.work-feature {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #080a09;
  border: 0;
  cursor: zoom-in;
}

.work-feature::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 65%, rgba(8, 10, 9, .34)),
    linear-gradient(0deg, rgba(8, 10, 9, .6), transparent 36%);
  content: "";
  pointer-events: none;
}

.work-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: opacity .32s ease, filter .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}

.work-feature:hover img {
  filter: saturate(1) contrast(1.04);
}

.work-feature.is-switching img {
  opacity: 0;
}

.work-feature__open {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.work-feature__open svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.work-feature:hover .work-feature__open,
.work-feature:focus-visible .work-feature__open {
  color: var(--white);
  background: var(--red);
  transform: translateY(-3px);
}
