.our-work-hero,
.our-work-detail-hero{
    background:
        linear-gradient(135deg,#081726 0%,#1f2b36 100%);
}

.our-work-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-bottom:32px;
}

.our-work-heading .lead{
    max-width:780px;
}

.our-work-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.our-work-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #dfe4ea;
    border-radius:6px;
    background:#fff;
    box-shadow:0 14px 34px rgba(31,43,54,.075);
    transition:transform .25s ease,box-shadow .25s ease;
}

.our-work-card:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 46px rgba(31,43,54,.13);
}

.our-work-card-link{
    display:flex;
    height:100%;
    flex-direction:column;
    color:inherit;
    text-decoration:none;
}

.our-work-card-image{
    position:relative;
    height:240px;
    overflow:hidden;
    background:#e9edf2;
}

.our-work-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.our-work-card:hover .our-work-card-image img{
    transform:scale(1.04);
}

.our-work-placeholder{
    display:flex;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    padding:24px;
    color:#667085;
    text-align:center;
    background:
        linear-gradient(135deg,#edf1f5,#dfe5eb);
}

.our-work-placeholder strong{
    color:#1f2b36;
    font-size:17px;
}

.our-work-placeholder span{
    font-size:12px;
}

.our-work-type{
    position:absolute;
    left:16px;
    bottom:16px;
    max-width:calc(100% - 32px);
    padding:7px 10px;
    border-radius:4px;
    background:#f2531e;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.our-work-card-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:20px;
}

.our-work-location{
    margin-bottom:8px;
    color:#f2531e;
    font-size:11px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.our-work-card h3{
    margin:0 0 10px;
    color:#1f2b36;
    font-size:19px;
    line-height:1.35;
}

.our-work-card p{
    margin:0 0 18px;
    color:#667085;
    font-size:13px;
    line-height:1.7;
}

.our-work-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid #e5e8ed;
    color:#667085;
    font-size:11px;
}

.our-work-card-footer strong{
    color:#1f2b36;
    white-space:nowrap;
}

.our-work-empty{
    max-width:820px;
    margin:0 auto;
    padding:55px 28px;
    border:1px dashed #cfd6df;
    border-radius:6px;
    background:#f8fafc;
    text-align:center;
}

.our-work-empty-icon{
    display:flex;
    width:68px;
    height:68px;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
    border-radius:50%;
    background:#081726;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

.our-work-empty h3{
    margin:0 0 10px;
    color:#1f2b36;
}

.our-work-empty p{
    max-width:600px;
    margin:0 auto 22px;
    color:#667085;
    line-height:1.7;
}

.our-work-facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.our-work-fact{
    display:flex;
    align-items:center;
    gap:15px;
    min-width:0;
    padding:20px;
    border:1px solid #dfe4ea;
    border-radius:6px;
    background:#fff;
}

.our-work-fact > span{
    display:flex;
    width:46px;
    height:46px;
    flex:0 0 46px;
    align-items:center;
    justify-content:center;
    border-radius:5px;
    background:#fff0ea;
    color:#f2531e;
    font-size:13px;
    font-weight:800;
}

.our-work-fact small{
    display:block;
    margin-bottom:4px;
    color:#667085;
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.our-work-fact strong{
    display:block;
    color:#1f2b36;
    font-size:14px;
    line-height:1.45;
}

.our-work-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
    gap:42px;
    align-items:start;
}

.our-work-description{
    color:#566170;
    font-size:15px;
    line-height:1.85;
}

.our-work-scope{
    padding:28px;
    border-radius:6px;
    background:#081726;
    color:#fff;
}

.our-work-scope h3{
    margin:7px 0 18px;
    color:#fff;
}

.our-work-scope ul{
    margin:0;
    padding:0;
    list-style:none;
}

.our-work-scope li{
    position:relative;
    padding:10px 0 10px 27px;
    border-bottom:1px solid rgba(255,255,255,.11);
    color:rgba(255,255,255,.82);
    font-size:13px;
    line-height:1.6;
}

.our-work-scope li:last-child{
    border-bottom:0;
}

.our-work-scope li:before{
    position:absolute;
    top:11px;
    left:0;
    content:"✓";
    color:#f2531e;
    font-weight:800;
}

.our-work-scope p{
    color:rgba(255,255,255,.78);
}

.our-work-gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-top:30px;
}

.our-work-gallery-item{
    height:250px;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:5px;
    background:#dfe4ea;
    cursor:pointer;
}

.our-work-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}

.our-work-gallery-item:hover img{
    transform:scale(1.04);
}

.our-work-related-grid{
    margin-top:28px;
}

.our-work-lightbox{
    position:fixed;
    z-index:9999;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.our-work-lightbox.is-open{
    display:flex;
}

.our-work-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(4,13,22,.90);
}

.our-work-lightbox-dialog{
    position:relative;
    z-index:2;
    width:min(1100px,100%);
    overflow:hidden;
    border-radius:6px;
    background:#081726;
    box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.our-work-lightbox-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:14px 16px;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.our-work-lightbox-head button{
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:4px;
    background:transparent;
    color:#fff;
    cursor:pointer;
}

.our-work-lightbox-main{
    display:grid;
    grid-template-columns:52px minmax(0,1fr) 52px;
    align-items:center;
    min-height:520px;
}

.our-work-lightbox-main img{
    display:block;
    width:100%;
    max-height:76vh;
    object-fit:contain;
}

.our-work-lightbox-main button{
    height:100%;
    border:0;
    background:transparent;
    color:#fff;
    font-size:38px;
    cursor:pointer;
}

body.our-work-lightbox-open{
    overflow:hidden;
}

@media(max-width:960px){
    .our-work-grid,
    .our-work-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .our-work-detail-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:700px){
    .our-work-grid,
    .our-work-gallery,
    .our-work-facts{
        grid-template-columns:1fr;
    }

    .our-work-card-image{
        height:230px;
    }

    .our-work-gallery-item{
        height:230px;
    }

    .our-work-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .our-work-lightbox{
        padding:10px;
    }

    .our-work-lightbox-main{
        grid-template-columns:42px minmax(0,1fr) 42px;
        min-height:340px;
    }

    .our-work-lightbox-head strong{
        max-width:72%;
        font-size:12px;
    }
}
