* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: #ffffff;
    color: #111111;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}
body.fade-in { opacity: 1; }
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; 
    width: 100%;
    position: fixed; top: 0; left: 0; z-index: 100;
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
    height: 90px;
}
header.header-hidden { transform: translateY(-100%); }
.logo-container { cursor: pointer; }
.logo-img { height: 60px; width: auto; display: block; }
nav ul { display: flex; list-style: none; gap: 50px; }
nav ul li { margin-left: 0; }
nav ul li a {
    text-decoration: none; color: #111111;
    font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; 
    display: block; padding: 10px 0; letter-spacing: -0.02em;
    opacity: 0.8; 
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; text-align: center; pointer-events: auto;
}
nav ul li a::before {
    display: block; content: attr(title); font-weight: 700; height: 0; overflow: hidden; visibility: hidden;
}
nav ul li:hover a { transform: translateY(-0.33em); opacity: 1; }
nav ul li.active a { font-weight: 700; opacity: 1; }
nav ul li.active a::after {
    content: ''; display: block; width: 100%; height: 2px; 
    background: currentColor; margin-top: 5px; border-radius: 2px;
}
main { 
    width: 100%; 
    padding-top: 90px; 
    position: relative;
}
.back-nav-container {
    width: 100%; max-width: 100%; padding: 0 40px; margin: 0 auto;
    position: -webkit-sticky; position: sticky;
    top: 110px; z-index: 50; height: 0; overflow: visible;
    pointer-events: none; transition: transform 0.3s ease-in-out;
}
.back-nav-container.nav-up { transform: translateY(-100px); }
.back-btn {
    display: flex; justify-content: center; align-items: center;
    width: 48px; height: 48px; 
    border-radius: 50%; border: 2px solid #111111; 
    background: rgba(255, 255, 255, 0.48); 
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    text-decoration: none; color: #111111; opacity: 1; 
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer; pointer-events: auto; transform: translateY(20px); 
}
.back-btn svg {
    width: 18px; height: 18px; fill: none;
    stroke: currentColor; stroke-width: 2; 
    stroke-linecap: round; stroke-linejoin: round;
    display: block; transform: translateX(-1px); 
}
.back-btn:hover {
    transform: translateY(20px) translateX(-3px); 
    background: rgba(255, 255, 255, 0.9); 
}
.hero-section { width: 100%; padding: 0; margin-bottom: 60px; }
.hero-image {
    width: 100%; height: auto; display: block; 
    border-radius: 0; background-color: #f4f4f4;
    object-fit: cover; object-position: center;
    min-height: 400px;
}
.project-header {
    max-width: 1800px; margin: 0 auto 60px; padding: 0 40px; 
    display: flex; justify-content: space-between; align-items: flex-end;
}
.project-title h1 {
    font-size: clamp(40px, 6vw, 100px); font-weight: 800;
    line-height: 1; letter-spacing: -0.04em; margin: 0;
}
.project-specs {
    text-align: right; font-size: 14px; color: #666; line-height: 1.6;
}
.content-container { 
    width: 100%; max-width: 100%; margin: 0 auto; padding: 0; 
}
.full-image-block { margin-bottom: 60px; width: 100%; }
.full-image-block img { 
    width: 100%; height: auto; display: block; 
    border-radius: 0; margin-bottom: 20px; 
}
.full-image-block img.mobile-view-img {
    max-width: 1000px; width: 100%; display: block; margin: 0 auto 60px; 
}
.full-image-block video.locked-video {
    width: 100%; height: auto; display: block; 
    border-radius: 0; margin-bottom: 20px; pointer-events: none; 
}
.full-image-block video.video-limit {
    max-width: 1000px; width: 100%; margin: 0 auto;
}
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
.juxtapose {
    width: 100%; margin: 0 auto;
}
.text-section-split {
    display: flex; justify-content: space-between; align-items: flex-start;
    max-width: 1200px; width: 100%; margin: 0 auto 80px; 
    padding: 0 40px; gap: 40px;
}
.text-section-split.align-center { align-items: center; }
.text-left { flex: 0 0 40%; }
.text-right { flex: 1; padding-top: 10px; }
.text-section-split.align-center .text-right { padding-top: 0; }
.image-text-split {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1400px; width: 100%; margin: 0 auto 80px;
    padding: 0 40px; gap: 60px;
}
.split-image { flex: 1; width: 50%; }
.split-image img { width: 100%; height: auto; display: block; }
.split-text { 
    flex: 1; width: 50%;
    padding: 0 40px; 
    box-sizing: border-box;
}
.split-heading {
    font-size: 38px; font-weight: 700; color: #222;
    line-height: 1.2; margin-bottom: 15px; letter-spacing: -0.02em;
}
.gif-grid-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%; max-width: 100%; 
    margin: 0 auto 60px; 
    gap: 0;
}
.gif-item { width: 100%; position: relative; padding: 0; }
.gif-item img { width: 100%; height: auto; display: block; object-fit: cover; }
.seesaw-logo-img {
    width: 100%; max-width: 380px; height: auto; display: block;
}
.blue-label {
    color: #33C5F4; font-size: 24px; font-weight: 700; margin-bottom: 15px; display: block;
}
.main-heading {
    font-size: 38px; font-weight: 700; color: #222;
    line-height: 1.2; margin-bottom: 15px; letter-spacing: -0.02em;
}
.sub-heading {
    font-size: 18px; color: #a7a7a7; font-weight: 600; margin-top: 5px;
}
.body-en {
    font-size: 16px; color: #333; line-height: 1.6; margin-bottom: 30px; font-weight: 400;
}
.body-kr {
    font-size: 14px; color: #a7a7a7; line-height: 1.7; font-weight: 300;
}
.text-section-center {
    text-align: center; width: 100%; max-width: 1000px; 
    margin: 100px auto; padding: 0 40px;
}
.center-heading {
    font-size: clamp(32px, 5vw, 64px); font-weight: 700; color: #222;
    line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.03em;
}
.highlight-blue { color: #33C5F4; }
.center-sub-heading {
    font-size: clamp(18px, 2.5vw, 28px); font-weight: 600; color: #333; 
    margin-bottom: 30px; letter-spacing: -0.02em;
}
.center-body-kr {
    font-size: 16px; font-weight: 400; color: #a7a7a7; line-height: 1.8;
}
.text-single-block {
    max-width: 800px; width: 100%; margin: 100px auto; 
    padding: 0 40px; text-align: left;
}
.text-single-block .body-en { margin-bottom: 24px; }
.detail-text {
    font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: #333;
    max-width: 1200px; width: 100%; margin: 0 auto; 
    padding: 0 40px; font-weight: 300; word-break: keep-all; 
}
.credit-section {
    margin-top: 40px; border-top: 1px solid #eee;
    padding: 40px 40px 0; max-width: 1800px;
    margin-left: auto; margin-right: auto;
}
.credit-grid {
    display: grid; grid-template-columns: 180px 1fr;
    gap: 15px; margin-bottom: 20px; font-size: 15px; line-height: 1.6;
}
.credit-label { font-weight: 700; color: #111; }
.credit-content { font-weight: 300; color: #555; }

.next-project {
    padding: 140px 40px; 
    text-align: center; 
    cursor: pointer; 
    transition: transform 0.3s ease; 
    margin-top: 60px;
    position: relative; 
    overflow: hidden; 
    color: #ffffff; 
    
    isolation: isolate; 
    z-index: 1;
}

.next-project::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--next-bg); 
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.6); 
    z-index: -1; 
    transform: scale(1.1); 
    transition: filter 0.3s ease, transform 0.3s ease; 
}

.next-project:hover { transform: translateY(-5px); }
.next-project:hover::before {
    filter: blur(5px) brightness(0.7); 
    transform: scale(1.05);
}
.next-label { 
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.8); 
    margin-bottom: 15px; 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
}
.next-title { 
    font-size: clamp(32px, 5vw, 72px); 
    font-weight: 800; 
    letter-spacing: -0.02em; 
}
@media (max-width: 768px) {
    header { padding: 15px 20px; flex-direction: column; gap: 15px; height: auto; }
    .logo-img { height: 50px; }
    nav ul { justify-content: center; gap: 25px; }
    nav ul li a { font-size: 16px; font-weight: 500; }
    main { padding-top: 140px; }
    .back-nav-container { top: 150px; padding: 0 20px; }
    .project-header { flex-direction: column; align-items: flex-start; padding: 0 20px; margin-bottom: 60px; }
    .project-specs { text-align: left; margin-top: 20px; }
    .detail-text { padding: 0 20px; }
    .credit-section { padding: 40px 20px 0; }
    .full-image-block { margin-bottom: 60px; }
    .credit-grid { grid-template-columns: 1fr; gap: 5px; margin-bottom: 30px; }
    .credit-label { margin-bottom: 5px; }
    .hero-image { height: 80vh; }
    .text-section-split {
        flex-direction: column; gap: 30px; padding: 0 20px; margin-bottom: 60px;
    }
    .text-left { flex: 0 0 auto; width: 100%; }
    .text-right { flex: 0 0 auto; width: 100%; padding-top: 0; }
    .main-heading { font-size: 32px; margin-bottom: 10px; }
    .blue-label { font-size: 20px; margin-bottom: 10px; }
    .text-section-center { margin: 60px auto; padding: 0 20px; }
    .text-single-block { margin: 60px auto; padding: 0 20px; max-width: 100%; }
    .full-image-block img.mobile-view-img { max-width: 100%; }
    .seesaw-logo-img {
        width: 70%; max-width: 400px; margin: 0 auto 30px auto; display: block;
    }
    .full-image-block video.video-limit { max-width: 100%; }
    .image-text-split {
        flex-direction: column; gap: 30px; padding: 0 20px; margin-bottom: 60px;
    }
    .split-image, .split-text { width: 100%; }
    .split-text { padding: 0; }
    .split-heading { font-size: 32px; margin-bottom: 10px; }
    .gif-grid-section { grid-template-columns: repeat(2, 1fr); }
    .next-project { padding: 100px 20px; }
    .next-title { font-size: 40px; }
}

/* ▼▼▼ [새로 추가된] 와이드 수직 배치 스타일 (화이트용) ▼▼▼ */
.text-section-vertical-wide {
    width: 100%;
    max-width: 1800px; /* 전체 너비 제한은 유지하되 넓게 */
    margin: 0 auto 80px;
    padding: 0 20px; /* 좌우 패딩을 줄여서 텍스트 영역 확보 */
    display: flex;
    flex-direction: column; /* 세로 배치 */
    align-items: flex-start; /* 좌측 정렬 */
    text-align: left;
}

.vertical-head {
    margin-bottom: 30px; /* 로고와 텍스트 사이 간격 */
    width: 100%;
}

.wide-logo-img {
    width: 100%;       /* auto를 100%로 변경: 부모 너비에 맞춰 반응형으로 줄어듬 */
    height: auto;      /* 비율 유지 */
    max-width: 800px;  /* 화면이 커도 이미지는 최대 400px까지만 커짐 */
    display: block;
}

.vertical-body {
    width: 100%;
    max-width: 100%; /* 텍스트가 부모 넓이를 꽉 채우도록 */
}
