/* ========================================
   NURU - FINAL VERSION
   백세주 + 에디토리얼 + SUIT 폰트
======================================== */

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'SUIT', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #1a1a1a;
    color: #f9f7f4;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SCROLL PROGRESS BAR
======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(139, 149, 86, 0.1);
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: #8B9556;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ========================================
   SECTION 1: HERO (킨포크 풀블리드)
======================================== */
.hero-kinfolk {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.2), rgba(26, 26, 26, 0.5));
}

.hero-logo {
    font-family: 'Fraunces', serif;
    font-size: clamp(80px, 12vw, 140px);
    font-weight: 900;
    color: #f9f7f4;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    color: #8B9556;
    letter-spacing: 0.3em;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SECTION 2: 재료 스토리 (가로 스크롤 Pin)
======================================== */
.ingredient-story {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.story-container {
    display: flex;
    width: 300vw;
    height: 100vh;
}

.story-panel {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 6px 1fr;
    align-items: center;
}

.story-content {
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #8B9556;
    letter-spacing: 0.3em;
    margin-bottom: 40px;
}

.story-title {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(80px, 12vw, 140px);
    font-weight: 800;
    color: #f9f7f4;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.story-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: rgba(249, 247, 244, 0.5);
    letter-spacing: 0.3em;
    margin-bottom: 40px;
}

/* 굵은 초록 밑줄 (에디토리얼 선의 미학) */
.story-line {
    width: 120px;
    height: 8px;
    background: #8B9556;
    margin-bottom: 40px;
}

.story-desc {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    color: rgba(249, 247, 244, 0.8);
    line-height: 1.8;
}

/* 굵은 초록 세로선 (6px) */
.story-divider {
    width: 6px;
    height: 100%;
    background: #8B9556;
}

.story-image {
    height: 100vh;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SECTION 3: 발효 타임라인 (순차 등장 Pin)
======================================== */
.fermentation-timeline {
    height: 100vh;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1600px;
    padding: 0 40px;
    width: 100%;
}

.timeline-card {
    position: relative;
    aspect-ratio: 3/4;
    background: #2a2a2a;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
}

.timeline-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.timeline-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.timeline-info {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.7));
}

.timeline-day {
    font-family: 'Fraunces', serif;
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 900;
    color: #f9f7f4;
    line-height: 0.9;
    text-align: center;
    margin-bottom: 20px;
}

.timeline-label {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    color: #8B9556;
    letter-spacing: 0.1em;
}

/* ========================================
   SECTION 4: BRUTALISM 브랜드 철학
======================================== */
.brutalism-philosophy {
    background: #1a1a1a;
    position: relative;
}

.brutal-panel {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(139, 149, 86, 0.1);
}

.brutal-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(80px, 15vw, 220px);
    font-weight: 900;
    color: rgba(139, 149, 86, 0.03);
    letter-spacing: -0.02em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.brutal-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 5%;
    text-align: center;
}

.brutal-heading {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(56px, 9vw, 120px);
    font-weight: 800;
    color: #f9f7f4;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
}

.brutal-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 300;
    color: #8B9556;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brutal-panel:hover .brutal-bg {
    color: rgba(139, 149, 86, 0.08);
    transition: color 0.5s ease;
}

/* ========================================
   SECTION 5: 매거진 스프레드 제품
======================================== */
.magazine-spread {
    background: #1a1a1a;
    padding: 0;
}

.spread-item {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    transition: background-color 0.6s ease;
}

.spread-original {
    background: #1a1a1a;
}

.spread-dark {
    background: #161616;
}

.spread-seasonal {
    background: #1c1c1c;
}

.spread-image {
    height: 100vh;
    overflow: hidden;
}

.spread-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.spread-item:hover .spread-image img {
    transform: scale(1.05);
}

.spread-content {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spread-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: #8B9556;
    margin-bottom: 40px;
}

.spread-title {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(56px, 7vw, 90px);
    font-weight: 800;
    color: #f9f7f4;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
}

.spread-desc {
    font-family: 'SUIT', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    color: rgba(249, 247, 244, 0.8);
    line-height: 1.8;
    margin-bottom: 60px;
}

.spread-specs {
    display: flex;
    gap: 30px;
}

.spec-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #8B9556;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border: 1px solid rgba(139, 149, 86, 0.3);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(139, 149, 86, 0.1);
    border-color: #8B9556;
}

/* ========================================
   FOOTER
======================================== */
.footer-minimal {
    background: #1a1a1a;
    border-top: 1px solid rgba(139, 149, 86, 0.1);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: #f9f7f4;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.footer-year {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #8B9556;
    letter-spacing: 0.2em;
}

.footer-links {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    font-family: 'SUIT', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #f9f7f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B9556;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(249, 247, 244, 0.4);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .story-panel {
        grid-template-columns: 1fr;
    }
    
    .story-divider {
        display: none;
    }
    
    .story-image {
        height: 50vh;
    }
    
    .timeline-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .spread-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .spread-image {
        height: 50vh;
    }
    
    .spread-content {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .story-content {
        padding: 40px 30px;
    }
    
    .story-title {
        font-size: 60px;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-card {
        aspect-ratio: 4/3;
    }
    
    .brutal-heading {
        font-size: 48px;
    }
    
    .spread-title {
        font-size: 48px;
    }
    
    .spread-specs {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Performance */
.story-panel,
.timeline-card,
.brutal-panel,
.spread-item {
    will-change: transform;
}
