:root {
    --night: #16131a;
    --bone: #ebe5d9;
    --muted: #a29a8f;
    --brass: #c4a66f;
    --rule: #342d3a;
}

body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    margin: 0;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    background: var(--night);
    color: var(--bone);
    font-family: Georgia, serif;
    font-size-adjust: 0.44;
    font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
}

main {
    flex-grow: 1;
}

header svg {
    display: block;
    width: clamp(9rem, 22vw, 13rem);
    height: auto;
    margin-inline: auto;
}

header a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

h1,
footer {
    color: var(--muted);
    font-family: system-ui, sans-serif;
    font-size-adjust: 0.47;
}

h1 {
    margin: 1.75rem 0 0;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.lead {
    max-width: 30rem;
    margin: clamp(3.5rem, 9vw, 7rem) auto 0;
}

ul {
    display: grid;
    gap: 0.6em;
    max-width: 60rem;
    margin: clamp(4rem, 10vw, 7rem) auto;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    border-block: 1px solid var(--rule);
    list-style: none;
    font-size: 1.35em;
    line-height: 1.35;
}

em {
    color: var(--brass);
}

address {
    font-style: normal;
}

main a {
    color: inherit;
    font-family: "Times New Roman", Times, serif;
    font-size-adjust: 0.49;
    overflow-wrap: anywhere;
    text-decoration-color: var(--brass);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

main a:hover {
    color: var(--brass);
    text-underline-offset: 0.15em;
}

a:focus-visible {
    outline: 1px solid var(--brass);
    outline-offset: 6px;
}

footer {
    display: grid;
    gap: 0.75em;
    margin-top: clamp(3rem, 12vw, 9rem);
    font-size: 0.9375rem;
}

footer p {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    h1 {
        animation: wordmark-in 1.5s ease-out;
    }

    @keyframes wordmark-in {
        from {
            opacity: 0;
        }
    }

    a {
        transition: color 250ms ease-out, text-underline-offset 250ms ease-out;
    }
}
