@import url("about.css");

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    min-height: 40px;
    padding: 9px 18px;
    border-radius: var(--pill);
    background: var(--white);
    border: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-weight: 900;
}

.filter-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.project-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card.hidden {
    display: none;
}

.project-media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f8fbfc 0%, #eef5f7 100%);
    overflow: hidden;
    position: relative;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.project-media.site-screenshot {
    aspect-ratio: 16 / 10;
    padding: 0;
    background: #f7fafc;
}

.project-media.site-screenshot img {
    padding: 0;
    object-fit: cover;
    object-position: top center;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.asset-preview {
    padding: 18px;
    position: relative;
    display: block;
    background:
        radial-gradient(circle at 82% 18%, rgba(46, 156, 176, 0.24), transparent 30%),
        radial-gradient(circle at 18% 82%, rgba(10, 22, 40, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(46, 156, 176, 0.12), rgba(255, 255, 255, 0.94)),
        var(--white);
}

.asset-board {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.asset-document {
    position: absolute;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.74);
    box-shadow: 0 18px 36px rgba(10, 22, 40, 0.13);
}

.asset-doc-head {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--gray-800);
    font-weight: 900;
}

.asset-doc-head i {
    color: var(--blue);
}

.invoice {
    top: 4%;
    left: 5%;
    width: 48%;
    min-height: 54%;
    padding: 15px;
    z-index: 3;
}

.spreadsheet {
    top: 11%;
    right: 4%;
    width: 48%;
    min-height: 45%;
    padding: 12px;
    z-index: 2;
    background: rgba(10, 22, 40, 0.92);
}

.presentation {
    right: 7%;
    bottom: 8%;
    width: 42%;
    min-height: 34%;
    padding: 16px;
    z-index: 4;
    display: grid;
    align-content: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--navy), #173f56);
    color: var(--white);
}

.presentation i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(46, 156, 176, 0.28);
    color: #8ee8f4;
    font-size: 1.2rem;
}

.presentation strong {
    color: var(--white);
}

.presentation small {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 900;
}

.word {
    left: 10%;
    bottom: 10%;
    width: 42%;
    min-height: 34%;
    padding: 14px;
    z-index: 2;
}

.asset-line {
    height: 9px;
    margin-top: 10px;
    border-radius: 999px;
    background: var(--gray-100);
}

.asset-line.long {
    width: 86%;
}

.asset-line.short {
    width: 48%;
}

.asset-total {
    margin-top: 16px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.asset-cells {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.asset-cells span {
    min-height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.16);
}

.asset-cells span:nth-child(2),
.asset-cells span:nth-child(6),
.asset-cells span:nth-child(8) {
    background: rgba(142, 232, 244, 0.34);
}

.asset-tags {
    position: absolute;
    left: 50%;
    bottom: 4%;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.asset-tags span {
    padding: 7px 10px;
    border-radius: var(--pill);
    background: var(--blue);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(46, 156, 176, 0.22);
}

.project-copy {
    padding: 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.project-label {
    width: fit-content;
    padding: 5px 10px;
    border-radius: var(--pill);
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-copy p {
    color: var(--gray-500);
}

.project-copy a {
    width: fit-content;
    color: var(--blue);
    font-weight: 900;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.project-copy .card-quote,
.project-actions .card-quote {
    color: var(--white);
}

.project-copy > .card-quote {
    margin-top: auto;
    align-self: flex-start;
}

.project-actions .card-quote {
    margin-top: 0;
}

.case-study .eyebrow {
    color: var(--blue-dark);
}

.case-study .reveal {
    display: grid;
    gap: 18px;
}

.case-study h2 {
    line-height: 1.16;
    max-width: 680px;
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
}

.case-study img {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.case-points {
    display: grid;
    gap: 14px;
}

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

    .case-study {
        grid-template-columns: 1fr;
    }
}
