/* =========================================================
   WONA
   Web Of New Age
   Common Layout
========================================================= */


/* =========================================================
   RESET / BASE
========================================================= */

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
    font-family: "SUIT Variable", "SUIT", sans-serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


html,
body {
    cursor: url('/images/wona-A-cursor-16.ico') 12 12, auto;
}


body,
button,
input,
textarea,
select {
    font-family: "SUIT Variable", "SUIT", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   COMMON
========================================================= */

:root {
    --black: #111;
    --white: #fff;
    --gray-100: #f7f7f7;
    --gray-200: #ededed;
    --gray-300: #dcdcdc;
    --gray-400: #b8b8b8;
    --gray-500: #888;
    --gray-600: #666;
    --gray-700: #444;

    --content-width: 1240px;
    --side-padding: 60px;

    --header-height: 88px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}


.section-inner,
.header-inner,
.footer-inner {
    width: min(
        calc(100% - (var(--side-padding) * 2)),
        var(--content-width)
    );
    margin: 0 auto;
}


/* =========================================
   HEADER
   FLOATING STICKY
========================================= */

.header {
    position: sticky;
    top: 16px;
    z-index: 1000;

    width: calc(100% - (var(--side-padding) * 2));
    max-width: var(--content-width);
    height: 72px;

    margin: 16px auto -88px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/* =========================================
   HEADER INNER
========================================= */

.header-inner {

    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
	width: calc(100% - (var(--side-padding) * 2));
    max-width: var(--content-width);
    margin: 0 auto;
}


/* =========================================
   SCROLL STATE
========================================= */

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}


/* LOGO */

.header-logo {
    flex: 0 0 auto;
    margin: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: auto;
    height: 20px;
}


/* GNB */

.header-nav {
    margin-left: auto;
    margin-right: 60px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 88px;

    color: #222;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;

    transition:
        color .3s var(--ease);
}

.header-nav a::after {
    position: absolute;
    left: 0;
    bottom: 25px;

    width: 0;
    height: 1px;

    background: #111;

    content: "";

    transition:
        width .3s var(--ease);
}

.header-nav a:hover::after {
    width: 100%;
}


/* HEADER ACTION */

.header-action {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 12px 18px;

    border: 1px solid #111;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 650;

    transition:
        background .3s var(--ease),
        color .3s var(--ease);
}

.header-contact span {
    font-size: 15px;
    line-height: 1;
}

.header-contact:hover {
    background: #111;
    color: #fff;
}


/* MOBILE MENU BUTTON */

.header-menu {
    display: none;

    position: relative;

    width: 34px;
    height: 34px;
}

.header-menu span {
    position: absolute;
    left: 5px;

    width: 24px;
    height: 1px;

    background: #111;

    transition:
        transform .3s var(--ease),
        opacity .3s var(--ease);
}

.header-menu span:nth-child(1) {
    top: 10px;
}

.header-menu span:nth-child(2) {
    top: 17px;
}

.header-menu span:nth-child(3) {
    top: 24px;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 900;

    display: none;

    background: #fff;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s var(--ease),
        visibility .35s var(--ease);
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        calc(var(--header-height) + 40px)
        var(--side-padding)
        40px;
    box-sizing: border-box;
}

.mobile-nav nav {
    margin-top: 20px;
}

.mobile-nav nav li {
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav nav a {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 20px 0;

    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.04em;
}

.mobile-nav nav a span {
    width: 28px;

    color: #999;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
}

.mobile-nav-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 30px;
    border-top: 1px solid #111;
}

.mobile-nav-footer p {
    margin: 0;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .12em;
}

.mobile-nav-footer a {
    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    min-height: 52px;
    padding: 0 24px;
    box-sizing: border-box;

    font-size: 13px;
    font-weight: 650;

    transition:
        background .3s var(--ease),
        color .3s var(--ease),
        border-color .3s var(--ease),
        transform .3s var(--ease);
}

.btn span {
    font-size: 17px;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-outline {
    border: 1px solid #111;
    color: #111;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    font-size: 12px;
    font-weight: 650;
    letter-spacing: .01em;
}

.text-link span {
    font-size: 16px;

    transition:
        transform .3s var(--ease);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111;
    color: #fff;
}

.footer-inner {
    padding-top: 100px;
    padding-bottom: 35px;
}


/* FOOTER TOP */

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;

    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}


/* BRAND */

.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    width: auto;
    height: 32px;
    filter: grayscale(1) brightness(0) invert(1);
}

.footer-tagline {
    margin: 25px 0 0;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .15em;
}

.footer-description {
    margin: 22px 0 0;

    color: #999;

    font-size: 12px;
    line-height: 1.8;
}


/* FOOTER NAV */

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-nav-group strong {
    display: block;
    margin-bottom: 22px;

    color: #fff;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
}

.footer-nav-group li + li {
    margin-top: 13px;
}

.footer-nav-group a {
    color: #999;

    font-size: 12px;

    transition: color .25s ease;
}

.footer-nav-group a:hover {
    color: #fff;
}


/* PARTNER */

.footer-partner {
    text-align: right;
}

.footer-partner > span {
    display: block;

    color: #777;

    font-size: 9px;
    font-weight: 650;
    letter-spacing: .12em;
}

.footer-partner > strong {
    display: block;
    margin-top: 14px;

    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.03em;
}

.footer-partner p {
    margin: 9px 0 0;

    color: #777;

    font-size: 9px;
    letter-spacing: .08em;
}


/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 25px;
}

.copyright {
    margin: 0;

    color: #666;

    font-size: 9px;
    letter-spacing: .05em;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666;

    font-size: 9px;

    transition: color .25s ease;
}

.footer-legal a:hover {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    :root {
        --side-padding: 40px;
    }

    .header-nav {
        margin-right: 35px;
    }

    .header-nav ul {
        gap: 25px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-partner {
        text-align: left;
    }
}


@media (max-width: 800px) {

    :root {
        --side-padding: 24px;
        --header-height: 70px;
    }

    .header {
        height: var(--header-height);
    }

    .header-nav,
    .header-contact {
        display: none;
    }

    .header-menu {
        display: block;
    }

    .header-logo img {
        height: 15px;
    }

    .mobile-nav-inner {
        padding:
            calc(var(--header-height) + 25px)
            var(--side-padding)
            25px;
    }

    .mobile-nav nav a {
        font-size: 25px;
    }

    .footer-inner {
        padding-top: 75px;
        padding-bottom: 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 65px;

        padding-bottom: 70px;
    }

    .footer-partner {
        text-align: left;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

}


@media (max-width: 480px) {

    :root {
        --side-padding: 20px;
    }

    .mobile-nav-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav {
        gap: 20px;
    }

}

::selection {
    background: #ffed00;
    color: #000;
}

::-moz-selection {
    background: #ffed00;
    color: #000;
}


/* ================================
   WONA CUSTOM CURSOR
================================ */

html,
body,
a,
button,
input,
textarea,
select {
    cursor: none;
}

.wona-cursor {
    position: fixed;
    left: 0;
    top: 0;

    width: 16px;
    height: 16px;

    background: url('/images/wona-A-cursor-16.ico') center / 16px 16px no-repeat;

    pointer-events: none;
    z-index: 99999;

    transform: translate3d(-50%, -50%, 0);

    will-change: transform;
}


/* 커서가 지나간 흔적 */
.cursor-trail {
    position: fixed;

    width: 120px;
    height: 2px;

    pointer-events: none;
    z-index: 99998;

    transform-origin: left center;

    background: linear-gradient(
        90deg,
        rgba(255, 196, 0, 0),
        rgba(255, 196, 0, .35),
        rgba(255, 196, 0, 0)
    );

    filter: blur(.3px);

    opacity: 0;

    will-change: transform, opacity;
}


/* 모바일에서는 끔 */
@media (max-width: 768px) {
    html,
    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: auto;
    }

    .wona-cursor,
    .cursor-trail {
        display: none;
    }
}

@media (max-width: 768px) {

    .header {
        top: 10px;

        width: calc(100% - 24px);
        height: 60px;

        margin-top: 10px;

        border-radius: 999px;
    }

    .header-inner {
        padding: 0 18px;
    }

}


:root {
    --content-width: 1240px;
    --side-padding: 24px;
}


/* GNB 초기 상태 */
.header {
	z-index:1002;
    transform: translateY(-120%);
    opacity: 0;
    transition:
        transform 1s cubic-bezier(.22, .61, .36, 1),
        opacity .6s ease;
}

/* Hero 등장 후 */
body.is-loaded .header {
    transform: translateY(0);
    opacity: 1;
}




.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background: #111;

    transition:
        opacity .4s ease,
        visibility .4s ease;
}

body.menu-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ========================================
   MOBILE NAV
======================================== */

@media (max-width: 800px) {

    .mobile-nav {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;

        display: block !important;

        background: #111 !important;

        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;

        transform: translateY(-20px) !important;

        z-index: 99999 !important;

        transition:
            opacity .35s ease,
            transform .35s ease,
            visibility .35s ease !important;
    }


    body.menu-open .mobile-nav {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }


    .mobile-nav-inner {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 140px 24px 40px;
        box-sizing: border-box;
    }


    .mobile-nav nav {
        display: block;
    }


    .mobile-nav nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }


    .mobile-nav nav li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }


    .mobile-nav nav a {
        display: flex;
        align-items: center;
        gap: 20px;

        width: 100%;
        padding: 22px 0;

        color: #fff !important;
        text-decoration: none;

        font-size: 24px;
        line-height: 1;
    }


    .mobile-nav nav a span {
        width: 28px;

        color: rgba(255,255,255,.4);

        font-size: 11px;
        letter-spacing: .05em;
    }


    .mobile-nav-footer {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 40px;

        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }


    .mobile-nav-footer p {
        margin: 0;

        color: rgba(255,255,255,.4);

        font-size: 10px;
        letter-spacing: .2em;
    }


    .mobile-nav-footer a {
        color: #fff;
        text-decoration: none;
        font-size: 13px;
    }

}


@media (max-width: 800px) {

    /* HEADER는 모바일 메뉴보다 항상 위 */
    .header {
        position: sticky !important;
        top: 10px !important;
        z-index: 100001 !important;
    }

    /* 모바일 메뉴 */
    .mobile-nav {
        position: fixed !important;
        inset: 0 !important;
        z-index: 100000 !important;
    }

}



.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    background: #111;

    transform: translateY(-20px);

    transition:
        opacity .4s ease,
        transform .4s ease,
        visibility .4s ease;
}

body.menu-open .mobile-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 800px) {

    .header-menu {
        display: flex;
        position: relative;

        width: 42px;
        height: 42px;

        padding: 0;
        margin: 0;

        border: 0;
        border-radius: 0;
        background: transparent;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;

        cursor: pointer;
        z-index: 1002;
    }

    .header-menu span {
        display: block;

        width: 20px;
        height: 1px;

        background: #111;

        transition:
            transform .35s ease,
            opacity .25s ease;
    }

    body.menu-open .header-menu span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .header-menu span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .header-menu span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

}

@media (max-width: 800px) {

    .header-menu {
        position: relative !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-direction: column !important;
        gap: 5px !important;

        overflow: visible !important;
    }


    .header-menu span {
        display: block !important;

        position: relative !important;

        width: 20px !important;
        height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #111 !important;

        transform: none !important;
        opacity: 1 !important;

        transition:
            transform .25s ease,
            opacity .2s ease !important;
    }


    /* OPEN → X */
    body.menu-open .header-menu {
        gap: 0 !important;
    }


    body.menu-open .header-menu span:nth-child(1) {
        transform: rotate(45deg) !important;
    }


    body.menu-open .header-menu span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }


    body.menu-open .header-menu span:nth-child(3) {
        transform: rotate(-45deg) !important;
    }

}



@media (max-width: 800px) {

    .header-menu {
        position: relative !important;
        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;

        transform: none !important;
        overflow: visible !important;
    }

    .header-menu span {
        position: absolute !important;

        left: 12px !important;
        width: 18px !important;
        height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;

        background: #111 !important;

        transform-origin: center !important;
        transition: transform .25s ease, opacity .2s ease !important;
    }

    .header-menu span:nth-child(1) {
        top: 15px !important;
        transform: none !important;
    }

    .header-menu span:nth-child(2) {
        top: 21px !important;
        transform: none !important;
    }

    .header-menu span:nth-child(3) {
        top: 27px !important;
        transform: none !important;
    }

    /* OPEN → X */
    body.menu-open .header-menu span:nth-child(1) {
        top: 21px !important;
        transform: rotate(45deg) !important;
    }

    body.menu-open .header-menu span:nth-child(2) {
        opacity: 0 !important;
    }

    body.menu-open .header-menu span:nth-child(3) {
        top: 21px !important;
        transform: rotate(-45deg) !important;
    }

}


.header-nav a .external-link {
    display: inline-block;
    margin-left: 5px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    vertical-align: 2px;
}