/* PPS — HMC wheel: HMC Group in the centre, its companies turning slowly around it (PPS highlighted) */
.hmc-wheel { --n: 12; --dur: 70s; container-type: inline-size; position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.hw-ring { position: absolute; inset: 0; border-radius: 50%; animation: hw-turn var(--dur) linear infinite; }
.hmc-wheel:hover .hw-ring, .hmc-wheel:hover .hw-bubble { animation-play-state: paused; }
@keyframes hw-turn { to { rotate: 360deg; } }

/* guide circles */
.hw-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(201, 168, 92, .45); }
.hw-orbit.o1 { inset: 9%; }
.hw-orbit.o2 { inset: 27%; border-style: dashed; opacity: .6; }
.hw-orbit.o1::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold); animation: hw-turn 9s linear infinite reverse; }

/* centre */
.hw-core {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 60px rgba(201, 168, 92, .45);
}
.hw-core img { width: 74%; height: auto; }
.hw-core::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: hw-pulse 3.6s ease-out infinite; }
@keyframes hw-pulse { 0% { opacity: .8; scale: .9; } 100% { opacity: 0; scale: 1.35; } }

/* company bubbles placed around the ring; each turns back so its logo stays upright */
.hw-item {
  position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 1; margin: -8.5% 0 0 -8.5%;
  transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-41cqw) rotate(calc(-360deg / var(--n) * var(--i)));
}
.hw-bubble {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; padding: 16%;
  background: var(--white); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); overflow: hidden;
  animation: hw-turn var(--dur) linear infinite reverse;
  transition: box-shadow .3s, scale .3s var(--ease);
}
.hw-bubble img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.hw-bubble .hw-name { font-size: 1.9cqw; font-weight: 600; line-height: 1.2; text-align: center; color: var(--navy); }
a.hw-bubble:hover, a.hw-bubble:focus-visible { scale: 1.12; box-shadow: 0 0 0 3px var(--gold), 0 14px 30px -10px rgba(0, 0, 0, .5); }
.hw-item.is-pps .hw-bubble { box-shadow: 0 0 0 3px var(--gold), 0 0 26px rgba(201, 168, 92, .7); }
.hw-item.is-pps { width: 20%; margin: -10% 0 0 -10%; }

@media (prefers-reduced-motion: reduce) { .hw-ring, .hw-bubble, .hw-core::before, .hw-orbit.o1::after { animation: none; } }
