/* =====================================
   HOME PAGE
   ===================================== */

.newest-artwork-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.home-featured-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.home-section-title {
    margin-bottom: 3rem;
}

.home-section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.home-section-title p {
    color: #666;
}

#featured-artwork-grid,
#newest-artwork {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.home-art-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
    text-decoration: none;
}

.home-art-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.home-art-card:hover img {
    transform: scale(1.03);
}

.home-art-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.home-art-info {
    padding: 1rem 1.25rem 1.25rem;
}

.home-art-info h3 {
    margin-bottom: 0.35rem;
}

.home-art-info p {
    color: #666;
    font-size: 0.95rem;
}

.hero-highlight {
    display: block;
    font-size: 2.4em;
    margin-bottom: .25rem;
}

.hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background-image: linear-gradient( 90deg, rgba(250,248,243,1) 0%, rgba(250,248,243,.97) 32%, rgba(250,248,243,.82) 48%, rgba(250,248,243,.42) 63%, rgba(250,248,243,.08) 78%, rgba(250,248,243,0) 90% ), url("/images/about/studio2.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    padding: 4rem 4.5rem;
}
.hero-text h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-text h1 span {
    display: block;
    margin-top: .75rem;
    font-size: .82em;
    font-weight: 700;
    line-height: 1.05;
}

.hero-text p {
    max-width: 560px;
    margin: 2rem 0 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.install-inline-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-left: 8px;
}

.install-help-row {
    margin-top: 1rem;
}

.install-help-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.install-help-link:hover {
    color: #111;
    text-decoration: underline;
}

.hero-image {
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 10000;
}

.modal-content {
    max-width: 600px;
    margin: 8vh auto;
    background: white;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.modal-close {
    float: right;
    font-size: 2rem;
    cursor: pointer;
}

.modal h2 {
    margin-top: 0;
}

.modal ol {
    margin-top: 1rem;
    padding-left: 1.3rem;
}

.modal li {
    margin-bottom: .75rem;
}





    @media (max-width: 900px) {

        .hero {
            display: flex;
            flex-direction: column;
            min-height: auto;
            background-image: none;
            background-size: 100% auto;
            background-position: top center;
            background-repeat: no-repeat;
        }

        .hero-image {
            order: 1;
            width: 100%;
            height: auto;
            min-height: 0;
            background-image: url("/images/about/mobile_hero_image.webp");
            background-size: 100% auto;
            background-position: top center;
            background-repeat: no-repeat;
            aspect-ratio: 4 / 5;
        }

        .hero-image img {
            object-fit: cover;
            object-position: center center;
        }

        .hero-text {
            order: 2;
            padding: 2rem;
            border-radius: 0;
        }

        .hero-description {
            display: inline-block;
            background: rgba(245,243,238,.92);
            padding: .75rem 1rem;
            border-radius: 8px;
        }

        .hero-text h1 {
            font-size: clamp(2.4rem, 9vw, 3.8rem);
            line-height: .95;
        }

        .hero-text p {
            font-size: 1.15rem;
            max-width: 100%;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: stretch;
        }

        .hero-buttons a {
            text-align: center;
        }
    }

    .status-badge {
        display: inline-block;
        padding: .45rem .95rem;
        border-radius: 999px;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        color: white;
        text-transform: uppercase;
        box-shadow: 0 4px 14px rgba(0,0,0,.18);
    }

    .status-available {
        background: #4f7f57;
    }

    .status-sold {
        background: #9b4b47;
    }

    .status-artist {
        background: #4f6f9a;
    }

    .status-collector {
        background: #6f6b66;
    }

    .status-donated {
        background: #76618b;
    }

    .home-art-info {
        padding: 1rem 1.25rem 1.25rem;
        min-height: 110px;
        display: flex;
        flex-direction: column;
    }

    .home-art-footer {
        margin-top: auto;
        display: flex;
        justify-content: flex-end;
    }