/*
 * SIBSOKNSK
 * Works / Portfolio Production V2
 */


/* =========================================
   HERO
========================================= */

.works-pro-hero,
.project-pro-hero {
    position: relative;
    overflow: hidden;
    padding:
        clamp(155px, 16vw, 225px)
        0
        58px;
    background: #101112;
}

.works-pro-hero {
    min-height: 690px;
}

.project-pro-hero {
    min-height: 650px;
}

.works-pro-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .31;
    background-image:
        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );
    background-size: 84px 84px;
}

.works-pro-hero-glow {
    position: absolute;
    width: 760px;
    height: 760px;
    top: -360px;
    right: -180px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(190,135,72,.21),
            transparent 68%
        );
}

.works-pro-hero-layout {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0,1.45fr)
        minmax(280px,.6fr);
    align-items: end;
    gap: clamp(60px,9vw,145px);
}

.works-pro-kicker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.works-pro-kicker span,
.works-pro-kicker a {
    color: rgba(235,232,224,.42);
    font-size: 10px;
    letter-spacing: .18em;
    text-decoration: none;
}

.works-pro-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-size:
        clamp(68px,9.6vw,145px);
    line-height: .86;
    letter-spacing: -.055em;
}

.works-pro-hero h1 span {
    color: rgba(207,154,91,.96);
}

.works-pro-hero-aside {
    padding-bottom: 4px;
}

.works-pro-hero-aside > p,
.works-pro-term-description {
    max-width: 420px;
    margin: 0 0 58px;
    color: rgba(235,232,224,.61);
    font-size:
        clamp(16px,1.35vw,20px);
    line-height: 1.7;
}

.works-pro-term-description p {
    margin: 0;
}

.works-pro-count {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding-top: 24px;
    border-top:
        1px solid rgba(255,255,255,.14);
}

.works-pro-count strong {
    color: rgba(207,154,91,.96);
    font-size: 54px;
    line-height: .9;
    font-weight: 400;
}

.works-pro-count span {
    color: rgba(235,232,224,.43);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.works-pro-hero-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top:
        clamp(75px,9vw,135px);
    padding-top: 26px;
    border-top:
        1px solid rgba(255,255,255,.14);
}

.works-pro-hero-bottom > span {
    color: rgba(235,232,224,.43);
    font-size: 12px;
}

.works-pro-hero-bottom > a {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    color: rgba(235,232,224,.62);
    font-size: 10px;
    letter-spacing: .18em;
    text-decoration: none;
}

.works-pro-hero-bottom i {
    width: 30px;
    height: 1px;
    display: block;
    background:
        rgba(207,154,91,.94);
}


/* =========================================
   ARCHIVE CONTENT
========================================= */

.works-pro-content {
    padding:
        clamp(90px,10vw,155px)
        0;
}

.works-pro-heading {
    display: grid;
    grid-template-columns:
        minmax(0,1.3fr)
        minmax(250px,.6fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 55px;
}

.works-pro-heading h2 {
    margin: 16px 0 0;
    font-size:
        clamp(40px,5vw,76px);
    line-height: 1;
    letter-spacing: -.04em;
}

.works-pro-heading > p {
    max-width: 420px;
    margin: 0;
    color: rgba(235,232,224,.55);
    line-height: 1.7;
}


/* =========================================
   CATEGORY NAV
========================================= */

.works-pro-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 55px;
}

.works-pro-nav a {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border:
        1px solid rgba(255,255,255,.14);
    color: rgba(235,232,224,.63);
    text-decoration: none;
    font-size: 11px;
    transition:
        border-color 200ms ease,
        background 200ms ease,
        color 200ms ease;
}

.works-pro-nav small {
    color: rgba(207,154,91,.82);
    font-size: 9px;
}

.works-pro-nav a:hover,
.works-pro-nav a.is-active {
    border-color:
        rgba(207,154,91,.46);
    background:
        rgba(207,154,91,.08);
    color: #f0ede6;
}


/* =========================================
   CARDS
========================================= */

.works-pro-grid {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:
        clamp(40px,5vw,75px)
        24px;
}

.works-pro-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.works-pro-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border:
        1px solid rgba(255,255,255,.09);
    background: #171819;
}

.works-pro-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 500ms ease,
        filter 500ms ease;
}

.works-pro-card:hover
.works-pro-card-media img {
    transform: scale(1.025);
    filter: brightness(1.04);
}

.works-pro-card-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    text-align: center;
    background:
        radial-gradient(
            circle at 72% 28%,
            rgba(202,149,87,.13),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #202123,
            #101112
        );
}

.works-pro-card-placeholder span {
    color: rgba(207,154,91,.20);
    font-size:
        clamp(80px,10vw,150px);
}

.works-pro-card-placeholder small {
    color: rgba(235,232,224,.3);
    font-size: 9px;
    letter-spacing: .2em;
}

.works-pro-card-index {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background:
        rgba(13,14,15,.86);
    color:
        rgba(220,174,116,.96);
    font-size: 18px;
    backdrop-filter: blur(8px);
}

.works-pro-card-body {
    padding-top: 23px;
}

.works-pro-card-meta {
    min-height: 17px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 15px;
}

.works-pro-card-meta span {
    color:
        rgba(207,154,91,.81);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.works-pro-card h2 {
    margin: 0 0 14px;
    font-size:
        clamp(29px,3vw,46px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.works-pro-card p {
    max-width: 650px;
    margin: 0 0 22px;
    color:
        rgba(235,232,224,.54);
    line-height: 1.65;
}

.works-pro-more {
    color:
        rgba(235,232,224,.43);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}


/* =========================================
   EMPTY STATE
========================================= */

.works-pro-empty {
    display: grid;
    grid-template-columns:
        85px
        minmax(0,1fr);
    align-items: center;
    gap: 35px;
    min-height: 250px;
    padding: 38px 36px;
    border:
        1px solid rgba(255,255,255,.13);
    background:
        linear-gradient(
            120deg,
            rgba(207,154,91,.055),
            rgba(255,255,255,.015)
        );
}

.works-pro-empty-number {
    color:
        rgba(207,154,91,.78);
    font-size: 11px;
    letter-spacing: .18em;
}

.works-pro-empty h2 {
    margin: 13px 0 12px;
    font-size:
        clamp(30px,4vw,56px);
    line-height: 1.03;
}

.works-pro-empty p {
    max-width: 650px;
    margin: 0;
    color:
        rgba(235,232,224,.56);
    line-height: 1.7;
}


/* =========================================
   PAGINATION
========================================= */

.works-pro-pagination {
    margin-top: 70px;
}

.works-pro-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.works-pro-pagination
.page-numbers {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border:
        1px solid rgba(255,255,255,.13);
    color:
        rgba(235,232,224,.61);
    text-decoration: none;
}

.works-pro-pagination
.page-numbers.current {
    border-color:
        rgba(207,154,91,.5);
    background:
        rgba(207,154,91,.09);
    color:
        rgba(225,181,125,.98);
}


/* =========================================
   PROJECT SINGLE HERO
========================================= */

.project-pro-topline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom:
        clamp(65px,8vw,110px);
}

.project-pro-topline a,
.project-pro-topline span {
    color:
        rgba(235,232,224,.43);
    font-size: 10px;
    letter-spacing: .14em;
    text-decoration: none;
}

.project-pro-heading {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0,1.35fr)
        minmax(240px,.55fr);
    gap:
        clamp(60px,9vw,140px);
    align-items: end;
}

.project-pro-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
}

.project-pro-categories a {
    color:
        rgba(207,154,91,.88);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
}

.project-pro-heading h1 {
    max-width: 1020px;
    margin: 25px 0 0;
    font-size:
        clamp(58px,8vw,125px);
    line-height: .89;
    letter-spacing: -.058em;
}

.project-pro-lead {
    max-width: 720px;
    margin: 34px 0 0;
    color:
        rgba(235,232,224,.63);
    font-size:
        clamp(18px,1.6vw,22px);
    line-height: 1.65;
}

.project-pro-meta {
    display: grid;
    gap: 30px;
}

.project-pro-meta div {
    padding-bottom: 23px;
    border-bottom:
        1px solid rgba(255,255,255,.13);
}

.project-pro-meta span {
    display: block;
    margin-bottom: 9px;
    color:
        rgba(235,232,224,.38);
    font-size: 9px;
    letter-spacing: .18em;
}

.project-pro-meta strong {
    color:
        rgba(235,232,224,.82);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================
   COVER
========================================= */

.project-pro-cover {
    position: relative;
    overflow: hidden;
    height:
        min(79vh, 940px);
    min-height: 520px;
    background: #111214;
}

.project-pro-cover-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-pro-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            #171819,
            #0d0e0f
        );
}

.project-pro-cover-placeholder span {
    color:
        rgba(235,232,224,.25);
    font-size: 10px;
    letter-spacing: .2em;
}


/* =========================================
   STORY
========================================= */

.project-pro-story {
    padding:
        clamp(95px,11vw,165px)
        0;
    background: #ece7de;
    color: #151617;
}

.project-pro-story-head {
    display: grid;
    grid-template-columns:
        minmax(150px,.35fr)
        minmax(0,1.65fr);
    gap: 60px;
    margin-bottom: 65px;
}

.project-pro-story-head
.eyebrow {
    color: #806c4d;
}

.project-pro-story-head h2 {
    max-width: 900px;
    margin: 0;
    font-size:
        clamp(45px,6vw,88px);
    line-height: .98;
    letter-spacing: -.05em;
}

.project-pro-story-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    border-top:
        1px solid rgba(0,0,0,.17);
    border-left:
        1px solid rgba(0,0,0,.17);
}

.project-pro-story-grid article {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-right:
        1px solid rgba(0,0,0,.17);
    border-bottom:
        1px solid rgba(0,0,0,.17);
}

.project-pro-story-grid
article > span {
    color: #806c4d;
    font-size: 9px;
    letter-spacing: .18em;
}

.project-pro-story-grid h3 {
    margin:
        auto
        0
        24px;
    font-size:
        clamp(28px,3vw,43px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.project-pro-story-grid p {
    margin: 0;
    color: #66615a;
    line-height: 1.7;
}


/* =========================================
   GALLERY / EDITOR
========================================= */

.project-pro-gallery-section {
    padding:
        clamp(95px,11vw,165px)
        0;
    background: #101112;
}

.project-pro-gallery-head {
    display: grid;
    grid-template-columns:
        minmax(0,1.3fr)
        minmax(250px,.6fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 65px;
}

.project-pro-gallery-head h2 {
    margin: 16px 0 0;
    font-size:
        clamp(42px,5.5vw,82px);
    line-height: 1;
    letter-spacing: -.045em;
}

.project-pro-gallery-head > p {
    max-width: 420px;
    margin: 0;
    color:
        rgba(235,232,224,.54);
    line-height: 1.7;
}

.project-pro-editor-content {
    color:
        rgba(235,232,224,.78);
}

.project-pro-editor-content
> :first-child {
    margin-top: 0;
}

.project-pro-editor-content p {
    max-width: 850px;
    color:
        rgba(235,232,224,.61);
    font-size: 18px;
    line-height: 1.75;
}

.project-pro-editor-content img {
    width: 100%;
    height: auto;
    display: block;
}

.project-pro-editor-content
.wp-block-image {
    margin:
        clamp(30px,5vw,70px)
        0;
}

.project-pro-editor-content
.wp-block-gallery {
    display: grid !important;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 16px !important;
    margin:
        clamp(45px,6vw,85px)
        0;
}

.project-pro-editor-content
.wp-block-gallery
.wp-block-image {
    width: 100% !important;
    margin: 0 !important;
}

.project-pro-editor-content
.wp-block-gallery img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}


/* =========================================
   RELATED
========================================= */

.project-pro-related {
    padding:
        clamp(90px,10vw,150px)
        0;
}

.project-pro-related-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.project-pro-related-head h2 {
    margin: 15px 0 0;
    font-size:
        clamp(38px,4.5vw,68px);
    line-height: 1;
}

.project-pro-related-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 20px;
}

.project-pro-related-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-pro-related-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            rgba(207,154,91,.08),
            rgba(255,255,255,.02)
        );
}

.project-pro-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-pro-related-media > span {
    color:
        rgba(207,154,91,.18);
    font-size: 90px;
}

.project-pro-related-copy {
    padding-top: 19px;
}

.project-pro-related-copy > span {
    display: block;
    margin-bottom: 10px;
    color:
        rgba(207,154,91,.82);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project-pro-related-card h3 {
    margin: 0;
    font-size:
        clamp(23px,2.1vw,31px);
    line-height: 1.08;
}


/* =========================================
   CTA
========================================= */

.project-pro-cta {
    position: relative;
    overflow: hidden;
    padding:
        clamp(95px,11vw,170px)
        0;
    background: #101112;
}

.project-pro-cta-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -230px;
    bottom: -350px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(190,135,72,.2),
            transparent 68%
        );
}

.project-pro-cta-grid {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0,1.4fr)
        minmax(280px,.65fr);
    gap:
        clamp(60px,9vw,140px);
    align-items: end;
}

.project-pro-cta h2 {
    max-width: 900px;
    margin: 20px 0 0;
    font-size:
        clamp(44px,6vw,88px);
    line-height: .98;
    letter-spacing: -.05em;
}

.project-pro-cta-grid
> div:last-child p {
    max-width: 490px;
    margin: 0 0 30px;
    color:
        rgba(235,232,224,.58);
    line-height: 1.7;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .project-pro-story-grid {
        grid-template-columns: 1fr;
    }

    .project-pro-story-grid article {
        min-height: 300px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .works-pro-hero,
    .project-pro-hero {
        min-height: auto;
        padding:
            130px
            0
            42px;
    }

    .works-pro-hero-layout,
    .works-pro-heading,
    .project-pro-heading,
    .project-pro-story-head,
    .project-pro-gallery-head,
    .project-pro-cta-grid {
        grid-template-columns: 1fr;
    }

    .works-pro-hero-layout,
    .project-pro-heading {
        gap: 55px;
    }

    .works-pro-hero h1 {
        font-size:
            clamp(58px,18vw,88px);
    }

    .works-pro-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 60px;
    }

    .works-pro-grid {
        grid-template-columns: 1fr;
    }

    .works-pro-empty {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 23px;
        padding: 28px 24px;
    }

    .project-pro-heading h1 {
        font-size:
            clamp(51px,15vw,80px);
    }

    .project-pro-cover {
        min-height: 340px;
        height: 78vw;
    }

    .project-pro-story-head,
    .project-pro-gallery-head {
        gap: 30px;
    }

    .project-pro-editor-content
    .wp-block-gallery {
        grid-template-columns: 1fr;
    }

    .project-pro-editor-content
    .wp-block-gallery img {
        min-height: 0;
    }

    .project-pro-related-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-pro-related-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .works-pro-card-media img,
    .works-pro-nav a {
        transition: none;
    }

}
