/* Black Friday sale, until November 30, 2026. */
.sale-ribbon {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--ink);
  color: #f1ecf9;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}
.sale-ribbon b {
  color: #d9f06b;
  font-family: var(--display);
}
.sale-ribbon a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
  white-space: nowrap;
  outline-color: currentColor;
}
.sale-sticker {
  z-index: 2;
  right: -3cqw;
  top: 59cqw;
  display: grid;
  place-content: center;
  width: 30cqw;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1.2cqw solid #fff;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 1.2cqw 2.4cqw rgb(42 36 56 / 0.28);
  color: #f1ecf9;
  font-family: var(--display);
  line-height: 1;
  text-align: center;
  transform: rotate(-10deg);
}
.sale-sticker b {
  color: #d9f06b;
  font-size: 6.2cqw;
  line-height: 1.05;
}
.sale-sticker span {
  margin-top: 1.6cqw;
  font-size: 2.8cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sale-sticker::before,
.sale-sticker::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
/* Glitter: four specks that twinkle. */
.sale-sticker::before {
  inset: 0;
  background:
    radial-gradient(circle at 14% 44%, #fff 0 0.45cqw, transparent 0.6cqw),
    radial-gradient(circle at 34% 14%, #d9f06b 0 0.4cqw, transparent 0.55cqw),
    radial-gradient(circle at 87% 56%, #fff 0 0.35cqw, transparent 0.5cqw),
    radial-gradient(circle at 62% 89%, #d9f06b 0 0.3cqw, transparent 0.45cqw);
  opacity: 0.6;
}
/* Sheen: a soft band of light that crosses now and then. */
.sale-sticker::after {
  inset: -50%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgb(255 255 255 / 0.22) 50%,
    transparent 58%
  );
  transform: translateX(-60%);
}
@media (prefers-reduced-motion: no-preference) {
  .sale-sticker::before {
    animation: twinkle 2.4s ease-in-out infinite alternate;
  }
  .sale-sticker::after {
    animation: sheen 6s ease-in-out infinite;
  }
}
@keyframes twinkle {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.9;
  }
}
@keyframes sheen {
  0%,
  55% {
    transform: translateX(-60%);
  }
  85%,
  100% {
    transform: translateX(60%);
  }
}
@media print {
  .sale-ribbon,
  .sale-ribbon b {
    background: none;
    color: #202e29;
  }
  .sale-sticker {
    display: none;
  }
}
