/* WORKS page */
.works-page-hero {
    padding: 190px 0 125px;
    background: #f7f7f7;
    border-bottom: 1px solid #d8d8d8;
    overflow: hidden
}

.works-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    min-height: 390px
}

.works-page-hero h1 {
    font-size: 60px;
    line-height: 1.3;
    letter-spacing: .08em;
    margin: 0 0 28px;
    font-weight: 800
}

.works-page-hero h1 em {
    font-style: normal;
    position: relative;
    z-index: 1
}

.works-page-hero h1 em:after {
    content: "";
    position: absolute;
    left: 0;
    right: 4%;
    bottom: 7px;
    height: 8px;
    background: #cfcfcf;
    z-index: -1
}

.works-hero-lead {
    font-size: 17px;
    line-height: 2.1;
    color: #666;
    margin: 0
}

.works-hero-index {
    justify-self: end;
    width: 310px;
    height: 310px;
    border: 1px solid #aaa;
    background: #fff;
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(4deg)
}

.works-hero-index span {
    font-size: 10px;
    letter-spacing: .2em
}

.works-hero-index b {
    font-size: 115px;
    line-height: .9;
    font-weight: 400;
    letter-spacing: .02em
}

.works-hero-index i {
    display: block;
    width: 100%;
    border-top: 1px solid #111
}

.works-hero-index small {
    font-size: 10px;
    letter-spacing: .18em;
    line-height: 1.4
}

.case-studies {
    background: #fff
}

.case-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px
}

.case-intro>p:last-child {
    font-size: 13px;
    line-height: 2;
    color: #666;
    margin: 0
}

.case-study {
    margin-bottom: 130px
}

.case-visual {
    min-height: 510px;
    /* border: 1px solid #bbb; */
    position: relative;
    overflow: hidden;
    padding: 25px 30px;
    /* background: #eee */
}

.visual-topline,
.visual-bottomline {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: .16em;
    color: #666
}

.visual-bottomline {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 23px
}

.visual-clinic {
    background: #e6e6e6
}

.visual-cafe {
    /* background: #ddd */
}

.visual-green {
    background: #ececec
}

.clinic-layout,
.cafe-layout,
.green-layout {
    position: absolute;
    inset: 85px 9% 72px
}

.clinic-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center
}

.clinic-copy small,
.green-copy small,
.cafe-copy small {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    margin-bottom: 22px
}

.clinic-copy strong {
    display: block;
    font-size: clamp(36px, 5vw, 76px);
    line-height: 1.03;
    letter-spacing: .03em
}

.clinic-copy em,
.green-copy em {
    font-style: normal;
    color: #555
}

.clinic-copy span,
.green-copy span,
.cafe-copy span {
    display: block;
    margin-top: 25px;
    font-size: 12px;
    color: #666
}

.clinic-panel {
    height: 260px;
    background: #fff;
    border: 1px solid #aaa;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 25px;
    box-shadow: 18px 18px 0 #bbb
}

.clinic-panel b {
    font-size: 160px;
    line-height: .7;
    font-weight: 400;
    color: #d0d0d0
}

.clinic-panel span {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .15em
}

.cafe-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13%
}

.cafe-stamp {
    width: 170px;
    height: 170px;
    border: 1px solid #111;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 54px;
    line-height: .8;
    font-weight: 800;
    transform: rotate(-11deg)
}

.cafe-stamp small {
    font-size: 10px;
    letter-spacing: .12em
}

.cafe-copy strong {
    font-size: clamp(35px, 5vw, 73px);
    line-height: 1.02;
    letter-spacing: .03em;
    display: block
}

.cafe-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #aaa;
    position: absolute;
    right: 4%;
    z-index: -1
}

.green-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center
}

.green-copy strong {
    display: block;
    font-size: clamp(42px, 6vw, 86px);
    line-height: .94;
    letter-spacing: .01em
}

.green-plant {
    height: 330px;
    position: relative
}

.green-plant:before {
    content: "";
    position: absolute;
    bottom: 22px;
    left: 47%;
    width: 110px;
    height: 80px;
    background: #777;
    border-radius: 0 0 46px 46px
}

.green-plant:after {
    content: "";
    position: absolute;
    bottom: 92px;
    left: 52%;
    width: 1px;
    height: 170px;
    background: #111
}

.green-plant i {
    position: absolute;
    display: block;
    background: #555;
    width: 35px;
    height: 130px;
    border-radius: 100% 0 100% 0;
    transform-origin: bottom;
    bottom: 120px;
    left: 52%
}

.green-plant .leaf-one {
    transform: rotate(-38deg)
}

.green-plant .leaf-two {
    transform: rotate(14deg);
    background: #333;
    height: 150px
}

.green-plant .leaf-three {
    transform: rotate(43deg);
    background: #999;
    height: 115px
}

.case-content {
    border-bottom: 1px solid #bbb;
    padding: 34px 0 38px
}

.case-title {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: baseline;
    gap: 24px;
    /* border-bottom: 1px solid #ccc; */
    padding-bottom: 22px
}

.case-title p {
    font-size: 10px;
    letter-spacing: .15em;
    margin: 0;
    color: #777
}

.case-title h2 {
    font-size: 28px;
    letter-spacing: .09em;
    margin: 0
}

.case-title>span {
    font-size: 11px;
    color: #666
}

.case-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    padding-top: 27px
}

.case-columns h3 {
    font-size: 11px;
    letter-spacing: .14em;
    border-left: 3px solid #111;
    padding-left: 10px;
    margin: 0 0 12px
}

.case-columns p,
.case-columns li {
    font-size: 12px;
    line-height: 1.9;
    color: #666
}

.case-columns p {
    margin: 0
}

.case-columns ul {
    padding: 0;
    margin: 0;
    list-style: none
}

.case-columns li:before {
    content: "—";
    color: #111;
    margin-right: 6px
}

.works-cta {
    padding-top: 40px;
    background: #fafafa
}

.works-cta-box {
    background: #ededed;
    border: 1px solid #cfcfcf;
    padding: 64px 9%;
    display: flex;
    align-items: end;
    justify-content: space-between
}

.works-cta-box h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.5;
    margin: 0 0 18px;
    letter-spacing: .07em
}

.works-cta-box h2 span {
    color: #111;
    border-bottom: 6px solid #ccc
}

.works-cta-box>div>p:not(.section-kicker) {
    font-size: 13px;
    color: #666;
    margin: 0
}

@media(min-width:801px) {
    .case-studies>.container {
        max-width: 1320px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 36px;
        row-gap: 82px
    }

    .case-studies .case-intro {
        grid-column: 1/-1
    }

    .case-study {
        margin-bottom: 0;
        min-width: 0
    }

    .case-visual {
        min-height: 0px;
        padding: 0px;
    }

    .visual-bottomline {
        left: 22px;
        right: 22px;
        bottom: 18px
    }

    .case-art {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover
    }

    .case-content {
        padding: 26px 0 30px
    }

    .case-title {
        display: block;
        padding-bottom: 18px
    }

    .case-title p {
        margin-bottom: 9px
    }

    .case-title h2 {
        font-size: 24px;
        margin-bottom: 9px
    }

    .case-title>span {
        font-size: 10px
    }

    .case-columns {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding-top: 22px
    }

    .case-columns>div:last-child {
        grid-column: 1/-1;
        border-top: 1px solid #ddd;
        padding-top: 18px
    }

    .case-columns p,
    .case-columns li {
        font-size: 11px
    }

    .case-study:last-of-type {
        /* grid-column: 1/2 */
    }
}

.case-art {
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, filter .45s ease
}

.case-study:hover .case-art {
    transform: scale(1.025);
    filter: contrast(1.04)
}

@media(max-width:800px) {
    .works-page-hero {
        padding: 135px 0 80px
    }

    .works-hero-inner {
        grid-template-columns: 1fr;
        gap: 55px;
        min-height: 0
    }

    .works-page-hero h1 {
        font-size: 46px
    }

    .works-hero-lead {
        font-size: 14px
    }

    .works-hero-index {
        justify-self: center;
        width: 250px;
        height: 250px
    }

    .works-hero-index b {
        font-size: 90px
    }

    .case-intro {
        display: block;
        margin-bottom: 42px
    }

    .case-intro>p:last-child {
        margin-top: 20px
    }

    .case-study {
        margin-bottom: 90px
    }

    .case-visual {
        min-height: 0px;
        padding: 0
    }

    .visual-topline {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px
    }

    .visual-bottomline {
        left: 20px;
        right: 20px;
        bottom: 18px;
        z-index: 3
    }

    .case-art {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 250px;
        object-fit: cover
    }

    .clinic-layout,
    .cafe-layout,
    .green-layout {
        inset: 75px 7% 62px
    }

    .clinic-layout,
    .green-layout {
        grid-template-columns: 1fr
    }

    .clinic-panel {
        height: 170px;
        margin-top: 28px;
        box-shadow: 10px 10px 0 #bbb
    }

    .clinic-panel b {
        font-size: 110px
    }

    .cafe-layout {
        gap: 10%;
        flex-direction: column
    }

    .cafe-stamp {
        width: 125px;
        height: 125px;
        font-size: 38px
    }

    .cafe-circle {
        width: 170px;
        height: 170px;
        right: 10%;
        bottom: 8%
    }

    .cafe-copy {
        text-align: center
    }

    .green-plant {
        height: 190px;
        margin-top: 28px
    }

    .green-plant:before {
        bottom: 0
    }

    .green-plant:after {
        bottom: 70px;
        height: 110px
    }

    .green-plant i {
        bottom: 82px;
        height: 90px
    }

    .green-plant .leaf-two {
        height: 110px
    }

    .green-plant .leaf-three {
        height: 80px
    }

    .case-title {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .case-title h2 {
        font-size: 23px
    }

    .case-columns {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .works-cta {
        padding-top: 0
    }

    .works-cta-box {
        display: block;
        padding: 50px 30px
    }

    .works-cta-box .button {
        margin-top: 32px
    }
}