﻿.delta-projects-page {
    background: radial-gradient(circle at top right, rgba(31,125,215,.16), transparent 32%), var(--black);
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.delta-projects-page h1,
.delta-projects-page h2,
.delta-projects-page h3 {
    font-family: "Century Gothic", "Avenir Next", Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* HERO */

.projects-hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.projects-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.68), rgba(5,5,5,.94)), url("/images/delta/projects/project-cover-completed.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: background-image .5s ease, transform .4s ease;
    will-change: transform;
}

.projects-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.projects-hero-inner {
    position: relative;
    z-index: 2;
}

.projects-hero-title {
    max-width: 980px;
    margin-bottom: 54px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--delta-blue);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

    .section-kicker::before {
        content: "";
        width: 42px;
        height: 1px;
        background: var(--delta-bronze);
    }

.projects-hero h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(46px, 7vw, 104px);
    line-height: .95;
    letter-spacing: -.045em;
}

.projects-hero p {
    margin: 30px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.8;
}

/* STATUS */

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.status-card {
    position: relative;
    min-height: 430px;
    border: 1px solid var(--line);
    background: var(--dark);
    overflow: hidden;
    transition: .4s ease;
}

    .status-card.is-active,
    .status-card:hover {
        border-color: rgba(181,131,100,.62);
        transform: translateY(-6px);
    }

.status-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    filter: grayscale(.15);
    transition: .75s ease;
}

.status-card.is-active .status-bg,
.status-card:hover .status-bg {
    transform: scale(1.06);
    filter: grayscale(0);
}

.status-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.18));
    pointer-events: none;
}

.status-main {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 126px;
    z-index: 3;
    color: var(--white);
}

.status-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--delta-bronze);
    box-shadow: 0 0 28px rgba(181,131,100,.85);
    margin-bottom: 22px;
}

.status-main strong {
    display: block;
    font-family: "Century Gothic", "Avenir Next", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.status-main small {
    display: block;
    max-width: 540px;
    margin-top: 18px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

.status-menu {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 30px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

    .status-menu button {
        min-height: 58px;
        border: 1px solid rgba(255,255,255,.16);
        background: rgba(5,5,5,.62);
        color: var(--white);
        backdrop-filter: blur(16px);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-family: "ITC Avant Garde Gothic", "Century Gothic", "Avenir Next", Arial, sans-serif;
        font-size: 12px;
        letter-spacing: .09em;
        text-transform: uppercase;
        transition: .25s ease;
    }

        .status-menu button span {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--delta-bronze);
            flex: 0 0 auto;
        }

        .status-menu button:hover,
        .status-menu button.is-active {
            background: var(--delta-blue);
            border-color: var(--delta-blue);
            transform: translateY(-4px);
        }

/* BOARD */

.project-board {
    display: none;
    padding: 120px 0;
    background: radial-gradient(circle at 80% 20%, rgba(31,125,215,.11), transparent 28%), var(--dark);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .project-board.is-visible {
        display: block;
    }

.board-head {
    max-width: 900px;
    margin-bottom: 34px;
}

    .board-head h2 {
        margin: 0;
        font-size: clamp(36px, 5vw, 72px);
        line-height: 1.02;
        letter-spacing: -.04em;
    }

    .board-head p {
        max-width: 760px;
        margin: 22px 0 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.8;
    }

.project-search-wrap {
    margin-bottom: 30px;
}

.project-search {
    width: min(520px, 100%);
    height: 54px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: var(--white);
    padding: 0 18px;
    outline: none;
    font-size: 15px;
    transition: .25s ease;
}

    .project-search:focus {
        border-color: var(--delta-bronze);
        background: rgba(255,255,255,.055);
    }

    .project-search::placeholder {
        color: rgba(255,255,255,.42);
    }

.board-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 30px;
    align-items: stretch;
}

/* PROJECT LIST */

.project-list {
    max-height: 760px;
    overflow: auto;
    padding-right: 8px;
    display: grid;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--delta-bronze) rgba(255,255,255,.06);
}

    .project-list::-webkit-scrollbar {
        width: 6px;
    }

    .project-list::-webkit-scrollbar-track {
        background: rgba(255,255,255,.06);
    }

    .project-list::-webkit-scrollbar-thumb {
        background: var(--delta-bronze);
    }

.project-item {
    position: relative;
    min-height: 124px;
    padding: 24px 22px 22px 44px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    color: var(--white);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: .32s ease;
}

    .project-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(181,131,100,.16), transparent 62%);
        opacity: 0;
        transition: .32s ease;
    }

    .project-item span {
        position: absolute;
        left: 22px;
        top: 31px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--delta-bronze);
        z-index: 2;
    }

    .project-item strong {
        position: relative;
        z-index: 2;
        display: block;
        font-size: 21px;
        font-weight: 400;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .project-item small {
        position: relative;
        z-index: 2;
        color: var(--muted);
        line-height: 1.55;
    }

    .project-item:hover,
    .project-item.is-active {
        border-color: rgba(181,131,100,.7);
        background: rgba(31,125,215,.08);
        transform: translateX(8px);
    }

        .project-item:hover::before,
        .project-item.is-active::before {
            opacity: 1;
        }

.project-empty {
    display: none;
    padding: 28px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: rgba(255,255,255,.025);
    line-height: 1.7;
}

    .project-empty.is-visible {
        display: block;
    }

/* SHOWCASE */

.project-showcase {
    min-height: 760px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.showcase-image-wrap {
    position: relative;
    min-height: 560px;
    background: var(--dark-2);
    overflow: hidden;
}

.showcase-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: opacity .35s ease, transform .65s ease;
}

    .showcase-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.08));
    }

    .showcase-image.is-changing {
        opacity: .45;
        transform: scale(1.04);
    }

.slider-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5,5,5,.58);
    color: var(--white);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: .25s ease;
}

    .slider-nav:hover {
        background: var(--delta-bronze);
        border-color: var(--delta-bronze);
    }

    .slider-nav.prev {
        left: 22px;
    }

    .slider-nav.next {
        right: 22px;
    }

.slider-dots {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 6;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .slider-dots button {
        width: 34px;
        height: 3px;
        border: 0;
        background: rgba(255,255,255,.28);
        cursor: pointer;
        padding: 0;
        transition: .25s ease;
    }

        .slider-dots button.is-active {
            background: var(--delta-bronze);
            width: 58px;
        }

.showcase-content {
    padding: 34px;
    border-top: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(31,125,215,.09), rgba(255,255,255,.02));
}

    .showcase-content span {
        color: var(--delta-bronze);
        font-size: 13px;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .showcase-content h3 {
        margin: 16px 0 14px;
        font-size: clamp(30px, 4vw, 54px);
        line-height: 1.04;
        letter-spacing: -.03em;
    }

    .showcase-content p {
        margin: 0;
        max-width: 760px;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.8;
    }

/* CTA */

.projects-final-cta {
    padding: 120px 0;
}

.projects-final-box {
    padding: 76px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(31,125,215,.14), rgba(255,255,255,.03)), var(--dark);
}

    .projects-final-box h2 {
        max-width: 900px;
        margin: 0 0 34px;
        font-size: clamp(34px, 4vw, 62px);
        line-height: 1.04;
        letter-spacing: -.035em;
    }

.btn-primary {
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--delta-blue);
    color: var(--white);
    border: 1px solid transparent;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s ease;
}

    .btn-primary:hover {
        background: var(--delta-bronze);
    }

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* TABLET */

@media (max-width: 1100px) {
    .projects-hero {
        padding: 140px 0 78px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        min-height: 420px;
    }

    .board-layout {
        grid-template-columns: 1fr;
    }

    .project-list {
        max-height: none;
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
        padding-right: 0;
    }

    .project-item:hover,
    .project-item.is-active {
        transform: translateY(-6px);
    }

    .project-showcase {
        min-height: auto;
    }

    .showcase-image-wrap {
        min-height: 520px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .projects-hero h1 {
        font-size: 42px;
    }

    .projects-hero p {
        font-size: 16px;
    }

    .status-card {
        min-height: 500px;
    }

    .status-main {
        left: 24px;
        right: 24px;
        bottom: 210px;
    }

        .status-main strong {
            font-size: 38px;
        }

    .status-menu {
        left: 18px;
        right: 18px;
        bottom: 18px;
        grid-template-columns: 1fr;
    }

        .status-menu button {
            justify-content: flex-start;
            padding-left: 18px;
        }

    .project-board,
    .projects-final-cta {
        padding: 78px 0;
    }

    .board-head {
        margin-bottom: 28px;
    }

    .project-list {
        grid-template-columns: 1fr;
    }

    .project-item {
        min-height: 112px;
    }

    .showcase-image-wrap {
        min-height: 390px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 32px;
    }

        .slider-nav.prev {
            left: 14px;
        }

        .slider-nav.next {
            right: 14px;
        }

    .showcase-content {
        padding: 26px 22px;
    }

        .showcase-content h3 {
            font-size: 31px;
        }

    .projects-final-box {
        padding: 38px 24px;
    }

    .btn-primary {
        width: 100%;
    }
}

/* SMALL MOBILE */

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .projects-hero {
        padding: 130px 0 70px;
    }

        .projects-hero h1 {
            font-size: 38px;
        }

    .status-card {
        min-height: 530px;
    }

    .status-main {
        bottom: 225px;
    }

    .showcase-image-wrap {
        min-height: 330px;
    }

    .slider-dots {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

        .slider-dots button {
            width: 24px;
        }

            .slider-dots button.is-active {
                width: 42px;
            }
}
