:root {
    --page: #faf7ef;
    --card: #fffdf8;
    --ink: #344d39;
    --muted: #88907c;
    --line: #e7e5d7;
    --tint: #eaeedc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

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

.site-header {
    max-width: 1160px;
    margin: auto;
    padding: 30px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    gap: 20px;
}

.site-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.site-brand span {
    margin-left: 10px;
    font-size: 26px;
}

.header-note {
    font-size: 11px;
    color: var(--muted);
}

.menu-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 26px 70px;
    min-height: 70vh;
}

.menu-hero {
    padding: 70px 0 45px;
    text-align: center;
}

.menu-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 10px;
    color: var(--muted);
}

.menu-hero h1 {
    font-family: Georgia, serif;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.08;
    font-size: clamp(40px, 7vw, 72px);
    margin: 22px 0;
}

.menu-hero p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.menu-categories {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--page);
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.menu-categories a {
    font-size: 12px;
    white-space: nowrap;
    padding: 11px 20px;
    border: 1px solid var(--line);
    border-radius: 30px;
}

.menu-categories a:hover,
.menu-categories a:focus-visible {
    background: var(--ink);
    color: var(--page);
}

.menu-section {
    margin-top: 40px;
}

.menu-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.menu-section-title h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 30px;
    margin: 0;
}

.menu-section-title span {
    color: var(--muted);
    font-size: 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    background: var(--card);
}

.product-card img,
.product-placeholder {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-placeholder {
    background: var(--tint);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 28px;
    color: var(--muted);
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.product-info p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    min-height: 40px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-info strong {
    font-size: 15px;
}

.menu-empty {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    padding: 30px 26px;
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .site-header {
        padding: 22px;
    }

    .header-note {
        display: none;
    }

    .menu-container {
        padding: 0 18px 40px;
    }

    .menu-hero {
        padding: 45px 0 25px;
    }

    .menu-categories {
        justify-content: flex-start;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
