:root {
    --paper: #eee9e2;
    --ink: #332d27;
    --muted: #746c64;
    --line: rgba(80, 71, 62, 0.24);
    --header-height: 136px;
}

* {
    box-sizing: border-box;
}

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

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Montserrat", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header {
    align-items: center;
    background: #F2F0E4;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 128px 1fr 180px;
    height: var(--header-height);
    padding: 0 70px;
    position: relative;
    z-index: 5;
}

.brand-mark {
    align-items: center;
    display: inline-flex;
    height: 72px;
    justify-content: center;
    width: 72px;
}

.brand-mark img {
    display: block;
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 60px;
    justify-content: center;
}

.main-nav a,
.currency-button,
.text-link {
    color: #625b53;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
}

.main-nav a {
    white-space: nowrap;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 32px;
    justify-content: flex-end;
}

.currency-button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    padding: 12px 0;
}

.currency-button svg {
    fill: none;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 14px;
}

.currency-label-mobile {
    display: none;
}

.bag-link {
    color: #5f574e;
    display: inline-flex;
    padding: 10px;
}

.bag-link svg {
    fill: none;
    height: 29px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
    width: 29px;
}

.landing-page {
    min-height: calc(100vh - var(--header-height));
}

.hero {
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    position: relative;
}

.hero::after {
    background:
        linear-gradient(90deg, rgba(239, 234, 227, 0.98) 0%, rgba(239, 234, 227, 0.82) 23%, rgba(239, 234, 227, 0.25) 53%, rgba(239, 234, 227, 0) 78%),
        linear-gradient(180deg, rgba(50, 42, 34, 0.08), rgba(50, 42, 34, 0));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.hero-image {
    display: block;
    height: calc(100vh - var(--header-height));
    min-height: 650px;
    object-fit: cover;
    object-position: center right;
    width: 100%;
}

.hero-content {
    left: 84px;
    max-width: 620px;
    position: absolute;
    top: 31.5%;
    z-index: 2;
}

.hero h1 {
    animation: heroFadeIn 900ms ease-out 180ms both;
    color: #2f2924;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 82px;
    font-weight: 400;
    letter-spacing: 14px;
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
}

.hero-kicker {
    animation: heroFadeIn 900ms ease-out 520ms both;
    color: #4d463f;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 8px;
    line-height: 1.4;
    margin: 28px 0 0;
    text-transform: uppercase;
}

.divider {
    background: #5f574f;
    display: block;
    height: 2px;
    margin: 52px 0 39px;
    width: 78px;
}

.hero-copy {
    color: #4f4841;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.28;
    margin: 0;
    max-width: 446px;
}

.text-link {
    display: inline-block;
    margin-top: 58px;
    padding-bottom: 18px;
    position: relative;
}

.text-link::after {
    background: #665e55;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 142px;
}

@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero-kicker {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 96px 1fr 142px;
        padding: 0 32px;
    }

    .main-nav {
        gap: 32px;
    }

    .main-nav a,
    .currency-button,
    .text-link {
        letter-spacing: 2.2px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 82px;
    }

    .site-header {
        align-content: center;
        column-gap: 16px;
        grid-template-columns: 68px 1fr;
        height: var(--header-height);
        padding: 8px 18px;
    }

    .brand-mark {
        grid-column: 1;
        grid-row: 1;
        height: 58px;
        justify-content: flex-start;
        width: 58px;
    }

    .brand-mark img {
        height: 58px;
        width: 58px;
    }

    .header-actions {
        gap: 14px;
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        min-width: 0;
    }

    .currency-button {
        font-size: 11px;
        gap: 5px;
        letter-spacing: 1.4px;
        padding: 8px 0;
        white-space: nowrap;
    }

    .currency-label-desktop {
        display: none;
    }

    .currency-label-mobile {
        display: inline;
    }

    .currency-button svg {
        height: 12px;
        transition: transform 180ms ease;
        width: 12px;
    }

    .site-header.is-menu-open .currency-button svg {
        transform: rotate(180deg);
    }

    .bag-link {
        padding: 8px 0 8px 8px;
    }

    .bag-link svg {
        height: 25px;
        width: 25px;
    }

    .main-nav {
        align-items: stretch;
        background: #F2F0E4;
        border-bottom: 1px solid var(--line);
        border-top: 1px solid rgba(80, 71, 62, 0.14);
        box-shadow: 0 18px 34px rgba(55, 47, 39, 0.08);
        display: none;
        flex-direction: column;
        gap: 0;
        grid-column: 1 / -1;
        justify-content: flex-start;
        left: 0;
        margin: 0;
        min-width: 0;
        overflow: hidden;
        padding: 0 18px;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .site-header.is-menu-open .main-nav {
        display: flex;
    }

    .main-nav a {
        border-bottom: 1px solid rgba(80, 71, 62, 0.12);
        font-size: 11px;
        letter-spacing: 2px;
        padding: 18px 0;
        width: 100%;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(239, 234, 227, 0.88) 0%, rgba(239, 234, 227, 0.46) 42%, rgba(239, 234, 227, 0.06) 100%),
            linear-gradient(180deg, rgba(239, 234, 227, 0.3) 0%, rgba(239, 234, 227, 0.02) 42%, rgba(50, 42, 34, 0.08) 100%);
    }

    .hero-image {
        height: calc(100vh - var(--header-height));
        min-height: 640px;
        object-position: 86% center;
    }

    .hero-content {
        left: 50%;
        max-width: min(86vw, 390px);
        text-align: center;
        top: 31%;
        transform: translateX(-50%);
        width: 100%;
    }

    .hero h1 {
        font-size: 68px;
        letter-spacing: 10px;
        line-height: 0.92;
        overflow-wrap: normal;
        text-align: center;
        white-space: normal;
    }

    .hero-kicker {
        font-size: 18px;
        letter-spacing: 8px;
        line-height: 1.55;
        margin-top: 46px;
        text-align: center;
    }

    .divider {
        margin: 52px auto 0;
    }

    .hero-copy,
    .text-link {
        display: none;
    }
}

@media (max-width: 420px) {
    .site-header {
        grid-template-columns: 56px 1fr;
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-mark,
    .brand-mark img {
        height: 52px;
        width: 52px;
    }

    .main-nav {
        margin-left: 0;
        margin-right: 0;
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-content {
        max-width: 84vw;
        top: 31%;
    }

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

    .hero-kicker {
        font-size: 16px;
        letter-spacing: 6px;
        margin-top: 42px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 52px;
        letter-spacing: 7px;
    }

    .hero-kicker {
        font-size: 14px;
        letter-spacing: 5px;
    }
}
