:root {
    --vw: clamp(360px, 100vw, 1536px);
    --fluid-w: calc((var(--vw) - 360px) / 1176px);
}
.nav-menu { display: none; }
.hero {
    padding: 120px 0.5rem 1rem;
}
.insights,
.services,
.selected-work,
.solutions,
.why-choose-us,
.contact-form {
    padding: 1.5rem 0.5rem;
}
.section-title {
    font-size: calc(1.8rem + (2.5rem - 1.8rem) * var(--fluid-w));
    margin-bottom: 1rem;
}
.insights-grid,
.services-grid,
.clients-list {
    grid-template-columns: repeat(2, 1fr);
}
.work-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
}
.services-grid,
.work-grid,
.clients-list {
    gap: 1.25rem;
}
.hero { grid-template-columns: 1fr; }
.insight-image,
.service-image {
    height: auto;
}
.insight-image img,
.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.service-content {
    padding: 1rem;
}
.service-content h3 {
    font-size: calc(0.9rem + (1.4rem - 0.9rem) * var(--fluid-w));
    line-height: 1.3;
}
.form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    font-size: calc(0.95rem + (1rem - 0.95rem) * var(--fluid-w));
}
.contact-intro {
    font-size: calc(1rem + (1.1rem - 1rem) * var(--fluid-w));
}
.work-item {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1rem;
    padding: 1rem;
    min-width: 0;
}
.work-content { min-width: 0; }
.work-avatar,
.worker-avatar {
    width: clamp(96px, 30vw, 140px);
    height: clamp(96px, 30vw, 140px);
}
.worker-avatar {
    padding: clamp(24px, 6vw, 36px);
}
body {
    font-size: calc(0.9rem + (1rem - 0.9rem) * var(--fluid-w));
}

.hero-title {
    font-size: calc(2rem + (4rem - 2rem) * var(--fluid-w));
}
.work-title {
    font-size: calc(1.3rem + (1.75rem - 1.3rem) * var(--fluid-w));
}
.navbar {
    padding-left: 0;
    padding-right: 0;
}
.nav-container,
.site-container {
    width: calc(100% - (20px + (200px - 20px) * var(--fluid-w)));
    margin: 0 auto;
}

/* footer layout uses .footer .site-container in base styles */

 .footer-right {
    gap: 0.3rem;
}

/* Ensure hero image appears above text on <=1024px */
.hero {
    grid-template-areas:
        "image"
        "content";
}
.hero-image {
    grid-area: image;
    justify-self: stretch;
    margin-bottom: 1rem;
}
.hero-content {
    grid-area: content;
}


.hero-subtitle {
    margin-top: calc(2rem + (4rem - 2rem) * var(--fluid-w));
    font-size: calc(1.1rem + (1.6rem - 1.1rem) * var(--fluid-w));
}


.hero-description {
    font-size: calc(0.95rem + (1.4rem - 0.95rem) * var(--fluid-w));
    margin-bottom: 1rem;
    margin-top: 1rem;
    max-width: max(50%, 400px);
}

/* Selected Work: >=800px - image floats top-left, text flows right then below */
@media (min-width: 800px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-item {
        display: block;
        overflow: hidden;
    }
    .work-item::after {
        content: "";
        display: table;
        clear: both;
    }
    .work-image {
        float: left;
        width: 30%;
        max-width: 200px;
        margin-right: 1rem;
        margin-bottom: 0.75rem;
    }
    .work-image img {
        display: block;
        width: 100%;
        height: auto;
    }
    .work-content {
        display: block;
    }
    .work-title {
        margin-top: 0;
    }
    .work-description {
        margin-top: 1rem;
    }
    .work-link {
        width: fit-content;
        align-items: right;
        gap: 0.5rem;
        margin-left: auto;
        margin-top: 1rem;
        align-items: flex-start;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;        
    }
}