/* ==========================================
   Portfolio V2
========================================== */

:root {

    --bg: #0d0d0d;
    --text: #f5f5f5;
    --text-light: rgba(255,255,255,.45);
    --line: rgba(255,255,255,.08);

    --container: 1280px;

    --transition: .35s ease;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);

    color:var(--text);

    font-family:
        Inter,
        "Source Han Sans SC",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

    -webkit-font-smoothing:antialiased;

    line-height:1.8;

}

a{

    text-decoration:none;

    color:inherit;

}

img{

    display:block;

    width:100%;

}

.container{

    width:min(92%,var(--container));

    margin:auto;

}

/* ==========================================
   Header
========================================== */

.header{

    position:fixed;

    left:0;

    top:0;

    width:100%;

    height:64px;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(13,13,13,.45);

    transition:.3s;

}

.header.scrolled{

    background:rgba(13,13,13,.82);

}

.header-inner{

    height:64px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:18px;

    font-weight:600;

    letter-spacing:.08em;

}

.nav{

    display:flex;

    gap:48px;

}

.nav a{

    font-size:14px;

    color:var(--text-light);

    transition:var(--transition);

}

.nav a:hover{

    color:#fff;

}

/* ==========================================
   Hero
========================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-inner{

    width:100%;

    display:flex;

    flex-direction:column;

}

.hero-year{

    align-self:flex-end;

    color:var(--text-light);

    letter-spacing:.25em;

    margin-bottom:60px;

}

.hero-title{

    position:relative;

    display:inline-block;

}

.hero-title-en{

    position:absolute;

    left:8px;

    top:-65px;

    font-size:110px;

    font-weight:700;

    letter-spacing:.45em;

    white-space:nowrap;

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

    pointer-events:none;

}

.hero h1{

    position:relative;

    z-index:2;

    font-size:140px;

    font-weight:700;

    line-height:1;

}

.hero-meta{

    margin-top:60px;

    display:flex;

    gap:48px;

    color:var(--text-light);

    font-size:16px;

    letter-spacing:.08em;

}

.scroll{

    margin-top:120px;

    width:max-content;

    display:flex;

    flex-direction:column;

    gap:8px;

    color:var(--text-light);

    font-size:12px;

    letter-spacing:.3em;

}

.scroll-arrow{

    font-size:20px;

}

/* ==========================================
   Featured
========================================== */

.featured{

    padding:180px 0;

}

.featured-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:90px;

    align-items:center;

}

.featured-type{

    color:var(--text-light);

    letter-spacing:.18em;

    text-transform:uppercase;

    font-size:13px;

}

.featured h2{

    font-size:64px;

    margin:24px 0 36px;

    line-height:1.1;

}

.featured p{

    color:var(--text-light);

    margin-bottom:48px;

}

.view-link{

    display:inline-flex;

    transition:.3s;

}

.view-link:hover{

    transform:translateX(8px);

}

.featured-image{

    display:block;

    overflow:hidden;

}

.featured-image img{

    width:100%;

    height:80vh;

    object-fit:cover;

    transition:.6s;

}

.featured-image:hover img{

    transform:scale(1.03);

}

/* ==========================================
   Works
========================================== */

.works{

    padding:120px 0 180px;

}

.work-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:42px 0;

    border-top:1px solid var(--line);

    transition:.35s;

    position:relative;

}

.work-item:last-child{

    border-bottom:1px solid var(--line);

}

.work-item::before{

    content:"";

    position:absolute;

    left:-24px;

    top:50%;

    width:2px;

    height:0;

    background:#fff;

    transition:.3s;

    transform:translateY(-50%);

}

.work-item:hover{

    padding-left:16px;

}

.work-item:hover::before{

    height:34px;

}

.work-item h3{

    font-size:34px;

    font-weight:500;

    margin-bottom:6px;

}

.work-item span{

    color:var(--text-light);

}

.arrow{

    font-size:30px;

    transition:.3s;

}

.work-item:hover .arrow{

    transform:translateX(10px);

}

/* ==========================================
   About
========================================== */

.about{

    padding:160px 0 220px;

}

.about p{

    max-width:760px;

    font-size:34px;

    line-height:1.6;

    font-weight:300;

}

/* ==========================================
   Responsive
========================================== */

@media (max-width:960px){

    .hero h1{

        font-size:88px;

    }

    .hero-title-en{

        font-size:64px;

        top:-40px;

    }

    .featured-grid{

        grid-template-columns:1fr;

        gap:60px;

    }

    .featured-image img{

        height:60vh;

    }

}

@media (max-width:640px){

    .nav{

        gap:22px;

    }

    .hero{

        min-height:90vh;

    }

    .hero h1{

        font-size:56px;

    }

    .hero-title-en{

        font-size:42px;

        letter-spacing:.2em;

        top:-26px;

    }

    .hero-meta{

        flex-direction:column;

        gap:12px;

    }

    .featured{

        padding:100px 0;

    }

    .featured h2{

        font-size:42px;

    }

    .work-item{

        flex-direction:column;

        align-items:flex-start;

        gap:18px;

    }

    .work-item h3{

        font-size:24px;

    }

    .about{

        padding:120px 0 140px;

    }

    .about p{

        font-size:24px;

    }

}
.hidden{

    opacity:0;

    transform:translateY(50px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}
/* ==========================================
   SHOWREEL
========================================== */

.showreel-page{

    padding-top:140px;

    padding-bottom:120px;

}

.back-link{

    display:inline-block;

    color:var(--text-light);

    margin-bottom:60px;

    transition:.3s;

}

.back-link:hover{

    color:#fff;

    transform:translateX(-6px);

}

.showreel-title{

    font-size:72px;

    font-weight:600;

    margin-bottom:70px;

    letter-spacing:.08em;

}

.video-list{

    display:flex;

    flex-direction:column;

    gap:80px;

}

.video-item{

    width:100%;

}

.video-item video{

    width:100%;

    aspect-ratio:16/9;

    display:block;

    background:#000;

}

.video-info{

    display:flex;

    justify-content:space-between;

    margin-top:18px;

    color:var(--text-light);

    font-size:14px;

    letter-spacing:.08em;

}

.video-info{

    margin-top:18px;

    display:flex;

    justify-content:space-between;

    color:var(--text-light);

    font-size:14px;

    letter-spacing:.08em;

}

@media(max-width:768px){

    .showreel-title{

        font-size:42px;

    }

}
/* ==========================================
   PROJECT PAGE
========================================== */

.project-page{

    padding-bottom:140px;

}

.project-hero{

    padding-top:180px;

    padding-bottom:120px;

}

.back-link{

    display:inline-block;

    margin-bottom:70px;

    color:var(--text-light);

    text-decoration:none;

    transition:.3s;

}

.back-link:hover{

    color:#fff;

    transform:translateX(-6px);

}

.project-category{

    display:block;

    font-size:14px;

    letter-spacing:.28em;

    text-transform:uppercase;

    color:var(--text-light);

    margin-bottom:18px;

}

.project-title{

    font-size:72px;

    font-weight:600;

    line-height:1.1;

    margin-bottom:28px;

}

.project-description{

    max-width:760px;

    color:var(--text-light);

    line-height:1.8;

    font-size:18px;

}

.project-gallery{

    display:block;

}

.gallery-section{

    margin-bottom:120px;

}

.gallery-section img{

    width:100%;

    display:block;

}

.gallery-pair{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

}

.project-text-section{

    max-width:760px;

    margin-bottom:120px;

}

.project-text-section p{

    color:var(--text-light);

    font-size:18px;

    line-height:1.8;

}

.project-video{

    width:100%;

    aspect-ratio:16/9;

    display:block;

    background:#000;

}

.storyboard-item{

    display:grid;

    grid-template-columns:minmax(0,7fr) minmax(280px,5fr);

    gap:52px;

    align-items:start;

    margin-bottom:120px;

}

.storyboard-media img{

    width:100%;

    max-height:68vh;

    object-fit:contain;

    background:#000;

}

.storyboard-copy{

    position:sticky;

    top:96px;

    padding-left:28px;

    border-left:1px solid var(--line);

}

.shot-details{

    display:grid;

    gap:18px;

}

.shot-details dt{

    color:var(--text);

    font-size:13px;

    letter-spacing:.16em;

    font-weight:600;

}

.shot-details dd{

    color:var(--text-light);

    font-size:16px;

    line-height:1.8;

}

.gallery-heading{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

    padding-bottom:14px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.gallery-heading span{

    font-size:13px;

    color:var(--text-light);

    letter-spacing:.18em;

}

.gallery-heading h2{

    font-size:24px;

    font-weight:500;

}

.gallery-heading.small{

    border:none;

    padding-bottom:0;

}

.gallery-heading.small h3{

    font-size:18px;

    font-weight:500;

}

.section-space{

    margin-top:140px;

}

.project-footer{

    margin-top:120px;

    padding-top:60px;

    border-top:1px solid rgba(255,255,255,.08);

}

.next-project{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.next-project span{

    color:var(--text-light);

    letter-spacing:.12em;

    text-transform:uppercase;

    font-size:13px;

}

.next-project a{

    font-size:28px;

    text-decoration:none;

    color:#fff;

    transition:.3s;

}

.next-project a:hover{

    transform:translateX(8px);

}

@media(max-width:768px){

    .project-title{

        font-size:46px;

    }

    .project-description{

        font-size:16px;

    }

    .project-text-section p{

        font-size:16px;

    }

    .storyboard-item{

        grid-template-columns:1fr;

        gap:28px;

        margin-bottom:90px;

    }

    .storyboard-media img{

        max-height:none;

    }

    .storyboard-copy{

        position:static;

        padding-left:0;

        border-left:0;

    }

    .gallery-heading{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .gallery-pair{

        grid-template-columns:1fr;

    }

    .next-project{

        flex-direction:column;

        align-items:flex-start;

        gap:20px;

    }

}
