@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+SC:wght@500;700;900&display=swap');

:root {
  --ink: #171310;
  --ink-soft: #27201b;
  --paper: #f1eadf;
  --paper-deep: #e5dacb;
  --ember: #e45f30;
  --ember-dark: #a83c20;
  --gold: #f4b45c;
  --muted: #807469;
  --line: rgba(23, 19, 16, .14);
  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --mono: 'DM Mono', 'SFMono-Regular', monospace;
}

* { box-sizing: border-box; }

html { background: #0d0b0a; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; }

.page-shell { width: 100%; max-width: 560px; margin: 0 auto; overflow: hidden; background: var(--paper); }

.hero {
  position: relative;
  min-height: 530px;
  padding: calc(24px + env(safe-area-inset-top)) 22px 40px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 38%, rgba(228, 95, 48, .29), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(244, 180, 92, .12), transparent 30%),
    var(--ink);
}

.hero::after {
  position: absolute;
  right: -18%;
  bottom: -20%;
  width: 75%;
  height: 58%;
  content: '';
  border-radius: 50%;
  background: var(--ember-dark);
  filter: blur(1px);
  opacity: .64;
  transform: rotate(-22deg);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
}

.topbar, .hero__copy, .hero__stamp { position: relative; z-index: 2; }
.topbar { display: flex; align-items: center; justify-content: space-between; }
.brand-lockup { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: .13em; }
.brand-lockup__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.table-pill { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(241, 234, 223, .25); border-radius: 99px; color: #e7d7c3; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.table-pill__light { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px var(--gold); }
.hero__copy { margin-top: 84px; }
.eyebrow { margin: 0 0 13px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; line-height: 1.4; }
.hero .eyebrow { color: var(--gold); }
h1, h2, p { margin-top: 0; }
h1 { max-width: 360px; margin-bottom: 20px; font-size: clamp(42px, 12vw, 64px); font-weight: 900; letter-spacing: -.07em; line-height: 1.1; }
h1 em { color: var(--ember); font-style: normal; text-shadow: 0 0 32px rgba(228, 95, 48, .32); }
.hero__subcopy { color: #c9b8a4; font-size: 14px; line-height: 1.9; letter-spacing: .08em; }
.hero__skewer { position: absolute; z-index: 1; top: 182px; right: -11px; display: flex; gap: 11px; height: 255px; transform: rotate(31deg); }
.hero__skewer span { position: relative; display: block; width: 25px; height: 190px; border-radius: 5px; background: repeating-linear-gradient(to bottom, #c54b29 0 26px, #78321f 27px 38px); box-shadow: 0 3px 17px rgba(0, 0, 0, .35); }
.hero__skewer span::after { position: absolute; bottom: -52px; left: 10px; width: 5px; height: 66px; content: ''; border-radius: 5px; background: #b88958; }
.hero__skewer span:nth-child(2) { margin-top: 28px; background: repeating-linear-gradient(to bottom, #f0a54f 0 23px, #894023 24px 36px); }
.hero__skewer span:nth-child(3) { margin-top: -16px; }
.hero__skewer span:nth-child(4) { margin-top: 21px; background: repeating-linear-gradient(to bottom, #d57732 0 28px, #68311f 29px 39px); }
.hero__skewer span:nth-child(5) { margin-top: -27px; }
.hero__stamp { position: absolute; right: 22px; bottom: 27px; width: 49px; height: 49px; padding-top: 8px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; transform: rotate(13deg); }

.menu-section { padding: 48px 18px 30px; background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; padding: 0 4px; }
.eyebrow--dark { color: var(--ember-dark); }
h2 { margin-bottom: 0; font-size: 25px; font-weight: 900; letter-spacing: -.04em; }
.section-heading__count { padding-bottom: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.category-nav { display: flex; gap: 8px; margin: 28px 0 20px; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; transition: .2s ease; }
.category-button.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.menu-grid { display: grid; gap: 12px; }
.menu-empty { padding: 42px 10px; color: var(--muted); font-size: 13px; text-align: center; }
.menu-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 134px; overflow: hidden; border: 1px solid rgba(23, 19, 16, .08); border-radius: 3px; background: rgba(255, 255, 255, .34); box-shadow: 0 7px 17px rgba(65, 43, 29, .04); animation: rise-in .42s both; }
.menu-card__image { position: relative; min-height: 134px; overflow: hidden; background: var(--paper-deep); }
.menu-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.menu-card:hover img { transform: scale(1.06); }
.menu-card__image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, transparent 68%, rgba(23, 19, 16, .14)); }
.menu-card__body { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 15px 13px 13px 15px; }
.menu-card__top { display: flex; justify-content: space-between; gap: 6px; }
.menu-card h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.menu-card__tag { color: var(--ember-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .03em; white-space: nowrap; }
.menu-card__desc { margin: 5px 0 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.menu-card__bottom { display: flex; align-items: end; justify-content: space-between; }
.price { color: var(--ember-dark); font-family: var(--mono); font-size: 16px; font-weight: 500; }
.price small { margin-left: 2px; color: var(--muted); font-family: var(--serif); font-size: 10px; }
.add-button, .quantity-control button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 50%; color: var(--paper); background: var(--ember); box-shadow: 0 4px 10px rgba(168, 60, 32, .23); cursor: pointer; font-size: 21px; line-height: 1; transition: transform .16s ease, background .16s ease; }
.add-button:active, .quantity-control button:active, .cart-fab:active, .submit-button:active { transform: scale(.94); }
.quantity-control { display: flex; align-items: center; gap: 8px; }
.quantity-control button { width: 27px; height: 27px; font-size: 18px; }
.quantity-control span { min-width: 13px; font-family: var(--mono); font-size: 12px; text-align: center; }
.site-footer { padding: 30px 22px calc(112px + env(safe-area-inset-bottom)); color: #b0a292; background: var(--ink); text-align: center; }
.footer-mark { color: var(--paper); font-size: 16px; font-weight: 700; letter-spacing: .16em; }
.footer-mark span { margin: 0 5px; color: var(--ember); }
.site-footer p { margin: 11px 0 21px; color: #827568; font-size: 11px; }
.site-footer small { color: #574d45; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; }

.cart-fab { position: fixed; z-index: 10; right: max(18px, calc((100vw - 560px) / 2 + 18px)); bottom: max(18px, calc(18px + env(safe-area-inset-bottom))); display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 13px 0 14px; border: 0; border-radius: 99px; color: var(--paper); background: var(--ember); box-shadow: 0 10px 28px rgba(107, 37, 19, .33); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.cart-fab__icon { color: var(--gold); font-size: 21px; transform: rotate(180deg); }
.cart-fab__text { font-size: 13px; font-weight: 700; }
.cart-fab__badge { display: grid; min-width: 22px; height: 22px; padding: 0 5px; place-items: center; border-radius: 99px; color: var(--ember-dark); background: var(--paper); font-family: var(--mono); font-size: 10px; }
.cart-backdrop { position: fixed; z-index: 19; inset: 0; background: rgba(13, 11, 10, .65); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; max-height: min(76vh, 620px); flex-direction: column; border-radius: 21px 21px 0 0; color: var(--ink); background: var(--paper); box-shadow: 0 -12px 50px rgba(0, 0, 0, .25); transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cart-drawer.is-open { transform: translateY(0); }
.cart-drawer__handle { width: 34px; height: 4px; margin: 10px auto 0; border-radius: 99px; background: #c5b7a7; }
.cart-drawer__header { display: flex; align-items: start; justify-content: space-between; padding: 22px 22px 18px; }
.cart-drawer__header .eyebrow { margin-bottom: 8px; }
.cart-drawer__header h2 { font-size: 20px; }
.icon-button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; font-size: 23px; line-height: 28px; }
.cart-items { min-height: 70px; overflow: auto; padding: 0 22px; }
.cart-empty { display: grid; min-height: 130px; place-items: center; color: var(--muted); font-size: 13px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line__name { font-size: 14px; }
.cart-line__price { color: var(--ember-dark); font-family: var(--mono); font-size: 12px; }
.cart-line .quantity-control { gap: 6px; }
.cart-line .quantity-control button { width: 24px; height: 24px; box-shadow: none; }
.cart-drawer__footer { padding: 18px 22px max(20px, calc(20px + env(safe-area-inset-bottom))); border-top: 1px solid var(--line); background: rgba(241, 234, 223, .96); }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.cart-total strong { color: var(--ember-dark); font-family: var(--mono); font-size: 20px; font-weight: 500; }
.submit-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 15px 17px; border: 0; border-radius: 3px; color: var(--paper); background: var(--ink); cursor: pointer; font-size: 14px; font-weight: 700; }
.submit-button span { color: var(--gold); font-size: 19px; }
.drawer-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.toast { position: fixed; z-index: 30; right: 50%; bottom: 92px; max-width: calc(100vw - 40px); padding: 10px 15px; border-radius: 99px; color: var(--paper); background: var(--ink); box-shadow: 0 6px 25px rgba(0, 0, 0, .18); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(50%, 12px); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(50%, 0); }
.desktop-lock { display: none; }

@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 700px) {
  body { display: grid; min-height: 100vh; place-items: center; background: #0d0b0a; }
  .page-shell, .cart-fab, .cart-drawer, .cart-backdrop, .toast { display: none; }
  .desktop-lock { display: block; color: var(--paper); text-align: center; }
  .desktop-lock__mark { margin-bottom: 15px; color: var(--ember); font-size: 31px; font-weight: 900; letter-spacing: .1em; }
  .desktop-lock p { color: #9d8d7b; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
