/* =========================================================
   COMMERCIAL CONVERSION PROJECT PAGE
   File: commercial-style.css
   ========================================================= */

:root {
    --cc-dark: #0b0b0c;
    --cc-light: #f4f3ef;
    --cc-card: #ffffff;
    --cc-text: #111111;
    --cc-muted: rgba(0,0,0,.62);
    --cc-green: #00ff66;
    --cc-green-dark: #00aa44;
    --cc-border: rgba(0,0,0,.07);
}

body {
    background: var(--cc-light);
    color: var(--cc-text);
}

/* HERO */

.project-hero {
    min-height: 100svh;
    padding: 120px 6% 60px;

    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;

    background:
        radial-gradient(circle at top left, rgba(0,255,102,.055), transparent 30%),
        var(--cc-dark);

    color: white;
    overflow: hidden;
}

.project-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 14px;

    margin-bottom: 48px;
    padding: 13px 21px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;

    background: rgba(255,255,255,.045);
    color: white;

    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease;
}

.back-btn:hover {
    background: white;
    color: #111;
    transform: translateY(-3px);
}

.project-kicker {
    color: var(--cc-green);
    font-size: .74rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.project-hero h1 {
    max-width: 600px;
    margin-top: 22px;

    font-size: clamp(3.4rem, 6vw, 6.6rem);
    line-height: .9;
    letter-spacing: -.08em;
    font-weight: 500;
}

.project-hero-content > p {
    max-width: 540px;
    margin-top: 28px;

    color: rgba(255,255,255,.68);
    font-size: 1.04rem;
    line-height: 1.85;
}

.project-meta {
    margin-top: 54px;
    padding-top: 28px;

    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;

    border-top: 1px solid rgba(255,255,255,.12);
}

.project-meta strong {
    display: block;
    font-size: clamp(1.35rem,2.2vw,2.1rem);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 500;
}

.project-meta span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.52);
    font-size: .86rem;
    line-height: 1.5;
}

.project-hero-image {
    width: 100%;
    height: calc(100svh - 180px);
    min-height: 560px;

    overflow: hidden;
    border-radius: 34px;

    background: #111;
    box-shadow: 0 40px 100px rgba(0,0,0,.42);
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    filter: brightness(.9) contrast(1.03);

    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.project-hero-image:hover img {
    transform: scale(1.04);
}

/* INTRO */

.project-intro {
    max-width: 1300px;
    margin: 0 auto;
    padding: 135px 6%;

    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 80px;
}

.intro-label span,
.gallery-header > span,
.delivery-content > span {
    display: block;

    color: rgba(0,0,0,.52);

    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.intro-label span::after,
.gallery-header > span::after,
.delivery-content > span::after {
    content: "";
    display: block;

    width: 72px;
    height: 2px;
    margin-top: 14px;

    background: var(--cc-green);
}

.intro-copy h2 {
    max-width: 850px;

    font-size: clamp(2.8rem,5.5vw,5.8rem);
    line-height: .92;
    letter-spacing: -.08em;
    font-weight: 500;
}

.intro-copy p {
    max-width: 760px;
    margin-top: 28px;

    color: var(--cc-muted);
    font-size: 1.06rem;
    line-height: 1.9;
}

/* SCOPE */

.scope-strip {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 6% 130px;

    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.scope-strip article {
    min-height: 250px;
    padding: 30px;

    border-radius: 30px;
    background: white;
    border: 1px solid var(--cc-border);

    box-shadow: 0 18px 55px rgba(0,0,0,.05);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.scope-strip article:hover {
    transform: translateY(-7px);
    border-color: rgba(0,255,102,.34);
    box-shadow: 0 30px 80px rgba(0,0,0,.1);
}

.scope-strip span,
.delivery-list span {
    color: var(--cc-green-dark);
    font-size: .75rem;
    letter-spacing: .25em;
}

.scope-strip h3,
.delivery-list h3 {
    margin-top: 38px;
    font-size: 1.6rem;
    letter-spacing: -.045em;
    font-weight: 500;
}

.scope-strip p,
.delivery-list p {
    margin-top: 14px;
    color: var(--cc-muted);
    line-height: 1.75;
}

/* FEATURE IMAGE */

.featured-image-block {
    padding: 0 6% 135px;
}

.featured-image-block img {
    width: 100%;
    max-width: 1300px;
    height: 640px;

    display: block;
    margin: 0 auto;

    object-fit: cover;
    border-radius: 34px;

    box-shadow: 0 28px 90px rgba(0,0,0,.12);
}

/* GALLERY */

.gallery-section {
    padding: 135px 6%;
    background: var(--cc-dark);
    color: white;
}

.gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-header {
    max-width: 820px;
    margin-bottom: 70px;
}

.gallery-header > span {
    color: var(--cc-green);
}

.gallery-header h2 {
    max-width: 850px;
    margin-top: 24px;

    font-size: clamp(2.8rem,5vw,5.3rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

.gallery-header p {
    max-width: 650px;
    margin-top: 22px;
    color: rgba(255,255,255,.58);
    line-height: 1.8;
}

.editorial-gallery {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 52px 22px;
}

.gallery-item {
    margin: 0;
    min-width: 0;
}

.gallery-item.gallery-featured,
.gallery-item.gallery-wide {
    grid-column: 1 / -1;
}

.gallery-open {
    width: 100%;
    padding: 0;

    border: 0;
    background: transparent;
    color: inherit;

    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gallery-image-wrap {
    position: relative;
    width: 100%;
    height: 420px;

    overflow: hidden;
    border-radius: 28px;
    background: #181818;
}

.gallery-featured .gallery-image-wrap {
    height: 650px;
}

.gallery-wide .gallery-image-wrap {
    height: 540px;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    filter: brightness(.92) contrast(1.04);

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1),
        filter .4s ease;
}

.gallery-image-wrap::after {
    content: "View Image";

    position: absolute;
    right: 20px;
    bottom: 20px;

    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;

    background: rgba(0,0,0,.58);
    color: white;

    font-size: .7rem;
    letter-spacing: .13em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(8px);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.gallery-open:hover .gallery-image-wrap img {
    transform: scale(1.05);
    filter: brightness(1);
}

.gallery-open:hover .gallery-image-wrap::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item figcaption {
    padding-top: 18px;
}

.gallery-item figcaption h3 {
    color: white;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 500;
}

.gallery-item figcaption p {
    margin-top: 7px;

    color: rgba(255,255,255,.5);

    font-size: .74rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gallery-footer {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 14px 24px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;

    background: transparent;
    color: white;

    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.view-gallery-btn:hover {
    background: white;
    color: #111;
    transform: translateY(-3px);
}

/* LIGHTBOX */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 90px 40px;

    background: rgba(4,4,4,.97);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    width: min(1200px,82vw);
}

.lightbox-content > img {
    width: 100%;
    height: 72vh;
    display: block;

    object-fit: contain;
    border-radius: 16px;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;

    padding-top: 18px;
    color: white;
}

.lightbox-meta h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.lightbox-meta p {
    margin-top: 6px;

    color: rgba(255,255,255,.5);

    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    background: rgba(255,255,255,.08);
    color: white;

    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;

    width: 48px;
    height: 48px;
    font-size: 1.9rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;

    width: 52px;
    height: 52px;

    transform: translateY(-50%);
    font-size: 1.3rem;
}

.lightbox-prev {
    left: 26px;
}

.lightbox-next {
    right: 26px;
}

body.lightbox-open {
    overflow: hidden;
}

/* DELIVERY */

.delivery-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 135px 6%;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;

    background: var(--cc-light);
}

.delivery-content h2 {
    max-width: 560px;
    margin-top: 24px;

    font-size: clamp(2.6rem,4.8vw,5rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

.delivery-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.delivery-list article {
    min-height: 230px;
    padding: 28px;

    border-radius: 28px;
    background: white;
    border: 1px solid var(--cc-border);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.delivery-list article:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(0,0,0,.1);
}

/* NEXT PROJECT */

.next-project-cta {
    position: relative;
    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;
    color: white;
}

.next-project-cta > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: brightness(.58);
}

.next-project-cta::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.46),
            rgba(0,0,0,.78)
        );
}

.next-project-content {
    position: relative;
    z-index: 2;

    width: min(1100px,88%);
    margin: 0 auto;
}

.next-project-content > span {
    color: var(--cc-green);
    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.next-project-content h2 {
    max-width: 760px;
    margin-top: 22px;

    font-size: clamp(2.8rem,5vw,5.4rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

.next-project-content a {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 34px;
    padding: 14px 24px;

    border-radius: 999px;
    background: white;
    color: #111;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.next-project-content a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(255,255,255,.14);
}

/* TABLET */

@media (max-width: 1000px) {
    .project-hero,
    .project-intro,
    .delivery-section {
        grid-template-columns: 1fr;
    }

    .project-hero-image {
        height: 54vh;
        min-height: 440px;
    }

    .scope-strip {
        grid-template-columns: 1fr;
    }

    .delivery-list {
        grid-template-columns: 1fr;
    }

    .editorial-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item.gallery-featured,
    .gallery-item.gallery-wide {
        grid-column: auto;
    }

    .gallery-image-wrap,
    .gallery-featured .gallery-image-wrap,
    .gallery-wide .gallery-image-wrap {
        height: 430px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .project-hero {
        min-height: auto;
        padding: 108px 24px 70px;
    }

    .project-hero-image {
        order: 1;
        height: 48vh;
        min-height: 360px;
        border-radius: 24px;
    }

    .project-hero-content {
        order: 1;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .project-intro,
    .gallery-section,
    .delivery-section {
        padding: 95px 24px;
    }

    .scope-strip {
        padding: 0 24px 95px;
    }

    .featured-image-block {
        padding: 0 24px 95px;
    }

    .featured-image-block img {
        height: 340px;
        border-radius: 24px;
    }

    .gallery-header {
        margin-bottom: 50px;
    }

    .gallery-image-wrap,
    .gallery-featured .gallery-image-wrap,
    .gallery-wide .gallery-image-wrap {
        height: 320px;
        border-radius: 20px;
    }

    .gallery-lightbox {
        padding: 70px 20px 28px;
    }

    .lightbox-content {
        width: 100%;
    }

    .lightbox-content > img {
        height: 60vh;
    }

    .lightbox-nav {
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    .next-project-cta {
        min-height: 500px;
    }
}