/* ============================================
   WAB OS — les réalisations (accueil)
   Les neuf projets en ligne, en grille régulière : trois colonnes de
   fenêtres de même hauteur, droites. Sous chaque fenêtre, le nom du
   projet et son contexte (repris de /realisations). Toute la carte
   ouvre la fiche du projet. Au survol, seul le liseré change.
   Au téléphone, les quatre premiers projets ; la touche mène aux neuf.
   ============================================ */

.wall__grid {
    display: grid;
    gap: 28px 16px;
    list-style: none;
}

.shot {
    display: grid;
    gap: 4px;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.shot .win {
    margin-bottom: 10px;
    transition: box-shadow var(--dur-1) var(--ease-out);
}

.shot .win__title {
    font-size: 11px;
}

.shot .win__body {
    aspect-ratio: 16 / 10;
}

.shot__name {
    font-weight: var(--w-medium);
    line-height: 1.3;
}

.shot__context {
    font-size: var(--t-small);
    line-height: 1.4;
    color: var(--ink-muted);
}

.shot:focus-visible {
    outline: none;
}

.shot:focus-visible .win {
    box-shadow: 0 0 0 2px var(--accent), var(--win-shadow);
}

@media (hover: hover) {
    .shot:hover .win {
        box-shadow: 0 0 0 var(--hair) var(--klein), var(--win-shadow);
    }

    .shot:hover .shot__name {
        color: var(--klein-text);
    }
}

.wall__more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

@media (max-width: 599px) {
    .wall__grid > li:nth-child(n + 5) {
        display: none;
    }
}

@media (min-width: 600px) {
    .wall__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .wall__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 16px;
    }
}
