/* Home only: fixed slots; JS owns the vertical crossfades and their clock. */
.home-logos { padding: 56px 0 64px; background: #fff; color: #000; }
/* Join Home's shared html.snap system without changing any other snap target. */
html.snap body.home .home-logos {
  scroll-snap-align: start; scroll-snap-stop: always;
  scroll-margin-top: var(--nav-h, 52px);
}
.home-logos__eyebrow {
  margin: 0 auto 32px; padding-inline: 24px; max-width: 1104px;
  color: #6e6e73; font-size: 14px; line-height: 1.5; font-weight: 400; text-align: center;
}
/* One permanent accessible catalogue; visual clones never enter the accessibility tree. */
.home-logos__names {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.home-logos__viewport { max-width: 1104px; margin-inline: auto; padding: 8px 24px; }
.home-logos__viewport:focus-visible { outline: 2px solid #0066cc; outline-offset: -2px; }
.home-logos__slots {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0;
}
.home-logos__slot {
  position: relative; display: flex; align-items: center; justify-content: center;
  /* Keep the full artwork visible throughout the existing +/-2.5rem travel. */
  min-width: 0; height: 80px; overflow: visible;
}
.home-logos__art {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.home-logos__image { display: block; width: auto; height: 40px; max-width: min(140px, 100%); object-fit: contain; }
.home-logos__image--maritime-and-port-authority-of-singapore { height: 52px; }
.home-logos__image--royal-thai-navy { height: 40px; }
.home-logos__image--indonesian-navy { height: 52px; }
.home-logos__image--bourbon { height: 36px; }
/* A wider box improves RVOS readability while retaining its original ratio. */
.home-logos__image--rawabi-vallianz-offshore-services { width: 160px; height: auto; max-width: min(160px, 100%); }
.home-logos__image--national-maritime-academy { width: 140px; height: auto; }
.home-logos__image--navtec-marine-services { height: 30px; }
@media (max-width: 1023px) {
  .home-logos__slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .home-logos__slot:nth-child(n+5) { display: none; }
}
@media (max-width: 599px) {
  .home-logos__viewport { padding-inline: 16px; }
  .home-logos__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home-logos__slot:nth-child(n+4) { display: none; }
}
