/* ============================================================
   ARECH Logo Showcase / Trust Bar — front-end styles.
   Port of `site/src/components/home/HomeTrustBar.astro` lines 50-90.
   Theme variants: --paper-2 (default), --paper-1 (lighter), --dark.
   ============================================================ */

.arech-ls {
    overflow: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    /* S55 D4 — token-anchored padding (was magic 18px).
       Logo strip is a decorative interlude between sections —
       lighter than full section-premium rhythm but heavy enough
       to register as its own band. --space-5 (24px) hits the
       compositional sweet spot per the section-rhythm cascade. */
    padding-block: var(--space-5);
    padding-inline: 0;
}
.arech-ls--paper-2 { background: var(--paper-2); }
.arech-ls--paper-1 { background: var(--paper-1); }
.arech-ls--dark {
    background: var(--dark-2);
    border-color: color-mix(in oklch, var(--off-white) 8%, transparent);
}

.arech-ls__track {
    display: flex;
    /* Shorthand split — duration is supplied per-instance via inline
       style="animation-duration: <speed>s" in view.php. The 30s fallback
       below keeps the marquee animated even if the inline style fails to
       render (e.g. cache-stripped). css-architect gate (S49): a missing
       <duration> in the `animation` shorthand resolves to 0s and the
       marquee never moves; splitting the longhand properties is the
       safest fix. */
    animation-name: arechLsScroll;
    animation-duration: 30s;
    animation-timing-function: var(--ease-linear);
    animation-iteration-count: infinite;
    white-space: nowrap;
    width: max-content;
}
@keyframes arechLsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.arech-ls__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-inline: var(--space-7);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-3);
    border-right: 1px solid var(--hairline);
    flex-shrink: 0;
}
.arech-ls--dark .arech-ls__item {
    color: var(--light);
    border-right-color: color-mix(in oklch, var(--off-white) 8%, transparent);
}

.arech-ls__tick {
    color: var(--orange);
}
.arech-ls--dark .arech-ls__tick {
    color: var(--orange-bright);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .arech-ls__track {
        animation: none;
    }
}

/* ---- Print ---- */
@media print {
    .arech-ls { display: none !important; }
}

/* ---- Concrete edit-mode shim ---- */
.ccm-edit-mode .arech-ls__track {
    animation-play-state: paused;
}
