/* THE ORCHIDARIUM — entrance page */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --ink: #201d18;
    --soft-ink: #484235;
    --parchment: #c99a4d;
    --parchment-light: #ddb66b;
    --parchment-deep: #ad7737;
    --jade: #41584a;
    --lotus: #b98172;
    --seal-red: #843b2d;
}

html {
    min-height: 100%;
    background: #171713;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg,
            #151512 0,
            #24231c 7%,
            #323027 14%,
            #24231c 86%,
            #151512 100%);
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

.scroll-page {
    position: relative;
    width: min(100% - 40px, 920px);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(46px, 7vw, 86px) clamp(22px, 7vw, 72px) 58px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 28% 15%, rgba(247, 218, 145, 0.24), transparent 38%),
        radial-gradient(ellipse at 76% 57%, rgba(86, 106, 82, 0.11), transparent 36%),
        linear-gradient(100deg,
            rgba(114, 72, 31, 0.14),
            transparent 12%,
            rgba(255, 232, 168, 0.12) 48%,
            transparent 83%,
            rgba(91, 57, 27, 0.16)),
        linear-gradient(180deg,
            var(--parchment-deep) 0,
            var(--parchment-light) 4%,
            #d3a75c 48%,
            #c18d46 100%);
    border-right: 13px solid #191915;
    border-left: 13px solid #191915;
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.52);
}
.return-home {
    position: absolute;
    top: 28px;
    left: 32px;
    z-index: 2;
    color: rgba(32, 29, 24, 0.65);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

    .return-home:hover {
        color: #843b2d;
    }
.scroll-page::before,
.scroll-page::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 15px;
    background: #171713;
    box-shadow: 0 3px 0 rgba(224, 174, 75, 0.22);
}

.scroll-page::before {
    top: 0;
}

.scroll-page::after {
    bottom: 0;
    transform: rotate(180deg);
}

.entrance-header {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow {
    margin: 0 0 9px;
    color: var(--soft-ink);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-family: Garamond, "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(2.35rem, 6.7vw, 4.65rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    text-shadow: 0 1px rgba(248, 222, 156, 0.35);
}

.quiet-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 21px auto 0;
    color: rgba(32, 29, 24, 0.42);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

.quiet-menu a {
    color: var(--soft-ink);
    border-bottom: 1px solid transparent;
}

.quiet-menu a:hover,
.quiet-menu a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--seal-red);
    border-bottom-color: currentColor;
    outline: none;
}

.hero-orchid {
    position: relative;
    z-index: 0;
    width: min(100%, 670px);
    margin: clamp(25px, 4vw, 45px) auto 0;
    text-align: center;
}

.hero-orchid::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 17% 15% 24%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(231, 205, 139, 0.26), transparent 70%);
}

.hero-orchid img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 1050px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 9px 7px rgba(54, 39, 23, 0.13));
}

.hero-orchid figcaption {
    margin-top: -10px;
    color: rgba(44, 42, 34, 0.76);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.entrance-footer {
    position: relative;
    width: min(100%, 650px);
    margin: 48px auto 6px;
    padding-top: 36px;
    text-align: center;
}

.entrance-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(76%, 390px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(39, 48, 39, 0.48), transparent);
}

.seal {
    width: 37px;
    height: 37px;
    margin: 0 auto 20px;
    border: 2px solid rgba(105, 42, 31, 0.77);
    color: var(--seal-red);
    font-family: serif;
    font-size: 1.22rem;
    line-height: 32px;
    transform: rotate(-2deg);
}

.introduction {
    max-width: 590px;
    margin: 0 auto;
    color: #332f27;
    font-size: clamp(0.92rem, 2.4vw, 1.06rem);
    font-style: italic;
    line-height: 1.75;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 31px;
    color: var(--jade);
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links a {
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(65, 88, 74, 0.38);
}

@media (max-width: 600px) {
    body {
        background: #171713;
    }

    .scroll-page {
        width: calc(100% - 16px);
        padding: 45px 18px 44px;
        border-right-width: 7px;
        border-left-width: 7px;
    }

    .quiet-menu {
        gap: 0.42rem;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .hero-orchid {
        width: 112%;
        margin-left: -6%;
    }

    .hero-orchid figcaption {
        margin-top: 0;
    }

    .entrance-footer {
        margin-top: 38px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-orchid img {
        animation: reveal 900ms ease-out both;
    }
    @media (max-width: 600px) {
        .return-home {
            top: 23px;
            left: 20px;
            font-size: 0.6rem;
        }
    }
    @keyframes reveal {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
