:root {
  --bg: #0e0c0a;
  --surface: #17140f;
  --surface-2: #201b15;
  --line: rgba(214, 178, 110, .16);
  --gold: #d6b26e;
  --gold-strong: #e6c37f;
  --text: #f3ead9;
  --muted: #b3a690;
  --dim: #85796a;
  --radius: 14px;
  --top-h: 60px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 116px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--top-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px; padding-top: env(safe-area-inset-top);
  background: rgba(14, 12, 10, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 36px; width: auto; }
.tabs {
  flex: 1; display: flex; justify-content: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; max-width: 360px; margin: 0 auto;
}
.tabs button {
  flex: 1; padding: 7px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted);
  white-space: nowrap; transition: background .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--gold); color: #1a1408; }
.lang {
  min-width: 40px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold);
}

/* ---------- hero ---------- */
.hero { position: relative; height: 34svh; min-height: 220px; max-height: 420px; overflow: hidden; }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.55) saturate(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,10,.1) 30%, var(--bg) 100%); }
.hero-inner { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; }
.hero-logo { width: min(220px, 56vw); filter: drop-shadow(0 4px 18px rgba(0,0,0,.6)); }
.hero-sub { margin: 0; font: italic 500 18px/1.2 var(--serif); color: var(--text); opacity: .9; letter-spacing: .02em; }
body.is-about .hero { display: none; }

/* ---------- category nav ---------- */
.cats {
  position: sticky; top: var(--top-h); z-index: 20;
  background: rgba(14, 12, 10, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 8px;
}
body.is-about .cats { display: none; }
.search {
  position: relative; margin: 0 16px 8px;
  display: flex; align-items: center;
}
.search svg { position: absolute; left: 12px; width: 18px; height: 18px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 40px; padding: 0 38px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  font: 500 15px var(--sans); outline: none;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--gold); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { position: absolute; right: 6px; width: 30px; height: 30px; font-size: 20px; color: var(--muted); }

.chips {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 16px 2px; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.chip.active { background: rgba(214,178,110,.14); border-color: var(--gold); color: var(--gold-strong); }
.chip .n { margin-left: 6px; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
main { padding: 8px 0 40px; min-height: 60vh; }
.section { margin: 0 0 28px; }
.banner {
  position: relative; margin: 16px 16px 14px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--surface);
}
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(10,8,6,.88) 100%); }
.banner h2 {
  position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 12px; margin: 0;
  font: 600 30px/1.05 var(--serif); letter-spacing: .01em;
}
.banner .count { display: block; margin-top: 4px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.section-plain h2 { margin: 24px 16px 10px; font: 600 30px/1.1 var(--serif); }

.sub {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 16px 6px; font: 600 22px/1.2 var(--serif); color: var(--gold-strong);
}
.sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { margin: 10px 16px; color: var(--muted); font-size: 14px; white-space: pre-line; }
.note.callout { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.note.callout strong { display: block; color: var(--gold-strong); font: 600 19px/1.25 var(--serif); margin-bottom: 4px; }

.list { padding: 0 16px; display: grid; gap: 10px; }

/* food card */
.card {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start;
  padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: left; width: 100%;
}
.card.has-img { cursor: zoom-in; }
.card.has-img:active { transform: scale(.99); }
.thumb { width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid; place-content: center; justify-items: center; gap: 4px;
  border: 1px dashed rgba(214,178,110,.35); color: var(--dim);
  background: repeating-linear-gradient(135deg, rgba(214,178,110,.04) 0 8px, transparent 8px 16px), var(--surface-2);
}
.ph svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.ph span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.card-body { min-width: 0; padding-top: 2px; }
.card-head { display: flex; align-items: baseline; gap: 10px; }
.name { margin: 0; flex: 1; font: 600 20px/1.15 var(--serif); }
.desc { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.price { flex: none; font-weight: 700; font-size: 15px; color: var(--gold-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--dim); margin-left: 3px; }
.meta { display: inline-block; margin-left: 6px; font: 600 11px/1 var(--sans); letter-spacing: .04em; color: var(--dim); vertical-align: middle; }

/* text-only item (drinks with description) */
.row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .name { font-size: 19px; }
.textlist { padding: 4px 16px; margin: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.size { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.size b { color: var(--gold-strong); font-size: 14px; font-variant-numeric: tabular-nums; }

/* group with compact lines (water, spirits, beer…) */
.group { margin: 0 16px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 16px 8px; }
.group-head h3 { margin: 0; font: 600 21px/1.2 var(--serif); color: var(--gold-strong); }
.group-head .meta { margin: 0; }
.group ul { list-style: none; margin: 0; padding: 0 16px 6px; }
.line { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(214,178,110,.08); }
.line .lname { flex: 0 1 auto; min-width: 0; }
.line .dots { flex: 1 1 16px; min-width: 16px; border-bottom: 1px dotted rgba(214,178,110,.3); transform: translateY(-4px); }
.line .price { font-size: 14px; }
.line.noprice .lname { color: var(--muted); font-style: italic; }

.figure { margin: 12px 16px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.figure img { width: 100%; max-height: 70vh; object-fit: cover; }
.figure.tall img { aspect-ratio: 4 / 5; }

mark { background: rgba(214,178,110,.3); color: inherit; border-radius: 3px; padding: 0 1px; }
.empty { margin: 40px 16px; text-align: center; color: var(--muted); }
.empty strong { display: block; font: 600 24px var(--serif); color: var(--text); margin-bottom: 6px; }

/* ---------- about ---------- */
.about { max-width: 760px; margin: 0 auto; padding: 0 0 20px; }
.about-hero { position: relative; height: 56svh; min-height: 320px; overflow: hidden; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg)); }
.about-hero h2 { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 12px; margin: 0; font: 600 38px/1.05 var(--serif); }
.about .lead { margin: 8px 20px 24px; font: 500 20px/1.5 var(--serif); color: var(--text); }
.about .lead::first-letter { float: left; font-size: 64px; line-height: .8; padding: 6px 8px 0 0; color: var(--gold); }
.about .wide { margin: 0 20px 24px; border-radius: var(--radius); overflow: hidden; }
.guests { display: grid; gap: 14px; padding: 0 20px; }
.guest { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guest img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }
.guest div { padding: 14px 16px 16px; }
.guest h3 { margin: 0 0 6px; font: 600 24px/1.1 var(--serif); color: var(--gold-strong); }
.guest p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- footer, to-top, sheet ---------- */
.foot { text-align: center; padding: 24px 16px calc(40px + env(safe-area-inset-bottom)); color: var(--dim); font-size: 12px; }
.foot .infinity { width: 70px; margin: 0 auto 10px; opacity: .8; }
.foot p { margin: 0; }
.totop {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #1a1408; box-shadow: 0 6px 20px rgba(0,0,0,.45);
  display: grid; place-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.sheet {
  width: 100%; max-width: 560px; max-height: 92svh; margin: auto auto 0; padding: 0;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 20px 20px 0 0; overflow: auto;
}
.sheet::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.sheet[open] { animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.55); font-size: 24px; line-height: 1;
}
.sheet-body img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sheet-body .txt { padding: 16px 20px 28px; }
.sheet-body .name { font-size: 28px; }
.sheet-body .desc { font-size: 15px; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 700px) {
  .list { grid-template-columns: 1fr 1fr; }
  .banner { aspect-ratio: 21 / 8; }
  .banner h2 { font-size: 40px; left: 24px; bottom: 18px; }
  .guests { grid-template-columns: 1fr 1fr 1fr; }
  .sheet { margin: auto; border-radius: 20px; }
}

@media (min-width: 1000px) {
  :root { --top-h: 68px; }
  html { scroll-padding-top: calc(var(--top-h) + 16px); }
  .topbar { padding: 0 32px; }
  .brand img { height: 44px; }
  .tabs { max-width: 420px; }
  .tabs button { font-size: 14px; padding: 8px 14px; }
  .hero { height: 46vh; max-height: 480px; }
  .hero-logo { width: 280px; }
  .hero-sub { font-size: 22px; }

  .layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  body.is-about .layout { display: block; }
  .cats {
    top: calc(var(--top-h) + 20px); align-self: start;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 20px 0 0;
    max-height: calc(100vh - var(--top-h) - 40px); overflow: auto; scrollbar-width: thin;
  }
  .search { margin: 0 0 14px; }
  .chips { flex-direction: column; overflow: visible; padding: 0; gap: 2px; }
  .chip { display: flex; justify-content: space-between; text-align: left; white-space: normal; border-color: transparent; background: none; border-radius: 10px; padding: 9px 12px; font-size: 14px; }
  .chip:hover { background: var(--surface); color: var(--text); }
  .chip.active { background: var(--surface); border-color: var(--line); box-shadow: inset 3px 0 0 var(--gold); }

  main { padding-top: 4px; }
  .banner, .sub, .note, .figure, .group, .textlist { margin-left: 0; margin-right: 0; }
  .list { padding: 0; gap: 14px; }
  .card { grid-template-columns: 120px 1fr; padding: 12px; }
  .thumb { width: 120px; height: 120px; }
  .card.has-img:hover { border-color: rgba(214,178,110,.45); }
  .groups { columns: 2; column-gap: 14px; }
  .groups .group { break-inside: avoid; margin: 0 0 14px; }
  .textlist { columns: 2; column-gap: 32px; padding: 6px 20px; }
  .textlist .row { break-inside: avoid; }
  .figure.tall { max-width: 420px; }
  .about .wide, .about .lead { margin-left: 0; margin-right: 0; }
  .guests { padding: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
