/* Original house marks share one quiet, fixed-height navigation band. */
.brand-ribbon { margin: 0; padding: 0; background: var(--paper-warm); border-block: 1px solid var(--hairline); }
.brand-ribbon__window { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.brand-ribbon__track { width: max-content; }
.brand-ribbon__group { display: flex; align-items: center; justify-content: space-around; flex-wrap: nowrap; gap: 24px; min-width: 100vw; padding: 8px 12px; }
.brand-ribbon__group[aria-hidden] { display: none; }
.brand-ribbon__mark { display: flex; flex: 0 0 144px; width: 144px; height: 48px; align-items: center; justify-content: center; }
.brand-ribbon__mark img { display: block; width: 112px; height: 30px; object-fit: contain; filter: brightness(0); opacity: .8; transition: opacity .3s; }
.brand-ribbon__mark:hover img, .brand-ribbon__mark:focus-visible img { opacity: 1; }
.brand-ribbon__mark:focus-visible { outline-offset: -3px; }
.brand-ribbon[data-animated="true"] .brand-ribbon__window { overflow-x: hidden; }
.brand-ribbon[data-animated="true"] .brand-ribbon__track { display: flex; animation: brand-ribbon-drift 54s linear infinite; animation-play-state: paused; }
.brand-ribbon[data-animated="true"] .brand-ribbon__group { display: flex; flex-shrink: 0; }
.brand-ribbon[data-running="true"] .brand-ribbon__track { animation-play-state: running; }
.brand-ribbon:hover .brand-ribbon__track, .brand-ribbon:focus-within .brand-ribbon__track { animation-play-state: paused; }
/* Keyboard navigation exposes the single real row, without increasing its height. */
.brand-ribbon:focus-within .brand-ribbon__window { overflow-x: auto; }
.brand-ribbon:focus-within .brand-ribbon__track { animation: none; }
.brand-ribbon:focus-within .brand-ribbon__group[aria-hidden] { display: none; }
@keyframes brand-ribbon-drift { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .brand-ribbon__group { gap: 20px; }
  .brand-ribbon__mark { flex-basis: 124px; width: 124px; }
}
@media (prefers-reduced-motion: reduce) { .brand-ribbon__track { animation: none !important; } }
.a11y-motion .brand-ribbon__track { animation: none !important; }
.a11y-scheme-contrast .brand-ribbon__mark img { opacity: 1; }
.a11y-scheme-dark .brand-ribbon__mark img { filter: brightness(0) invert(1); }
