@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&display=swap');

:root {
    --paper: #f4f1ea;
    --ink: #eeeae1;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    background: #111;
    color: var(--ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(.72) contrast(.92) brightness(.78);
    transform: scale(1.015);
}

.vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 9, .48) 0%,
            rgba(8, 10, 9, .10) 32%,
            rgba(8, 10, 9, .03) 62%,
            rgba(8, 10, 9, .34) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 7, 6, .48) 0%,
            transparent 30%,
            rgba(5, 7, 6, .18) 100%
        );
    pointer-events: none;
}

.poem {
    position: relative;
    z-index: 2;
    width: min(650px, 76vw);
    text-align: center;
    margin-left: 5vw;
    margin-bottom: 1vh;
    text-shadow:
        0 2px 14px rgba(0,0,0,.55),
        0 1px 2px rgba(0,0,0,.8);
}

.poem p {
    margin: 0;
    font-size: clamp(2rem, 1.6vw, 1.7rem);
    font-weight: 300;
    line-height: 1.22;
    letter-spacing: .018em;
}

.ornament {
    margin: 0 auto 22px;
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-weight: 300;
    opacity: .72;
}

.ornament.bottom {
    margin: 25px auto 0;
}

.scroll-hint {
    position: absolute;
    z-index: 3;
    left: 38px;
    bottom: 28px;
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: lowercase;
    opacity: .52;
    text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

@media (max-width: 700px) {
    .hero {
        min-height: 100svh;
    }

    .hero-image {
        object-position: 38% center;
    }

    .poem {
        width: 82vw;
        margin-left: 0;
        margin-bottom: 8vh;
    }

    .poem p {
        font-size: clamp(1.8rem, 8vw, 2.7rem);
        line-height: 1.28;
    }

    .scroll-hint {
        left: 20px;
        bottom: 18px;
    }
}
