/* moral.quest - Minimalist Philosophical Inquiry */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #1A1A1A;
    background: #FAFAFA;
    overflow-x: hidden;
}

/* ===== Content Column ===== */
.content-column {
    max-width: 580px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Opening ===== */
.opening {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-style: italic;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 2rem;
}

/* ===== Border Animate ===== */
.border-animate {
    height: 1px;
    background: #333333;
    margin: 0 auto 2rem;
    max-width: 100%;
    background-size: 0% 1px;
    background-image: linear-gradient(to right, #333333, #333333);
    background-repeat: no-repeat;
    background-position: center;
    transition: background-size 0.8s ease;
}

.border-animate.animate-active {
    background-size: 100% 1px;
}

/* ===== Section ===== */
.section {
    padding: 8vh 0;
}

/* ===== Section Label ===== */
.section-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-label.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Hand-Drawn Marks ===== */
.hand-mark {
    display: block;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.hand-mark.revealed {
    opacity: 0.15;
}

/* ===== Section Heading ===== */
.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #1A1A1A;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.section-heading.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Body Text ===== */
.body-text {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.body-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

.body-text p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #2A2A2A;
    margin-bottom: 1.25rem;
}

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

/* ===== Closing ===== */
.closing {
    padding: 8vh 0 20vh;
}

.closing-question {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: #1A1A1A;
    text-align: center;
    margin-top: 4rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.closing-question.revealed {
    opacity: 1;
    transform: translateY(0);
}

.closing-space {
    height: 20vh;
}

/* ===== Reveal ===== */
[data-reveal] {
    opacity: 0;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .content-column {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
