@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #191513;
  --surface: #25201d;
  --surface-up: #302823;
  --ink: #fff3e2;
  --muted: #c6b7aa;
  --muted-strong: #e3d3c1;
  --line: #483a33;
  --accent: #ff764e;
  --accent-hover: #ff916e;
  --accent-ink: #25140d;
  --gold: #ffd27e;
  --heading: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 var(--body); background: var(--bg); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 73rem); margin-inline: auto; }
.sr-only, .sprite {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 4; inset: 1rem auto auto 1rem; padding: .75rem; text-decoration: none; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button {
  display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: .6rem;
  border: 1px solid transparent; border-radius: .55rem; background: none; padding: .65rem .95rem;
  color: inherit; cursor: pointer; font-weight: 750; text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button:disabled { cursor: not-allowed; opacity: .55; }
.action { background: var(--accent); color: var(--accent-ink); }
.action:hover:not(:disabled) { background: var(--accent-hover); }
.secondary, .icon-button { border-color: var(--line); }
.secondary:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--surface-up); }
.wide { width: 100%; }

.site-header { border-bottom: 1px solid var(--line); background: #201a17; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.35rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; white-space: nowrap; font: 800 1.8rem/.91 var(--heading); }
.wordmark img { border-radius: 50%; width: 2.55rem; height: 2.55rem; }
.wordmark strong { color: var(--accent); }
.wordmark small { display: block; margin-top: .28rem; color: var(--muted); font: 750 .58rem/1 var(--body); letter-spacing: .17em; }
.header-link { display: none; margin-left: auto; margin-right: .35rem; align-items: center; min-height: 44px; color: var(--muted-strong); text-decoration: none; font-weight: 700; font-size: .9rem; }
.header-link:hover { color: var(--accent); }
.header-cart { gap: .4rem; min-width: 3.45rem; padding-inline: .55rem; border-color: var(--line); font-size: .85rem; }
.header-cart:hover { background: var(--surface-up); }
.header-cart > span { display: none; }
.header-cart b { min-width: 1.27rem; padding: .12rem .27rem; border-radius: 99rem; background: var(--accent); color: var(--accent-ink); font-size: .75rem; line-height: 1.2; text-align: center; }

.hero {
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 75% 46%, #573124 0%, #2d1c17 38%, #201815 70%);
}
.hero-inner { position: relative; isolation: isolate; display: grid; padding-block: 1.8rem 1.65rem; }
.hero-inner::before {
  content: ""; position: absolute; z-index: -1; inset: 0 -2rem; pointer-events: none;
  background-image: radial-gradient(circle, #ffcaa729 .65px, transparent .9px); background-size: 6px 6px;
  mask-image: linear-gradient(90deg, transparent 10%, black 67%, transparent 100%);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex; align-items: center; gap: .5rem; color: var(--accent);
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; line-height: 1.35;
}
.eyebrow > span { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; flex: none; }
.hero-tag { color: var(--gold); }
.hero h1 {
  margin: .64rem 0 .9rem; font: 800 clamp(3.65rem, 12.8vw, 6rem)/.85 var(--heading);
  letter-spacing: -.012em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 33ch; color: var(--muted-strong); line-height: 1.55; }
.hero-action { min-height: 3rem; margin-top: 1.2rem; padding-inline: 1rem; }
.hero-visual { position: relative; width: min(69%, 22rem); margin: 1.45rem auto .25rem; align-self: center; }
.plate { position: relative; aspect-ratio: 1; padding: .34rem; border: 1px solid #c18463; border-radius: 50%; }
.plate::before {
  content: ""; position: absolute; inset: -.75rem; border: 1px dashed #d08e69; border-radius: 50%; opacity: .55;
}
.plate img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 1rem 2rem #160d0ab0; }
.hero-visual figcaption {
  position: absolute; right: -.6rem; bottom: -.33rem; padding: .5rem .72rem;
  border: 1px solid #61483b; border-radius: .45rem; background: #231a16; box-shadow: 0 .5rem 1.25rem #170e0a88;
  font-size: .76rem; font-weight: 750; white-space: nowrap;
}
.hero-visual figcaption span { display: block; color: var(--gold); font-size: .55rem; letter-spacing: .12em; }

.menu { padding-block: 2.35rem 3.2rem; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: .55rem; }
.section-title h2 { margin-top: .2rem; font: 800 clamp(2.8rem, 9vw, 4.15rem)/.94 var(--heading); }
.currency { margin-bottom: .12rem; padding: .24rem .48rem; color: var(--muted-strong); border: 1px solid var(--line); border-radius: .32rem; font-size: .71rem; white-space: nowrap; }
.category-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1.25rem; }
.category-link {
  display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .6rem; border: 1px solid var(--line);
  border-radius: .45rem; background: var(--surface); color: var(--muted-strong); font-size: .78rem; font-weight: 730;
  text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease;
}
.category-link .icon { color: var(--accent); }
.category-link:hover { background: var(--surface-up); border-color: var(--accent); }
.featured, .category-section { margin-top: 2.3rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.section-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-heading :is(h2, h3) { display: flex; align-items: center; gap: .55rem; font: 800 2.2rem/1 var(--heading); }
.category-heading .icon { width: 1.4rem; height: 1.4rem; color: var(--accent); }
.featured-grid, .menu-grid { display: grid; gap: .68rem; }
.product {
  display: flex; min-width: 0; align-items: stretch; gap: .7rem; overflow: hidden;
  padding: .7rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface);
}
.product-image { width: 4.25rem; height: 4.25rem; align-self: center; border-radius: .4rem; object-fit: cover; }
.product-content { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: .65rem; min-width: 0; }
.product-copy { min-width: 0; }
.product h3, .product h4 { font-size: .95rem; line-height: 1.28; font-weight: 750; overflow-wrap: anywhere; }
.product p { margin-top: .22rem; color: var(--muted); font-size: .8rem; line-height: 1.42; }
.product-end { display: flex; flex: none; align-items: end; flex-direction: column; gap: .35rem; }
.price { font-size: .88rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-end .price { color: var(--gold); }
.product-add { width: 44px; height: 44px; padding: 0; color: var(--accent-ink); background: var(--accent); }
.product-add:hover { background: var(--accent-hover); }
.product-featured { padding: 0; }
.product-featured .product-image { width: 32%; height: 100%; min-height: 6.4rem; align-self: stretch; border-radius: 0; }
.product-featured .product-content { padding: .58rem .65rem .58rem 0; }
.empty-category { padding: 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: .55rem; }

.site-footer { padding-block: 1.4rem 1.7rem; border-top: 1px solid var(--line); background: #201a17; }
body:has(.cart-dock:not([hidden])) .site-footer { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: start; flex-direction: column; gap: .75rem; }
.footer-inner p { color: var(--muted); font-size: .87rem; }
.back-top { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--muted-strong); text-decoration: none; font-size: .85rem; }
.back-top:hover { color: var(--accent); }
.cart-dock { z-index: 2; position: fixed; bottom: 0; inset-inline: 0; max-width: 34rem; margin-inline: auto; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); background: #251c17; border-top: 1px solid var(--line); }
.dock-button { width: 100%; min-height: 49px; justify-content: start; }
.dock-button strong { margin-left: auto; }
.dock-button span span { margin-left: .25rem; padding: .1rem .36rem; border-radius: 99rem; background: #421f1385; color: #fff3e2; font-size: .74rem; }
.cart-limit .dock-button { background: var(--gold); }

dialog {
  position: fixed; inset: auto 0 0; width: min(100%, 38rem); max-width: 100%;
  max-height: 92vh; max-height: 92dvh; margin: 0 auto;
  padding: 0; border: 1px solid var(--line); border-radius: 1rem 1rem 0 0;
  background: var(--surface); color: var(--ink); overscroll-behavior: contain;
}
dialog::backdrop { background: #0f0b09ba; }
.dialog-inner { padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dialog-header h2 { margin-top: .3rem; font: 800 clamp(2rem, 8vw, 3rem)/.95 var(--heading); }
.dialog-header .icon-button, .quantity .icon-button { flex: none; padding: 0; width: 44px; height: 44px; }
dialog :is(.action, .secondary).wide { margin-top: .5rem; }
.fields { display: grid; gap: .65rem; }
.fields label { min-width: 0; font-size: .875rem; font-weight: 680; }
.fields :is(input, select) { display: block; width: 100%; min-height: 44px; margin-top: .2rem; padding: .55rem .65rem; border: 1px solid #78675b; border-radius: .35rem; background: var(--bg); color: var(--ink); font-size: 1rem; }
.fields :is(small, input::placeholder) { color: var(--muted); }
.fields small { font-weight: 500; }
.options { min-width: 0; margin: .4rem 0 0; padding: .55rem .6rem .6rem; border: 1px solid var(--line); border-radius: .5rem; }
.options legend { padding-inline: .35rem; font-weight: 750; }
.options input { flex: none; inline-size: 1rem; block-size: 1rem; margin: 0; accent-color: var(--accent); }
.options label { display: flex; gap: .6rem; align-items: center; min-height: 44px; padding: .3rem .45rem; border-radius: .35rem; cursor: pointer; }
.options label:hover { background: var(--surface-up); }
.options label:has(:disabled) { opacity: .55; cursor: not-allowed; }
.choice-price { margin-left: auto; color: var(--gold); white-space: nowrap; }
.payment { margin-top: .8rem; }
.payment p { padding: .15rem .45rem; color: var(--muted); font-size: .8rem; }
.order-lines { list-style: none; padding: 0; margin: 0; }
.order-line { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.line-copy { min-width: 0; overflow-wrap: anywhere; line-height: 1.32; }
.line-copy small { display: block; margin-top: .2rem; color: var(--muted); }
.line-cost { display: flex; align-items: end; flex: none; flex-direction: column; gap: .35rem; }
.quantity { display: flex; align-items: center; gap: .38rem; }
.quantity span { text-align: center; min-width: 1.15rem; font-variant-numeric: tabular-nums; }
.total-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .65rem; font-weight: 750; }
.total-row .price { color: var(--gold); font-size: 1.1rem; }
.total-row + .total-row:not(.final-total) { margin-top: .25rem; }
.final-total { padding-top: .5rem; border-top: 1px solid var(--line); }
.small-print, .privacy-note { color: var(--muted); font-size: .8rem; margin-block: .28rem .55rem; }
.privacy-note { margin: .65rem 0; }
.delivery-summary { display: grid; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface-up); padding: .8rem; overflow-wrap: anywhere; }
.review-payment { margin-top: .35rem; color: var(--gold); }
.handoff-note { display: grid; gap: .35rem; padding: .8rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--surface-up); }
.handoff-note p + p, .copy-status { color: var(--muted); font-size: .875rem; }
.copy-status:not(:empty) { margin: .5rem 0; }
.manual-copy { display: grid; gap: .2rem; margin: .4rem 0; font-size: .875rem; font-weight: 680; }
.manual-copy textarea { width: 100%; resize: vertical; padding: .55rem .65rem; border: 1px solid #78675b; border-radius: .35rem; background: var(--bg); color: var(--ink); font: 1rem/1.45 var(--body); }
.manual-copy textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.error { margin-block: .55rem; padding: .6rem .7rem; border: 1px solid #ff8e71; border-radius: .4rem; background: #49261b; color: var(--ink); }

@media (min-width: 30rem) {
  .wrap { width: min(100% - 3rem, 73rem); }
  .header-cart { padding-inline: .85rem; gap: .6rem; }
  .header-cart > span { display: inline; }
  .category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields .wide { grid-column: 1/-1; }
}

@media (min-width: 43rem) {
  .header-inner { min-height: 4.65rem; }
  .header-link { display: inline-flex; }
  .hero-inner { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); align-items: center; gap: 1.2rem; padding-block: 3.15rem 3.45rem; }
  .hero h1 { font-size: clamp(3.75rem, 8vw, 7.25rem); }
  .hero-visual { width: min(85%, 26rem); margin: 0 auto; }
  .hero-description { font-size: 1.05rem; }
  .hero-visual figcaption { padding: .58rem .8rem; font-size: .85rem; }
  .section-title { align-items: center; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-featured { flex-direction: column; gap: 0; }
  .product-featured .product-image { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.75; }
  .product-featured .product-content { padding: .8rem; align-items: start; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-dock { margin: 0; inset: auto clamp(1rem, 4vw, 3rem) 1rem auto; min-width: 17.5rem; max-width: 25rem; border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 .45rem 1.6rem #0d0707ad; }
  dialog { inset: 0; margin: auto; max-width: calc(100% - 2rem); border-radius: .9rem; }
  .dialog-inner { padding: 1.35rem; }
}

@media (min-width: 62rem) {
  .wrap { width: min(100% - 5rem, 73rem); }
  .hero-inner { gap: 3rem; padding-block: 3.8rem; }
  .hero-visual { max-width: 27rem; }
  .hero-visual figcaption { right: -1.1rem; bottom: .3rem; }
  .hero-action { margin-top: 1.45rem; }
  .category-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; }
  .category-link { justify-content: center; min-height: 3.2rem; padding-inline: .45rem; font-size: .86rem; }
  .menu { padding-top: 2.85rem; }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product h3, .product h4 { font-size: 1.02rem; }
}

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