:root {
    color-scheme: light;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #27241f;
    background: #f4f0e8;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
}

main {
    width: min(100%, 58rem);
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    border-top: 1px solid #a89d8b;
    border-bottom: 1px solid #a89d8b;
}

h1 {
    margin: 0 0 clamp(3.5rem, 10vw, 7rem);
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
    font-size: clamp(4rem, 13vw, 9rem);
    font-weight: 400;
    line-height: 0.78;
    letter-spacing: -0.055em;
}

.contact {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact span {
    color: #716858;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact a {
    color: #27241f;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    text-decoration-color: #a89d8b;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
}

.contact a:hover,
.contact a:focus-visible {
    text-decoration-color: currentColor;
}

.contact a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 0.35rem;
}

@media (max-width: 32rem) {
    body {
        place-items: start stretch;
        padding: 1.25rem;
    }

    main {
        margin-top: 18vh;
    }

    h1 {
        font-size: clamp(3.8rem, 22vw, 6rem);
    }

    .contact {
        display: grid;
        gap: 0.75rem;
    }
}
