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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

html.scroll-locked {
    overflow: hidden;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
    position: relative;
    z-index: 5;
    overflow-x: hidden;
    max-width: 100%;
}

/* Section Titles */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 3em;
    color: var(--text-primary);
}

.section-title-jp {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 3em;
    color: var(--text-primary);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    background: var(--bg-secondary);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 60px 6%;
        min-height: auto;
    }
}
