* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at center,
            #faf6f3 0%,
            #f7f2ee 55%,
            #f1ebe6 100%
        );

    color: #202020;

    font-family: Arial, Helvetica, sans-serif;
}


/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 42px 55px;

    z-index: 10;
}

.brand {
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 4px;
}

.brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

nav {
    display: flex;
    align-items: center;

    gap: 35px;
}

.language {
    border: none;
    background: transparent;

    font-size: 12px;
    letter-spacing: 3px;

    cursor: pointer;

    color: #777;
}

.language.active {
    color: #111;
    border-bottom: 1px solid #111;

    padding-bottom: 5px;
}

nav a {
    color: #222;

    text-decoration: none;

    font-size: 12px;
    letter-spacing: 4px;
}


/* HERO */

.hero {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.hero-content {
    width: min(68vw, 135vh);

    position: relative;

    display: grid;
    place-items: center;

    text-align: center;

    transform: translateY(9vh);
}

.hero-visual,
.hero h1 {
    grid-area: 1 / 1;
}

.hero-visual {
    display: block;
    width: 100%;
    height: auto;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 5%,
            rgba(0, 0, 0, 0.72) 11%,
            #000 19%,
            #000 81%,
            rgba(0, 0, 0, 0.72) 89%,
            rgba(0, 0, 0, 0.18) 95%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.35) 10%,
            #000 24%,
            #000 84%,
            rgba(0, 0, 0, 0.45) 94%,
            transparent 100%
        );
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 5%,
            rgba(0, 0, 0, 0.72) 11%,
            #000 19%,
            #000 81%,
            rgba(0, 0, 0, 0.72) 89%,
            rgba(0, 0, 0, 0.18) 95%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.35) 10%,
            #000 24%,
            #000 84%,
            rgba(0, 0, 0, 0.45) 94%,
            transparent 100%
        );
    mask-composite: intersect;
}

.hero h1 {
    position: absolute;
    top: 86%;
    left: 50%;
    z-index: 1;

    margin: 0;
    transform: translateX(-50%);

    color: #292826;

    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(13px, 1vw, 17px);
    font-weight: 300;

    letter-spacing: 0.55em;
    line-height: 1;
    white-space: nowrap;

    text-transform: lowercase;
}


/* FOOTER */

footer {
    position: fixed;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);
}

footer a {
    color: #777;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 1.5px;
}


/* MOBILE */

@media (max-width: 700px) {

    header {
        padding: 22px;
    }

    .brand {
        display: flex;
        align-items: center;
    }

    .brand img {
        width: 110px;
        height: auto;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .language {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 30px;
        letter-spacing: 8px;
    }

    .hero-content {
        width: min(105vw, 135vh);
        transform: translateY(calc(8vh - 50px));
    }

    .hero h1 {
        top: 86%;
        font-size: 13px;
        letter-spacing: 0.42em;
    }
}
