/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-deep-forest: #1a2e24;
    --color-sage: #8ba698;
    --color-mist: #c8ddd0;
    --color-frost: #d4ece0;
    --color-petal: #c89db4;
    --color-fern: #7eb89e;
    --color-cream: #f4f1eb;
    --color-sand: #e8e2d8;
    --color-bark: #4a5d52;
    --color-dew: #e8f5ee;
    --color-moss: #9dc8b4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--color-deep-forest);
    color: var(--color-cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === FLOATING SHAPES === */
.shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0;
    animation: floatIn 2s ease-out forwards;
}

.shape-circle {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(157, 200, 180, 0.15), rgba(200, 157, 180, 0.08));
    border: 1px solid rgba(157, 200, 180, 0.1);
}

.shape-triangle {
    width: 0;
    height: 0;
    background: none;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(200, 157, 180, 0.08);
}

.shape-hexagon {
    background: rgba(126, 184, 158, 0.06);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(157, 200, 180, 0.08);
}

.shape-rect {
    border-radius: 8px;
    background: rgba(200, 221, 208, 0.05);
    border: 1px solid rgba(200, 221, 208, 0.08);
}

@keyframes floatIn {
    to { opacity: 1; }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(3deg); }
    50% { transform: translate(-5px, -25px) rotate(-2deg); }
    75% { transform: translate(15px, -10px) rotate(4deg); }
}

/* === TIMELINE SPINE === */
.timeline-spine {
    position: fixed;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(157, 200, 180, 0.4);
    box-shadow: 0 0 20px rgba(157, 200, 180, 0.08);
    z-index: 1;
    transform: translateX(-50%);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.hero-content {
    position: relative;
}

.studio-name {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
    line-height: 1.0;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.studio-name .dot {
    color: var(--color-petal);
}

.studio-subtitle {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-sage);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--color-moss);
    max-width: 400px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 3s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-sage);
    opacity: 0.6;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-sage), transparent);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === TIMELINE === */
.timeline {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-node {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.node-left {
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    text-align: right;
}

.node-right {
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
    text-align: left;
}

.node-marker {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-fern);
    border: 2px solid var(--color-moss);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(126, 184, 158, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-node.visible .node-marker {
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(126, 184, 158, 0.4); }
    50% { box-shadow: 0 0 25px rgba(126, 184, 158, 0.7); }
}

.node-content {
    max-width: 350px;
}

.node-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-petal);
    display: block;
    margin-bottom: 0.5rem;
}

.node-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--color-cream);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.node-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-sage);
    margin-bottom: 0.75rem;
}

.node-korean {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--color-petal);
    opacity: 0.7;
}

/* === SERVICES === */
.services {
    position: relative;
    z-index: 2;
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-cream);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(200, 221, 208, 0.04);
    border: 1px solid rgba(157, 200, 180, 0.12);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(157, 200, 180, 0.3);
    background: rgba(200, 221, 208, 0.08);
}

.service-icon {
    color: var(--color-fern);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--color-cream);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--color-sage);
    line-height: 1.6;
}

/* === CONTACT === */
.contact {
    position: relative;
    z-index: 2;
    padding: 10rem 2rem;
    text-align: center;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--color-sage);
    margin-bottom: 2rem;
}

.contact-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--color-fern);
    text-decoration: none;
    border-bottom: 1px solid rgba(126, 184, 158, 0.3);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-mist);
    border-color: var(--color-mist);
}

.contact-korean {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--color-petal);
    margin-top: 1.5rem;
    opacity: 0.6;
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-sand);
    /* #e8e2d8 */
}

.footer p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--color-sage);
    opacity: 0.5;
}

.footer-korean {
    font-family: 'Noto Sans KR', sans-serif;
    margin-top: 0.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .timeline-spine {
        left: 2rem;
    }

    .node-left,
    .node-right {
        padding-left: 4rem;
        padding-right: 1rem;
        justify-content: flex-start;
        text-align: left;
    }

    .node-marker {
        left: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
