:root{
    --accent:#e0462e;
    --text:#f2f2f2;
}

.stills-page{
    background:#000;
    color:var(--text);
    font-family:Inter, system-ui;
    overflow-x:hidden;
}

/* NAV */

.stills-nav{
    position:fixed;
    top:20px;
    left:6vw;
    z-index:1000;
}

.back-link{
    color:white;
    text-decoration:none;
    opacity:.6;
    transition:.3s;
}

.back-link:hover{
    opacity:1;
    color:var(--accent);
}

/* WRAPPER */

.stills-wrapper{
    width:100%;
}

/* STILL */

.still{
    position:relative;
    height:100vh;
    width:100%;
    background-image:var(--img);
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:flex-end;
    padding:60px;
    opacity:0;
    transform:translateY(40px);
    transition:opacity .8s ease, transform .8s ease;
}

/* Reveal active */
.still.visible{
    opacity:1;
    transform:translateY(0);
}

/* Overlay */
.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.3));
}

/* Meta text */
.meta{
    position:relative;
    z-index:2;
    font-size:.9rem;
    letter-spacing:.12em;
    opacity:.6;
}
