:root {
    --color-bk: #24262A;
    --color-gy: #7A7C80;
    --color-wh: #ffffff;

    --color-bg: #F8FAFC;
    --color-hl: #0098F8;
    
    --title-1: 56px;
    --title-2: 48px;
    --title-3: 40px; 

    --font-xl: 32px;
    --font-l: 28px;
    --font-m: 24px;
    --font-s: 18px;
    --font-xs: 16px;

    --header-height: 72px;

    --size-xl: 120px;
    --size-l: 80px;
    --size-m: 60px;
    --size-s: 40px;
    --size-xs: 20px;
}

/* ---------------- COMMON ---------------- */

::selection {
    background-color: var(--color-wh);
    color: var(--color-bk);
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    letter-spacing: -0.02em;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    background-color: var(--color-wh);
}

section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--size-xl);
    padding-bottom: var(--size-xl);
}

.section-wrapper{
    max-width: 1520px;
    width: 100%;
    padding-left: var(--size-s);
    padding-right: var(--size-s);
}

.section-title{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-2);
    font-weight: 400;
    color: var(--color-gy);
    word-break: keep-all;
    line-height: 135%;
}

.section-title > span{
    color: var(--color-bk);
    font-weight: 700;
}

/* ---------------- HEADER ---------------- */

header{
    position: fixed;
    top: 0;
    min-width: 360px;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: 0.2s;
}

header.sticky{
    background-color: var(--color-wh);
}

header.sticky .logo > img{
    content: url('../img/logo_bk.png');
}

header.sticky .cta > div > img{
    content: url('../img/arrow_r_bk.svg');
}

header.sticky .cta{
    border: 1px solid var(--color-bk);
}

header.sticky .cta > div > span{
    color: var(--color-bk);
}

.header-wrapper{
    max-width: 1600px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--size-s);
}

.logo > img{
    height: 32px;
    object-fit: contain;
}


.cta{
    border: 1px solid var(--color-wh);
    padding: 10px 20px;
    border-radius: 40px;
    transition: 0.2s;
}

.cta > div{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.cta > div > span{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xs);
    font-weight: 500;
    color: var(--color-wh);
    transition: 0.2s;
}

.cta > div > img{
    width: 6px;
    object-fit: contain;
}

/* ---------------- MAIN ---------------- */

#main{
    padding: 0;
    position: relative;
    min-height: 100vh;
    background-color: #000000;
}

#main > video{
    position: absolute;
    top: 0;
    height: 100vh;
    z-index: 1;
}

#main > .section-wrapper{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: var(--size-l);
    padding-bottom: var(--size-xl);
}

h1{
    position: relative;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-1);
    font-weight: 300;
    color: var(--color-gy);
    line-height: 140%;
    z-index: 2;
}

h1 > span{
    font-weight: 600;
    color: var(--color-wh);
}

h1 > span:last-of-type{
    padding-right: 124px;
}

h1 > img{
    position: absolute;
    bottom: 12px;
    left: 43.5%;
    width: 108px;
    object-fit: contain;
    border-radius: 100px;
}

#main a {
    z-index: 2;
    margin-top: var(--size-m);
}

#main a > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

#main a > div > span{
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: var(--font-m);
    color: var(--color-wh);
    z-index: 2;
}

#main a > div > img{
    width: 16px;
    object-fit: contain;
    z-index: 2;
}

/* ---------------- ABOUT ---------------- */

#about{
    padding-bottom: 0;
}

#about > .section-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
}

#about > .section-wrapper > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--size-xs);
}

#about > .section-wrapper > div > img{
    height: 32px;
    object-fit: contain;
}

#about > .section-wrapper > div > hr{
    height: 24px;
    width: 1px;
    border: none;
    background-color: #DCDEE1;
}

.video-wrapper{
    width: 100%;
    display: grid;
    column-gap: 0;
    gap: 0;
    grid-template-columns: 1fr 1fr;
    margin-top: var(--size-xl);
    overflow-x: hidden;
}

.video-wrapper > video{
    display: block; /* 추가 */
    max-width: 960px;
    width: 100%;
    scale: 1.002;
}

/* ---------------- BRAND ---------------- */

#brand{
    max-width: 1920px;
    overflow-x: hidden;
}

#brand .section-title{
    text-align: center;
    margin-bottom: var(--size-l);
}

.slider {
    line-height: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rtl-slider {
    justify-content: flex-start;
}

.ltr-slider {
    justify-content: flex-end;
    margin: var(--size-xs) 0;
}

.slider > .slide-wrapper {
    flex-shrink: 0;
    width: max-content;
    display: flex;
    justify-content: center;
}

.rtl-slider > .slide-wrapper {
    animation: move-rtl 24s linear infinite;
}

.ltr-slider > .slide-wrapper {
    animation: move-ltr 24s linear infinite;
}

@keyframes move-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes move-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

.slide img {
    width: 200px;
    object-fit: contain;
    border-radius: 20px;
    margin-right: var(--size-xs);
}

/* ---------------- CONTACT ---------------- */

#contact{
    background-color: #101214;
    padding-bottom: var(--size-m);
}

#contact .contact-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#contact .contact{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--size-xs);
}

#contact .contact > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-l);
    font-weight: 700;
    color: var(--color-wh);
}

#contact .contact > div{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--size-xs);
}

#contact .contact:first-of-type > div > p{
    font-family: "Montserrat", sans-serif;
}

#contact .contact:last-of-type > div > p{
    font-family: 'Pretendard Variable', sans-serif;
}

#contact .contact > div > p{
    font-size: var(--title-3);
    font-weight: 300;
    color: var(--color-wh);
}

#contact .contact > div > div{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    font-weight: 500;
    color: var(--color-wh);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid var(--color-wh);
    cursor: pointer;
    transition: 0.2s;
}

#contact .contact > div > div:hover{
    color: #101214;
    font-weight: 600;
    background-color: var(--color-wh);
}

#contact > .section-wrapper > img{
    width: 100%;
    object-fit: contain;
    border-radius: var(--size-xs);
    margin-top: var(--size-l);
    margin-bottom: var(--size-s);
}

#contact .footer{
    width: 100%;
    text-align: right;
    font-family: "Montserrat", sans-serif;
    font-size: var(--font-m);
    font-weight: 300;
    color: var(--color-gy);
}

@media screen and (max-width: 1440px) {
    :root {
    --title-1: 48px;
    --title-2: 40px;
    --title-3: 32px; 

    --font-xl: 28px;
    --font-l: 24px;
    --font-m: 20px;
    --font-s: 16px;
    --font-xs: 15px;

    --header-height: 72px;

    --size-xl: 108px;
    --size-l: 72px;
    --size-m: 54px;
    --size-s: 36px;
    --size-xs: 18px;
    }

    h1 > span:last-of-type{
        padding-right: 116px;
    }

    h1 > img{
        width: 92px;
        left: 44.5%;
    }

    #main a > div > img{
        width: 15px;
    }

    #contact .contact-wrapper{
        grid-template-columns: 1fr;
        row-gap: var(--size-s);
    }

    #contact .contact{
        gap: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .video-wrapper{
        display: grid;
        grid-template-columns: 1fr;
        margin-top: var(--size-l);
    }

    #about > .section-wrapper{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: var(--size-s);
        grid-template-columns: none;
    }

    #about .section-title{
        text-align: center;
    }

    .slide img{
        width: 180px;
    }
}

@media screen and (max-width: 768px) {
    :root {
    --title-1: 40px;
    --title-2: 32px;
    --title-3: 28px; 

    --font-xl: 24px;
    --font-l: 22px;
    --font-m: 18px;
    --font-s: 16px;
    --font-xs: 14px;

    --header-height: 64px;

    --size-xl: 96px;
    --size-l: 64px;
    --size-m: 48px;
    --size-s: 32px;
    --size-xs: 16px;
    }

    .header-wrapper, .section-wrapper{
        padding: 0 24px;
    }

    .cta{
        padding: 9px 16px;
    }

    .cta > div{
        gap: 8px;
    }

    .logo > img{
        height: 28px;
    }

    h1 > span:last-of-type{
        padding-right: 96px;
    }

    h1 > img{
        width: 76px;
        left: 44.5%;
        bottom: 10px;
    }

    #about > .section-wrapper > div > img{
        height: 24px;
    }

    #about > .section-wrapper > div > hr{
        height: 20px;
    }
    
    #main a > div > img{
        width: 13px;
    }

    #about > .section-wrapper{
        gap: 24px;
    }

    .slide img{
        width: 160px;
        margin-right: 12px;
    }

    .ltr-slider {
    margin: 12px 0;
    }

    #contact .contact > p{
        font-size: var(--font-m);
    }

    #contact .contact > div > p{
        font-size: var(--font-xl);
    }

    #contact .contact > div > div{
        padding: 9px 16px;
    }

    #contact > .section-wrapper > img{
        border-radius: 12px;
        margin-top: var(--size-m);
        margin-bottom: var(--size-xs);
    }

    #contact .footer{
    font-size: var(--font-xs);
}
}

@media screen and (max-width: 480px) {
    :root {
    --title-1: 35px;
    --title-2: 30px;
    --title-3: 25px; 

    --font-xl: 22px;
    --font-l: 20px;
    --font-m: 18px;
    --font-s: 16px;
    --font-xs: 14px;
    }

    h1 > span:last-of-type{
        padding-right: 80px;
    }
    
    h1 > img{
        width: 64px;
        left: 44.5%;
        bottom: 8px;
    }

    
    #contact .contact > p{
        font-size: var(--font-xs);
    }

    #contact .contact > div > p{
        font-size: var(--font-m);
    }

    #contact .contact{
        gap: 8px;
    }

    #contact .contact > div > div{
        font-size: var(--font-xs);
        padding: 8px 14px;
    }

    .slide img{
        max-width: 160px;
        width: 35vw;
    }

}