:root {
    --wine: #4c1018;
    --wine-deep: #3a0c12;
    --paper: #fffdf8;
    --ink: #2c1814;
    --muted: #7a5348;
    --gold: #b8923e;
    --gold-deep: #8d6824;
    --price: #9d1c1c;
    --line: #e4d3ae;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.5;
    background-color: var(--wine);
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23851f30' stroke-width='1' opacity='0.55'%3E%3Ccircle cx='80' cy='80' r='46'/%3E%3Ccircle cx='80' cy='80' r='34'/%3E%3Cpath d='M80 34c8 10 8 18 0 28-8-10-8-18 0-28zm0 64c8 10 8 18 0 28-8-10-8-18 0-28zM34 80c10-8 18-8 28 0-10 8-18 8-28 0zm64 0c10-8 18-8 28 0-10 8-18 8-28 0z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 160px 160px;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.masthead,
.container,
.footer-inner {
    width: min(1080px, calc(100% - 1.5rem));
    margin-inline: auto;
}

.frame {
    background: var(--paper);
    border: 1px solid var(--gold);
    box-shadow:
        inset 0 0 0 1px var(--gold),
        inset 0 0 0 6px var(--paper),
        inset 0 0 0 7px var(--gold);
    padding: 1.35rem 1.35rem 1.15rem;
    min-width: 0;
}

.masthead {
    margin-top: 1.25rem;
    text-align: center;
    padding: 1.6rem 1.25rem 1.25rem;
}

.brand {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.logo {
    font-family: "Great Vibes", "Palatino Linotype", serif;
    font-size: clamp(3.4rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--gold-deep);
    margin: 0.15rem 0 0.1rem;
}

.chinese-characters {
    font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
    font-size: 1.35rem;
    letter-spacing: 0.45em;
    color: var(--gold-deep);
    margin-bottom: 0.7rem;
}

.masthead-meta {
    color: var(--ink);
    font-size: 0.98rem;
}

.masthead-meta a {
    color: var(--price);
    text-decoration: none;
    font-weight: 600;
}

.masthead-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tagline {
    margin-top: 0.35rem;
    color: var(--muted);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.15rem;
    margin-top: 0.9rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
}

.site-nav a[aria-current="page"] {
    color: var(--price);
    box-shadow: inset 0 -1px 0 var(--gold);
}

.site-nav a:hover {
    color: var(--price);
}

main {
    flex: 1;
    padding: 1.25rem 0 2rem;
}

.page-menu .masthead {
    padding: 1rem 1.1rem 0.85rem;
}

.page-menu .eyebrow,
.page-menu .tagline {
    display: none;
}

.page-menu .logo {
    font-size: clamp(2.8rem, 6vw, 3.6rem);
}

.page-menu .chinese-characters {
    margin-bottom: 0.35rem;
}

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

.panel {
    text-align: center;
}

.panel h2,
.menu-section h2,
.menu-notes h2,
.vacancy h2,
.vacancy-banner h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink);
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.45rem;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-size: 4.5rem 1px;
    background-position: center bottom;
}

.panel p + p {
    margin-top: 0.35rem;
}

.panel p,
.section-intro,
.item-desc,
.menu-notes li,
.vacancy-banner p {
    color: var(--muted);
}

.vacancy-banner {
    margin-top: 1rem;
    text-align: center;
}

.vacancy-banner p {
    max-width: 38rem;
    margin-inline: auto;
}

.vacancy-page {
    max-width: 760px;
}

.vacancy .eyebrow {
    text-align: center;
}

.vacancy h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.1;
    margin: 0.2rem 0 0.45rem;
}

.vacancy-salary {
    text-align: center;
    color: var(--price);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.vacancy > p {
    margin-bottom: 0.35rem;
}

.vacancy h2 {
    margin-top: 1.35rem;
}

.vacancy ul {
    max-width: 40rem;
    margin: 0 auto;
    padding-left: 1.15rem;
    color: var(--muted);
}

.vacancy li + li {
    margin-top: 0.3rem;
}

.vacancy-apply {
    margin-top: 1.35rem;
    text-align: center;
}

.vacancy-apply a {
    color: var(--price);
    font-weight: 600;
}

.vacancy .cta-button {
    display: table;
    margin: 0.85rem auto 0.2rem;
}

.openingstijden {
    list-style: none;
    text-align: left;
}

.openingstijden li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.38rem 0;
    border-bottom: 1px dotted var(--line);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.15rem;
}

.openingstijden li:last-child {
    border-bottom: none;
}

.openingstijden span {
    color: var(--price);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--gold);
    color: var(--wine);
    background: transparent;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
}

.cta-button:hover {
    background: var(--wine);
    color: #f3e2b0;
}

.panel .cta-button,
.menu-notes .cta-button {
    display: table;
    margin-inline: auto;
}

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

.menu-toolbar,
.menu-empty,
.menu-notes,
.menu-section.span-2 {
    grid-column: 1 / -1;
}

.menu-toolbar {
    position: sticky;
    top: 0.6rem;
    z-index: 5;
    padding: 0.85rem;
}

.menu-search {
    width: 100%;
    border: 1px solid var(--gold);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.65rem;
}

.menu-search:focus {
    outline: 2px solid var(--gold-deep);
    outline-offset: 1px;
}

.menu-cats {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: thin;
    min-width: 0;
}

.menu-cats a {
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--gold);
    padding: 0.28rem 0.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    background: #fff;
}

.menu-cats a:hover {
    background: var(--wine);
    color: #f3e2b0;
    border-color: var(--wine);
}

.menu-section {
    scroll-margin-top: 8.5rem;
    padding-bottom: 0.45rem;
}

.section-intro {
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 1.12rem;
    margin: -0.2rem 0 0.8rem;
}

.combo-price {
    display: table;
    margin: 0.55rem auto 0;
    color: var(--price);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--gold);
    padding: 0.15rem 0.7rem;
}

.menu-item {
    padding: 0.55rem 0 0.65rem;
    border-bottom: 1px dotted var(--line);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-line {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
}

.item-nr {
    flex: 0 0 auto;
    min-width: 2.15rem;
    color: var(--price);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: 1.12rem;
}

.item-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.25;
    min-width: 0;
}

.leaders {
    flex: 1 1 auto;
    border-bottom: 1px dotted var(--gold);
    min-width: 0.8rem;
    transform: translateY(-0.28em);
}

.item-price {
    flex: 0 0 auto;
    color: var(--price);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    font-size: 1.12rem;
    white-space: nowrap;
}

.item-desc {
    margin: 0.1rem 0 0 2.6rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.35;
}

.item-includes {
    margin: 0.35rem 0 0.1rem 2.6rem;
    color: var(--muted);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.02rem;
}

.menu-items.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
}

.menu-notes ul {
    max-width: 40rem;
    margin: 0 auto 0.4rem;
    padding-left: 1.1rem;
}

.menu-notes li + li {
    margin-top: 0.25rem;
}

.menu-empty {
    display: none;
    text-align: center;
    color: #f3e2b0;
    padding: 0.4rem 0;
}

body.is-filtering .menu-empty.visible {
    display: block;
}

body.is-filtering .menu-section:not(.has-match) {
    display: none;
}

body.is-filtering .menu-item:not(.is-match) {
    display: none;
}

.footer {
    color: #f6ead0;
    text-align: center;
    padding: 0.4rem 0 1.6rem;
    font-size: 0.92rem;
}

.footer p + p {
    margin-top: 0.2rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

@media (max-width: 860px) {
    .home-grid,
    .menu-page,
    .menu-items.split {
        grid-template-columns: 1fr;
    }

    .menu-section.span-2 {
        grid-column: auto;
    }

    .logo {
        letter-spacing: 0;
    }
}

@media (max-width: 560px) {
    .item-desc,
    .item-includes {
        margin-left: 0;
    }

    .chinese-characters {
        letter-spacing: 0.28em;
    }
}

@media print {
    body {
        background: white;
    }

    .masthead,
    .frame {
        box-shadow: none;
        break-inside: avoid;
    }

    .site-nav,
    .menu-toolbar,
    .cta-button {
        display: none !important;
    }

    .menu-page {
        display: block;
    }

    .menu-section {
        margin-bottom: 1rem;
    }
}
