:root {
  --accent: #D9482B;
  --ink: #1C1714;
  --paper: #FBF7F2;
  --card: #FFFFFF;
  --line: #ECE4DA;
  --muted: #7A6F66;
  --mustard: #F2B33D;
  --r: 16px;
  --shadow: 0 1px 2px rgba(28, 23, 20, .06), 0 8px 24px rgba(28, 23, 20, .06);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --top-h: 60px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: 15px; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-line { border-color: var(--line); background: var(--card); color: var(--ink); }

/* announcement */
.announce { background: var(--mustard); color: var(--ink); text-align: center; font-weight: 600; font-size: 14px; padding: 9px 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; }
.top-in { max-width: 1200px; margin: 0 auto; height: var(--top-h); padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1; }
.logo { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; flex: none; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); white-space: nowrap; display: none; }
.status::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #8a8; vertical-align: 1px; }
.status.open::before { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.status.closed::before { background: #F87171; }

/* hero */
.hero { position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 12, .15) 0%, rgba(20, 15, 12, .55) 45%, rgba(20, 15, 12, .92) 100%); }
.hero-in { position: relative; padding-top: 80px; padding-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--mustard); margin: 0 0 10px; }
.hero h1 { font-size: clamp(36px, 9vw, 72px); font-weight: 800; max-width: 12ch; }
.hero-sub { max-width: 52ch; color: rgba(255, 255, 255, .85); margin: 14px 0 22px; font-size: 16px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* specials */
.specials { padding-top: 36px; }
.sec-head { margin-bottom: 16px; }
.sec-head h2 { font-size: 28px; font-weight: 800; }
.sec-head p { margin: 4px 0 0; }
.spec-track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.spec-track::-webkit-scrollbar { display: none; }
.spec { scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); color: #fff; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; border: 0; text-align: left; font: inherit; padding: 0; }
.spec img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec.noimg { background: radial-gradient(120% 100% at 100% 0%, var(--accent) 0%, var(--ink) 70%); }
.spec::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .82) 100%); }
.spec-in { position: relative; z-index: 1; padding: 18px; }
.badge { display: inline-block; background: var(--mustard); color: var(--ink); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; }
.spec h3 { font-size: 22px; font-weight: 800; margin: 10px 0 4px; }
.spec p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); }
.spec-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.spec-price b { font-family: var(--display); font-size: 26px; }
.spec-price s { color: rgba(255, 255, 255, .6); font-size: 14px; }

/* menu nav */
.menu-nav { position: sticky; top: var(--top-h); z-index: 20; background: rgba(251, 247, 242, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 36px; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: #EFE7DD; padding: 4px; border-radius: 14px; margin: 12px 0 10px; }
.tab { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); padding: 9px 4px 8px; border-radius: 10px; cursor: pointer; line-height: 1.2; }
.tab small { display: block; font-weight: 500; font-size: 10.5px; opacity: .8; margin-top: 2px; }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.tab .now { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; margin-left: 5px; vertical-align: 2px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--ink); }

/* menu sections */
.menu { padding-top: 8px; padding-bottom: 20px; min-height: 50vh; }
.off-note { margin: 18px 0 0; padding: 12px 14px; background: #FFF4E0; border: 1px solid #F6DDB0; border-radius: 12px; font-size: 14px; }
.cat { padding-top: 28px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; }
.cat-head h2 { font-size: 24px; font-weight: 800; }
.cat-head span { color: var(--muted); font-size: 13px; }
.cat-note { color: var(--muted); font-size: 13.5px; margin: 8px 0 4px; }
.cat.alcohol .cat-note { color: #9A3412; font-weight: 600; }
.cat.alcohol .cat-note::before { content: '21+ '; background: #9A3412; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 5px; margin-right: 6px; }
.items { display: grid; grid-template-columns: 1fr; }
.item { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; cursor: pointer; }
.item-body { flex: 1; min-width: 0; }
.item h3 { font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.item .desc { color: var(--muted); font-size: 14px; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 15px; }
.vars { font-size: 13px; color: var(--muted); }
.tag { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: #F3ECE3; color: #5B4F45; }
.tag.popular { background: #FDECE7; color: var(--accent); }
.tag.new { background: #E8F6EE; color: #15803D; }
.tag.spicy { background: #FEF2F2; color: #B91C1C; }
.thumb { flex: none; width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: #EFE7DD; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item.soldout { cursor: default; }
.item.soldout h3, .item.soldout .price { color: var(--muted); }
.item.soldout .thumb img { filter: grayscale(1); opacity: .6; }
.so { font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* visit */
.visit { display: grid; gap: 16px; padding-top: 36px; padding-bottom: 40px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.card h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; color: var(--accent); }
.hours tr:last-child td { border-bottom: 0; }
.addr { margin: 0 0 14px; font-size: 16px; font-weight: 500; }
.loc-actions { display: flex; gap: 8px; margin-bottom: 16px; }
.map { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #EFE7DD; }
.map iframe { width: 100%; height: 100%; border: 0; }
.social { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot p { margin: 4px 0; }

/* dialog */
.dlg { border: 0; padding: 0; width: min(560px, 100%); max-height: 92vh; border-radius: 22px 22px 0 0; margin: auto auto 0; background: var(--card); color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(20, 15, 12, .6); backdrop-filter: blur(3px); }
.dlg[open] { animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.dlg-img { aspect-ratio: 4/3; background: #EFE7DD; }
.dlg-img img { width: 100%; height: 100%; object-fit: cover; }
.dlg-in { padding: 20px 22px 28px; }
.dlg-in h3 { font-size: 26px; font-weight: 800; }
.dlg-in p { color: var(--muted); margin: 8px 0 16px; }
.dlg-price { font-family: var(--display); font-size: 26px; font-weight: 800; }
.vlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.vlist li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* loader */
.loader { position: fixed; inset: 0; background: var(--paper); display: grid; place-items: center; z-index: 100; transition: opacity .3s; }
.loader span { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
body:not(.loading) .loader { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ── tablet ── */
@media (min-width: 640px) {
  .wrap { padding: 0 28px; }
  .status { display: inline-block; }
  .hero { min-height: 520px; }
  .spec-track { grid-auto-columns: calc(50% - 7px); margin: 0; padding: 0 0 6px; }
  .chips { margin: 0; padding-left: 0; padding-right: 0; }
  .items { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .visit { grid-template-columns: 1fr 1fr; align-items: start; }
  .dlg { border-radius: 22px; margin: auto; }
  .tab { font-size: 15px; }
  .tab small { font-size: 11.5px; }
}
/* ── desktop ── */
@media (min-width: 1024px) {
  :root { --top-h: 68px; }
  .wrap { padding: 0 40px; }
  .brand-name { font-size: 20px; }
  .hero { min-height: 600px; }
  .hero-in { padding-bottom: 64px; }
  .hero-sub { font-size: 18px; }
  .spec-track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .spec { min-height: 300px; }
  .menu-nav .wrap { display: flex; align-items: center; gap: 20px; }
  .tabs { flex: none; width: 520px; margin: 12px 0; }
  .chips { padding: 0; flex: 1; }
  .items { column-gap: 56px; }
  .item { padding: 20px 0; }
  .thumb { width: 116px; height: 116px; }
  .item:not(.soldout):hover h3 { color: var(--accent); }
  .cat-head h2 { font-size: 28px; }
  .visit { grid-template-columns: 2fr 3fr; gap: 24px; }
  .card { padding: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
