/* ===================================================================
   Rivulet IQ — work.css  (work.html only)
   The case study index, laid out like the reference blog index (vault.hyperiux.com/blog):
   a glow hero, then on the grey scene one featured card (.vc--feature) and the rest as a .vc grid.
   Each card (.vc.wk-card, from visuals.css) carries: a cover (the build's footage for the three AI
   builds, generative art for the others), the tag + number, the title, the summary, a two-line ledger
   (Read this if / Status) and the build's two links.
   The title link stretches over the whole card (.vc__link::after); the two links sit above it.
   =================================================================== */

.wk-feature { margin-bottom: var(--sp30); }

.wk-card {
    & .vc__cover video { transition: transform var(--ease-expo); }
    &:hover .vc__cover video { transform: scale(1.04); }
    & .wk-card__n { font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; color: var(--light-grey); }
    & .vc__text { font-size: var(--f16); line-height: var(--lhLead); }

    /* the two facts, as a small ledger */
    & .wk-card__facts { margin-top: var(--sp25); border-top: 1px solid var(--white-10); }
    & .wk-card__facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--sp15); padding-block: var(--sp12); border-bottom: 1px solid var(--white-10); }
    & .wk-card__facts dt { padding-top: .25em; font-family: var(--font-mono); font-size: var(--f12); letter-spacing: 0; text-transform: none; color: var(--light-grey); }
    & .wk-card__facts dd { font-size: var(--f15); line-height: var(--lhSnug); color: var(--white); }
    & .wk-card__facts .pg-status { font-family: var(--font-body); font-size: var(--f15); }

    /* the case study link and the solution link: above the stretched title link */
    & .wk-card__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp12) var(--sp25); margin-top: auto; padding-top: var(--sp25); }
    & .wk-card__links .pg-go { font-size: var(--f15); }
    & .wk-card__links .pg-link { font-size: var(--f15); }

    @media (max-width: 767.98px) {
        padding: var(--sp20);
        & .wk-card__facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    }
}
/* the featured card: text column grows to the cover's height */
.wk-card--feature {
    align-items: stretch;
    & .vc__cover { align-self: center; }
    & .vc__body { min-width: 0; }
    & .vc__text { font-size: var(--f17); }
}

.wk-grid { margin-top: 0; }
/* the four builds without AI: a lower cover so text leads */
.wk-grid--pair .vc__cover { aspect-ratio: 2 / 1; }

/* the three "left out" statements: the h2 fills in as a statement */
.wk-left .pg-statement { max-width: 18ch; }

/* Round 3 (2026-12-02): cards carry tag + status, title, one-line summary and the case link only */
.wk-card .vc__meta { flex-wrap: wrap; justify-content: flex-start; gap: var(--sp8) var(--sp20); }
.wk-card .vc__meta .pg-status { font-family: var(--font-body); font-size: var(--f15); }
.wk-left .pg-cols { margin-top: var(--sp30); }
