/* ========================================
   PROJECT PAGE
======================================== */

.project-page {
    overflow: hidden;
}


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

.project-hero {
    position: relative;
    min-height: 91vh;
    padding: 10px max(6vw, 30px) 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.project-hero-number {
    position: absolute;
    top: 80px;
    right: max(6vw, 30px);
    margin: 0;
    font-size: 14px;
    letter-spacing: .15em;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.project-hero h1 {
    margin: 0;
    font-size: clamp(72px, 12vw, 180px);
    line-height: .85;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.project-jp {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: .12em;
}

.project-tagline {
    margin-top: 55px;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.25;
    max-width: 650px;
}

.project-hero .wp-block-separator {
    width: 160px;
    margin: 35px 0 0;
}

.project-hero-bgtext {
    position: absolute;
    margin: 0;
    right: 1vw;
    bottom: 0.01em;
    font-size: clamp(120px, 20vw, 330px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
    opacity: .035;
    white-space: nowrap;
    pointer-events: none;
}


/* ========================================
   COMMON SECTION SETTINGS
======================================== */

.project-intro,
.project-approach,
.project-list,
.project-next {
    padding: 130px max(6vw, 30px);
}

.section-index,
.project-section-title > p:first-child {
    font-size: 13px;
    letter-spacing: .15em;
}

.project-section-title {
    margin-bottom: 70px;
}

.project-section-title h2 {
    margin: 8px 0 0;
    font-size: clamp(42px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.project-section-title h2 + p {
    margin-top: 12px;
    font-size: 14px;
}


/* ========================================
   INTRODUCTION
======================================== */

.project-intro {

}

.project-intro h2 {
    margin-top: 15px;
    font-size: clamp(30px, 3.5vw, 50px);
    line-height: 1.05;
}

.project-intro-heading {
    margin: 0;
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    max-width: 900px;
}

.project-intro-text {
    margin-top: 40px;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.9;
}


/* ========================================
   APPROACH
======================================== */

.project-approach {

}

.approach-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.approach-card {
    position: relative;
    width: min(720px, 78%);
    padding: clamp(45px, 6vw, 70px);
    min-height: 330px;
    overflow: hidden;
}

.approach-card > p:first-child {
    margin: 0 0 70px;
    font-size: 14px;
    letter-spacing: .15em;
}

.approach-card h3 {
    margin: 0;
    font-size: clamp(30px, 6vw, 65px);
    line-height: .9;
    
}

.approach-card h3 + p {
    margin-top: 15px;
    font-size: 14px;
}

.approach-card > p:last-child {
    margin-top: 35px;
    max-width: 430px;
    line-height: 1.75;
}

.card-create {
    align-self: flex-start;
    
}

.card-support {
    align-self: flex-end;
    
}

.card-connect {
    align-self: flex-start;
    
}


/* ========================================
   PROJECT LIST
======================================== */

.project-list {

}

.project-entry {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 28px 0 40px;
}

.project-entry-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.project-entry-top p {
    margin: 0;
    font-size: 13px;
    letter-spacing: .14em;
}

.project-entry h3 {
    font-size: clamp(45px, 6vw, 90px);
    line-height: .95;
    letter-spacing: -0.05em;
    margin: 15px 0 30px;
}

.project-entry .wp-block-button__link {
    margin-top: 25px;
    border-radius: 0;
    background: transparent;
    color: inherit;
    border-bottom: 1px solid currentColor;
    padding: 10px 0;
}

.project-visual {
    position: relative;
    min-height: 430px;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-visual p {
    margin: 0;
    font-size: clamp(130px, 15vw, 230px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.08em;
    opacity: .12;
}

.project-meta {
    display: flex;
    gap: 50px;
    margin-top: 35px;
}

.project-meta p {
    margin: 0;
    font-size: 12px;
    letter-spacing: .1em;
}


/* ========================================
   VISION
======================================== */

.project-vision {
    position: relative;
    padding: 160px max(6vw, 30px);
    min-height: 650px;

    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-vision > *:not(.vision-bgtext) {
    position: relative;
    z-index: 2;
}

.project-vision h2 {
    max-width: 1000px;
    margin: 40px 0 30px;
    font-size: clamp(48px, 8vw, 110px);
    line-height: .95;
    letter-spacing: -0.05em;
}

.project-vision > p:last-child {
    max-width: 580px;
    font-size: 17px;
    line-height: 1.8;
}

.vision-bgtext {
    position: absolute;
    margin: 0;
    left: -2vw;
    bottom: -0.2em;
    font-size: 22vw;
    font-weight: 700;
    line-height: 1;
    opacity: .04;
    pointer-events: none;
}


/* ========================================
   NEXT LINKS
======================================== */

.project-next > p:first-child {
    margin-bottom: 50px;
    font-size: 13px;
    letter-spacing: .14em;
}

.next-link {
    border-top: 1px solid #ccc;
    padding: 30px 0;
    transition: padding .25s ease;
}

.next-link:last-child {
    border-bottom: 1px solid #ccc;
}

.next-link h3 {
    margin: 0;
    font-size: clamp(32px, 4vw, 62px);
    letter-spacing: -0.03em;
}

.next-link:hover {
    padding-left: 25px;
}


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

@media (max-width: 781px) {

    .project-hero {
        min-height: 620px;
        padding-top: 110px;
    }

    .project-hero-number {
        top: 45px;
    }

    .project-intro,
    .project-approach,
    .project-list,
    .project-next {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .project-intro .wp-block-columns,
    .project-entry .wp-block-columns {
        gap: 60px;
    }

    .approach-card {
        width: 100%;
        min-height: auto;
    }

    .card-support {
        align-self: flex-start;
    }

    .project-entry-top {
        margin-bottom: 50px;
    }

    .project-visual {
        min-height: 300px;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .project-vision {
        padding-top: 110px;
        padding-bottom: 110px;
        min-height: 550px;
    }
}