:root {
    --bg-color: #FFFFFF;
    --text-color: #111111;
    --text-muted: #555555;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 100;
    background: transparent;
    mix-blend-mode: difference;
    color: #fff;
}

.top-left a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Hero Text Section (Swiss Typography Style) */
.hero-text-section {
    min-height: 100vh;
    padding: 12rem 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
}

.hero-text-content h1 {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 4rem;
    text-transform: none;
    margin-top: -0.15em; /* h1의 상단 여백을 시각적으로 상쇄하여 h4와 수평을 맞춤 */
}

.hero-meta {
    display: flex;
    gap: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.meta-column p {
    font-size: 1rem;
    color: var(--text-muted);
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 0;
}

.sidebar-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.sidebar-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Image Gallery (Full Screen) */
.image-gallery {
    display: flex;
    flex-direction: column;
}

.fullscreen-image {
    width: 100%;
    min-height: 80vh; /* 화면에 꽉 차기보다 적당히 큰 여백을 가짐 */
    padding: 4rem 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tight-bottom {
    padding-bottom: 1rem;
    min-height: auto;
}

.tight-top {
    padding-top: 1rem;
    min-height: auto;
}

.section-title {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    z-index: 10;
}

.parallax-img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    max-height: 85vh;
    object-fit: contain; /* 이미지가 잘리지 않게 조정 */
    transform: scale(1.05); /* 확대 폭을 줄임 */
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.wide-img {
    max-height: 95vh; /* 세로 제한을 완화하여 가로 너비를 더 확보 */
}

/* Color 섹션처럼 하나로 모아봐야 하는 이미지는 contain 처리 */
.contain-img {
    padding: 0;
}

.color-video {
    max-width: 1600px;
    max-height: 95vh;
}

.large-text-img {
    max-width: 1800px;
    max-height: 95vh;
}

.bg-light {
    background-color: #f5f5f7;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in.visible .parallax-img {
    transform: scale(1); /* 스크롤 시 서서히 작아지는 패럴랙스 느낌 연출 */
}

.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 900px) {
    .hero-text-section {
        grid-template-columns: 1fr;
        padding-top: 6rem;
    }
    
    .hero-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
    }

    .hero-meta {
        flex-direction: column;
        gap: 2rem;
    }

    .fullscreen-image {
        min-height: 60vh;
        padding: 2rem 1.5rem;
    }

    .hero-text-content h1 {
        margin-bottom: 2rem;
    }

    .contain-img {
        padding: 1rem;
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .fullscreen-image {
        min-height: auto;
        padding: 1.5rem 1rem;
    }

    .tight-bottom {
        padding-bottom: 0.5rem;
    }

    .tight-top {
        padding-top: 0.5rem;
    }

    .hero-text-content h1 {
        margin-bottom: 1.5rem;
    }
}
