@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(3) {
    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); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes imgReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes nudgeLeft {
    0%, 100% { transform: translateX(0) rotate(45deg); }
    50% { transform: translateX(-3px) rotate(45deg);}
}

/* 뒤로가기 버튼 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: #EB2254;
    animation: slideInLeft 0.5s ease both;
}
.back-btn span {
    color: #EB2254;
}
/* 화살표 */
.back-arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-left: 1.5px solid #EB2254;
    border-bottom: 1.5px solid #EB2254;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    animation: nudgeLeft 1.8s 1s ease-in-out infinite;
}
/* 호버/터치 시 화살표 왼쪽으로 살짝 이동 */
.back-btn:hover .back-arrow,
.back-btn:active .back-arrow {
    animation: none;
    transform: translateX(-4px) rotate(45deg);
}
.profile {
    width: 100%;
    display: block;
    padding: 20px;
}
.profile-images {
    overflow: hidden;
}
.profile-images img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.08));
    animation: imgReveal 0.9s ease both;
}

.profile-text {
    width: 100%;
    height: auto;
    display: flex;
    margin-top: 25px;
}
.name-KR {
    animation: fadeUp 0.7s 0.3s ease both;
}
.name-EN {
    margin-top: 20px;
    margin-left: 5px;
    animation: fadeUp 0.7s 0.45s ease both;
}

.profile-sns {
    width: 100%;
    margin-top: 15px;
}
.mail-box {
    width: 80%;
    height: 20px;
    display: flex;
    animation: fadeUp 0.6s 0.6s ease both;
}
.mail-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) opacity(0.5);
}
.mail-box span {
    font-size: 13px;
    margin-left: 7px;
}
.insta-box {
    width: 80%;
    height: 20px;
    display: flex;
    margin-top: 7px;
    animation: fadeUp 0.6s 0.7s ease both;
}
.insta-icon {
    width: 18px;
    height: 18px;
}
.insta-box span {
    font-size: 13px;
    margin-left: 7px;
}
.project-button {
    width: 100%;
    padding: 0 20px 20px;
}
.project-menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-menu a {
    width: calc((100% - 10px) / 2);
    padding: 12px 50px;
    border: 1px solid #EB2254;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    color: #EB2254;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    animation: fadeUp 0.6s ease both;
}
/* 버튼 순차 등장 */
.project-menu a:nth-child(1) { animation-delay: 0.85s; }
.project-menu a:nth-child(2) { animation-delay: 0.95s; }
.project-menu a:nth-child(3) { animation-delay: 1.05s; }
.project-menu a:nth-child(4) { animation-delay: 1.15s; }

/*호버/터치 피드백 */
.project-menu a:hover,
.project-menu a:active {
    background-color: #EB2254;
    color: white;
    transform: translateY(-2px);
}
.project-menu a:nth-child(3) {
    padding: 12px 46px;
}
.project-menu a:last-child {
    padding: 12px 20px;
}

/* 이전/다음 디자이너 */
.designer-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 20px;
    margin-top: 40px;
}
.dn-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #EB2254;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}
.dn-prev {
    animation: slideInLeft 0.6s 1.3s ease backwards;
}
.dn-next {
    animation: slideInRight 0.6s 1.4s ease backwards;
    margin-left: auto;
    text-align: right;
}
.dn-label {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.dn-label small {
    font-size: 9px;
    letter-spacing: 1px;
    color: #EB2254;
}
.dn-label strong {
    font-size: 13px;
    color: #333;
    transition: color 0.3s;
}
/* 화살표 */
.dn-arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-left: 1.5px solid #EB2254;
    border-bottom: 1.5px solid #EB2254;
    transition: transform 0.3s ease, border-color 0.3s;
}
.dn-prev .dn-arrow { transform: rotate(45deg); }
.dn-next .dn-arrow { transform: rotate(-135deg); }
/* 호버/터치 */
.dn-btn:hover,
.dn-btn:active {
    background-color: #EB2254;
}
.dn-btn:hover small,
.dn-btn:active small,
.dn-btn:hover strong,
.dn-btn:active strong {
    color: white;
}
.dn-btn:hover .dn-arrow,
.dn-btn:active .dn-arrow {
    border-color: white;
}
.dn-prev:hover .dn-arrow,
.dn-prev:active .dn-arrow { transform: translateX(-4px) rotate(45deg); }
.dn-next:hover .dn-arrow,
.dn-next:active .dn-arrow { transform: translateX(4px) rotate(-135deg); }

/* 푸터 */
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 { 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);
    }

    /* 프로필 */
    .profile {
        max-width: 1100px;
        margin: 40px auto 0;
        padding: 0 40px;

        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto 1fr 1fr;
        column-gap: 36px;
        row-gap: 20px;
    }

    .back-btn {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: start;
        min-height: 44px;
        margin-bottom: 0;
        font-size: 15px;
        gap: 12px;
    }

    .back-arrow {
        width: 10px;
        height: 10px;
    }

    .profile-images {
        grid-column: 1;
        grid-row: 2 / 4;
        min-width: 0;
        border-radius: 16px;
    }

    .profile-text {
        grid-column: 2;
        grid-row: 2;
        align-self: end;

        min-width: 0;
        margin-top: 0;
        flex-direction: column;
        gap: 8px;
    }

    .name-KR {
        font-size: clamp(32px, 4vw, 44px);
        line-height: 1.3;
    }

    .name-EN {
        margin: 0;
        font-size: 17px;
        color: #787878;
        overflow-wrap: anywhere;
    }

    .profile-sns {
        grid-column: 2;
        grid-row: 3;
        min-width: 0;
        margin-top: 0;
    }

    .mail-box,
    .insta-box {
        width: 100%;
        height: auto;
        align-items: center;
        gap: 10px;
    }

    .insta-box {
        margin-top: 14px;
    }

    .mail-icon,
    .insta-icon {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
    }

    .mail-box span,
    .insta-box span {
        min-width: 0;
        margin-left: 0;
        font-size: 15px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    /* 작품 이동 버튼 2열 */
    .project-button {
        max-width: 1100px;
        padding: 0 40px;
        margin: 40px auto 0;
    }

    .project-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .project-menu a,
    .project-menu a:nth-child(3),
    .project-menu a:last-child {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 14px 16px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 15px;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* 이전·다음 디자이너 */
    .designer-nav {
        max-width: 1100px;
        padding: 0 40px;
        margin: 55px auto 0;
        gap: 24px;
    }

    .dn-btn {
        min-height: 64px;
        padding: 12px 22px;
        gap: 16px;
    }

    .dn-label small {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .dn-label strong {
        font-size: 17px;
    }

    .dn-arrow {
        width: 11px;
        height: 11px;
    }

    /* 푸터 */
    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;
    }

    /* 프로필 */
    .profile {
        max-width: 1200px;
        margin: 55px auto 0;
        padding: 0 60px;

        display: grid;
        grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
        grid-template-rows: auto 1fr 1fr;
        column-gap: 80px;
        row-gap: 24px;
    }

    .back-btn {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: start;
        min-height: 44px;
        margin-bottom: 0;
        font-size: 16px;
        gap: 14px;
    }

    .back-arrow {
        width: 12px;
        height: 12px;
    }

    .profile-images {
        grid-column: 1;
        grid-row: 2 / 4;
        min-width: 0;
        border-radius: 18px;
    }

    .profile-text {
        grid-column: 2;
        grid-row: 2;
        align-self: end;

        min-width: 0;
        margin-top: 0;
        flex-direction: column;
        gap: 12px;
    }

    .name-KR {
        font-size: clamp(44px, 4vw, 60px);
        line-height: 1.3;
    }

    .name-EN {
        margin: 0;
        font-size: 21px;
        letter-spacing: 1px;
        color: #787878;
        overflow-wrap: anywhere;
    }

    .profile-sns {
        grid-column: 2;
        grid-row: 3;
        min-width: 0;
        margin-top: 0;
    }

    .mail-box,
    .insta-box {
        width: 100%;
        height: auto;
        align-items: center;
        gap: 12px;
    }

    .insta-box {
        margin-top: 18px;
    }

    .mail-icon,
    .insta-icon {
        flex-shrink: 0;
        width: 25px;
        height: 25px;
    }

    .mail-box span,
    .insta-box span {
        min-width: 0;
        margin-left: 0;
        font-size: 18px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    /* 작품 이동 버튼 4열 */
    .project-button {
        max-width: 1200px;
        padding: 0 60px;
        margin: 55px auto 0;
    }

    .project-menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .project-menu a,
    .project-menu a:nth-child(3),
    .project-menu a:last-child {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 14px 12px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 15px;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* 이전·다음 디자이너 */
    .designer-nav {
        max-width: 1200px;
        padding: 0 60px;
        margin: 75px auto 0;
        gap: 30px;
    }

    .dn-btn {
        min-height: 72px;
        padding: 14px 28px;
        gap: 20px;
    }

    .dn-label small {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .dn-label strong {
        font-size: 20px;
    }

    .dn-arrow {
        width: 12px;
        height: 12px;
    }

    /* 푸터 */
    footer {
        margin-top: 100px;
        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;
    }
}