/* ============================================================
   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);
    padding: 18px 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: rgba(255, 255, 255, 0.08);
}

.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: rgba(255, 255, 255, 0.08);
}

.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;
}
