/* ============================================
   MONOPOLE.ONE — Japanese Zen / Minimal
   ============================================ */

:root {
    --warm-gray: #C4B9A8;
    --rice-paper: #FAFAF8;
    --mid-gray: #8A8A8A;
    --soft-ink: #3A3A3A;
    --sumi-ink: #1C1C1C;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 2.0;
    color: var(--soft-ink);
    background: var(--rice-paper);
    overflow-x: hidden;
}

/* ---- Scroll Progress Indicator ---- */

.scroll-progress {
    position: fixed;
    right: 32px;
    top: 0;
    bottom: 0;
    width: 1px;
    z-index: 100;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-progress.visible {
    opacity: 1;
    transform: translateX(0);
}

.progress-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--warm-gray);
    opacity: 0.4;
}

.progress-dot {
    position: absolute;
    top: 0;
    left: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sumi-ink);
    transition: top 0.1s linear;
}

/* ---- Sections ---- */

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ma-space {
    height: 100vh;
}

.ma-space-half {
    height: 50vh;
}

/* ---- Hero ---- */

.hero-section {
    position: relative;
}

.site-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 40px;
    letter-spacing: 0.08em;
    color: var(--sumi-ink);
    text-transform: lowercase;
    opacity: 0;
    transition: opacity 3s linear;
}

.site-title.visible {
    opacity: 1;
}

/* ---- Content Sections ---- */

.content-section {
    padding: 0 24px;
}

.section-inner {
    max-width: 560px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.section-inner.in-view {
    opacity: 1;
    transform: translateY(0);
}

.section-accent {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    color: var(--warm-gray);
    display: block;
    margin-bottom: 32px;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 0.06em;
    color: var(--sumi-ink);
    text-transform: lowercase;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-body {
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 2.0;
    color: var(--soft-ink);
    text-align: center;
}

/* ---- Enso ---- */

.enso-section {
    position: relative;
}

.enso {
    width: 320px;
    height: 320px;
}

.enso-path {
    stroke-dasharray: 1010;
    stroke-dashoffset: 1010;
    transition: stroke-dashoffset 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

/* ---- Thin Rule ---- */

.thin-rule {
    width: 60px;
    height: 1px;
    background: var(--warm-gray);
    margin: 0 auto 40px;
    opacity: 0.5;
}

/* ---- Closing ---- */

.closing-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--mid-gray);
    margin-bottom: 8px;
}

.closing-year {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--warm-gray);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .site-title {
        font-size: 30px;
    }

    .section-heading {
        font-size: 26px;
    }

    .scroll-progress {
        right: 16px;
    }

    .enso {
        width: 240px;
        height: 240px;
    }
}
