/* Demo-only styles for the 3 by 3 layout. Keeps the live style.css intact. */

.hero-content {
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.6vw, 5rem);
    line-height: 0.95;
    max-width: 11ch;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: #f3f4f6;
    margin-bottom: 1rem;
}

.hero-cta-wide {
    max-width: 28rem;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.hero {
    padding: 8vh 2rem 7vh;
    min-height: 0;
}

main {
    display: flex;
    flex-direction: column;
}

#audience {
    order: 1;
}

#services {
    order: 2;
}

#matrix {
    order: 3;
}

#managed {
    order: 4;
}

#work {
    order: 5;
}

#contact-section {
    order: 6;
}

#capacity {
    display: none;
}

header nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem 0.9rem;
}

header nav ul li a {
    font-size: 0.95rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid rgba(47, 79, 47, 0.15);
    box-shadow: none;
    font-size: inherit;
    line-height: 1.15;
}

.nav-cta:hover {
    background: #7aa37a;
    color: var(--secondary-color);
}

.demo-section {
    padding: 6rem 0;
    background: var(--white);
}

.demo-section-alt {
    background: var(--accent-color);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.demo-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(143, 188, 143, 0.9);
}

.demo-card.is-key {
    border-color: rgba(143, 188, 143, 0.9);
    box-shadow: 0 18px 40px rgba(47, 79, 47, 0.10);
}

.card-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-color: #d1d5db;
}

/* Persona images */
.audience-investor {
    background-image: url('https://images.unsplash.com/photo-1753184648943-66544aa3bad5?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.audience-home {
    background-image: url('https://source.unsplash.com/jJnZg7vBfMs/1600x900');
}

.audience-ops {
    background-image: url('https://images.unsplash.com/photo-1758691737158-18ffa31c0a46?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

/* Service images */
.svc-hands {
    background-image: url('https://source.unsplash.com/4arSmRCsjWU/1600x900');
}

.svc-backend {
    background-image: url('https://images.unsplash.com/photo-1772588627327-1eeddcf73c11?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.svc-multiplier {
    background-image: url('https://images.unsplash.com/photo-1771922748624-b205cf5d002d?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.card-body {
    padding: 1.6rem 1.7rem 1.8rem;
}

.card-topline {
    margin-bottom: 0.8rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid rgba(47, 79, 47, 0.18);
}

.key-pill {
    background: rgba(143, 188, 143, 0.18);
    border-color: rgba(143, 188, 143, 0.55);
}

.offer-note {
    font-size: 0.9rem;
    color: #3f4d3f;
    font-weight: 800;
}

.mini-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
}

.mini-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.mini-list li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.callout {
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: rgba(233, 245, 233, 0.65);
    border: 1px solid rgba(143, 188, 143, 0.35);
    color: #1c1c1c;
}

.matrix-wrap {
    margin-top: 2.5rem;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    background: var(--white);
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
}

.matrix-table th,
.matrix-table td {
    padding: 1.2rem 1.25rem;
    vertical-align: top;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.5;
}

.matrix-table thead th {
    background: var(--light-gray);
    font-weight: 900;
    color: var(--secondary-color);
    text-align: left;
}

.matrix-table .matrix-stub {
    width: 22%;
}

.matrix-table .matrix-rowhead {
    background: var(--light-gray);
}

.matrix-label {
    font-weight: 900;
}

.matrix-sub {
    color: #4b5563;
    font-size: 0.98rem;
}

.matrix-key-col {
    background: rgba(143, 188, 143, 0.22);
    box-shadow: inset 0 0 0 1px rgba(47, 79, 47, 0.08);
}

.matrix-key-cell {
    background: rgba(233, 245, 233, 0.98);
    position: relative;
    border: 2px solid rgba(143, 188, 143, 0.9);
    border-left: 4px solid var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(47, 79, 47, 0.08);
}

.matrix-table thead th:nth-child(4),
.matrix-table tbody td:nth-child(4) {
    background: rgba(233, 245, 233, 0.95);
    border-left: 4px solid var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(47, 79, 47, 0.08);
}

.matrix-table thead th:nth-child(4) {
    background: rgba(143, 188, 143, 0.22);
    font-weight: 900;
}

.matrix-table tbody td:nth-child(4) {
    font-weight: 700;
}

.matrix-table tbody td:nth-child(4) strong {
    color: var(--secondary-color);
}

.matrix-highlight-row th,
.matrix-highlight-row td {
    background: rgba(233, 245, 233, 0.92);
}

.matrix-highlight-row .matrix-rowhead {
    background: rgba(224, 239, 224, 0.98);
    border-left: 4px solid var(--primary-color);
}

.contact-note {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1rem;
    margin: 1rem 0 0.75rem;
    border-radius: 12px;
    background: rgba(143, 188, 143, 0.14);
    border: 1px solid rgba(143, 188, 143, 0.28);
    color: #2f4f2f;
    font-weight: 800;
}

.matrix-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.matrix-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.matrix-gallery img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.matrix-gallery figcaption {
    padding: 0.85rem 1rem;
    font-weight: 800;
    color: var(--secondary-color);
    background: #fcfdfc;
}

.capacity-section {
    padding: 6rem 0;
    background: var(--white);
}

.capacity-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, rgba(233, 245, 233, 0.55), rgba(255, 255, 255, 0.96));
}

.capacity-copy h2 {
    margin-bottom: 0.75rem;
}

.capacity-graph {
    display: grid;
    gap: 0.95rem;
}

.capacity-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 50px;
    gap: 0.75rem;
    align-items: center;
    font-weight: 700;
    color: var(--secondary-color);
}

.capacity-bar {
    height: 14px;
    border-radius: 999px;
    background: #d7e7d7;
    overflow: hidden;
    position: relative;
}

.capacity-bar.is-full::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), #b8d8b8);
}

/* Use the live-site image set instead of placeholders. */
.hero {
    background-image: linear-gradient(rgba(47, 79, 47, 0.9), rgba(47, 79, 47, 0.8)), url('assets/wendyr/hero-toolbelt.jpg');
}

.audience-investor {
    background-image: url('https://images.unsplash.com/photo-1753184648943-66544aa3bad5?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.audience-home {
    background-image: url('assets/wendyr/inspection.jpg');
}

.audience-ops {
    background-image: url('https://images.unsplash.com/photo-1758691737158-18ffa31c0a46?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.svc-hands {
    background-image: url('assets/wendyr/hero-toolbelt.jpg');
}

.svc-backend {
    background-image: url('https://images.unsplash.com/photo-1772588627327-1eeddcf73c11?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.svc-multiplier {
    background-image: url('https://images.unsplash.com/photo-1771922748624-b205cf5d002d?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.managed-img {
    background-image: url('https://images.unsplash.com/photo-1633113088092-3460c3c9b13f?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.hiring-img {
    background-image: url('assets/wendyr/checklist.jpg');
}

.worker-img {
    background-image: url('https://images.unsplash.com/photo-1772442198620-3674b427e59e?q=80&w=1600&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.matrix-table tr:last-child th,
.matrix-table tr:last-child td {
    border-bottom: none;
}

.matrix-table th:last-child,
.matrix-table td:last-child {
    border-right: none;
}

.newsletter .form-container {
    max-width: 100%;
    min-height: 440px;
    padding: 1.5rem;
}

.newsletter [data-heyform-id] {
    min-height: 440px;
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: none;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: rgba(47, 79, 47, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.sticky-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.sticky-cta-button:hover {
    background: #7aa37a;
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .capacity-panel,
    .matrix-gallery {
        grid-template-columns: 1fr;
    }

    .card-img {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        max-width: none;
        font-size: clamp(2.25rem, 11vw, 3.6rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 6vh 1rem 5.5vh;
    }

    header nav {
        padding: 0.25rem 1rem;
    }

    header nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.18rem 0.32rem;
        justify-content: flex-start;
    }

    header nav ul::-webkit-scrollbar {
        display: none;
    }

    header nav ul li {
        flex: 0 0 auto;
    }

    header .logo {
        font-size: 1.45rem;
    }

    header nav ul li a {
        font-size: 0.76rem;
    }

    .nav-cta {
        padding: 0;
        background: transparent;
        border-color: transparent;
        color: var(--secondary-color);
        text-decoration: underline;
        text-underline-offset: 0.16em;
    }

    .hero-cta-wide {
        max-width: 100%;
    }

    .newsletter .form-container,
    .newsletter [data-heyform-id] {
        min-height: 380px;
    }

    .sticky-cta {
        display: block;
    }

    .sticky-cta {
        padding: 0.3rem 0.65rem calc(0.3rem + env(safe-area-inset-bottom));
    }

    .sticky-cta-button {
        padding: 0.42rem 0.8rem;
        font-size: 0.74rem;
        min-height: 36px;
    }

    body {
        padding-bottom: 88px;
    }

    .contact-note {
        display: block;
    }
}
