/* ==========================================================================
   Companies & Projects: stacked cards
   ========================================================================== */

.project-cards {
    width: min(900px, 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 3vh, 1.8rem);
}

.card {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    /* one translucent layer + a real border, marble reads through */
    border: var(--line) solid var(--ink-white);
    border-radius: calc(var(--radius) + 6px);
    background: var(--surface-dark);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.card__logo {
    flex: 0 0 auto;
    width: clamp(90px, 14vw, 140px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card__logo img { width: 100%; height: auto; }

.card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.card__text {
    font-family: 'Comic Neue', system-ui, sans-serif;
    font-weight: 700;
    color: var(--ink-white);
    line-height: 1.45;
    font-size: clamp(1.1rem, 1.55vw, 1.35rem);
}
.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

@media (max-width: 640px) {
    .card { flex-direction: column; text-align: center; }
    .card__body { align-items: center; }
    .card__text { text-align: center; }
}
