/* Selected Work — homepage portfolio showcase */

body.home-premium .selected-work {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.home-premium .selected-work .container {
    max-width: 1140px;
}

body.home-premium .selected-work .section-eyebrow,
body.home-premium .selected-work .section-title,
body.home-premium .selected-work .home-section-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

body.home-premium .selected-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

body.home-premium .selected-work-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

body.home-premium .selected-work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(14, 165, 233, 0.35);
}

body.home-premium .selected-work-card .cover {
    display: block;
    background: linear-gradient(135deg, #e0f2fe 0%, #ecfdf5 100%);
    line-height: 0;
}

body.home-premium .selected-work-card .cover picture {
    display: block;
    width: 100%;
    line-height: 0;
}

body.home-premium .selected-work-card .cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

body.home-premium .selected-work-card .body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.5rem 1.5rem;
    text-align: left;
}

body.home-premium .selected-work-card .metric {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284c7;
    margin: 0 0 0.5rem;
    text-align: left;
}

body.home-premium .selected-work-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.35;
    text-align: left;
}

body.home-premium .selected-work-card .body > p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1rem;
    line-height: 1.5;
    text-align: left;
}

body.home-premium .selected-work-card .stretched {
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    text-align: left;
}

body.home-premium .selected-work-card .stretched:hover {
    color: #0369a1;
    text-decoration: underline;
}

@media (max-width: 991px) {
    body.home-premium .selected-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.home-premium .selected-work {
        padding: 3rem 0;
    }

    body.home-premium .selected-work-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
