/* ==========================================================
   PAOREEL STUDIOS V3
   HERO
   ========================================================== */



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

.hero {

    position: relative;

    display: flex;

    align-items: flex-end;

    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    overflow: hidden;

    background: transparent;

}



/* ==========================================================
   FIXED BACKGROUND
   ========================================================== */

.hero-fixed {

    position: fixed;

    inset: 0;

    width: 100vw;

    height: 100vh;

    z-index: -2;

    overflow: hidden;

}
/* ==========================================================
   HERO TRANSITION
   ========================================================== */

.hero-transition {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 260px;

    pointer-events: none;

    z-index: 8;

    background: linear-gradient(

        to bottom,

        rgba(255,255,255,0),

        rgba(255,255,255,.18) 18%,

        rgba(255,255,255,.45) 42%,

        rgba(255,255,255,.82) 72%,

        #ffffff 100%

    );

    transform: translateY(100%);

    will-change: transform;

}


/* ==========================================================
   PARALLAX LAYER
   ========================================================== */

.hero-parallax {

    position: absolute;

    inset: -5%;

    will-change: transform;

}



/* ==========================================================
   IMAGE WRAPPER
   ========================================================== */

.hero-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

}



.hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.08);

    filter:
        brightness(.82)
        contrast(1.08)
        saturate(.88);

    will-change:
        transform,
        filter;

}



/* ==========================================================
   CINEMATIC HERO OVERLAY
========================================================== */

.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        /* subtle vignette */
        radial-gradient(
            circle at center,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.35) 100%
        ),

        /* vertical cinematic fade */
        linear-gradient(
            to bottom,
            rgba(8,8,8,.30) 0%,
            rgba(8,8,8,.42) 45%,
            rgba(8,8,8,.68) 100%
        );

    z-index: 1;

    pointer-events: none;

}

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

.hero-content {

    position: relative;

    z-index: 5;

    width: min(100%, var(--site-width));

    margin: 0 auto;

    padding:

        0

        var(--content-padding)

        7rem;

}



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

.hero-label {

    display: inline-block;

    margin-bottom: 2rem;

    font-size: var(--fs-sm);

    letter-spacing: .22em;

    text-transform: uppercase;

    color: rgba(255,255,255,.70);

}



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

.hero-title {

    display: flex;
    flex-direction: column;
    gap: 0.05em;

    font-size: var(--fs-display);
    font-weight: var(--font-weight-light);
    line-height: 1.05;
    letter-spacing: -0.05em;

    color: var(--color-white);

}

.hero-line{

    display:block;

    padding-bottom:.22em;

}


/* ==========================================================
   SCROLL INDICATOR
   ========================================================== */

.scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 46px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    opacity: 0;

    z-index: 10;

    pointer-events: none;

}



.scroll-indicator span {

    width: 1px;

    height: 72px;

    background: rgba(255,255,255,.75);

}



.scroll-indicator p {

    font-size: .75rem;

    letter-spacing: .30em;

    text-transform: uppercase;

    color: rgba(255,255,255,.75);

}



/* ==========================================================
   GALLERY PAPER
   ========================================================== */

.gallery-paper {

    position: absolute;

    inset: 0;

    background: #ffffff;

    opacity: 0;

    z-index: 1;

    pointer-events: none;

    will-change:

        opacity,

        transform;

}

/* ==========================================================
   CAMERA SHUTTER
   ========================================================== */

.camera-shutter {

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 50;

}

.blade{

    position:absolute;

    left:50%;
    top:50%;

    width:70vw;
    height:160vh;

    background:#000;

    transform-origin:left center;

    opacity:0;

    will-change:transform;

}

/* six blades */

.blade1{ transform:rotate(0deg) translateX(-120%);}
.blade2{ transform:rotate(60deg) translateX(-120%);}
.blade3{ transform:rotate(120deg) translateX(-120%);}
.blade4{ transform:rotate(180deg) translateX(-120%);}
.blade5{ transform:rotate(240deg) translateX(-120%);}
.blade6{ transform:rotate(300deg) translateX(-120%);}

/* ==========================================================
   CAMERA FLASH
   ========================================================== */

.camera-flash{

    position:absolute;

    inset:0;

    background:white;

    opacity:0;

    pointer-events:none;

    z-index:55;

}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:1200px){

    .hero-title{

        max-width:900px;

    }

}



@media (max-width:768px){

    .hero-content{

        padding:

            0

            2rem

            5rem;

    }

    .hero-title{

        line-height:.95;

    }

}



@media (max-width:480px){

    .hero-content{

        padding:

            0

            1.5rem

            4rem;

    }

    .scroll-indicator{

        bottom:34px;

    }

}