:root {
  --paper: var(--bone);
  --surface: var(--ivory);
  --ink: var(--navy);
  --forest: var(--navy);
  --forest-deep: var(--midnight);
  --gold: var(--champagne);
  --gold-wash: var(--sand);
  --heading: var(--serif);
  --body: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 78px; }
body { margin: 0; min-width: 285px; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
button, input { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a36a25; outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 12px; background: var(--surface); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner { min-height: 78px; }
.identity { display: flex; align-items: center; gap: 14px; color: var(--forest-deep); text-decoration: none; }
.identity img { width: 70px; }
.identity span { border-left: 1px solid var(--line); padding-left: 14px; font: 1.18rem/1.08 var(--heading); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.action, .icon-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--forest-deep); padding: 9px 15px; text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.25; }
.action:hover, .icon-button:hover { border-color: var(--forest); }
.action-dark { background: var(--forest); border-color: var(--forest); color: #fffdf4; }
.action-dark:hover { background: var(--forest-deep); }
.action-gold { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.action-gold:hover { background: #f8d99a; border-color: #f8d99a; }
.favorites-action[aria-pressed='true'] { background: var(--gold-wash); border-color: #b49861; }
.favorite-count { line-height: 1; }
.icon { display: inline-flex; width: 19px; height: 19px; flex: 0 0 auto; align-items: center; justify-content: center; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
[aria-pressed='true'] > .icon[data-icon='heart'] svg { fill: currentColor; }

.hero { display: grid; position: relative; isolation: isolate; grid-template-columns: .83fr 1fr; min-height: 416px; margin-top: 28px; overflow: hidden; border-radius: 4px; background: var(--forest-deep); color: #fffaf0; }
.hero-copy { display: flex; flex-direction: column; position: relative; z-index: 1; align-items: flex-start; justify-content: center; padding: 47px 8px 50px clamp(32px, 5.2vw, 78px); }
.location { display: flex; gap: 7px; align-items: center; margin-bottom: 17px; color: var(--gold); font-size: .88rem; font-weight: 650; }
.location .icon { width: 17px; height: 17px; }
.hero h1 { margin: 0 0 29px; font: 400 clamp(3.5rem, 6.2vw, 6.1rem)/.95 var(--heading); letter-spacing: -.07em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-picture { position: relative; height: 100%; min-width: 0; }
.hero-picture::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--forest-deep), transparent 21%), linear-gradient(0deg, #161a16b0, transparent 23%); }
.hero-picture img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 51% 54%; }
.hero-picture figcaption { position: absolute; z-index: 1; right: 17px; bottom: 13px; color: #fffdf5; font-size: .85rem; font-weight: 650; }

.service { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 20px; margin: 22px 0 24px; padding: 15px 18px 15px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.service-copy h2 { font-size: 1rem; margin-bottom: 4px; }
.service-copy p { font-size: .88rem; color: var(--muted); }
.service-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.service-button { display: flex; justify-content: center; align-items: center; gap: 7px; min-width: 0; min-height: 46px; padding: 7px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--forest-deep); font-size: .9rem; font-weight: 650; line-height: 1.2; }
.service-button:hover { border-color: var(--forest); }
.service-button[aria-pressed='true'] { background: var(--navy); color: #fffdf4; border-color: var(--forest); }
.service-button .icon { width: 17px; height: 17px; }

.category-bar { position: sticky; top: 0; z-index: 3; background: var(--paper); border-block: 1px solid var(--line); }
.category-list { display: flex; align-items: center; gap: 7px; padding-block: 7px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #a7a291 transparent; }
.category-list a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; padding: 6px 15px; border: 1px solid transparent; border-radius: 3px; color: var(--forest-deep); text-decoration: none; font-size: .93rem; font-weight: 650; }
.category-list a:hover { background: var(--surface); border-color: var(--line); }
.category-list a[aria-current='true'] { background: var(--gold-wash); border-color: #e5d3aa; }
.category-list a:focus-visible { outline-offset: -3px; }
.menu { scroll-margin-top: 0; }
.menu-content { padding-block: 28px 39px; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin-bottom: 20px; }
.menu-heading h2 { font: 400 clamp(2.4rem, 4.6vw, 3.65rem)/1 var(--heading); letter-spacing: -.055em; }
.search-box { display: flex; align-items: center; gap: 9px; width: min(100%, 318px); padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: var(--surface); }
.search-box:focus-within { outline: 2px solid #a36a25; outline-offset: 2px; }
.search-box input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--ink); outline: 0; }
.search-box input::placeholder { color: var(--muted); }

.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 35px; }
.feature { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.feature .dish-open { display: block; width: 100%; padding: 0; }
.feature .dish-open:focus-visible { outline-offset: -3px; }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-bottom { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 68px; padding: 8px 10px 8px 15px; }
.feature-bottom .name-button { font: 400 clamp(1.15rem, 2vw, 1.55rem)/1.15 var(--heading); letter-spacing: -.027em; }
.dish-open { border: 0; border-radius: 5px; background: transparent; color: inherit; text-align: left; }
.dish-open:hover { text-decoration: underline; text-decoration-color: #9d793b; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.feature .name-button { min-height: 44px; padding: 0; }
.name-and-tags { min-width: 0; }
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.tags:not(:empty) { margin-bottom: 3px; }
.tag { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; border-radius: 4px; background: var(--gold-wash); color: #574215; font-size: .82rem; line-height: 1.2; font-weight: 700; }
.tag-favorite { color: var(--forest-deep); background: #e6e9eb; }
.icon-button { width: 44px; padding: 0; }
.favorite-toggle { flex: 0 0 auto; border-color: transparent; background: transparent; }
.favorite-toggle[aria-pressed='true'] { color: #893e30; }

.menu-section + .menu-section { margin-top: 32px; }
.section-title { border-bottom: 1px solid var(--line); padding-bottom: 9px; font: 400 2.1rem/1.1 var(--heading); letter-spacing: -.035em; }
.subgroup { margin-top: 17px; }
.subgroup + .subgroup { margin-top: 25px; }
.subgroup-title { margin: 0 0 6px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.dish-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.dish-row .dish-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 58px; padding: 7px 3px; }
.dish-row .dish-name { display: block; font-weight: 650; }
.dish-row .dish-open img { width: 56px; height: 45px; object-fit: cover; border-radius: 5px; }
.dish-row .tags:not(:empty) { margin: 3px 0 0; }
.empty { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--surface); }
.empty p { margin-block: 8px 14px; color: var(--muted); }
.menu-note { margin-top: 26px; color: var(--muted); font-size: .9rem; }

.site-footer { background: var(--forest-deep); color: #fffaf0; }
.footer-inner { min-height: 100px; padding-block: 18px; }
.footer-inner p { margin-top: 4px; color: #e9e2d4; font-size: .9rem; }
.footer-inner a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); text-underline-offset: 4px; }
.modal { width: min(520px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); }
.modal::backdrop { background: #131f19c0; }
.modal-body { position: relative; padding: 28px; }
.modal-close { position: absolute; z-index: 1; top: 10px; right: 10px; }
.modal h2 { font: 400 2.25rem/1.06 var(--heading); letter-spacing: -.04em; }
.qr-modal { text-align: center; }
.qr-modal h2 { padding-top: 12px; }
.qr-modal p { max-width: 30ch; margin: 0 auto 17px; }
.qr-image { margin: 15px auto 13px; width: min(246px, 100%); image-rendering: pixelated; }
.detail-photo { width: 100%; max-height: 300px; object-fit: cover; border-radius: 3px; margin-bottom: 16px; }
.detail-group { margin-bottom: 5px; color: var(--muted); font-size: .89rem; font-weight: 650; }
.detail-caption { margin-block: 10px; }
.detail-actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 17px; }
.detail-actions p { color: var(--muted); font-size: .89rem; }
.detail-actions .action { min-width: 130px; }
.dish-modal:not(:has(.detail-photo)) .modal-body { padding-top: 47px; }

@media (max-width: 790px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: 345px; }
  .hero-copy { padding-left: 27px; }
  .service { grid-template-columns: .85fr 1.15fr; padding-inline: 12px; gap: 11px; }
  .service-button { gap: 4px; }
  .category-list { gap: 4px; }
  .category-list a { padding-inline: 12px; }
}
@media (max-width: 575px) {
  html { scroll-padding-top: 108px; }
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 66px; }
  .identity { gap: 8px; }
  .identity img { width: 50px; }
  .identity span { max-width: 84px; padding-left: 8px; font-size: 1rem; }
  .header-actions { gap: 5px; }
  .header-actions .action { padding-inline: 9px; }
  .favorites-action { min-width: 44px; }
  .favorite-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .hero { min-height: 0; grid-template-columns: 1fr; margin-top: 13px; border-radius: 4px; }
  .hero-copy { padding: 23px 19px 16px; }
  .hero h1 { font-size: clamp(3.5rem, 14vw, 4.85rem); margin-bottom: 17px; }
  .location { margin-bottom: 10px; }
  .hero-picture { height: clamp(170px, 52vw, 265px); }
  .hero-picture img { object-position: center 57%; }
  .hero-picture::after { background: linear-gradient(180deg, var(--forest-deep), transparent 23%), linear-gradient(0deg, #161a16b0, transparent 29%); }
  .hero-picture figcaption { right: 10px; bottom: 7px; }
  .service { grid-template-columns: 1fr; padding: 11px; gap: 9px; margin: 13px 0 14px; }
  .service-copy h2 { margin-bottom: 2px; }
  .service-copy p { line-height: 1.4; }
  .service-options { gap: 5px; }
  .service-button { padding-inline: 3px; font-size: .88rem; }
  .service-button .icon { width: 15px; height: 15px; }
  .category-bar .wrap { width: 100%; }
  .category-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 4px 9px 5px; }
  .category-list a { justify-content: center; padding-inline: 1px; font-size: .875rem; }
  .menu-content { padding-top: 20px; }
  .menu-heading { flex-wrap: wrap; margin-bottom: 14px; gap: 12px; }
  .search-box { width: 100%; }
  .featured { grid-auto-flow: column; grid-auto-columns: 76%; grid-template-columns: none; gap: 10px; margin: 0 -14px 25px; padding: 0 14px 8px; overflow-x: auto; scroll-padding-inline: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .feature { scroll-snap-align: start; }
  .feature-bottom { padding-left: 10px; }
  .dish-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; }
  .footer-inner a { min-height: 34px; }
  .modal-body { padding: 19px; }
}
@media (max-width: 345px) {
  .service-button .icon { display: none; }
  .header-actions .action { white-space: nowrap; }
  .category-list { grid-template-columns: .76fr 1fr 1.15fr 1.09fr; gap: 3px; padding-inline: 6px; }
  .category-list a { font-size: .83rem; }
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.menu-pdf { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; font-weight: 650; color: #f5e8d3; text-underline-offset: 4px; }
.price-line { display: block; color: var(--bronze); font-size: .91rem; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.price-line.unavailable { color: var(--muted); font-weight: 600; }
.detail-price { font-size: 1.12rem; margin: 8px 0; }
.price-options { padding: 0; margin: 14px 0; list-style: none; }
.price-options li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.price-options strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 345px) { .hero-actions .action { padding-inline: 9px; } }
