
/* =========================================
   URBAN SLICE - OUR PHILOSOPHY
========================================= */

.us-philosophy {
    width: 100%;
    padding: 65px 0 35px;
    overflow: hidden;
    background: var(--us-green);
    color: var(--us-cream);
}

.us-philosophy__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    grid-template-rows: auto 1fr;
    column-gap: 12px;

    width: 78%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   HEADING
========================================= */

.us-philosophy__header {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-bottom: 28px;
}

.us-philosophy__eyebrow {
    margin: 0 0 10px 6px;

    color: rgba(242, 237, 229, 0.85);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.38em;
    line-height: 1.5;
}

.us-philosophy__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 0;

    font-size: clamp(34px, 4.5vw, 42px);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.us-philosophy__line {
    display: block;
    white-space: nowrap;
}

.us-philosophy__white {
    color: var(--us-cream);
}

.us-philosophy__yellow {
    color: var(--us-yellow);
}

.us-philosophy__red {
    color: var(--us-red);
}

.us-philosophy__heading em {
    color: var(--us-cream);
    font-weight: 400;
    font-style: italic;
}


/* =========================================
   PHOTOGRAPH GALLERY
========================================= */

.us-philosophy__gallery {
    display: contents;
}

.us-philosophy__gallery-left {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 12px;

    grid-column: 1;
    grid-row: 2;
    align-self: end;
}

.us-philosophy__image {
    overflow: hidden;
    border-radius: 9px;
    background: rgba(242, 237, 229, 0.12);
}

.us-philosophy__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.us-philosophy__image--one,
.us-philosophy__image--two {
    height: 187px;
}

.us-philosophy__image--three {
    grid-column: 2;
    grid-row: 1 / 3;

    height: 354px;
    align-self: end;
}


/* =========================================
   PAPER STATEMENT STRIP
========================================= */

.us-philosophy__paper {
    position: relative;

    display: flex;
    align-items: center;

    width: 96%;
    min-height: 105px;
    margin: 85px auto 0;
    padding: 20px 5.5%;

    background-color: #F0E7D5;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");

    background-size: cover;
    background-position: center;

    clip-path: polygon(
        0.5% 5%, 3% 4%, 5% 7%, 8% 3%, 11% 6%,
        14% 4%, 17% 7%, 20% 3%, 23% 6%, 26% 4%,
        29% 7%, 32% 3%, 35% 6%, 38% 4%, 41% 7%,
        44% 3%, 47% 6%, 50% 4%, 53% 7%, 56% 3%,
        59% 6%, 62% 4%, 65% 7%, 68% 3%, 71% 6%,
        74% 4%, 77% 7%, 80% 3%, 83% 6%, 86% 4%,
        89% 7%, 92% 3%, 95% 6%, 98% 4%, 99.5% 7%,
        99% 93%, 96% 96%, 93% 93%, 90% 97%,
        87% 94%, 84% 97%, 81% 93%, 78% 96%,
        75% 93%, 72% 97%, 69% 94%, 66% 97%,
        63% 93%, 60% 96%, 57% 93%, 54% 97%,
        51% 94%, 48% 97%, 45% 93%, 42% 96%,
        39% 93%, 36% 97%, 33% 94%, 30% 97%,
        27% 93%, 24% 96%, 21% 93%, 18% 97%,
        15% 94%, 12% 97%, 9% 93%, 6% 96%,
        3% 93%, 0.5% 96%
    );
}

.us-philosophy__paper-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.us-philosophy__statement {
    max-width: 690px;
    margin: 0;

    color: var(--us-green);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.us-philosophy__location {
    flex: 0 0 auto;
    margin: 0;

    color: var(--us-green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: right;
    text-transform: uppercase;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .us-philosophy {
        padding-top: 55px;
    }

    .us-philosophy__container {
        width: 86%;
        grid-template-columns: minmax(0, 1fr) 185px;
    }

    .us-philosophy__image--one,
    .us-philosophy__image--two {
        height: 160px;
    }

    .us-philosophy__image--three {
        height: 320px;
    }

    .us-philosophy__heading {
        font-size: clamp(30px, 4.2vw, 38px);
    }

    .us-philosophy__paper {
        margin-top: 65px;
    }

    .us-philosophy__statement {
        font-size: 15px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .us-philosophy {
        padding: 45px 0 25px;
    }

    .us-philosophy__container {
        display: grid;
        grid-template-columns: 1fr 0.75fr;
        grid-template-rows: auto auto;
        column-gap: 9px;

        width: 90%;
    }

    .us-philosophy__header {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 25px;
    }

    .us-philosophy__eyebrow {
        font-size: 8px;
    }

    .us-philosophy__heading {
        font-size: clamp(28px, 7vw, 38px);
    }

    .us-philosophy__line {
        white-space: normal;
    }

    .us-philosophy__gallery {
        display: contents;
    }

    .us-philosophy__gallery-left {
        display: flex;
        flex-direction: column;
        gap: 9px;

        grid-column: 1;
        grid-row: 2;
    }

    .us-philosophy__image--one,
    .us-philosophy__image--two {
        height: 135px;
    }

    .us-philosophy__image--three {
        grid-column: 2;
        grid-row: 2;

        height: 279px;
        align-self: stretch;
    }

    .us-philosophy__paper {
        width: 97%;
        min-height: 125px;
        margin-top: 55px;
        padding: 22px 8%;
    }

    .us-philosophy__paper-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .us-philosophy__statement {
        font-size: 13px;
    }

    .us-philosophy__location {
        font-size: 8px;
        text-align: left;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .us-philosophy__heading {
        font-size: 27px;
    }

    .us-philosophy__image--one,
    .us-philosophy__image--two {
        height: 115px;
    }

    .us-philosophy__image--three {
        height: 239px;
    }

    .us-philosophy__statement {
        font-size: 12px;
    }

}
