/* =========================================================
   PAMORA
   MADE FOR EVERY SCENE
   LIQUID GLASS EDITORIAL SECTION
========================================================= */

.pamora-every-scene {

    position: relative;

    width: 100%;

    padding: 100px 0 105px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(214,232,221,.72),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(212,173,98,.07),
            transparent 28%
        ),
        var(--pamora-pearl);

    color: var(--pamora-ink);

}


/* =========================================================
   HEADER
========================================================= */

.pamora-every-scene-head {

    width: min(1240px, calc(100% - 40px));

    margin: 0 auto 45px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

}


.pamora-every-scene-eyebrow {

    display: block;

    margin-bottom: 13px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 9px;

    font-weight: 500;

    line-height: 1;

    letter-spacing: .18em;

    text-transform: uppercase;

    color: var(--pamora-emerald);

    opacity: .62;

}


.pamora-every-scene-heading h2 {

    max-width: 700px;

    margin: 0;

    font-family: "Instrument Serif", serif;

    font-size: clamp(48px, 6vw, 76px);

    font-weight: 400;

    line-height: .88;

    letter-spacing: -.035em;

}


.pamora-every-scene-intro {

    max-width: 210px;

    margin: 0 0 4px;

    font-family: "Manrope", sans-serif;

    font-size: 10px;

    line-height: 1.5;

    text-align: right;

    color: var(--pamora-ink);

    opacity: .48;

}


/* =========================================================
   CARD TRACK
========================================================= */

.pamora-every-scene-track {

    width: min(1240px, calc(100% - 40px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

}


/* =========================================================
   CARD
========================================================= */

.pamora-scene-card {

    position: relative;

    min-width: 0;

    aspect-ratio: .76;

    border-radius: 28px;

    overflow: hidden;

    background: var(--pamora-mint);

    border: 1px solid rgba(255,255,255,.72);

    box-shadow:
        0 25px 60px rgba(12,21,18,.09),
        0 5px 15px rgba(12,21,18,.035),
        inset 0 1px 0 rgba(255,255,255,.9);

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1),
        box-shadow .55s ease;

}


.pamora-scene-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 34px 75px rgba(12,21,18,.13),
        0 8px 22px rgba(12,21,18,.05),
        inset 0 1px 0 rgba(255,255,255,.95);

}


/* =========================================================
   LINK
========================================================= */

.pamora-scene-card-link {

    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   IMAGE
========================================================= */

.pamora-scene-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

    background: var(--pamora-mint);

}


.pamora-scene-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(12,21,18,.02) 25%,
            rgba(12,21,18,.08) 45%,
            rgba(12,21,18,.72) 100%
        );

    pointer-events: none;

}


.pamora-scene-image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform 1000ms cubic-bezier(.2,.8,.2,1);

}


.pamora-scene-card:hover
.pamora-scene-image img {

    transform: scale(1.055);

}


/* =========================================================
   TOP TIME GLASS
========================================================= */

.pamora-scene-time {

    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 4;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    min-height: 31px;

    padding: 0 11px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.72);

    background:
        rgba(255,255,255,.3);

    color: #fff;

    box-shadow:
        0 7px 18px rgba(12,21,18,.08),
        inset 0 1px 0 rgba(255,255,255,.45);

    backdrop-filter:
        blur(16px)
        saturate(135%);

    -webkit-backdrop-filter:
        blur(16px)
        saturate(135%);

}


.pamora-scene-time i {

    font-size: 9px;

}


.pamora-scene-time span {

    font-family: "IBM Plex Mono", monospace;

    font-size: 7px;

    font-weight: 500;

    letter-spacing: .1em;

}


/* =========================================================
   LIQUID GLASS CONTENT PANEL
========================================================= */

.pamora-scene-glass {

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 12px;

    z-index: 5;

    padding: 20px 20px 18px;

    border-radius: 21px;

    border: 1px solid rgba(255,255,255,.52);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.38),
            rgba(255,255,255,.15)
        );

    box-shadow:
        0 14px 35px rgba(12,21,18,.12),
        inset 0 1px 0 rgba(255,255,255,.52);

    backdrop-filter:
        blur(25px)
        saturate(145%);

    -webkit-backdrop-filter:
        blur(25px)
        saturate(145%);

    color: #fff;

}


/* =========================================================
   SCENE NAME
========================================================= */

.pamora-scene-name {

    display: block;

    margin-bottom: 8px;

    font-family: "IBM Plex Mono", monospace;

    font-size: 7px;

    font-weight: 500;

    line-height: 1;

    letter-spacing: .16em;

    text-transform: uppercase;

    color: rgba(255,255,255,.78);

}


/* =========================================================
   TITLE
========================================================= */

.pamora-scene-glass h3 {

    margin: 0;

    font-family: "Instrument Serif", serif;

    font-size: 29px;

    font-weight: 400;

    line-height: .95;

    letter-spacing: -.018em;

    color: #fff;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.pamora-scene-glass p {

    margin: 10px 0 16px;

    max-width: 230px;

    font-family: "Manrope", sans-serif;

    font-size: 8px;

    line-height: 1.45;

    color: rgba(255,255,255,.78);

}


/* =========================================================
   CTA
========================================================= */

.pamora-scene-cta {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding-bottom: 4px;

    border-bottom: 1px solid rgba(255,255,255,.5);

    font-family: "Manrope", sans-serif;

    font-size: 8px;

    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: .06em;

    color: #fff;

}


.pamora-scene-cta i {

    font-size: 10px;

    transition:
        transform .3s ease;

}


.pamora-scene-card:hover
.pamora-scene-cta i {

    transform:
        translate(2px,-2px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .pamora-every-scene-track {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .pamora-every-scene {

        padding: 72px 0 65px;

        background:
            radial-gradient(
                circle at 80% 5%,
                rgba(214,232,221,.72),
                transparent 38%
            ),
            var(--pamora-pearl);

    }


    .pamora-every-scene-head {

        width: calc(100% - 32px);

        margin-bottom: 27px;

        display: block;

    }


    .pamora-every-scene-eyebrow {

        margin-bottom: 10px;

        font-size: 8px;

    }


    .pamora-every-scene-heading h2 {

        max-width: 360px;

        font-size: 48px;

        line-height: .9;

    }


    .pamora-every-scene-intro {

        max-width: 240px;

        margin: 14px 0 0;

        text-align: left;

        font-size: 9px;

    }


    /* -----------------------------------------------------
       HORIZONTAL MOBILE SHELF
    ----------------------------------------------------- */

    .pamora-every-scene-track {

        width: 100%;

        display: flex;

        gap: 12px;

        overflow-x: auto;

        padding:
            2px
            16px
            18px;

        scroll-snap-type: x mandatory;

        scroll-padding-left: 16px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

    }


    .pamora-every-scene-track::-webkit-scrollbar {

        display: none;

    }


    .pamora-scene-card {

        flex: 0 0 78vw;

        width: 78vw;

        min-width: 78vw;

        aspect-ratio: .73;

        border-radius: 23px;

        scroll-snap-align: start;

    }


    .pamora-scene-card:hover {

        transform: none;

    }


    .pamora-scene-time {

        top: 13px;
        left: 13px;

        min-height: 29px;

        padding: 0 10px;

    }


    .pamora-scene-glass {

        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 18px 17px 16px;

        border-radius: 19px;

    }


    .pamora-scene-glass h3 {

        font-size: 28px;

    }


    .pamora-scene-glass p {

        max-width: 225px;

        margin-top: 9px;

        margin-bottom: 14px;

        font-size: 8px;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 374px) {

    .pamora-scene-card {

        flex-basis: 82vw;

        width: 82vw;

        min-width: 82vw;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pamora-scene-card,
    .pamora-scene-image img,
    .pamora-scene-cta i {

        transition: none;

    }

}