.patch-showcase {
  padding: clamp(70px, 9vw, 120px) 0;
  background: linear-gradient(135deg, #e2e9f5 0%, #d8e0e8 52%, #cfd5da 100%);
  color: #15191f;
  overflow: hidden;
}
.patch-showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.patch-showcase__head .eyebrow {
  color: #65717c;
}
.patch-showcase h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.patch-showcase__head p {
  max-width: 520px;
  margin: 20px 0 0;
  color: #586470;
}
.patch-controls {
  display: flex;
  gap: 8px;
}
.patch-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(21, 25, 31, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #15191f;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}
.patch-controls button:hover:not(:disabled) {
  background: #15191f;
  border-color: #15191f;
  color: #f0f2f4;
}
.patch-controls button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.patch-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31%);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 3px 1px 18px;
}
.patch-track::-webkit-scrollbar {
  display: none;
}
.patch-track:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 20px;
}
.patch-card {
  scroll-snap-align: start;
}
.patch-card__visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #dce1e7, #8d9aab);
}
.patch-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.patch-card:hover img {
  transform: scale(1.045);
}
.patch-placeholder {
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--silver);
  clip-path: polygon(25% 7%, 75% 7%, 96% 50%, 75% 93%, 25% 93%, 4% 50%);
  filter: drop-shadow(0 18px 20px #1116);
}
.patch-placeholder i {
  font: 900 clamp(2.5rem, 7vw, 5rem) / 1 sans-serif;
}
.patch-placeholder b {
  position: absolute;
  margin-top: 78px;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
}
.patch-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(240, 242, 244, 0.9);
  color: var(--ink);
  font: 800 0.66rem monospace;
}
.patch-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 3px;
}
.patch-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.patch-card__body > div > span {
  color: #303944;
  font-weight: 800;
}
.patch-card__action {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 25, 31, 0.28);
  border-radius: 50%;
  transition: 0.2s;
}
.patch-card__action:hover {
  background: #15191f;
  border-color: #15191f;
  color: #f0f2f4;
}
.patch-showcase__foot {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
}
.patch-showcase__foot > a {
  white-space: nowrap;
  font-weight: 800;
}
.patch-progress {
  height: 2px;
  flex: 1;
  background: rgba(21, 25, 31, 0.2);
  overflow: hidden;
}
.patch-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #15191f;
  transform: scaleX(0.08);
  transform-origin: left;
  transition: transform 0.15s;
}
@media (max-width: 800px) {
  .patch-showcase__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .patch-controls {
    align-self: flex-end;
  }
  .patch-track {
    grid-auto-columns: 82%;
  }
  .patch-showcase__foot {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .patch-track {
    scroll-behavior: auto;
  }
  .patch-card__visual img {
    transition: none;
  }
}
