:root {
  color-scheme: dark;
  --page: #101010;
  --surface: #171717;
  --panel: #1d1c1b;
  --line: #34312e;
  --text: #f6f2e9;
  --muted: #beb6ab;
  --accent: #fc5848;
  --gold: #efbf76;
  --ink: #19100e;
  --shell: 72rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body.has-order { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 2rem)); margin-inline: auto; }

.sr-only, .channel-choice input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--text); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.button {
  min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 1px solid transparent; border-radius: .35rem; font-weight: 700; font-size: .9375rem;
  padding: .6rem .95rem; text-decoration: none; white-space: nowrap; color: var(--text); background: transparent;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #ff7164; }
.button-outline { border-color: #5d534c; }
.button-outline:hover { background: #2b2522; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.brand { display: inline-flex; padding-block: .25rem; }
.brand img { width: 5.5rem; height: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav a { text-decoration: none; white-space: nowrap; padding: .65rem .34rem; font-size: .875rem; font-weight: 700; }
.site-nav a:hover, .site-footer a:hover { color: var(--gold); }
.header-order { border-color: var(--line); padding-inline: .6rem; }
.header-order:hover { background: var(--panel); }
.order-count { min-width: 1.5rem; padding: .125rem .25rem; text-align: center; border-radius: .25rem; background: #312725; color: #ffab99; }
.bag-icon { width: .85rem; height: .8rem; border: 1.5px solid currentColor; border-radius: .15rem; display: inline-block; position: relative; margin: .24rem .1rem 0; vertical-align: -.06rem; }
.bag-icon::before { content: ''; position: absolute; border: 1.5px solid currentColor; border-bottom: 0; width: .42rem; height: .32rem; bottom: 100%; left: 50%; transform: translateX(-50%); border-radius: .35rem .35rem 0 0; }

.hero { background: #121111; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 1.6rem; padding-block: 2.15rem 1rem; }
.location-label, .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; font-weight: 700; color: var(--gold); }
.location-label { display: flex; align-items: center; gap: .65rem; }
.location-pin { display: inline-block; width: .65rem; height: .65rem; border: 1.5px solid var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; }
.location-pin::after { content: ''; position: absolute; background: var(--accent); border-radius: 50%; width: .17rem; height: .17rem; top: 50%; left: 50%; translate: -50% -50%; }
.hero h1 {
  margin-top: .75rem; font-size: clamp(2.45rem, 11vw, 5.8rem); line-height: .93;
  letter-spacing: -.065em; font-weight: 900; text-transform: uppercase;
}
.hero h1 span { color: var(--accent); }
.hero-description { color: var(--muted); max-width: 27rem; margin-top: 1rem; font-size: 1rem; line-height: 1.5; }
.hero-button { margin-top: 1.25rem; padding-inline: 1.2rem; min-height: 3rem; }
.hero-photo { position: relative; overflow: hidden; background: #2c201b; border: 1px solid #3d332e; border-radius: .4rem; isolation: isolate; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; object-position: center 54%; }
.hero-photo figcaption { position: absolute; bottom: .65rem; left: .65rem; padding: .4rem .65rem; background: #131110; color: var(--text); font-size: .75rem; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; border-left: 2px solid var(--accent); }

.visitor-section { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.visitor-section h2 { font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.visitor-section p { max-width: 44rem; margin-block: .55rem .7rem; color: var(--muted); line-height: 1.55; }
.visitor-section strong { color: var(--text); }
.visitor-section a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

.menu-section { padding-block: 2.25rem 3rem; scroll-margin-top: 1rem; }
.menu-top { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; margin-bottom: 1.15rem; }
.menu-top h2, .visit-section h2 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.05em; line-height: 1; }
.menu-top p { margin-top: .5rem; color: var(--muted); line-height: 1.45; min-height: 2.8em; }
.channel-switch { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
.channel-switch legend { font-size: .875rem; font-weight: 700; margin-bottom: .45rem; padding: 0; color: var(--muted); }
.channel-options { display: inline-flex; gap: .2rem; background: #201e1c; padding: .23rem; border: 1px solid var(--line); border-radius: .4rem; }
.channel-choice { position: relative; cursor: pointer; }
.channel-choice span { min-height: 2.75rem; min-width: 6.35rem; padding-inline: .65rem; display: grid; place-items: center; border-radius: .24rem; font-size: .9375rem; font-weight: 700; }
.channel-choice:hover span { background: #36312d; }
.channel-choice input:checked + span { background: var(--text); color: #1f1a17; }
.channel-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.category-filter { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 1.25rem; border-block: 1px solid var(--line); padding: .65rem .08rem; }
.filter-button { height: 2.75rem; border-radius: .35rem; background: transparent; color: var(--muted); border: 1px solid transparent; padding: 0 .7rem; white-space: nowrap; font-size: .875rem; font-weight: 700; }
.filter-button:hover { color: var(--text); background: var(--panel); }
.filter-button[aria-pressed="true"] { color: var(--text); background: #2d1c19; border-color: #744239; }

.menu-grid { display: grid; gap: .9rem; }
.menu-group { min-width: 0; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface); }
.group-heading { display: flex; align-items: center; gap: .75rem; min-height: 4rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); }
.group-heading::before { content: ''; width: 3px; height: 1.25rem; background: var(--accent); flex-shrink: 0; }
.group-heading h3 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.035em; }
.group-heading img { width: 3.5rem; height: 2.5rem; margin-left: auto; border-radius: .22rem; object-fit: cover; }
.menu-items { margin: 0; padding: 0 .8rem; list-style: none; }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .65rem; min-height: 3.55rem; border-bottom: 1px solid var(--line); }
.menu-row-static { grid-template-columns: minmax(0, 1fr) auto; }
.menu-row:last-child { border-bottom: 0; }
.item-name { text-align: left; color: var(--text); font-weight: 700; font-size: .9375rem; border: 0; background: none; padding: .55rem .1rem; min-height: 2.75rem; justify-self: start; }
button.item-name:hover { text-decoration: underline; text-underline-offset: .25em; }
.item-price, .item-dialog-price { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.icon-button { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; background: #27221f; color: var(--text); border: 1px solid #493c34; border-radius: .32rem; padding: 0; font-size: 1.3rem; }
.icon-button:hover { background: #493026; color: var(--text); }
.add-button { position: relative; background: transparent; border-color: transparent; color: var(--gold); }
.add-button::before { content: ''; position: absolute; inset: .24rem; border: 1px solid #503d32; border-radius: .3rem; }
.menu-quantity { display: flex; align-items: center; gap: .15rem; }
.menu-remove { background: transparent; border-color: transparent; color: var(--muted); }
.menu-count { min-width: 1.3rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.add-tick, .add-button[data-added="true"] .add-symbol { display: none; }
.add-button[data-added="true"] .add-tick { display: inline; }
.add-button[data-added="true"] { background: #3f2621; color: #ffb2a5; }
.visit-section { padding-block: 2rem; background: var(--surface); border-top: 1px solid var(--line); }
.visit-inner { display: grid; gap: 1.05rem; }
.visit-section address { color: var(--muted); font-style: normal; line-height: 1.55; margin-top: .7rem; }
.visit-note { color: var(--muted); max-width: 34rem; line-height: 1.55; margin-top: .7rem; }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; color: var(--muted); font-size: .875rem; }

.sticky-order {
  position: fixed; z-index: 2; bottom: 0; left: 0; right: 0; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: #181514; border-top: 1px solid var(--line);
}
.sticky-order .button { width: 100%; min-height: 3rem; justify-content: space-between; }
.sticky-order .order-count { display: inline-block; margin-left: .25rem; background: #311b17; color: var(--text); }

dialog { color: var(--text); background: var(--surface); border: 1px solid #504038; padding: 0; width: min(31rem, calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem); border-radius: .55rem; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(0 0 0 / .72); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body { padding: clamp(.9rem, 4vw, 1.4rem); }
.dialog-title-row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.dialog-title-row h2 { font-size: clamp(1.55rem, 5vw, 2rem); letter-spacing: -.04em; line-height: 1.15; }
.dialog-title-row .eyebrow { margin-bottom: .28rem; }
.dialog-action { display: flex; width: 100%; margin-top: .6rem; min-height: 3rem; }
#item-description { color: var(--muted); margin: .9rem 0; line-height: 1.5; }
.item-dialog-price { font-size: 1.35rem; margin-bottom: 1rem; }
#order-content { margin-top: .7rem; }
.order-empty, #order-note { color: var(--muted); line-height: 1.5; }
.order-empty { padding-block: .75rem; }
.order-lines { padding: 0; margin: 0; list-style: none; }
.order-line { display: grid; grid-template-columns: 1fr auto; gap: .3rem .5rem; align-items: center; border-bottom: 1px solid var(--line); padding-block: .45rem; }
.order-line .item-price { text-align: right; }
.quantity { grid-column: 1 / -1; display: flex; align-items: center; gap: .55rem; font-size: .9375rem; }
.quantity .icon-button { height: 2.75rem; width: 2.75rem; }
.order-summary { display: flex; justify-content: space-between; padding-top: .8rem; font-size: 1.1rem; }
#order-note { padding-block: .65rem .2rem; font-size: .875rem; }

@media (min-width: 36rem) {
  .shell { width: min(var(--shell), calc(100% - 3rem)); }
  .header-inner { gap: 1rem; }
  .site-nav { gap: 1.3rem; }
  .site-nav a { font-size: .9375rem; }
  .header-order { padding-inline: 1rem; }
  .menu-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .menu-top p { min-height: auto; max-width: 35rem; }
  .visit-inner { display: flex; align-items: flex-end; justify-content: space-between; }
}
@media (min-width: 48rem) {
  body.has-order { padding-bottom: 0; }
  .header-inner { min-height: 5.4rem; }
  .brand img { width: 6.2rem; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; padding-block: 1.8rem; gap: 2.25rem; }
  .hero h1 { font-size: clamp(2.75rem, 6.6vw, 5.68rem); margin-top: 1.05rem; }
  .hero-description { font-size: 1.12rem; }
  .hero-button { margin-top: 1.55rem; }
  .hero-photo img { aspect-ratio: 1.32; }
  .hero-photo figcaption { bottom: .9rem; left: .9rem; }
  .menu-section { padding-block: 2.6rem 3.65rem; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .menu-grid[data-filtered="true"] { grid-template-columns: minmax(0, 1fr); }
  .menu-grid[data-filtered="true"] .menu-group { max-width: 46rem; }
  .group-heading { padding-inline: 1.05rem; }
  .menu-items { padding-inline: 1.05rem; }
  .menu-row { gap: .9rem; }
  .item-name { font-size: 1rem; }
  .sticky-order { display: none; }
}
@media (min-width: 64rem) {
  .hero-inner { gap: 3rem; padding-block: 2.15rem; }
  .hero-photo img { aspect-ratio: 1.47; }
  .hero h1 { font-size: clamp(4.25rem, 6.35vw, 5.76rem); }
  .category-filter { gap: .75rem; }
}

@media (max-width: 22rem) {
  .header-inner { gap: .2rem; }
  .brand img { width: 4rem; }
  .site-nav a { padding-inline: .22rem; font-size: .8125rem; }
  .header-order .bag-icon { display: none; }
  .header-order { padding-inline: .35rem; font-size: .875rem; gap: .3rem; }
  .category-filter { gap: .3rem; }
  .menu-row { gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
