/* logo-wall-2026-10-29.css v3 (CB.96: the 744–1199 tier) — the three-row brand wall (includes/logo-wall/index.php), CB.95b/c, in5-docs #283.
   Tokens: --in5-strip-tile-w/h, --in5-strip-gap, --in5-radius-s from tokens-2026-10-29.css (defaults below if absent); the band is the brand navy the footer uses (#01156b),
   not LP1's off-palette slate (#454c56) — switch back by changing --lw-band once. Mechanics (v2): the track holds the tile set four times; one loop slides it by exactly ONE
   set width — a CSS variable computed from the tile count — so the row is covered at any viewport up to three set widths and the seam never shows. Rows 1 and 3 run left,
   row 2 right (LP1 as measured); speeds via --lw-dur per row. Hover pauses; the Pause/Play button pauses (WCAG 2.2.2); reduced motion stands still. */
.logo-wall { --lw-band: #01156b; --lw-tile-w: var(--in5-strip-tile-w, 120px); --lw-gap: var(--in5-strip-gap, 24px);
  background: var(--lw-band); color: #fff; padding: var(--in5-strip-pad, 12px) 0 calc(var(--in5-strip-pad, 12px) + 8px); overflow: hidden; position: relative; }
.logo-wall-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 16px 12px; position: relative; }
.logo-wall h2.logo-wall-heading { margin: 0; text-align: center; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.logo-wall-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: var(--in5-radius-s, 6px); font: 500 14px/1 inherit; font-family: inherit; cursor: pointer; }
.logo-wall-toggle:hover, .logo-wall-toggle:focus-visible { background: rgba(255,255,255,.22); outline: 3px solid #fff; outline-offset: 2px; }
.logo-wall-toggle-icon { width: 12px; height: 12px; display: inline-block; background: linear-gradient(to right, #fff 0 35%, transparent 35% 65%, #fff 65% 100%); }
.logo-wall.is-paused .logo-wall-toggle-icon { background: none; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.logo-wall-row { --lw-set-w: calc(var(--lw-n, 12) * (var(--lw-tile-w) + var(--lw-gap))); /* one set = n × (tile + gap); --lw-n is set inline per row */ position: relative; overflow: hidden; margin-top: 20px; }
.logo-wall-row:first-of-type { margin-top: 0; }
.logo-wall-track { display: flex; width: max-content; animation: lw-left var(--lw-dur, 80s) linear infinite; will-change: transform; }
.logo-wall-right .logo-wall-track { animation-name: lw-right; }
.logo-wall-row:hover .logo-wall-track, .logo-wall.is-paused .logo-wall-track { animation-play-state: paused; }
.logo-wall-set { display: flex; list-style: none; margin: 0; padding: 0 var(--lw-gap) 0 0; gap: var(--lw-gap); } /* each set carries its trailing gap: one set width = n × (tile + gap) */
.logo-wall-tile { flex: 0 0 auto; width: var(--lw-tile-w); height: var(--in5-strip-tile-h, 55px); background: #fff; border-radius: var(--in5-radius-s, 6px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.logo-wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes lw-left  { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--lw-set-w))); } }
@keyframes lw-right { from { transform: translateX(calc(-1 * var(--lw-set-w))); } to { transform: translateX(0); } }
@media (min-width: 744px) and (max-width: 1199px) { /* CB.96 display tier (Ari): tablet tiles 100×46, gap 18 */
  .logo-wall { --lw-tile-w: 100px; --lw-gap: 18px; }
  .logo-wall-tile { height: 46px; }
}
@media (max-width: 743px) {
  .logo-wall { --lw-tile-w: 90px; --lw-gap: 12px; }
  .logo-wall-tile { height: 41px; }
  .logo-wall-row { margin-top: 12px; }
  .logo-wall h2.logo-wall-heading { font-size: 20px; }
  .logo-wall-head { justify-content: flex-start; padding-right: 110px; }
  .logo-wall-toggle .logo-wall-toggle-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .logo-wall-track { animation: none; } .logo-wall-toggle { display: none; } }
