/* Palette Reference:
   Background: #FFFDF8, Surface: #F5F2ED, Highlight: #EBE7E0,
   Border: #D4CFC8, Accent Warm: #C4A882, Muted: #8B9488,
   Accent Green: #6B8F71, Text Secondary: #4A5548, Text Primary: #2C3E2D
*/

/* Global Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFDF8;
    color: #4A5548;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sticky Header */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: transparent;
    transition: background-color 0.4s ease;
    z-index: 100;
}

#site-header.scrolled {
    background-color: rgba(255, 253, 248, 0.95);
}

.header-domain {
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    color: #8B9488;
    letter-spacing: 0.02em;
}

/* Section 1: Arrival */
.section-arrival {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFDF8;
    overflow: hidden;
}

.leaf-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 200px;
    pointer-events: none;
    z-index: 0;
}

.arrival-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.arrival-title {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #2C3E2D;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.breathing-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #6B8F71;
    border-radius: 50%;
    background: none;
    animation: pulse-attention 4s ease-in-out infinite alternate;
}

@keyframes pulse-attention {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.08);
    }
}

.arrival-text {
    font-family: 'Figtree', sans-serif;
    font-size: 17px;
    color: #4A5548;
    max-width: 480px;
    line-height: 1.85;
}

/* Section 2: Understanding */
.section-understanding {
    padding-top: 160px;
    padding-bottom: 80px;
}

.section-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #2C3E2D;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin-bottom: 40px;
}

.body-text p {
    margin-bottom: 28px;
    color: #4A5548;
}

.body-text p:last-child {
    margin-bottom: 0;
}

.pull-quote {
    max-width: 400px;
    margin: 80px auto;
    text-align: center;
    border-left: 2px solid #C4A882;
    padding-left: 24px;
    text-align: left;
}

.pull-quote p {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-style: italic;
    color: #2C3E2D;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.organic-divider {
    max-width: 256px;
    margin: 0 auto;
    padding: 0 24px;
}

.organic-divider svg {
    width: 100%;
    height: 12px;
    display: block;
}

.organic-divider-full {
    max-width: 100%;
    padding: 0;
}

/* Section 3: Method */
.section-method {
    padding-top: 160px;
    padding-bottom: 80px;
}

.method-block {
    margin-bottom: 0;
}

.subsection-header {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: #2C3E2D;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.method-block .body-text {
    color: #4A5548;
}

.method-block:hover {
    background-color: #EBE7E0;
    border-radius: 4px;
    padding: 24px;
    margin: -24px;
    transition: background-color 0.3s ease;
}

.method-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #6B8F71;
    opacity: 0.3;
    margin: 80px auto;
}

/* Section 4: Atmosphere */
.section-atmosphere {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F2ED;
    background-image: repeating-linear-gradient(
        90deg,
        #FFFDF8 0px,
        #FFFDF8 1px,
        transparent 1px,
        transparent 2px
    );
    background-size: 2px 100%;
    background-blend-mode: overlay;
}

.atmosphere-content {
    max-width: 640px;
    padding: 0 24px;
    text-align: center;
}

.atmosphere-statement {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #2C3E2D;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Section 5: Close */
.section-close {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 80px 24px;
    background-color: #FFFDF8;
    background-image: radial-gradient(circle, #D4CFC8 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0;
    opacity: 1;
}

.section-close .organic-divider-full {
    width: 100%;
}

.close-domain {
    font-family: 'Overpass Mono', monospace;
    font-size: 13px;
    color: #8B9488;
    letter-spacing: 0.03em;
}

.close-text {
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    color: #8B9488;
    line-height: 1.6;
}

/* Dot grid in close section uses lower opacity */
.section-close {
    background-image: radial-gradient(circle, rgba(212, 207, 200, 0.08) 2px, transparent 2px);
}

/* Fade reveal animation */
.fade-reveal {
    opacity: 0;
    transition: opacity 1000ms ease;
}

.fade-reveal.visible {
    opacity: 1;
}

.section-method .fade-reveal {
    transition-duration: 800ms;
}
