@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{margin: 0; padding: 0; font-family: 'Noto Sans KR','맑은 고딕', sans-serif; color: #333; box-sizing: border-box;}
html{
    scroll-behavior: smooth;
}
body {
    width: 100%;
    min-width: 320px;
    padding-top: 60px;
}
/* 네비게이션 */
header {
    width: 100%;
    height: 60px;
    background-color: white;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.08));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-radius: 0 0 30px 30px;
}
/* 로고 */
.logo img{
    width: 45px;
    height: 20px;
}
/* 햄버거 버튼 */
.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    cursor: pointer;
    border: none;
}
/* 햄버거 선 */
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #EB2254;
    transition: 0.3s;
}
/* 메뉴 */
.menu {
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    position: fixed;
    top: 43px;
    left: 0;
    padding: 30px;
    right: 5px;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    background-color: white;
    text-align: right;
    z-index: 999;
}
.menu a{
    color: #787878;
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu a:nth-child(2) {
    color: #EB2254;
}
.menu a:last-child {
    margin-top: 20px;
}
/* 메뉴 활성화 */
.menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.menu.active a{
    opacity: 1;
    transform: translateX(0);
}
.menu.active a:nth-child(1) { transition-delay: 0.05s; }
.menu.active a:nth-child(2) { transition-delay: 0.10s; }
.menu.active a:nth-child(3) { transition-delay: 0.15s; }
.menu.active a:nth-child(4) { transition-delay: 0.20s; }
.menu.active a:nth-child(5) { transition-delay: 0.25s; }

/*첫 번째 선 */
.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
/* 두 번째 선 */
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
/* 세 번째 선 */
.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
/* 프로젝트 메뉴 */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 프로젝트 메뉴 */
.project-nav {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    margin-top: 20px;
}
.project-nav a{
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 20px;
    border: 1px solid #EB2254;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
    animation: fadeUp 0.5s ease both;
}
/* 탭 순차 등장 */
.project-nav a:nth-child(1) { animation-delay: 0.05s; }
.project-nav a:nth-child(2) { animation-delay: 0.15s; }
.project-nav a:nth-child(3) { animation-delay: 0.25s; }
.project-nav a:nth-child(4) { animation-delay: 0.35s; }

/* 호버/터치 피드백 */
.project-nav a:hover,
.project-nav a:active {
    background-color: #EB2254;
    color: white;
}
.identity {
    background-color: #EB2254;
    color: white;
    border: none;
}

/* 메인 */
.title {
    padding: 0 20px;
    margin-top: 20px;
}
.title h2 {
    font-size: 19px;
}
.main {
    width: 100%;
    display: block;
    padding: 0 20px;
    margin-top: 20px;
}
.main h3 {
    font-size: 20px;
    display: block;
}
.main p {
    font-size: 11px;
    color: #adadad;
}
.text {
    width: 100%;
    padding: 0 20px;
    margin-top: 5px;
}
.text h2 {
    font-size: 20px;
    margin-bottom: 5px;
}
.text p {
    font-size: 11px;
}

.center-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 30px 0;
    margin-bottom: 40px;
}
.slider-track {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.5s ease;
    will-change: transform;
}
.slide {
    flex: 0 0 70%;
    height: 450px;
    opacity: 0.55;
    transform: scale(0.85);
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* 좌우 버튼 */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}
.slider-prev { left: 15px; }
.slider-next { right: 15px; }
@media (max-width: 768px) {
    .slide {
        flex-basis: 75%;
        height: 250px;
    }
}

.designer-button {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}
.designer {
    padding: 10px 20px;
    background: white;
    border: none;
    border: 1px solid #EB2254;
    border-radius: 50px;
}
.designer:active {
    background-color: #EB2254;
}
.designer a {
    text-decoration: none;
}
.designer a:active {
    color: white;
}

/* 푸터 */
footer {
    width: 100%;
    height: auto;
    margin-top: 40px;
    padding: 20px;
}
.footer-top {
    border-bottom: 1px solid #EB2254;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.footer-top h2 {
    font-size: clamp(15px, 4.5vw, 20px);
    letter-spacing: -2px;
}
.footer-logo img{
    width: 90px;
    height: 55px;
}
.footer-middle {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #EB2254;
    margin-bottom: 20px;
}
.Univ-name-KR {
    font-size: clamp(14px, 4vw, 16px);
    color: #EB2254;
    font-weight: 700;
}
.Univ-name-EN {
    font-size: clamp(13px, 3.7vw, 15px);
    color: #4b4b4b;
    margin-bottom: 5px;
}
.footer-bottom {
    width: 100%;
}
.copy {
    color: #4b4b4b;
    font-size: clamp(9px, 2.7vw, 12px);
    margin-bottom: 10px;
}
.copy-KR {
    color: #4b4b4b;
    font-size: clamp(10px, 2.8vw, 12px);
    margin-bottom: 5px;
}
.copy-EN {
    color: #4b4b4b;
    font-size: clamp(10px, 2.8vw, 12px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .menu a, .artwork { opacity: 1; transform: none; }
}

/* ========================================
   태블릿: 768px ~ 1199px
======================================== */
@media screen and (min-width: 768px) and (max-width: 1199px) {

    body {
        padding-top: 76px;
    }

    /* 헤더 */
    header {
        height: 76px;
        padding: 0 40px;
        border-radius: 0 0 35px 35px;
    }

    .logo img {
        display: block;
        width: 65px;
        height: auto;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        padding: 11px 6px;
    }

    .menu {
        top: 76px;
        right: 0;
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
        padding: 40px;
        gap: 28px;
        overflow-y: auto;
    }

    .menu a {
        font-size: clamp(30px, 3.5vw, 40px);
    }

    /* 프로젝트 분류 */
    .project-nav {
        height: auto;
        min-height: 60px;
        margin-top: 30px;
        padding: 0 40px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .project-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 18px;
        font-size: clamp(12px, 1.45vw, 16px);
        border-radius: 30px;
    }

    /* 작품 제목 */
    .title {
        padding: 0 40px;
        margin-top: 45px;
    }

    .title h2 {
        font-size: clamp(28px, 3.5vw, 38px);
        line-height: 1.5;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 디자이너 이름 */
    .main {
        padding: 0 40px;
        margin-top: 28px;
    }

    .main h3 {
        font-size: 23px;
        margin-bottom: 6px;
    }

    .main p {
        font-size: 15px;
        color: #787878;
    }

    /* 작품 설명 */
    .text {
        padding: 0 40px;
        margin-top: 24px;
    }

    .text h2 {
        font-size: 25px;
        margin-bottom: 12px;
    }

    .text p {
        font-size: 17px;
        line-height: 1.9;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 이미지 슬라이드 */
    .center-slider {
        margin-top: 25px;
        margin-bottom: 40px;
        padding: 35px 0;
    }

    .slider-track {
        gap: 24px;
    }

    .slide {
        flex: 0 0 68%;
        height: clamp(360px, 48vw, 560px);
    }

    .slider-prev,
    .slider-next {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .slider-prev {
        left: 25px;
    }

    .slider-next {
        right: 25px;
    }

    /* 디자이너 페이지 버튼 */
    .designer-button {
        padding: 0 40px;
    }

    .designer {
        min-height: 48px;
        padding: 0;
        font-size: 16px;
    }

    .designer a {
        display: block;
        padding: 12px 26px;
    }

    /* 푸터 */
    footer {
        margin-top: 70px;
        padding: 35px 40px;
    }

    .footer-top {
        align-items: center;
        gap: 24px;
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .footer-top h2 {
        font-size: clamp(24px, 3vw, 34px);
        line-height: 1.3;
        letter-spacing: -1px;
    }

    .footer-logo {
        flex-shrink: 0;
    }

    .footer-logo img {
        display: block;
        width: 120px;
        height: auto;
    }

    .footer-middle {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .Univ-name-KR {
        font-size: 20px;
        line-height: 1.7;
    }

    .Univ-name-EN {
        font-size: 17px;
    }

    .copy,
    .copy-KR,
    .copy-EN {
        font-size: 12px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }
}


/* ========================================
   데스크톱: 1200px 이상
======================================== */
@media screen and (min-width: 1200px) {

    body {
        padding-top: 88px;
    }

    /* 헤더 */
    header {
        height: 88px;
        padding: 0 clamp(50px, 5vw, 100px);
        border-radius: 0 0 36px 36px;
    }

    .logo img {
        display: block;
        width: 80px;
        height: auto;
    }

    .hamburger {
        display: none;
    }

    /* 가로 메뉴 */
    header .menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;

        display: flex;
        flex-direction: row;
        align-items: center;
        gap: clamp(24px, 3vw, 56px);

        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: visible;

        background: transparent;
        text-align: left;
        transition: none;
    }

    header .menu a {
        margin: 0;
        font-size: clamp(16px, 1.2vw, 21px);
        font-weight: 600;
        opacity: 1;
        transform: none;
        transition: color 0.2s ease;
    }

    header .menu a:last-child {
        margin-top: 0;
    }

    header .menu a:hover,
    header .menu a:focus-visible {
        color: #EB2254;
    }

    /* 프로젝트 분류 */
    .project-nav {
        height: auto;
        min-height: 64px;
        margin-top: 40px;
        padding: 0 60px;
        justify-content: center;
        flex-wrap: wrap;
        gap: clamp(16px, 2vw, 32px);
    }

    .project-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 26px;
        font-size: clamp(14px, 1vw, 18px);
        border-radius: 30px;
    }

    /* 소개 영역 너비 통일 */
    .title,
    .main,
    .text {
        width: 100%;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 60px;
    }

    .title {
        margin-top: 60px;
    }

    .title h2 {
        font-size: clamp(36px, 3vw, 52px);
        line-height: 1.5;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 디자이너 이름 */
    .main {
        margin-top: 35px;
    }

    .main h3 {
        font-size: 27px;
        margin-bottom: 8px;
    }

    .main p {
        font-size: 17px;
        color: #787878;
    }

    /* 작품 설명 */
    .text {
        margin-top: 28px;
    }

    .text h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .text p {
        max-width: 1100px;
        font-size: clamp(18px, 1.2vw, 21px);
        line-height: 2;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 이미지 슬라이드 */
    .center-slider {
        margin-top: 35px;
        margin-bottom: 50px;
        padding: 45px 0;
    }

    .slider-track {
        gap: 36px;
    }

    .slide {
        flex: 0 0 60%;
        max-width: 1120px;
        height: clamp(450px, 40vw, 720px);
    }

    .slider-prev,
    .slider-next {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .slider-prev {
        left: 5%;
    }

    .slider-next {
        right: 5%;
    }

    /* 디자이너 페이지 버튼 */
    .designer-button {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 60px;
    }

    .designer {
        min-height: 52px;
        padding: 0;
        font-size: 18px;
        transition: background-color 0.2s ease;
    }

    .designer a {
        display: block;
        padding: 14px 32px;
        transition: color 0.2s ease;
    }

    .designer:hover,
    .designer:focus-within {
        background-color: #EB2254;
    }

    .designer:hover a,
    .designer:focus-within a {
        color: white;
    }

    /* 푸터 */
    footer {
        margin-top: 110px;
        padding: 50px clamp(60px, 6vw, 120px);
    }

    .footer-top {
        align-items: center;
        gap: 40px;
        padding-bottom: 35px;
        margin-bottom: 30px;
    }

    .footer-top h2 {
        font-size: clamp(30px, 2.6vw, 46px);
        line-height: 1.3;
        letter-spacing: -1px;
    }

    .footer-logo {
        flex-shrink: 0;
    }

    .footer-logo img {
        display: block;
        width: 160px;
        height: auto;
    }

    .footer-middle {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .Univ-name-KR {
        font-size: 23px;
        line-height: 1.7;
    }

    .Univ-name-EN {
        font-size: 19px;
    }

    .copy,
    .copy-KR,
    .copy-EN {
        font-size: 13px;
        line-height: 1.9;
        overflow-wrap: break-word;
    }
}