:root {
    color-scheme: light;
    --paper: #eeece5;
    --ink: #303d36;
    --muted: #73786e;
    --line: #cecfc3;
    --accent: #858d5c;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column
}

button,
input,
textarea {
    font: inherit
}

button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent
}

header,
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 5.4vw
}

header {
    height: 124px;
    border-bottom: 1px solid var(--line)
}

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

.wordmark {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1.2px;
    display: flex;
    align-items: center;
    gap: 9px
}

.mark {
    font-size: 33px;
    font-weight: 400;
    color: var(--accent);
    line-height: 1
}

.edition,
footer,
.coordinate,
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px
}

main {
    position: relative;
    flex: 1;
    min-height: 590px;
    display: flex;
    align-items: center;
    padding: 65px 10.8vw;
    overflow: hidden
}

.intro {
    position: relative;
    z-index: 1
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 32px
}

.eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent)
}

h1,
h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -3px
}

h1 {
    font-size: clamp(58px, 6.3vw, 94px);
    line-height: 1.08;
    margin: 0 0 31px
}

em {
    font-weight: 400;
    color: #78815e
}

.description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0
}

.soon {
    font-size: 12px;
    color: var(--muted);
    margin: 33px 0 0
}

.drawing {
    position: absolute;
    width: 410px;
    height: 410px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: .7
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid #aeb49b;
    border-radius: 50%
}

.orbit-one {
    transform: rotate(-28deg) scaleX(.47)
}

.orbit-two {
    transform: rotate(28deg) scaleX(.47)
}

.orbit-three {
    transform: rotate(90deg) scaleX(.47)
}

.core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%)
}

.axis {
    position: absolute;
    left: 50%;
    height: 480px;
    width: 1px;
    top: -35px;
    background: linear-gradient(transparent, #c8ccbb, transparent);
    transform: rotate(35deg)
}

.coordinate {
    position: absolute;
    right: 10.8vw;
    bottom: 45px;
    color: #8a8e80;
    font-size: 9px
}

footer {
    height: 89px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.3px
}

.contact-link {
    background: none;
    border: 0;
    color: var(--ink);
    padding: 14px 0 14px 18px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 0
}

.contact-link span {
    margin-left: 16px
}

.contact-link:hover {
    color: var(--accent)
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px
}

dialog {
    width: min(480px, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    padding: 45px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 24px 100px #25342c25
}

dialog::backdrop {
    background: #26372f50;
    backdrop-filter: blur(5px)
}

.close {
    position: absolute;
    right: 17px;
    top: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--muted);
    cursor: pointer;
    padding: 5px 10px
}

dialog .eyebrow {
    font-size: 9px;
    margin-bottom: 20px
}

h2 {
    font-size: 49px;
    letter-spacing: -2px;
    margin: 0 0 16px
}

.form-intro {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 26px
}

label {
    display: block;
    font-size: 11px;
    margin: 18px 0 8px
}

input,
textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #f6f5ef;
    padding: 11px;
    color: var(--ink);
    font-size: 14px
}

textarea {
    resize: vertical
}

.send {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: var(--ink);
    color: var(--paper);
    border: 0;
    padding: 15px 18px;
    margin-top: 22px;
    cursor: pointer;
    font-size: 12px
}

.send:hover {
    background: #465346
}

.send:disabled {
    opacity: .6;
    cursor: not-allowed
}

#contact-turnstile {
    margin-top: 18px
}

#form-status {
    font-size: 12px;
    line-height: 1.6;
    margin: 15px 0 0
}

.honeypot {
    position: absolute;
    left: -10000px
}

header button.edition {
    background: none;
    border: 0;
    padding: 12px 0;
    color: inherit;
    cursor: pointer
}

header button.edition:hover {
    color: var(--accent)
}

@media(min-width:1500px) {
    main {
        padding-left: 14vw
    }

    .drawing {
        right: 14%
    }
}

@media(max-width:1000px) {
    .drawing {
        right: -100px;
        opacity: .35
    }

    .intro {
        max-width: 700px
    }
}

@media(max-width:600px) {

    header,
    footer {
        margin: 0 25px
    }

    header {
        height: 94px
    }

    .wordmark {
        font-size: 23px
    }

    .edition {
        font-size: 8px;
        letter-spacing: 1px
    }

    main {
        min-height: 590px;
        padding: 75px 30px 150px;
        align-items: flex-start
    }

    h1 {
        font-size: 57px;
        letter-spacing: -2.5px
    }

    .eyebrow {
        font-size: 9px
    }

    .description {
        font-size: 14px
    }

    .drawing {
        width: 260px;
        height: 260px;
        right: -80px;
        top: auto;
        bottom: -40px;
        transform: none;
        opacity: .4
    }

    .axis {
        height: 320px
    }

    .coordinate {
        left: 30px;
        right: auto;
        bottom: 38px;
        font-size: 8px
    }

    footer {
        height: 80px
    }

    dialog {
        padding: 35px 25px
    }
}

@media(prefers-reduced-motion:no-preference) {
    .intro {
        animation: arrive 1s ease-out both
    }

    .drawing {
        animation: appear 1.8s ease-out both
    }

    @keyframes arrive {
        from {
            opacity: 0;
            translate: 0 12px
        }

        to {
            opacity: 1;
            translate: 0 0
        }
    }

    @keyframes appear {
        from {
            opacity: 0
        }

        to {
            opacity: .7
        }
    }
}