/* =========================================================
   COLLECTIONS PAGE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.collections-hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 720px;

    overflow: hidden;

    background: var(--ink);
    color: var(--white);
}

.collections-hero-media {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.collections-hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.08);
}

.collections-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(10, 13, 14, 0.42) 0%,
            rgba(10, 13, 14, 0.08) 40%,
            rgba(10, 13, 14, 0.58) 100%
        );
}

.collections-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    padding: 175px 3vw 42px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collections-hero-top,
.collections-hero-bottom {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.collections-hero-title {
    width: 100%;

    font-family: var(--display);
    font-size: clamp(4.8rem, 10.2vw, 10.5rem);
    font-weight: 500;
    line-height: 0.76;
    letter-spacing: -0.075em;
}

.collections-title-line {
    display: flex;
    align-items: baseline;
    gap: 2vw;

    overflow: hidden;
}

.collections-title-indent {
    padding-left: 18vw;
}

.collections-title-word,
.collections-title-serif {
    display: block;
}

.collections-title-serif {
    font-family: var(--serif);
    font-size: 0.72em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.03em;
}

.collections-hero-bottom {
    align-items: flex-end;
}

.collections-hero-bottom > span {
    max-width: 520px;

    color: rgba(255, 255, 255, 0.68);

    line-height: 1.6;
}

.collections-hero-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    color: var(--white);
}

.collections-hero-bottom a i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    font-size: 14px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.35s var(--ease);
}

.collections-hero-bottom a:hover i {
    background: var(--white);
    color: var(--ink);

    transform: translateY(4px);
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.collection-intro {
    position: relative;

    padding: 145px 0 165px;

    overflow: hidden;

    background: var(--paper);
}

.collection-intro-grid {
    margin-top: 90px;

    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 5vw;
    align-items: start;
}

.collection-intro-meta {
    padding-top: 10px;
}

.collection-intro-meta > span {
    display: block;

    margin-bottom: 35px;

    color: var(--muted);

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.collection-intro-meta p {
    max-width: 220px;
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.75;
}

.collection-intro-copy h1 {
    max-width: 1050px;
    margin: 0;

    font-family: var(--display);
    font-size: clamp(3.6rem, 6.7vw, 7.3rem);
    font-weight: 500;
    line-height: 0.91;
    letter-spacing: -0.065em;
}

.collection-intro-copy h1 em {
    display: inline-block;

    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.025em;
}

.collection-intro-copy h1 span {
    display: block;

    padding-left: 10vw;
}


/* =========================================================
   COLLECTION INDEX
   ========================================================= */

.collection-index {
    position: relative;

    padding: 120px 0 150px;

    background: var(--blue);
    color: var(--white);
}

.collection-index .section-label {
    color: var(--white);
}

.collection-index .section-label span:first-child {
    color: rgba(255, 255, 255, 0.45);
}

.collection-index-head {
    padding-bottom: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collection-index-count {
    color: rgba(255, 255, 255, 0.5);

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

.salisha-search-panel {
    margin-bottom: 70px;
    padding: 35px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.salisha-search-panel > .collection-index-count {
    display: block;
    margin-bottom: 24px;
}

.salisha-empty-state {
    padding: 42px 0;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.collection-row {
    position: relative;

    width: 100%;
    min-height: 145px;
    padding: 28px 0;

    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 180px 100px 30px;
    gap: 30px;
    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    color: var(--white);
}

.collection-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.collection-row-number {
    align-self: start;

    padding-top: 9px;

    color: rgba(255, 255, 255, 0.4);

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
}

.collection-row-title {
    display: flex;
    flex-direction: column;
}

.collection-row-title > span {
    font-family: var(--display);
    font-size: clamp(2.5rem, 4.6vw, 5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.055em;

    transition: transform 0.45s var(--ease);
}

.collection-row-title small {
    margin-top: 10px;

    color: rgba(255, 255, 255, 0.45);

    font-family: var(--display);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.collection-row-image {
    width: 180px;
    height: 100px;

    overflow: hidden;

    opacity: 0.72;

    transition:
        opacity 0.4s ease,
        transform 0.45s var(--ease);
}

.collection-row-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s var(--ease);
}

.collection-row-count {
    color: rgba(255, 255, 255, 0.5);

    font-family: var(--display);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-align: right;
}

.collection-row-arrow {
    font-family: var(--display);
    font-size: 19px;

    transition: transform 0.4s var(--ease);
}

.collection-row:hover {
    color: var(--white);
}

.collection-row:hover .collection-row-title > span {
    transform: translateX(15px);
}

.collection-row:hover .collection-row-image {
    opacity: 1;

    transform: rotate(-2deg) scale(1.05);
}

.collection-row:hover .collection-row-image img {
    transform: scale(1.08);
}

.collection-row:hover .collection-row-arrow {
    transform: translate(5px, -5px);
}


/* =========================================================
   EDITORIAL
   ========================================================= */

.collection-editorial {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--sand);
}

.collection-editorial-grid {
    width: 100%;
    min-height: 850px;

    display: grid;
    grid-template-columns: 42% 58%;
}

.collection-editorial-copy {
    position: relative;

    padding: 65px 5vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.collection-editorial-number {
    position: absolute;
    top: 55px;
    left: 5vw;

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

.collection-editorial-copy h2 {
    margin: 0;

    font-family: var(--display);
    font-size: clamp(4.3rem, 8vw, 8rem);
    font-weight: 500;
    line-height: 0.77;
    letter-spacing: -0.075em;
}

.collection-editorial-copy h2 em {
    display: inline-block;

    padding-left: 15%;

    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.03em;
}

.collection-editorial-copy p {
    max-width: 330px;

    margin: 45px 0 32px;

    font-size: 12px;
    line-height: 1.75;
}

.collection-editorial-image {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.collection-editorial-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   GALLERY
   ========================================================= */

.collection-gallery {
    position: relative;

    padding: 150px 0 180px;

    overflow: hidden;

    background: var(--paper);
}

.collection-gallery-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.collection-gallery-head p {
    width: 280px;
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}

.collection-gallery-grid {
    margin-top: 100px;

    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2vw;
    align-items: start;
}

.collection-gallery-item {
    position: relative;
}

.collection-gallery-item > span {
    display: block;

    margin-top: 13px;

    color: var(--muted);

    font-family: var(--display);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.collection-gallery-media {
    width: 100%;

    overflow: hidden;

    background: var(--paper-dark);
}

.collection-gallery-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s var(--ease);
}

.collection-gallery-item:hover img {
    transform: scale(1.045);
}

.collection-gallery-large {
    grid-column: 1 / span 7;
}

.collection-gallery-large .collection-gallery-media {
    height: 650px;
}

.collection-gallery-small {
    grid-column: 9 / span 4;

    margin-top: 150px;
}

.collection-gallery-small .collection-gallery-media {
    height: 380px;
}

.collection-gallery-tall {
    grid-column: 2 / span 4;

    margin-top: 110px;
}

.collection-gallery-tall .collection-gallery-media {
    height: 570px;
}

.collection-gallery-wide {
    grid-column: 7 / span 6;

    margin-top: 250px;
}

.collection-gallery-wide .collection-gallery-media {
    height: 440px;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.collection-statement {
    position: relative;

    min-height: 850px;
    padding: 70px 0;

    display: flex;
    align-items: stretch;

    overflow: hidden;

    background: var(--ink);
    color: var(--white);
}

.collection-statement .section-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.collection-statement-top {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.5);

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

.collection-statement-copy {
    padding: 80px 0;
}

.collection-statement-copy h2 {
    margin: 0;

    font-family: var(--display);
    font-size: clamp(4.5rem, 9vw, 9.5rem);
    font-weight: 500;
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.collection-statement-copy h2 span,
.collection-statement-copy h2 em {
    display: inline-block;

    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.03em;
}

.collection-statement-copy h2 span {
    padding-left: 15vw;

    font-style: italic;
}

.collection-statement-copy h2 em {
    padding-left: 30vw;

    font-style: italic;
}

.collection-statement-bottom {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.collection-statement-bottom p {
    width: min(350px, 35vw);
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
    line-height: 1.75;
}

.collection-statement-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--white);

    font-family: var(--display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.collection-statement-bottom a i {
    font-size: 14px;

    transition: transform 0.35s var(--ease);
}

.collection-statement-bottom a:hover i {
    transform: translate(5px, -5px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .collections-hero-content {
        padding:
            155px
            24px
            35px;
    }

    .collections-hero-title {
        font-size: clamp(4rem, 11vw, 7rem);
    }

    .collection-intro {
        padding: 110px 0 130px;
    }

    .collection-intro-grid {
        margin-top: 70px;

        grid-template-columns: 22% 1fr;
    }

    .collection-index {
        padding: 100px 0 120px;
    }

    .collection-row {
        grid-template-columns:
            45px
            minmax(0, 1fr)
            140px
            75px
            25px;

        gap: 18px;
    }

    .collection-row-image {
        width: 140px;
        height: 90px;
    }

    .collection-editorial-grid {
        min-height: 720px;

        grid-template-columns: 45% 55%;
    }

    .collection-gallery {
        padding: 110px 0 140px;
    }

    .collection-gallery-large .collection-gallery-media {
        height: 520px;
    }

    .collection-gallery-small .collection-gallery-media {
        height: 320px;
    }

    .collection-gallery-tall .collection-gallery-media {
        height: 470px;
    }

    .collection-gallery-wide .collection-gallery-media {
        height: 370px;
    }

    .collection-statement {
        min-height: 720px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .collections-hero {
        min-height: 650px;
    }

    .collections-hero-content {
        padding:
            130px
            18px
            28px;
    }

    .collections-hero-top span:last-child {
        display: none;
    }

    .collections-hero-title {
        font-size: clamp(3.6rem, 15vw, 6rem);
        line-height: 0.8;
    }

    .collections-title-line {
        gap: 10px;
    }

    .collections-title-indent {
        padding-left: 8vw;
    }

    .collections-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .collections-hero-bottom > span {
        max-width: 320px;
    }


    /* Introduction */

    .collection-intro {
        padding: 85px 0 100px;
    }

    .collection-intro-grid {
        margin-top: 50px;

        grid-template-columns: 1fr;
        gap: 45px;
    }

    .collection-intro-meta p {
        max-width: 300px;
    }

    .collection-intro-copy h1 {
        font-size: clamp(2.9rem, 12vw, 5rem);
    }

    .collection-intro-copy h1 span {
        padding-left: 0;
    }


    /* Index */

    .collection-index {
        padding: 80px 0 95px;
    }

    .collection-index-head {
        padding-bottom: 30px;
    }

    .collection-index-count {
        display: none;
    }

    .collection-row {
        min-height: auto;

        padding: 26px 0;

        grid-template-columns:
            28px
            1fr
            22px;

        gap: 12px;
    }

    .collection-row-number {
        padding-top: 5px;
    }

    .collection-row-title > span {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .collection-row-title small {
        margin-top: 7px;
    }

    .collection-row-image,
    .collection-row-count {
        display: none;
    }

    .collection-row-arrow {
        grid-column: 3;
        grid-row: 1;

        align-self: center;
    }

    .collection-row:hover .collection-row-title > span {
        transform: translateX(5px);
    }


    /* Editorial */

    .collection-editorial-grid {
        min-height: auto;

        grid-template-columns: 1fr;
    }

    .collection-editorial-copy {
        min-height: 600px;

        padding: 90px 18px 60px;
    }

    .collection-editorial-number {
        top: 32px;
        left: 18px;
    }

    .collection-editorial-copy h2 {
        font-size: clamp(4rem, 17vw, 6rem);
    }

    .collection-editorial-image {
        height: 70vh;
        min-height: 480px;
    }


    /* Gallery */

    .collection-gallery {
        padding: 90px 0 110px;
    }

    .collection-gallery-head {
        flex-direction: column;
        gap: 30px;
    }

    .collection-gallery-head p {
        width: 100%;
        max-width: 300px;
    }

    .collection-gallery-grid {
        margin-top: 65px;

        grid-template-columns: 1fr;
        gap: 55px;
    }

    .collection-gallery-large,
    .collection-gallery-small,
    .collection-gallery-tall,
    .collection-gallery-wide {
        grid-column: auto;

        margin-top: 0;
    }

    .collection-gallery-large .collection-gallery-media,
    .collection-gallery-wide .collection-gallery-media {
        height: 60vh;
        min-height: 430px;
    }

    .collection-gallery-small {
        width: 75%;
        margin-left: auto;
    }

    .collection-gallery-small .collection-gallery-media {
        height: 430px;
    }

    .collection-gallery-tall {
        width: 78%;
    }

    .collection-gallery-tall .collection-gallery-media {
        height: 500px;
    }


    /* Statement */

    .collection-statement {
        min-height: 680px;

        padding: 45px 0;
    }

    .collection-statement-copy {
        padding: 70px 0;
    }

    .collection-statement-copy h2 {
        font-size: clamp(3.8rem, 15vw, 6rem);
        line-height: 0.82;
    }

    .collection-statement-copy h2 span {
        padding-left: 8vw;
    }

    .collection-statement-copy h2 em {
        padding-left: 15vw;
    }

    .collection-statement-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .collection-statement-bottom p {
        width: 90%;
        max-width: 330px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .collections-hero-title {
        font-size: 14.5vw;
    }

    .collections-title-serif {
        font-size: 0.7em;
    }

    .collection-intro-copy h1 {
        font-size: 11.5vw;
    }

    .collection-editorial-copy h2 {
        font-size: 16vw;
    }

    .collection-gallery-small,
    .collection-gallery-tall {
        width: 88%;
    }

    .collection-statement-copy h2 {
        font-size: 14vw;
    }
}
