@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("/fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("/fonts/cormorant-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("/fonts/cormorant-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    --ink: #1c1b19;
    --lead: #5e5850;
    --gold: #b08a55;
    --gold-ink: #9a7844;
    --brand: #7a5a32;
    --promise: #5c4124;
    --card: #f7f3ee;
    --brand-bg-opacity: 75%;
    --shop-bg-opacity: 50%;
    --label: #8a847c;
    --divider: rgba(168, 135, 88, 0.55);
    --shadow: 0 14px 34px rgba(92, 68, 36, 0.1);
    --radius-card: 1.05rem;
    --scene: #f8debd;
    --page-max: 46rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-block-size: 100dvb;
    color: var(--ink);
    background: var(--scene);
    font-family: Manrope, sans-serif;
}

.scene {
    position: fixed;
    inset: 0;
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center 70%;
}

.page {
    container: page / inline-size;
    position: relative;
    min-block-size: 100dvb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(7rem, 15vh, 8.5rem) 1.25rem 0;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    inline-size: min(100%, var(--page-max));
    margin-block: auto 0;
    text-align: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.7rem 1.45rem 0.8rem;
    background: color-mix(in srgb, var(--card) var(--brand-bg-opacity), transparent);
    border-radius: 1.15rem;
    box-shadow: var(--shadow);
}

.logo {
    margin: 0;
    color: var(--brand);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4.4rem, 7.4vw, 5.6rem);
    font-weight: 600;
    line-height: 0.75;
    letter-spacing: -0.04em;
}

.brand-name {
    margin: 0.7rem 0 0;
    padding-inline-start: 0.28em;
    color: var(--brand);
    font-size: clamp(0.95rem, 1.55vw, 1.12rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1 {
    display: flex;
    flex-direction: column;
    margin: clamp(0.65rem, 1.8dvh, 1.7rem) 0 0;
    font-size: clamp(2rem, 4.7vw, 3.45rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

h1 span {
    display: block;
}

.rule {
    inline-size: 2.5rem;
    block-size: 2px;
    margin: clamp(0.55rem, 1.6dvh, 1.35rem) 0 0;
    border: 0;
    background: var(--gold);
}

.lead {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-inline-size: 40rem;
    margin: clamp(0.5rem, 1.4dvh, 1.15rem) 0 0;
    color: var(--lead);
    font-size: clamp(1.08rem, 1.9vw, 1.38rem);
    font-weight: 500;
    line-height: 1.4;
}

.shops {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    inline-size: min(100%, var(--page-max));
    margin: clamp(0.7rem, 2dvh, 1.7rem) 0 0;
    padding: 0;
    list-style: none;
}

.shop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    inline-size: 100%;
    min-block-size: 5.75rem;
    padding: 1.05rem 0.85rem 0.9rem;
    color: inherit;
    text-decoration: none;
    background: color-mix(in srgb, var(--card) var(--shop-bg-opacity), transparent);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

.shop:hover {
    transform: translateY(-2px);
}

.shop:focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 3px;
}

.mark {
    display: block;
    inline-size: auto;
    block-size: auto;
    max-inline-size: 100%;
    max-block-size: 2.15rem;
}

.shop-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--label);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.shop-arrow {
    inline-size: 0.9rem;
    block-size: 0.9rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promises {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0;
    margin: clamp(0.65rem, 2dvh, 1.75rem) 0 0;
    padding: 0;
    list-style: none;
    color: var(--promise);
}

.promises li {
    display: flex;
    flex: 1 1 6.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    max-inline-size: none;
    padding-inline: 1.15rem;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.promises li + li {
    border-inline-start: 1px solid var(--divider);
}

.promise-icon {
    inline-size: 2.15rem;
    block-size: 2.15rem;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    shape-rendering: geometricPrecision;
}

.promise-wheel {
    fill: currentColor;
    stroke: none;
}

.legal {
    align-self: stretch;
    margin-block-start: auto;
    color: var(--lead);
    font-size: 0.54rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-wrap: pretty;
}

.legal p {
    margin: 0;
}

.legal p + p {
    margin-block-start: 0.12rem;
}

.legal a {
    color: inherit;
}

@container page (inline-size < 40rem) {
    .hero {
        margin-block-start: 0.5rem;
    }

    .logo {
        font-size: clamp(3.6rem, 18cqi, 4.4rem);
    }

    h1 {
        font-size: clamp(1.7rem, 8cqi, 2.15rem);
    }

    .brand-name {
        font-size: 0.82rem;
        letter-spacing: 0.2em;
    }

    .lead {
        display: block;
        max-inline-size: 20rem;
        font-size: 1.02rem;
        text-wrap: balance;
    }

    .lead span {
        display: inline;
    }

    .lead span + span::before {
        content: " ";
    }

    .shops {
        grid-template-columns: 1fr;
        max-inline-size: 18rem;
    }

    .promises {
        flex-wrap: nowrap;
        inline-size: 100%;
    }

    .promises li {
        padding-inline: 0.4rem;
        font-size: 0.68rem;
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop:hover {
        transform: none;
    }
}
