/* WebNTest homepage art-direction refresh — 2026-10-01 */
.hero-studio {
    background: #f7f9fc;
}

.hero-studio::before {
    display: none;
}

.hero-studio-grid {
    grid-template-columns: minmax(0, .92fr) minmax(28rem, 1.08fr);
    gap: clamp(3rem, 7vw, 6.5rem);
}

.hero-showcase {
    position: relative;
    min-height: 30rem;
}

.hero-work-card {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid #cbd7e6;
    border-radius: .9rem;
    color: var(--text);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(11, 23, 40, .13);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.hero-work-card:hover,
.hero-work-card:focus-visible {
    border-color: #8bb8f4;
    box-shadow: 0 24px 55px rgba(11, 23, 40, .17);
    transform: translateY(-3px);
}

.hero-work-primary {
    z-index: 1;
    top: 0;
    left: 0;
    width: 82%;
    height: 70%;
}

.hero-work-contractor {
    z-index: 3;
    right: 0;
    bottom: 3%;
    width: 54%;
    height: 47%;
}

.hero-work-dental {
    z-index: 2;
    bottom: 0;
    left: 6%;
    width: 46%;
    height: 40%;
}

.hero-work-preview {
    position: absolute;
    inset: 0 0 3.25rem;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-work-real-estate .hero-work-preview {
    background-image: url('../images/portfolio/real-estate-demo.webp');
}

.hero-work-contractor .hero-work-preview {
    background-image: url('../images/portfolio/contractor-demo.webp');
}

.hero-work-dental .hero-work-preview {
    background-image: url('../images/portfolio/dental-demo.webp');
}

.hero-work-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    padding: .62rem .82rem;
    border-top: 1px solid var(--border);
    gap: .75rem;
    background: rgba(255, 255, 255, .97);
}

.hero-work-meta small {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-work-meta strong {
    color: var(--navy);
    font-size: .82rem;
    text-align: right;
}

.hero-proof-note {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    gap: .55rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 650;
}

.hero-proof-note::before {
    width: 1.75rem;
    height: 1px;
    flex: 0 0 auto;
    content: '';
    background: var(--accent);
}

@media (max-width: 64rem) {
    .hero-studio-grid {
        grid-template-columns: minmax(0, 1fr) minmax(23rem, .95fr);
        gap: 3rem;
    }

    .hero-showcase {
        min-height: 26rem;
    }
}

@media (max-width: 48rem) {
    .hero-studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 24rem;
        margin-top: .25rem;
    }

    .hero-work-primary {
        width: 80%;
        height: 69%;
    }

    .hero-work-contractor {
        width: 52%;
        height: 45%;
    }

    .hero-work-dental {
        width: 45%;
        height: 38%;
    }
}

@media (max-width: 30rem) {
    .hero-showcase {
        min-height: 18rem;
    }

    .hero-work-card {
        border-radius: .7rem;
        box-shadow: 0 12px 28px rgba(11, 23, 40, .13);
    }

    .hero-work-preview {
        bottom: 2.7rem;
    }

    .hero-work-meta {
        min-height: 2.7rem;
        padding: .45rem .55rem;
    }

    .hero-work-meta small {
        font-size: .56rem;
    }

    .hero-work-meta strong {
        font-size: .69rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-work-card {
        transition: none;
    }

    .hero-work-card:hover,
    .hero-work-card:focus-visible {
        transform: none;
    }
}
