.niseko-main .niseko-trust-badges {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 20px);
  width: min(780px, 100%);
  margin: 14px auto clamp(18px, 2.4vw, 28px);
  padding: 0;
  list-style: none;
}
.niseko-trust-badges li {
  --medal-ink: #123c20;
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .2em;
  min-width: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 6%;
  border: 2px solid #ae6909;
  border-radius: 50%;
  background: conic-gradient(from -40deg, #ffb907, #fffdb0 12%, #d48100 24%, #fff5a1 34%, #ffcc22 46%, #a95a01 59%, #fff9ad 66%, #e5a10b 78%, #fff0a0 88%, #ffb907);
  box-shadow: inset 0 0 0 2px #ffe77a, 0 3px 8px #39230d35;
  color: var(--medal-ink);
  line-height: 1.06;
  text-align: center;
}
.niseko-trust-badges li::before {
  content: "";
  position: absolute;
  inset: 5.6%;
  z-index: -1;
  border: 1px solid #b16508;
  border-radius: 50%;
  background: radial-gradient(ellipse at 34% 30%, #fffccc 12%, #ffeb6b 46%, #ffc429 68%, #efa400 93%);
  box-shadow: 0 0 0 1px #fff6aa, inset 0 2px 6px #9860095c;
}
.niseko-trust-label {
  font-size: clamp(.55rem, 10cqi, 1.44rem);
  color: #182714;
  font-weight: 900;
  letter-spacing: -.055em;
}
.niseko-trust-badges strong {
  font-size: clamp(1.1rem, 29cqi, 4.2rem);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.niseko-trust-badges small { font-size: .53em; letter-spacing: 0; }
.niseko-trust-rescue strong { font-size: clamp(.82rem, 20.5cqi, 2.9rem); }
.niseko-medal-icon {
  display: block;
  position: relative;
  width: 24cqi;
  height: 17cqi;
  margin-bottom: 3cqi;
  color: var(--medal-ink);
}
.niseko-medal-car::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(0 84%, 0 48%, 15% 39%, 28% 7%, 72% 7%, 85% 39%, 100% 48%, 100% 84%, 88% 84%, 85% 100%, 69% 100%, 65% 84%, 35% 84%, 31% 100%, 15% 100%, 12% 84%);
}
.niseko-medal-car::after {
  content: "";
  position: absolute;
  inset: 19% 24% 53%;
  background: linear-gradient(90deg, #ffef9a 44%, transparent 44% 56%, #ffef9a 56%);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}
.niseko-medal-headset {
  width: 20cqi;
  height: 19cqi;
  border: 2.3cqi solid currentColor;
  border-bottom-color: transparent;
  border-radius: 55% 55% 39% 39%;
}
.niseko-medal-headset::before {
  content: "";
  position: absolute;
  width: 4cqi;
  height: 8cqi;
  left: -3cqi;
  bottom: 0;
  border-radius: 2cqi;
  background: currentColor;
  box-shadow: 16cqi 0 currentColor;
}
.niseko-medal-headset::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3cqi;
  width: 7cqi;
  height: 2cqi;
  background: currentColor;
  border-radius: 2cqi;
}
.niseko-medal-review {
  width: 20cqi;
  height: 20cqi;
  border-radius: 50%;
  background: currentColor;
}
.niseko-medal-review::after {
  content: "";
  position: absolute;
  inset: 23%;
  background: #fff197;
  clip-path: polygon(50% 0, 63% 34%, 100% 38%, 72% 62%, 80% 100%, 50% 79%, 20% 100%, 28% 62%, 0 38%, 37% 34%);
}

/* Folded ribbon ends sit under the gold disk and stay clear of its lettering. */
.niseko-trust-badges li::after {
  content: "";
  position: absolute;
  z-index: -2;
  bottom: -7%;
  left: 16%;
  width: 68%;
  height: 26%;
  background: linear-gradient(105deg, #8c4605, #f7b31a 18%, #ffed7a 32%, #a35708 50%, #ffed7a 68%, #f5af13 82%, #8c4605);
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 82% 83%, 69% 100%, 50% 39%, 31% 100%, 18% 83%, 0 100%);
}

/* A soft highlight passes across the gold face, behind the lettering. */
@media (prefers-reduced-motion: no-preference) {
  .niseko-trust-badges li::before {
    background:
      linear-gradient(115deg, transparent 39%, #fffef8c9 49%, transparent 59%) no-repeat,
      radial-gradient(ellipse at 34% 30%, #fffccc 12%, #ffeb6b 46%, #ffc429 68%, #efa400 93%);
    background-size: 300% 100%, 100% 100%;
    animation: gold-medal-shine 8s ease-in-out infinite;
  }
  .niseko-trust-badges li:nth-child(2)::before { animation-delay: .35s; }
  .niseko-trust-badges li:nth-child(3)::before { animation-delay: .7s; }
}
@keyframes gold-medal-shine {
  0%, 57% { background-position: 100% 50%, center; }
  78%, 100% { background-position: 0% 50%, center; }
}
