/* A quiet, seamless tooling strip at the foot of the hero. */
.hero-tools {
  display: block;
  flex-shrink: 0;
  width: min(100% - 48px, 1120px);
  margin: auto auto 28px;
  padding: 20px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.hero-tools-title {
  display: block;
  margin-bottom: 20px;
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.hero-tools-track { display: flex; width: max-content; animation: hero-tools-scroll 65s linear infinite; }
.hero-tools-group { display: flex; flex-shrink: 0; align-items: center; }
.hero-tools-logo { display: flex; align-items: center; justify-content: center; width: 100px; height: 36px; }
.hero-tools-logo img { display: block; width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.45; }
.hero-tools[aria-pressed="true"] .hero-tools-track,
.hero-tools:focus-visible .hero-tools-track { animation-play-state: paused; }
.hero-tools:focus-visible { outline: 1px solid #b6c8dd; outline-offset: -4px; }
@media (hover: hover) {
  .hero-tools:hover .hero-tools-track { animation-play-state: paused; }
}
@keyframes hero-tools-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .hero-tools { width: calc(100% - 24px); margin-bottom: 18px; padding: 16px 0; }
  .hero-tools-logo { width: 76px; height: 32px; }
  .hero-tools-logo img { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tools { mask-image: none; -webkit-mask-image: none; }
  .hero-tools-track { width: 100%; animation: none; }
  .hero-tools-group { width: 100%; flex-wrap: wrap; justify-content: center; gap: 20px 0; }
  .hero-tools-group + .hero-tools-group { display: none; }
}

/* Light hero variant keeps the same track, speed and controls. */
.hero-tools--light { margin-top: 24px; color: var(--pm-ink); }
.hero-tools--light .hero-tools-title { color: var(--pm-slate); }
.hero-tools--light .hero-tools-logo img { filter: brightness(0); opacity: .45; }
