/* ============================================
   eesugi.com - Japanese Zen Portfolio
   ============================================ */

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

body {
    background: #FAF9F6;
    color: #1A1A18;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
    overflow-x: hidden;
}

/* --- HERO / TOKONOMA --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: clamp(8rem, 20vw, 15rem);
    color: #9E9A94;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-watermark.revealed {
    opacity: 0.1;
    transition: opacity 2s ease-in-out;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.1em;
    color: #1A1A18;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-title.revealed {
    opacity: 1;
}

/* --- TRANSITION MOMENTS --- */
.transition-moment {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0ECE2;
}

.kanji-ghost {
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: clamp(8rem, 20vw, 15rem);
    color: #9E9A94;
    opacity: 0.08;
    user-select: none;
}

.kanji-ghost.breathing {
    animation: kanji-breathe 8s ease-in-out infinite;
}

@keyframes kanji-breathe {
    0%, 100% { opacity: 0.06; }
    50% { opacity: 0.10; }
}

/* --- FEATURE SECTIONS --- */
.feature-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 10vw;
    position: relative;
}

.feature-content {
    max-width: 480px;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.feature-content.visible {
    opacity: 1;
}

.feature-headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: #1A1A18;
    margin-bottom: 0.75rem;
}

.headline-line {
    width: 0;
    height: 0.5px;
    background: #B5A078;
    opacity: 0.3;
    margin-bottom: 1.5rem;
    transform-origin: left;
    transition: width 1.5s ease-out;
}

.feature-content.visible .headline-line {
    width: 40vw;
}

.feature-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 2.0;
    color: #4A3828;
    max-width: 440px;
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 10vw;
    right: 10vw;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #7A8B6F;
    opacity: 0.3;
}

/* --- FOOTER --- */
.footer {
    background: #0E0E0C;
    padding: 8rem 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
}

.enso-container {
    margin-bottom: 3rem;
}

.enso-path {
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 3s ease-in-out;
}

.enso-path.drawn {
    stroke-dashoffset: 45;
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-kanji {
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #9E9A94;
    opacity: 0.6;
}

.footer-domain {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: #FAF9F6;
    opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .feature-section {
        padding: 6vw;
    }

    .feature-content.visible .headline-line {
        width: 60vw;
    }
}
