:root {
    --cream: #f6f1e8;
    --paper: #fbf8f2;
    --ink: #211f1b;
    --gold: #bd7d36;
    --line: #d9cbb8;
    --max: 1220px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a { color: inherit; }

.header {
    border-bottom: 1px solid rgba(189, 125, 54, .25);
}

.header__inner {
    width: min(calc(100% - 56px), var(--max));
    min-height: 132px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.header__brand {
    width: 145px;
    height: 116px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav a {
    position: relative;
    padding: 13px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-size: 15px;
    font-weight: 700;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--gold);
    transition: left .2s ease, right .2s ease;
}

.nav a:hover::after,
.nav a.active::after {
    left: 0;
    right: 0;
}

.menu {
    display: none;
}

.front {
    flex: 1;
    min-height: 610px;
    display: grid;
    place-items: center;
    padding: 70px 24px 90px;
}

.front__logo-wrap {
    width: min(100%, 560px);
}

.front__logo {
    width: 100%;
    height: auto;
}

.footer {
    padding: 0 28px 24px;
}

.footer__inner {
    width: min(100%, var(--max));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    align-items: center;
}

.footer__inner span {
    height: 1px;
    background: rgba(189, 125, 54, .30);
}

.footer small {
    color: #746d63;
    font-size: 10px;
    letter-spacing: .4em;
}

@media (max-width: 760px) {
    .header__inner {
        width: calc(100% - 36px);
        min-height: 105px;
    }

    .header__brand {
        width: 115px;
        height: 91px;
    }

    .menu {
        display: flex;
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    .menu i {
        display: block;
        width: 17px;
        height: 1px;
        background: var(--ink);
    }

    .nav {
        display: none;
        position: absolute;
        z-index: 10;
        top: 105px;
        left: 18px;
        right: 18px;
        padding: 20px;
        background: var(--paper);
        border: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px 4px;
        font-size: 14px;
    }

    .front {
        min-height: 520px;
        padding: 55px 22px 75px;
    }

    .front__logo-wrap {
        width: min(92vw, 430px);
    }
}
