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

@font-face {
    font-family: "Manrope";
    src: url("assets/manrope-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    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: "Playfair Display";
    src: url("assets/playfair-cyrillic.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Playfair Display";
    src: url("assets/playfair-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
    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: "Playfair Display";
    src: url("assets/playfair-italic-cyrillic.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Playfair Display";
    src: url("assets/playfair-italic-latin.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    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;
    --page: #faf8f4;
    --surface: #fffdf9;
    --cream: #f2e9dc;
    --ink: #251e1b;
    --muted: #61544d;
    --line: #e2d8cd;
    --accent: #782f30;
    --accent-dark: #592022;
    --accent-soft: #f3e6e1;
    --sans: "Manrope", "Segoe UI", sans-serif;
    --serif: "Playfair Display", Georgia, serif;
    --menu-search-offset: 0px;
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
}

:root.has-menu-search {
    --menu-search-offset: calc(3.875rem + 1px);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

h1, h2, h3, h4, p, dl, dd {
    margin: 0;
}

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

a {
    color: inherit;
}

a:focus-visible,
summary:focus-visible,
.component-link:focus-visible,
.dish-dialog button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

main[id],
section[id] {
    scroll-margin-top: calc(var(--menu-search-offset) + 1.5rem);
}

.container {
    width: min(calc(100% - 5rem), 76rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 4;
    top: .625rem;
    left: .625rem;
    padding: .625rem 1rem;
    color: var(--ink);
    background: var(--surface);
    transform: translateY(calc(-100% - 1.5rem));
}

.skip-link:focus {
    transform: none;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.menu-search-bar {
    position: sticky;
    z-index: 3;
    top: 0;
    padding-block: .5rem;
    border-bottom: 1px solid var(--line);
    background: var(--page);
}

.menu-search {
    position: relative;
    width: min(100%, 42rem);
    margin-inline: auto;
}

.menu-search::before,
.menu-search::after {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    color: var(--muted);
    content: "";
}

.menu-search::before {
    top: .875rem;
    left: .95rem;
    width: .8rem;
    height: .8rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.menu-search::after {
    top: 1.65rem;
    left: 1.6rem;
    width: .4rem;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
}

#menu-search-input {
    display: block;
    width: 100%;
    height: 2.875rem;
    padding: .35rem .8rem .35rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: .375rem;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
}

#menu-search-input::placeholder {
    color: var(--muted);
}

#menu-search-input:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

.menu-search-dropdown {
    position: absolute;
    top: calc(100% + .375rem);
    inset-inline: 0;
    max-height: min(23rem, 42vh);
    max-height: min(23rem, 42dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: .4rem;
    background: var(--surface);
    box-shadow: 0 .6rem 1.4rem #251e1b24;
}

#menu-search-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-search-option {
    display: grid;
    gap: .125rem;
    padding: .55rem .85rem;
    line-height: 1.4;
    cursor: pointer;
}

.menu-search-option + .menu-search-option {
    border-top: 1px solid var(--line);
}

.menu-search-option:hover,
.menu-search-option[aria-selected="true"] {
    background: var(--accent-soft);
}

.menu-search-name {
    font-weight: 800;
}

.menu-search-context,
.menu-search-empty {
    color: var(--muted);
    font-size: .875rem;
}

.menu-search-empty {
    padding: .65rem .85rem;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: .625rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 4px;
    color: var(--surface);
    background: var(--accent);
    font: 600 1.25rem/1 var(--serif);
}

.brand-name {
    font: 650 1.45rem/1.2 var(--serif);
    letter-spacing: -.035em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.875rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .3em;
}

.staff-label {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: .45rem;
    padding: .35rem .75rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--accent-dark);
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
}

.staff-dot {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    min-height: 25.5rem;
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--cream);
}

.hero-copy {
    align-self: center;
    padding: 3rem clamp(1.5rem, 4.45vw, 4rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .625rem;
    color: var(--accent);
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .115em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 1.5rem;
    height: 1px;
    background: currentColor;
    content: "";
}

.hero h1,
.section-heading h2,
.category-panel h3,
.guide h2,
.dish-card h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.028em;
    line-height: 1.15;
}

.hero h1 {
    margin-block: .8rem 1.15rem;
    font-size: clamp(2.25rem, 4.1vw, 3.65rem);
    overflow-wrap: anywhere;
}

.hero h1 em {
    display: block;
    color: var(--accent);
    font-weight: 500;
}

.hero h1 + p {
    max-width: 26rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin-top: 1.625rem;
    padding: .65rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .3rem;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background: var(--accent-dark);
}

.hero-media {
    position: relative;
    min-width: 0;
    background: #392a22;
}

.hero-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.photo-caption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .3rem .65rem;
    border: 1px solid #ffffff4a;
    border-radius: .25rem;
    color: #fff;
    background: #211814e6;
    font-size: .8125rem;
    font-weight: 700;
}

.catalog {
    margin-top: 3.75rem;
}

.section-heading {
    margin-bottom: .85rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.875rem);
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    padding-block: .625rem;
}

.category-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .4rem .825rem;
    border: 1px solid var(--line);
    border-radius: .3rem;
    color: var(--muted);
    background: var(--surface);
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.category-nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-toolbar {
    position: sticky;
    z-index: 1;
    top: var(--menu-search-offset);
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid var(--line);
    background: var(--page);
}

.category-toolbar a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 700;
    text-underline-offset: .2em;
}

.category-panel {
    margin-top: 1.5rem;
}

section.category-panel[id],
.sauce-grid > [id],
.dish-card[id],
.bar-items > li[id] {
    scroll-margin-top: calc(var(--menu-search-offset) + 3.5rem);
}

.category-panel h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.menu-note {
    margin-bottom: .75rem;
    color: var(--muted);
    font-size: .9rem;
}

/* A link to a card or sauce opens its containing menu section. */
@supports selector(:has(*)) {
    .category-panel:not(:first-child):not(:target):not(:has(:target)),
    .category-panels:has(:target) .category-panel:not(:target):not(:has(:target)) {
        display: none;
    }

    .catalog:not(:has(.category-panels :target)) .category-nav a:first-child,
    .catalog:has(#bar:target, #bar :target) .category-nav a[href="#bar"],
    .catalog:has(#beer:target, #beer :target) .category-nav a[href="#beer"],
    .catalog:has(#sharing:target, #sharing :target) .category-nav a[href="#sharing"],
    .catalog:has(#cold-starters:target, #cold-starters :target) .category-nav a[href="#cold-starters"],
    .catalog:has(#salads:target, #salads :target) .category-nav a[href="#salads"],
    .catalog:has(#sausages:target, #sausages :target) .category-nav a[href="#sausages"],
    .catalog:has(#pizza:target, #pizza :target) .category-nav a[href="#pizza"],
    .catalog:has(#meat-fish:target, #meat-fish :target) .category-nav a[href="#meat-fish"],
    .catalog:has(#finger-food:target, #finger-food :target) .category-nav a[href="#finger-food"],
    .catalog:has(#soups:target, #soups :target) .category-nav a[href="#soups"],
    .catalog:has(#sides:target, #sides :target) .category-nav a[href="#sides"],
    .catalog:has(#sauces:target, #sauces :target) .category-nav a[href="#sauces"] {
        border-color: var(--accent);
        color: #fff;
        background: var(--accent);
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1.25rem;
}

.dish-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--surface);
}

.dish-card:target {
    border-color: var(--accent);
}

.dish-media {
    position: relative;
    aspect-ratio: 2 / 1;
    background: var(--cream);
}

.dish-media img {
    height: 100%;
    object-fit: cover;
}

.dish-body {
    padding: 1.15rem 1.25rem 0;
}

.dish-card h4 {
    margin-bottom: .75rem;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.dish-meta {
    margin-block: -.35rem .75rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 700;
}

.dish-details {
    border-top: 1px solid var(--line);
}

.dish-details > summary,
.bar-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.125rem;
    color: var(--accent);
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.dish-details > summary::-webkit-details-marker,
.bar-group > summary::-webkit-details-marker {
    display: none;
}

.dish-details > summary::after,
.bar-group > summary::after {
    flex: 0 0 .475rem;
    height: .475rem;
    margin-inline-end: .2rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-25%) rotate(45deg);
}

.dish-details[open] > summary::after,
.bar-group[open] > summary::after {
    transform: translateY(25%) rotate(225deg);
}

.dish-details summary:hover {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.dish-details > summary:focus-visible,
.bar-group > summary:focus-visible {
    outline-offset: -2px;
}

.dish-details[open] .summary-open,
.dish-details:not([open]) .summary-close {
    display: none;
}

.details-content {
    padding: .85rem .9rem;
    margin-bottom: 1rem;
    border-radius: .25rem;
    background: var(--page);
}

.details-content dt {
    font-weight: 800;
}

.details-content dd {
    margin-top: .15rem;
    color: var(--muted);
}

.details-content dd + dt {
    margin-top: .9rem;
}

.component-list {
    margin: 0;
    padding-inline-start: 1.15rem;
}

.component-list li + li {
    margin-top: .15rem;
}

.component-link {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: start;
    text-decoration: underline;
    cursor: pointer;
}

.details-content a,
.details-content .component-link,
.sauce-grid a,
.sauces-heading a {
    color: var(--accent);
    font-weight: 700;
    text-underline-offset: .15em;
}

.dish-dialog {
    width: min(36rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .65rem;
    color: var(--ink);
    background: var(--surface);
}

.dish-dialog:not([open]) {
    display: none;
}

.dish-dialog[open] {
    display: flex;
    flex-direction: column;
}

.dish-dialog::backdrop {
    background: #251e1bb0;
}

html:has(.dish-dialog[open]) {
    overflow: hidden;
}

.dish-dialog-header {
    padding: .75rem 1.125rem 1rem;
    border-bottom: 1px solid var(--line);
}

.dish-dialog-controls {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.dish-dialog-controls form {
    margin-inline-start: auto;
}

.dish-dialog-controls button {
    min-height: 2.75rem;
    padding: .35rem .75rem;
    border: 1px solid var(--line);
    border-radius: .3rem;
    color: var(--accent);
    background: var(--surface);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.dish-dialog-controls button:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.dish-dialog h2 {
    margin-top: .75rem;
    font: 600 clamp(1.5rem, 5vw, 2rem)/1.15 var(--serif);
    letter-spacing: -.028em;
    overflow-wrap: anywhere;
}

.dish-dialog h2:focus {
    outline: none;
}

.dish-dialog-content {
    min-height: 0;
    padding: 1rem 1.125rem 1.125rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.dish-dialog-content .dish-meta {
    margin: 0 0 .65rem;
}

.dish-dialog-content .details-content {
    margin-bottom: 0;
}

.sauces {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--cream);
}

.sauces-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: 1rem;
}

.sauces-heading h3 {
    margin: 0;
}

.sauce-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.sauce-grid > div {
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: .3rem;
    background: var(--surface);
}

.sauce-grid > div:target {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.sauce-grid dt {
    font-weight: 800;
}

.sauce-grid dd {
    color: var(--muted);
}

.bar-item-offers,
.sauce-grid .sauce-offer {
    display: block;
    margin-top: .25rem;
    color: var(--accent-dark);
    font-size: .9rem;
    font-weight: 700;
}

.bar-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: .75rem 1rem;
}

.bar-group {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--surface);
}

.bar-group > summary {
    padding: .65rem 1rem;
    color: var(--ink);
}

.bar-group > summary:hover {
    color: var(--accent);
    background: var(--page);
}

.bar-group[open] > summary {
    border-bottom: 1px solid var(--line);
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.bar-positions {
    padding: .85rem 1rem;
}

.bar-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bar-items > li {
    padding-block: .625rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.bar-items > li:first-child {
    padding-block-start: 0;
}

.bar-items > li:last-child {
    padding-block-end: 0;
}

.bar-items > li + li {
    border-top: 1px solid var(--line);
}

.bar-item-note {
    display: block;
    margin-top: .2rem;
    color: var(--muted);
    font-size: .9rem;
}

.guide {
    margin-block: 3.75rem;
    padding: 1.75rem 2rem;
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--accent);
    border-radius: .35rem;
    background: var(--cream);
}

.guide-copy {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) 2fr;
    align-items: baseline;
    gap: .75rem 2rem;
}

.guide h2 {
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}

.guide p {
    max-width: 43rem;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding-block: 1.25rem;
    color: var(--muted);
    font-size: .875rem;
}

.footer-inner .brand-name {
    color: var(--ink);
    font-size: 1.2rem;
}

@media (max-width: 56rem) {
    .container {
        width: calc(100% - 2.5rem);
    }

    .hero {
        min-height: 22rem;
    }

    .hero-copy {
        padding-block: 2rem;
    }

    .category-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47rem) {
    .header-inner {
        grid-template-columns: 1fr auto;
        gap: .15rem 1rem;
        padding-top: .75rem;
    }

    .site-nav {
        grid-row: 2;
        grid-column: 1 / -1;
        gap: 1.5rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        margin-top: 1.25rem;
    }

    .hero-copy {
        padding: 1.75rem 1.25rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .hero-media {
        aspect-ratio: 2 / 1;
    }

    .catalog {
        margin-top: 2.5rem;
    }

    .guide {
        margin-block: 2.5rem;
        padding: 1.25rem;
    }

    .guide-copy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 34rem) {
    .container {
        width: calc(100% - 2rem);
    }

    .category-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-nav a {
        padding-inline: .35rem;
    }

    .card-grid,
    .sauce-grid,
    .bar-groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 23rem) {
    .header-inner {
        gap: .15rem .65rem;
    }

    .brand {
        gap: .45rem;
    }

    .brand-mark {
        width: 1.75rem;
        height: 1.75rem;
    }

    .brand .brand-name {
        font-size: 1.2rem;
    }

    .staff-label {
        padding-inline: .5rem;
    }
}
