@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
    --cream-50: #fffdf9;
    --cream-100: #faf6ee;
    --cream-200: #f2e9da;
    --cream-300: #e5d6c0;
    --brown-900: #302219;
    --brown-800: #493328;
    --brown-600: #755c4b;
    --olive-700: #4e5d3d;
    --olive-600: #62734e;
    --olive-100: #e5eadc;
    --gold: #b98245;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(58, 39, 27, 0.07);
    --shadow-md: 0 18px 50px rgba(58, 39, 27, 0.11);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --content-width: 760px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--brown-900);
    background: var(--cream-100);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--white);
    background: var(--brown-900);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.hero {
    position: relative;
    min-height: 490px;
    padding: 34px 20px 58px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.25), rgba(245, 237, 225, 0.92)),
        radial-gradient(circle at 50% 12%, #fff 0, transparent 48%),
        var(--cream-200);
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -10%;
    bottom: -85px;
    left: -10%;
    height: 150px;
    border-radius: 50% 50% 0 0;
    background: var(--cream-100);
}

.hero__glow {
    position: absolute;
    z-index: -2;
    border: 1px solid rgba(78, 93, 61, 0.14);
    border-radius: 50%;
}

.hero__glow--one {
    top: 38px;
    left: -105px;
    width: 240px;
    height: 240px;
}

.hero__glow--two {
    right: -85px;
    bottom: 90px;
    width: 200px;
    height: 200px;
}

.hero__content {
    width: min(100%, 560px);
    margin: 0 auto;
    text-align: center;
}

.brand-logo {
    position: relative;
    width: min(88vw, 355px);
    aspect-ratio: 3.15 / 1;
    margin: 0 auto 22px;
    overflow: hidden;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--olive-700);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
.footer__brand h2 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    margin-bottom: 8px;
    font-size: clamp(2.1rem, 9vw, 3.7rem);
    line-height: 1.04;
}

.hero__tagline {
    margin-bottom: 27px;
    color: var(--brown-600);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.075em;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.action-button {
    display: inline-flex;
    min-height: 46px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(73, 51, 40, 0.16);
    border-radius: 999px;
    color: var(--brown-800);
    background: rgba(255, 255, 255, 0.63);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.action-button svg {
    width: 18px;
    height: 18px;
}

.action-button--primary {
    border-color: var(--olive-700);
    color: var(--white);
    background: var(--olive-700);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.menu-toolbar {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(73, 51, 40, 0.08);
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(15px);
}

.menu-toolbar__inner {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 12px 16px 10px;
}

.search {
    position: relative;
}

.search__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    color: var(--brown-600);
    transform: translateY(-50%);
    pointer-events: none;
}

.search input {
    width: 100%;
    height: 46px;
    padding: 0 44px;
    border: 1px solid rgba(73, 51, 40, 0.12);
    outline: 0;
    border-radius: 999px;
    color: var(--brown-900);
    background: var(--white);
    box-shadow: 0 5px 18px rgba(58, 39, 27, 0.04);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search input::placeholder {
    color: #9b8c81;
}

.search input:focus {
    border-color: var(--olive-600);
    box-shadow: 0 0 0 3px rgba(98, 115, 78, 0.12);
}

.search__clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--brown-600);
    background: var(--cream-200);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.category-nav {
    display: flex;
    gap: 8px;
    margin: 10px -16px -2px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid var(--cream-300);
    border-radius: 999px;
    color: var(--brown-600);
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.category-chip.is-active {
    border-color: var(--olive-700);
    color: var(--white);
    background: var(--olive-700);
}

@media (hover: hover) {
    .category-chip:hover {
        border-color: var(--olive-700);
        color: var(--white);
        background: var(--olive-700);
    }
}

.menu-content {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 38px 16px 74px;
}

.section-intro {
    display: flex;
    margin-bottom: 29px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-intro h2 {
    margin-bottom: 0;
    font-size: clamp(2.1rem, 8vw, 3rem);
    line-height: 1;
}

.menu-summary {
    margin-bottom: 4px;
    color: var(--brown-600);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: right;
}

.menu-category {
    margin-bottom: 36px;
    scroll-margin-top: 155px;
}

.category-heading {
    display: flex;
    margin-bottom: 13px;
    align-items: center;
    gap: 12px;
}

.category-heading h3 {
    margin-bottom: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.15;
}

.category-heading::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--cream-300), transparent);
}

.category-count {
    display: inline-flex;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--olive-700);
    background: var(--olive-100);
    font-size: 0.72rem;
    font-weight: 700;
}

.category-status {
    display: inline-flex;
    min-height: 25px;
    padding: 0 9px;
    align-items: center;
    border-radius: 999px;
    color: #7e4b3a;
    background: #f4dfd6;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.menu-category--unavailable .product-list {
    opacity: 0.72;
}

.menu-category--unavailable .product__name {
    color: #7f7268;
}

.product-list {
    overflow: hidden;
    border: 1px solid rgba(73, 51, 40, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.product {
    position: relative;
    display: grid;
    padding: 16px 17px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
}

.product + .product::before {
    content: "";
    position: absolute;
    top: 0;
    right: 17px;
    left: 17px;
    height: 1px;
    background: var(--cream-200);
}

.product__name {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
}

.product__price {
    margin: 0;
    color: var(--olive-700);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.product__availability {
    margin: 0;
    padding: 4px 9px;
    align-self: start;
    border-radius: 999px;
    color: #7e4b3a;
    background: #f4dfd6;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.product--unavailable .product__name {
    color: #8b7d72;
}

.product__description {
    max-width: 620px;
    margin: 5px 0 0;
    grid-column: 1 / -1;
    color: var(--brown-600);
    font-size: 0.79rem;
    line-height: 1.55;
}

.loading-card {
    padding: 9px 17px;
    border-radius: var(--radius-md);
    background: var(--white);
}

.loading-card span {
    display: block;
    height: 18px;
    margin: 17px 0;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--cream-200), var(--cream-100), var(--cream-200));
    background-size: 200% 100%;
    animation: loading 1.2s ease-in-out infinite;
}

.loading-card span:nth-child(2) {
    width: 72%;
}

.loading-card span:nth-child(3) {
    width: 88%;
}

@keyframes loading {
    to {
        background-position: -200% 0;
    }
}

.empty-state,
.error-card {
    padding: 45px 24px;
    border: 1px dashed var(--cream-300);
    border-radius: var(--radius-md);
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
}

.empty-state > span {
    display: block;
    margin-bottom: 10px;
    color: var(--olive-600);
    font-size: 2.5rem;
}

.empty-state h3 {
    margin-bottom: 7px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.empty-state p {
    margin-bottom: 18px;
    color: var(--brown-600);
    font-size: 0.86rem;
}

.empty-state button {
    min-height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--olive-700);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.error-card {
    color: #7f382e;
    border-color: #e5bbb3;
    background: #fff4f1;
    line-height: 1.6;
}

.footer {
    position: relative;
    padding: 58px 16px 30px;
    color: var(--cream-100);
    background:
        radial-gradient(circle at 85% 20%, rgba(185, 130, 69, 0.18), transparent 28%),
        var(--brown-900);
}

.footer__inner {
    width: min(100%, var(--content-width));
    margin: 0 auto;
}

.footer .eyebrow {
    color: #c8d2b8;
}

.footer__brand h2 {
    margin-bottom: 5px;
    font-size: 2.55rem;
}

.footer__brand > p:last-child {
    color: #cbbdb1;
    font-size: 0.88rem;
}

.contact-links {
    display: grid;
    margin: 28px 0 38px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-link {
    display: flex;
    min-height: 58px;
    padding: 10px 13px;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--cream-100);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.contact-link:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #c8d2b8;
}

.contact-link span {
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer__note {
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a9998d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.87rem;
    text-align: center;
}

[hidden] {
    display: none !important;
}

@media (min-width: 640px) {
    .hero {
        min-height: 535px;
        padding-top: 52px;
    }

    .hero__actions {
        gap: 12px;
    }

    .menu-toolbar__inner {
        padding-right: 22px;
        padding-left: 22px;
    }

    .category-nav {
        margin-right: -22px;
        margin-left: -22px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .menu-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .product {
        padding: 18px 21px;
    }

    .product + .product::before {
        right: 21px;
        left: 21px;
    }

    .contact-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .section-intro {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .menu-summary {
        text-align: left;
    }
}

@media (max-width: 370px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
