@font-face {
  font-family: 'Lucida-Calligraphy';
  src: url('Lucida-Calligraphy.woff2') format('woff2');
  font-display: swap;
}
:root {
  --ink: #1d1b18; --paper: #f4efe5; --paper-dark: #e8dfd0; --red: #a9362e; --red-dark: #7d2722;
  --muted: #746d62; --line: #d5ccbd; --card: #fbf8f2;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --grid: linear-gradient(rgba(29, 27, 24, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 27, 24, .035) 1px, transparent 1px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--grid), var(--paper); background-size: 36px 36px; font: 16px/1.5 var(--sans); }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

/* header */
.bar { position: sticky; top: 0; z-index: 10; background: var(--grid), var(--paper); background-size: 36px 36px; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.bar-top, .search { max-width: 820px; margin: auto; padding: 10px 16px 0; }
.bar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { flex: none; width: 42px; height: 42px; object-fit: contain; filter: invert(25%) sepia(27%) saturate(1820%) hue-rotate(329deg) brightness(83%) contrast(90%); }
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name { font: normal 17px/1 'Lucida-Calligraphy', 'Apple Chancery', Georgia, serif; font-style: italic; color: var(--red); white-space: nowrap; }
.brand small { color: var(--muted); font-size: 10px; line-height: 1; letter-spacing: .18em; }
.langs { display: flex; flex: none; border: 1px solid var(--red); }
.langs button { border: 0; background: transparent; min-width: 44px; height: 40px; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--red); cursor: pointer; }
.langs button + button { border-left: 1px solid var(--red); }
.langs button[aria-pressed="true"] { background: var(--red); color: #fff; }
.search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 0; background: var(--card); padding: 0 14px; font-size: 16px; -webkit-appearance: none; appearance: none; }
.search input:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: var(--red); }
.chips { position: relative; overscroll-behavior-x: contain; max-width: 820px; margin: auto; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 8px 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.chips a.on { background: var(--red); border-color: var(--red); color: #fff; }

/* title block */
.hero { max-width: 820px; margin: auto; padding: 36px 16px 4px; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 500; line-height: .95; letter-spacing: -.06em; }

/* contact info next to the title, desktop only (phones get the footer + call button) */
.hero-info { display: none; }
@media (min-width: 700px) {
  .hero-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0 0; border-block: 1px solid var(--line); }
  .hero-info div { padding: 16px 20px; border-right: 1px solid var(--line); }
  .hero-info div:first-child { padding-left: 0; }
  .hero-info div:last-child { border-right: 0; }
  .hero-info dt { margin: 0 0 4px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
  .hero-info dd { margin: 0; font-size: 15px; line-height: 1.45; }
  .hero-info a { color: var(--red); font-weight: 700; text-decoration: none; font-size: 17px; }
  .hero-info a:hover { text-decoration: underline; }
  .foot .info, .foot .actions { display: none; }
  .foot .legend { margin-bottom: 0; }
}

/* menu */
main { max-width: 820px; margin: auto; padding: 8px 16px 40px; }
.loading, .empty { text-align: center; color: var(--muted); padding: 60px 0; }
section { margin-top: 40px; }
section h2 { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.courses { grid-column: 2 / 4; list-style: none; margin: 6px 0 2px; padding: 0 0 0 14px; border-left: 2px solid var(--red); display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.4; }
.courses li { overflow-wrap: anywhere; }
.note { margin: 10px 0 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.dish { display: grid; grid-template-columns: 2.8em 1fr auto; gap: 2px 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.num { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.7; }
.name { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.alt { grid-column: 2; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.price { color: var(--red); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tags { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tag { cursor: pointer; font: 700 11px/1 var(--sans); color: var(--muted); border: 1px solid var(--line); padding: 5px 7px; background: var(--card); min-width: 26px; }
.tag:focus-visible { outline: 2px solid var(--red); }
.tag.hot { color: var(--red); border-color: var(--red); cursor: default; }
mark { background: #f0d9a0; color: inherit; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 40px 16px calc(40px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; right: -60px; top: 50%; width: 300px; height: 300px; background: url('lotus-bg.png') center/contain no-repeat; filter: invert(1); opacity: .07; transform: translateY(-50%); pointer-events: none; }
.foot-inner { position: relative; max-width: 820px; margin: auto; }
.legend { margin: 0 0 28px; color: #b8b0a4; font-size: 13px; line-height: 1.7; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.label { display: block; margin-bottom: 4px; color: #dd8276; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--red); text-decoration: none; font-weight: 600; font-size: 15px; }
.button.primary { background: var(--red); color: #fff; }
.button.primary:hover { background: var(--red-dark); }
.button.secondary { color: var(--paper); border-color: #70685e; }
.button.secondary:hover { background: #2a2723; }

/* floating call button, phones only */
.fab { display: none; }
@media (max-width: 699px) {
  .fab { position: fixed; z-index: 20; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(125, 39, 34, .45); transition: transform .15s ease, background .15s ease; }
  .fab:active { transform: scale(.94); background: var(--red-dark); }
  .fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  body.sheet-open .fab { display: none; }
  .foot { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* allergen sheet */
.sheet[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.backdrop { position: absolute; inset: 0; background: rgba(29, 27, 24, .55); animation: fade .18s ease-out; }
.panel { position: relative; width: 100%; max-width: 480px; background: var(--paper); border-top: 3px solid var(--red); padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 80vh; overflow-y: auto; animation: rise .22s cubic-bezier(.2, .8, .2, 1); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 6px; }
.panel-head h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.close { border: 1px solid var(--line); background: var(--card); width: 44px; height: 44px; font-size: 16px; cursor: pointer; }
#sheet-list { list-style: none; margin: 0; padding: 0; }
#sheet-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
#sheet-list b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--card); font-size: 15px; }
#sheet-list li.sel b { background: var(--red); border-color: var(--red); color: #fff; }
#sheet-list li.sel span { font-weight: 700; }
body.sheet-open { overflow: hidden; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 700px) { .sheet { align-items: center; } body { font-size: 17px; } .bar-top { padding-top: 14px; } .brand-name { font-size: 20px; } .brand-mark { width: 48px; height: 48px; } .name { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .panel, .backdrop { animation: none; } }

/* embedded in another page */
body.embed { background: transparent; }
body.embed .bar { position: static; }
body.embed .chips, body.embed .hero, body.embed .foot, body.embed .fab { display: none; }
body.embed .bar { background: transparent; }
@media print { .bar, .foot, .fab { display: none; } }
