/* turingtest.quest — evolved-minimal, ma-negative-space, monochrome */

/* Palette
 * Background:    #FAFAFA  (near white)
 * Type black:    #1A1A1A  (primary)
 * Reading gray:  #3A3A3A  (body)
 * Whisper gray:  #8A8A8A  (meta)
 * Breath line:   #D0D0D0  (rule)
 * Touch gray:    #E8E8E8  (hover)
 */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAFAFA;
    color: #3A3A3A;
    font-family: "Cormorant", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.quest {
    display: block;
    width: 100%;
}

/* ---------- Chambers ---------- */

.chamber {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 150vh;
    padding: 0;
}

.chamber--void {
    min-height: 100vh;
}

.chamber--void-long {
    min-height: 120vh;
}

.chamber--silence {
    min-height: 80vh;
}

.chamber__content {
    width: 100%;
    max-width: 520px;
    padding: 0 40px;
    text-align: center;
}

.chamber__content--left {
    margin-left: 0;
    margin-right: auto;
    padding-left: 8vw;
    padding-right: 40px;
    text-align: left;
    max-width: 560px;
    transform: translateX(-6vw);
}

.chamber--shifted {
    justify-content: flex-start;
    padding-left: 6vw;
}

.chamber--final .chamber__content {
    text-align: center;
}

/* ---------- Typography ---------- */

.question {
    font-family: "Cormorant", Georgia, serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #1A1A1A;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
    margin: 0;
}

.question--shifted {
    font-weight: 300;
    font-size: 34px;
}

.question--final {
    font-weight: 300;
    font-size: 38px;
}

.response {
    font-family: "Cormorant", Georgia, serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.9;
    color: #3A3A3A;
    margin-bottom: 1.6em;
    letter-spacing: 0.005em;
}

.response:last-child {
    margin-bottom: 0;
}

.response--narrow {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.meta {
    font-family: "Cormorant", Georgia, serif;
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    line-height: 1.7;
    color: #8A8A8A;
    letter-spacing: 0.04em;
    margin-bottom: 2.2em;
}

.meta--echo {
    margin-top: 2.4em;
    margin-bottom: 0;
    color: #8A8A8A;
}

.meta--echo em {
    font-style: italic;
}

/* ---------- Breath Line ---------- */

.breath-line {
    border: none;
    height: 1px;
    width: 120px;
    background-color: #D0D0D0;
    margin: 3em auto 0 auto;
    display: block;
}

.breath-line--left {
    margin-left: 0;
    margin-right: auto;
}

/* ---------- Cursor ---------- */

.cursor {
    display: inline-block;
    color: #1A1A1A;
    font-weight: 300;
    margin-left: 0.08em;
    animation: blink 1.2s step-end infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* ---------- Reveal ---------- */

.reveal {
    opacity: 0;
    transition: opacity 1500ms ease-in;
}

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

/* ---------- Selection ---------- */

::selection {
    background-color: #E8E8E8;
    color: #1A1A1A;
}

::-moz-selection {
    background-color: #E8E8E8;
    color: #1A1A1A;
}

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

@media (max-width: 480px) {
    .chamber__content {
        padding: 0 20px;
    }

    .chamber__content--left {
        padding-left: 20px;
        padding-right: 20px;
        transform: translateX(0);
    }

    .chamber--shifted {
        padding-left: 0;
        justify-content: center;
    }

    .question {
        font-size: 28px;
    }

    .question--shifted {
        font-size: 26px;
    }

    .question--final {
        font-size: 30px;
    }

    .response {
        font-size: 16px;
    }
}
