@import url(https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=block);

:root {
    --ink: #010000;
    --parchment: #BBBBBC;
    --shadow: rgba(43, 42, 40, 0.3);
    --time: 0.2s;
}

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

body {
    font-family: "Crimson Text", serif;
    background-color: var(--ink);
    color: var(--parchment);
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    filter: contrast(1.5);
}

main {
    text-align: center;
    max-width: 600px;
    opacity: 1;
}

#emblem {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: brightness(1);
    transition: filter var(--time) ease;
}

body.depth-revealed #emblem {
    filter: contrast(1.5);
}

.manuscript {
    line-height: 1.8;
}

h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    transition: letter-spacing var(--time) ease;
}

body.depth-revealed h1 {
    letter-spacing: 0.25em;
}

.verse {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 2;
    letter-spacing: 0.02em;
}

.verse a {
    color: var(--parchment);
    text-decoration: none;
    position: relative;
    padding: 0 0.1em;
    transition: opacity 0.3s ease;
}

.verse a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--parchment);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.verse a:hover {
    opacity: 1;
}

.verse a:hover::after {
    opacity: 1;
}

.whisper {
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.6;
    line-height: 1.5;
    letter-spacing: 0.05em;
    transition: opacity var(--time) ease;
}

body.depth-revealed .whisper {
    opacity: 0.6;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
        min-height: 80vh;
    }

    h1 {
        font-size: 2.2rem;
    }

    .verse {
        font-size: 1.1rem;
        line-height: 1.9;
    }

    .whisper {
        font-size: 1rem;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}