/* ===== CSS Variables ===== */
:root {
    --color-bg-start: #FAF9F7;
    --color-bg-end: #FFF9F0;
    --color-text: #1A1A1A;
    --color-text-muted: #6B6B6B;
    --color-accent: #C4A46B;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-start);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Section Base ===== */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.section-content {
    max-width: 800px;
    text-align: center;
}

/* ===== Hero Section ===== */
.section-hero {
    flex-direction: column;
    background: var(--color-bg-start);
}

.hero-content {
    text-align: center;
}

.wordmark {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.tagline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Statement Sections ===== */
.statement {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
}

.statement em {
    font-style: italic;
    color: var(--color-accent);
}

/* ===== Fade-in Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Background Gradient Progression ===== */
.section-hero {
    background: var(--color-bg-start);
}

.section-problem,
.section-problem-2 {
    background: linear-gradient(180deg, var(--color-bg-start) 0%, #FAF8F4 100%);
}

.section-turn {
    background: #FAF8F4;
}

.section-intro {
    background: linear-gradient(180deg, #FAF8F4 0%, #FDF9F3 100%);
}

.section-philosophy {
    background: #FDF9F3;
}

.section-privacy {
    background: linear-gradient(180deg, #FDF9F3 0%, #FFF9F0 100%);
}

.section-close {
    background: var(--color-bg-end);
}

/* ===== Close Section ===== */
.section-close {
    flex-direction: column;
    min-height: 100vh;
}

.close-content {
    text-align: center;
}

.coming-soon {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.contact {
    margin-bottom: 4rem;
}

.contact-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
}

.wordmark-footer {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.company-attribution {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1.5rem;
    }

    .statement {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 1.25rem;
    }

    .wordmark {
        letter-spacing: 0.1em;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .scroll-indicator {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
