:root {
    color-scheme: light;
    --ink: #17211c;
    --muted: #6d746f;
    --paper: #f3eee4;
    --paper-deep: #e9e1d3;
    --card: #fffdf8;
    --line: #dfd7c9;
    --brand: #153d31;
    --brand-light: #235845;
    --accent: #d66d42;
    --gold: #d5aa68;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow-sm: 0 .7rem 2rem rgb(29 36 31 / 7%);
    --shadow-lg: 0 1.8rem 5rem rgb(24 32 27 / 16%);
    font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 10.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only,
.skip-link:not(:focus) { 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:focus { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .8rem 1rem; border-radius: .8rem; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(25rem, 55vw, 34rem);
    overflow: hidden;
    padding: clamp(2.2rem, 7vw, 5.5rem) 1.25rem 5rem;
    background:
        radial-gradient(circle at 78% 20%, rgb(210 168 103 / 30%), transparent 22rem),
        radial-gradient(circle at 12% 92%, rgb(67 130 101 / 30%), transparent 25rem),
        linear-gradient(135deg, #102d25 0%, #174838 56%, #102c24 100%);
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgb(255 255 255 / 12%) 50%, transparent 50.5%),
        linear-gradient(150deg, transparent 49.5%, rgb(255 255 255 / 8%) 50%, transparent 50.5%);
    background-size: 5rem 8.66rem;
}
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 28rem;
    height: 28rem;
    right: -11rem;
    bottom: -15rem;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgb(255 255 255 / 2%), 0 0 0 8rem rgb(255 255 255 / 2%);
}
.hero__inner { width: min(100%, 68rem); margin-inline: auto; }
.hero__inner { display: flex; min-height: 23rem; flex-direction: column; justify-content: center; align-items: flex-start; }
.brand-mark {
    display: grid;
    width: 5.25rem;
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 1.35rem;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
    box-shadow: inset 0 0 0 .45rem rgb(255 255 255 / 4%);
    font: 400 2.35rem/1 var(--serif);
    backdrop-filter: blur(10px);
}
.brand-mark img { width: calc(100% - .7rem); height: calc(100% - .7rem); object-fit: contain; border-radius: 50%; }
.hero__copy { max-width: 49rem; }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; font-weight: 800; color: rgb(255 255 255 / 68%); }
.eyebrow span { width: 1.8rem; height: 1px; background: var(--gold); }
.hero h1 { max-width: 14ch; margin: 0; font: 400 clamp(3rem, 9vw, 6rem)/.88 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.hero__tagline { max-width: 38rem; margin: 1.25rem 0 0; color: rgb(255 255 255 / 74%); font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.65; }

main { width: min(100%, 72rem); margin-inline: auto; padding: 0 1.1rem 9rem; }
.menu-tools {
    position: sticky;
    z-index: 15;
    top: 0;
    margin: -2.15rem -.25rem 1.6rem;
    padding: .65rem;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 1.35rem;
    background: rgb(255 253 248 / 88%);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px) saturate(1.2);
}
.search-box { display: flex; align-items: center; gap: .7rem; width: min(100%, 43rem); margin-inline: auto; padding: .68rem .75rem; border: 1px solid transparent; border-radius: .95rem; background: #f2ede3; transition: border-color .2s, background .2s, box-shadow .2s; }
.search-box:focus-within { border-color: rgb(21 61 49 / 35%); background: #fff; box-shadow: 0 0 0 3px rgb(21 61 49 / 9%); }
.search-box > span:first-child { color: var(--brand); font-size: 1.2rem; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .94rem; }
.search-box input::placeholder { color: #858983; }
.search-box kbd { padding: .18rem .4rem; border: 1px solid #d7d0c4; border-radius: .38rem; background: #fffdf9; color: var(--muted); font: 700 .7rem var(--sans); box-shadow: 0 1px 0 #d7d0c4; }
.search-status { min-height: 1rem; margin: .25rem auto 0; text-align: center; color: var(--muted); font-size: .72rem; }
.category-nav { display: flex; gap: .45rem; overflow-x: auto; margin: .18rem auto 0; padding: .35rem .1rem .12rem; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { flex: 0 0 auto; padding: .55rem .78rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #4c544f; text-decoration: none; font-size: .76rem; font-weight: 750; transition: .2s ease; }
.category-nav a[aria-current="true"] { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 .35rem .9rem rgb(21 61 49 / 18%); }

.menu-sections { display: grid; gap: 1.5rem; }
.menu-category { scroll-margin-top: 10.5rem; }
.menu-category[hidden] { display: none; }
.category-heading {
    position: relative;
    display: block;
    width: 100%;
    min-height: clamp(13rem, 30vw, 20rem);
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 1.65rem;
    background: linear-gradient(135deg, #315849, #153d31);
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-radius .25s ease;
}
.category-heading:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.category-heading:focus-visible { outline: 4px solid rgb(214 109 66 / 35%); outline-offset: .25rem; }
.category-heading[aria-expanded="true"] { border-radius: 1.65rem 1.65rem .5rem .5rem; }
.category-heading__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.category-heading:hover .category-heading__image,
.category-heading[aria-expanded="true"] .category-heading__image { transform: scale(1.035); }
.category-heading__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 16 12 / 85%) 0%, rgb(7 16 12 / 50%) 48%, rgb(7 16 12 / 18%) 100%), linear-gradient(0deg, rgb(7 16 12 / 35%), transparent 55%); }
.category-heading__number { position: absolute; top: 1.2rem; left: 1.25rem; color: rgb(255 255 255 / 66%); font: 700 .68rem var(--sans); letter-spacing: .18em; }
.category-heading__copy { position: absolute; left: clamp(1.3rem, 5vw, 3.1rem); right: 5rem; bottom: clamp(1.5rem, 5vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; }
.category-heading__kicker { margin-bottom: .55rem; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; font-weight: 850; }
.category-heading__copy strong { max-width: 13ch; font: 400 clamp(2.15rem, 6vw, 4.1rem)/.95 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.category-heading__copy > span:last-child { margin-top: .8rem; color: rgb(255 255 255 / 72%); font-size: .78rem; }
.category-heading__toggle { position: absolute; right: clamp(1.15rem, 4vw, 2rem); bottom: clamp(1.35rem, 4vw, 2rem); display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; background: rgb(255 255 255 / 12%); backdrop-filter: blur(8px); }
.category-heading__toggle i { position: absolute; width: 1rem; height: 1.5px; background: #fff; transition: transform .25s ease; }
.category-heading__toggle i:last-child { transform: rotate(90deg); }
.category-heading[aria-expanded="true"] .category-heading__toggle i:last-child { transform: rotate(0); }

.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; margin: .4rem .65rem 0; border: 1px solid var(--line); border-radius: .55rem .55rem 1.4rem 1.4rem; background: var(--card); box-shadow: var(--shadow-sm); }
.menu-separator { grid-column: 1 / -1; margin: 0; padding: 1.35rem 1.35rem .75rem; border-bottom: 1px solid var(--line); color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .67rem; }
.menu-item { min-width: 0; border-bottom: 1px solid var(--line); }
.menu-item:nth-of-type(odd) { border-right: 1px solid var(--line); }
.menu-item[hidden] { display: none; }
.menu-item__button { display: flex; width: 100%; min-height: 100%; gap: .9rem; align-items: flex-start; padding: 1.35rem; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background .2s ease; }
.menu-item__button:hover { background: #faf6ee; }
.menu-item__button:focus-visible { position: relative; z-index: 1; outline: 3px solid rgb(21 61 49 / 18%); outline-offset: -3px; }
.menu-item__content { min-width: 0; flex: 1; }
.menu-item__topline { display: flex; justify-content: space-between; gap: .85rem; align-items: baseline; }
.menu-item__topline strong { font: 600 clamp(1.08rem, 2vw, 1.28rem)/1.16 var(--serif); letter-spacing: -.015em; transition: color .2s; }
.menu-item__button:hover .menu-item__topline strong { color: var(--brand-light); }
.price { flex: 0 0 auto; color: var(--brand); font-size: .86rem; font-weight: 850; }
.description { display: block; margin-top: .48rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.allergens { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .72rem; }
.allergens > span { display: inline-flex; gap: .28rem; align-items: center; padding: .16rem .44rem .16rem .22rem; border: 1px solid #ddd4c6; border-radius: 999px; color: #71695e; font-size: .61rem; }
.allergens b { display: grid; width: 1.15rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #eee7dc; font-size: .55rem; }
.menu-item__arrow { display: grid; flex: 0 0 auto; width: 1.7rem; aspect-ratio: 1; place-items: center; margin-top: -.2rem; border-radius: 50%; background: #f0eadf; color: var(--brand); transition: transform .2s, background .2s; }
.menu-item__arrow svg { width: .85rem; height: .85rem; }
.menu-item__button:hover .menu-item__arrow { transform: translateX(.15rem); background: #e4dbcc; }

.empty-results { padding: 5rem 1rem; text-align: center; }
.empty-results > p { margin: 0 0 .4rem; color: var(--accent); font-weight: 850; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }
.empty-results h2 { margin: 0 0 1.4rem; font: 400 2.2rem var(--serif); }
.empty-results button { padding: .72rem 1rem; border: 0; border-radius: 999px; background: var(--brand); color: #fff; cursor: pointer; }
.menu-footer { display: flex; flex-direction: column; align-items: center; padding: 5.5rem 1rem 1rem; color: var(--muted); text-align: center; }
.menu-footer__mark { display: grid; width: 3.25rem; aspect-ratio: 1; place-items: center; margin-bottom: .75rem; border: 1px solid #cfc5b5; border-radius: 50%; color: var(--brand); font: 1.4rem var(--serif); }
.menu-footer strong { color: var(--ink); font: 600 1.1rem var(--serif); }
.menu-footer small { margin-top: .25rem; font-size: .66rem; }

.bottom-bar { position: fixed; z-index: 30; left: 50%; bottom: max(.7rem, env(safe-area-inset-bottom)); display: flex; width: min(calc(100% - 1rem), 31rem); transform: translateX(-50%); padding: .42rem; border: 1px solid rgb(255 255 255 / 65%); border-radius: 1.25rem; background: rgb(255 253 248 / 92%); box-shadow: 0 1rem 3.5rem rgb(23 33 28 / 22%); backdrop-filter: blur(22px) saturate(1.2); }
.bottom-bar a, .bottom-bar button { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: .18rem; align-items: center; padding: .48rem .15rem; border: 0; border-radius: .85rem; background: transparent; color: #626a65; text-decoration: none; font-size: .62rem; font-weight: 750; cursor: pointer; transition: background .2s, color .2s; }
.bottom-bar a:hover, .bottom-bar button:hover { background: #f0eadf; color: var(--brand); }
.bottom-bar span:first-child { font-size: 1.05rem; line-height: 1; color: var(--brand); }

.item-dialog { width: min(calc(100% - 1.5rem), 34rem); padding: clamp(1.5rem, 5vw, 2.5rem); border: 0; border-radius: 1.6rem; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.item-dialog::backdrop { background: rgb(8 14 11 / 67%); backdrop-filter: blur(5px); }
.item-dialog h2 { max-width: 12ch; margin: .3rem 2.3rem .7rem 0; font: 400 clamp(2rem, 8vw, 3rem)/.98 var(--serif); letter-spacing: -.035em; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.5rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.dialog-price { color: var(--brand); font-weight: 850; }
.dialog-description { color: var(--muted); line-height: 1.65; }
.dialog-allergens { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.dialog-allergens p { margin-bottom: 0; color: var(--muted); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 6rem; transform: translateX(-50%); padding: .8rem 1rem; border-radius: .8rem; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); white-space: nowrap; }

@media (max-width: 760px) {
    html { scroll-padding-top: 9.5rem; }
    .hero { min-height: 28rem; padding-top: 2.4rem; }
    .hero__inner { min-height: 20rem; }
    .brand-mark { width: 4.4rem; margin-bottom: 1.2rem; }
    .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
    main { padding-inline: .75rem; }
    .menu-tools { margin-inline: 0; border-radius: 1.15rem; }
    .search-box kbd { display: none; }
    .category-heading { min-height: 14.5rem; border-radius: 1.35rem; }
    .category-heading[aria-expanded="true"] { border-radius: 1.35rem 1.35rem .4rem .4rem; }
    .category-heading__shade { background: linear-gradient(90deg, rgb(7 16 12 / 82%), rgb(7 16 12 / 28%)), linear-gradient(0deg, rgb(7 16 12 / 42%), transparent 65%); }
    .category-heading__copy { left: 1.3rem; right: 4.4rem; bottom: 1.45rem; }
    .category-heading__copy strong { font-size: 2.35rem; }
    .category-heading__toggle { right: 1.1rem; bottom: 1.25rem; width: 2.75rem; }
    .menu-list { grid-template-columns: 1fr; margin-inline: .35rem; }
    .menu-item:nth-of-type(odd) { border-right: 0; }
    .menu-item__button { padding: 1.2rem 1rem; }
    .allergens small { display: none; }
    .allergens > span { padding-right: .22rem; }
    .bottom-bar { width: calc(100% - .8rem); }
}

@media (max-width: 380px) {
    .hero { min-height: 25rem; }
    .hero h1 { font-size: 2.8rem; }
    .category-heading { min-height: 12.8rem; }
    .category-heading__copy strong { font-size: 2rem; }
    .description { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
