:root {
    color-scheme: dark;
    font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #11100e;
    color: #f4f0e8;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 75% 20%, rgb(151 112 70 / 18%), transparent 35%),
        linear-gradient(145deg, #171512 0%, #0c0c0b 100%);
}

a {
    color: inherit;
}

.foundation-shell {
    min-height: 100vh;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.foundation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.foundation-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    letter-spacing: 0.2em;
    text-decoration: none;
}

.foundation-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.foundation-languages a {
    padding-block: 0.35rem;
    color: #c9c2b8;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-decoration: none;
}

.foundation-languages a[aria-current="page"] {
    color: #fff;
    border-block-end: 1px solid currentColor;
}

.foundation-hero {
    display: grid;
    align-content: center;
    min-height: calc(100vh - 7rem);
    max-width: 58rem;
    margin-inline: auto;
}

.foundation-kicker {
    margin: 0 0 1rem;
    color: #b99a75;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.foundation-hero h1 {
    max-width: 14ch;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 400;
    line-height: 0.96;
}

.foundation-hero p:last-child {
    max-width: 42rem;
    margin-block: 2rem 0;
    color: #c9c2b8;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

@media (max-width: 40rem) {
    .foundation-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .foundation-hero {
        min-height: calc(100vh - 9rem);
    }
}
