/* The website. Black panel, white type, white pills. The photograph is the page. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: optional; src: url(../fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: optional; src: url(../fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: optional; src: url(../fonts/poppins-600.woff2) format('woff2'); }

:root {
  --bg: #000;
  --fg: #fff;
  --fg-muted: #ffffffb8;
  --line: #ffffff24;
  --pill: #fff;
  --pill-fg: #111;
  --badge: #e02b27;
  --accent: #398C34;
  --accent-press: #2f7a2b;
  --radius: 999px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.45 Poppins, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #111; padding: 8px; z-index: 2; }

.pill {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: var(--radius);
  background: var(--pill); color: var(--pill-fg);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
  touch-action: manipulation;
}
.pill:active { transform: scale(.97); }
.home-order {
  background: var(--accent); color: #fff;
  letter-spacing: .02em; box-shadow: 0 2px 4px #00000040;
}
.home-order:active { background: var(--accent-press); }
.pill:focus-visible, .place-address:focus-visible, .call:focus-visible, .site-menu:focus-visible, .mb-cart:focus-visible, .dish:focus-visible, .site-nav a:focus-visible, .more a:focus-visible, .site-end a:focus-visible, .delivery-link:focus-visible, .quiet a:focus-visible, .hours-open:focus-visible, .hours-close:focus-visible {
  outline: 2px solid var(--fg); outline-offset: 3px;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: menu, logo, cart. On a phone the script slides the whole bar off with the scroll. */
.site-head { display: flex; flex-direction: column; background: var(--bg); position: relative; z-index: 20; }
.site-bar {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  height: 64px; padding: 0 8px;
}
.site-menu, .call {
  width: 44px; height: 44px; border: 0; background: none; color: var(--fg);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.site-logo { display: flex; justify-content: center; }
.site-logo img { height: 48px; width: auto; }
.mb-cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--fg); text-decoration: none;
}
.mb-cart-amount { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mb-cart-qty {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--badge); color: var(--fg);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
body.cart-empty .mb-cart-qty { display: none; }
.site-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.site-nav[hidden] { display: none; }
.site-nav a {
  min-height: 48px; display: flex; align-items: center; padding: 0 20px;
  text-decoration: none; font-weight: 600;
}

/* First screen: photo, then today's hours and the two actions. Side by side once the window is wide. */
.splash { display: grid; grid-template-rows: 200px auto; background: var(--bg); }
.splash-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.splash-panel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6px 16px 8px; gap: 10px;
}
.hours { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.hours-open {
  appearance: none; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  margin: 0; padding: 6px 12px 4px; border: 0; border-radius: 0;
  background: none; color: var(--fg); font: inherit; text-align: center; cursor: pointer;
  touch-action: manipulation;
}
.hours-open:active { transform: scale(.97); }
.hours-status { font-size: 16px; font-weight: 600; line-height: 1.25; }
.hours-line { font-size: 13px; line-height: 1.25; color: var(--fg-muted); white-space: nowrap; }
.hours-cue { font-size: 11px; line-height: 1.3; text-decoration: underline; text-underline-offset: 2px; padding-top: 2px; }
/* Ordering sheet on this black page: raised dark panel, light type, the same yellow X. */
.hours-sheet {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100svh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 20px; overflow: hidden;
  background: #1a1a1a; color: var(--fg);
  box-shadow: 0 14px 36px #00000080;
  flex-direction: column;
}
.hours-sheet[open] { display: flex; }
.hours-sheet form { display: flex; flex-direction: column; min-height: 0; }
.hours-sheet::backdrop { background: #000000a6; }
.hours-sheet .sheet-head {
  position: relative; display: flex; align-items: center; justify-content: center; flex: none;
  min-height: 64px; padding: 10px 64px; background: #1a1a1a; border-bottom: 1px solid #ffffff24;
}
.hours-sheet .sheet-title { margin: 0; font: 600 20px/1.2 Poppins, sans-serif; text-align: center; color: var(--fg); }
.hours-sheet .btn-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: #FFB802;
  display: grid; place-items: center; box-shadow: 0 2px 6px #0003; cursor: pointer;
}
.hours-sheet .btn-close:active { transform: translateY(-50%) scale(.94); }
.hours-sheet .btn-close:focus-visible { outline: 3px solid #1f2937; outline-offset: 2px; }
.hours-detail { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 20px; overflow: auto; }
.hours-detail .when, .hours-detail .closed-note, .hours-detail .when-label { font-size: 15px; color: var(--fg); }
.when { font-size: 13px; line-height: 1.35; color: var(--fg-muted); }
.when-label { font-weight: 600; color: var(--fg); }
.svc { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--fg); }
.closed-note { font-size: 13px; line-height: 1.35; color: var(--fg-muted); }
.delivery-link {
  width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 14px; border: 1px solid #ffffffb8; border-radius: var(--radius);
  background: none; color: var(--fg);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.delivery-link:active { transform: scale(.97); }
.delivery-link img { width: 22px; height: 22px; filter: invert(1); }
.quiet { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.quiet a {
  min-height: 44px; display: flex; align-items: center;
  font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}
.place-address { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.acts { display: flex; flex-direction: column; gap: 8px; width: min(280px, 100%); }
.acts > .pill:not(.home-order) { width: 100%; height: 44px; padding: 0 14px; }
/* Gift cards: an outlined button like Delivery. The bow animation comes after launch (Paul 20 Nov). */
.gift { background: none; color: var(--fg); border: 1px solid #ffffffb8; }
.desk-order { display: none; }

@media (min-width: 769px) {
  .desk-order { display: flex; }
}

/* Wide screens: the header, the Menu link and the footer grow with the window in steps, as the panel does below, so the
   logo and icons are not lost in a wide bar (Paul 19 Nov). --hz is the step; the first screen subtracts the taller bar. */
:root { --hz: 1; }
@media (min-width: 1300px) { :root { --hz: 1.15; } }
@media (min-width: 1700px) { :root { --hz: 1.3; } }
@media (min-width: 2200px) { :root { --hz: 1.5; } }
@media (min-width: 2900px) { :root { --hz: 1.75; } }
.site-head > *, .more, .details, .site-end { zoom: var(--hz); }

@media (min-width: 900px) {
  /* one screen under the bar; taller only if the panel needs it (the photo follows, never overlapped by the menu cards) */
  .splash { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; min-height: max(560px, calc(100svh - 64px * var(--hz))); }
  .splash-photo { height: 0; min-height: 100%; } /* the row sets its height, never the picture's own shape */
  .splash-panel { justify-content: center; padding: 48px 40px; gap: 20px; }
}
/* Wide screens: the panel grows with the window, so hours and buttons fill their half instead of a small island in the
   middle (Paul 20 Nov, a wide desktop). zoom keeps every size and gap in proportion; steps, as zoom takes a number only. */
@media (min-width: 1300px) and (min-height: 700px) { .splash-panel > * { zoom: 1.3; } }
@media (min-width: 1700px) and (min-height: 850px) { .splash-panel > * { zoom: 1.6; } }
@media (min-width: 2200px) and (min-height: 1050px) { .splash-panel > * { zoom: 2; } }
@media (min-width: 2900px) and (min-height: 1400px) { .splash-panel > * { zoom: 2.6; } }
@media (min-width: 3600px) and (min-height: 1800px) { .splash-panel > * { zoom: 3.2; } }
/* Ultrawide (21:10 and wider; a maximised 1080p window is about 2:1 and keeps half and half): half the width for the panel left most of it empty; the photo takes three fifths. */
@media (min-width: 1700px) and (min-aspect-ratio: 21/10) { .splash { grid-template-columns: 3fr 2fr; } }

/* Menu: a row you can swipe. Two cards and half of the next one stay in view. */
.food { background: var(--bg); padding: 8px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dishes {
  display: flex; gap: 8px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px; padding: 0 16px 4px; scrollbar-width: none;
}
.dishes::-webkit-scrollbar { display: none; }
.dish {
  position: relative; display: block; flex: 0 0 calc(100% / 2.5); scroll-snap-align: start;
  aspect-ratio: 1; overflow: hidden; text-decoration: none; background: #141414;
}
.dish img { width: 100%; height: 100%; object-fit: cover; }
.dish span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
  color: #fff; text-align: center; font-size: 15px; font-weight: 600;
}
.dish:active { transform: scale(.98); }
@media (min-width: 800px) {
  .dishes { gap: 12px; scroll-padding-inline: 32px; padding: 0 32px 4px; }
  .dish { flex-basis: 240px; }
  .food { padding: 28px 0 12px; }
}
/* A desktop shows every card: they share the row, centred, never a short row with the right side empty (Paul 19 Nov). */
@media (min-width: 1200px) {
  .dishes { justify-content: center; overflow: visible; scroll-snap-type: none; }
  .dish { flex: 1 1 0; min-width: 0; max-width: 420px; }
  .dish span { zoom: var(--hz); }
}
.info { max-width: 34rem; margin: 0 auto; padding: 28px 20px 48px; display: flex; flex-direction: column; gap: 12px; }
.info h1 { font-size: 22px; font-weight: 600; }
.info h2 { font-size: 16px; font-weight: 600; margin-top: 8px; }
.info a:not(.pill) { text-decoration: underline; text-underline-offset: 3px; }
.info ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.info .soon { color: var(--fg-muted); font-size: 13px; }
.info .pill { align-self: center; margin-top: 8px; }
/* Allergen cards: the ordering modifier fold (public/css/product.css .pp-fold). Closed until tapped.
   The answer stays in the HTML either way, so a crawler can read it shut. */
.info .pp-sets { display: flex; flex-direction: column; gap: 8px; }
.info .pp-set { --pp-ease: cubic-bezier(.2, .8, .2, 1); border: 1.5px solid #d4d7d0; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px #0000000d; color: #1f2937; }
.info .pp-set-head { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; padding: 0 12px; font: 700 15px/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .03em; color: #1f2937; cursor: pointer; touch-action: manipulation; }
.info .pp-set-head:focus-visible { outline: 3px solid #1f2937; outline-offset: 2px; }
.info .pp-set-head:active { transform: scale(.97); }
.info .pp-chev { margin-left: auto; width: 14px; height: 14px; flex: none; opacity: .7; transition: transform .32s var(--pp-ease); }
.info .pp-set.open .pp-chev { transform: rotate(90deg); }
.info .pp-set-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--pp-ease); }
.info .pp-set.open .pp-set-body { grid-template-rows: 1fr; }
.info .pp-set-body > .pp-set-list { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 0 12px; opacity: 0; transform: translateY(-4px); font: 400 15px/1.45 Inter, sans-serif; transition: opacity .2s ease, transform .32s var(--pp-ease), padding .32s var(--pp-ease); }
.info .pp-set.open .pp-set-body > .pp-set-list { opacity: 1; transform: none; padding: 0 12px 12px; transition-delay: .05s; }
.info .ag { display: flex; flex-direction: column; gap: 4px; }
.info .ag h3 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.2 Inter, sans-serif; color: #1f2937; }
.info .ag-ico { width: 32px; height: 32px; flex: none; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) {
  .info .pp-set-body, .info .pp-set-body > .pp-set-list, .info .pp-chev { transition: none; }
}

.more { display: flex; justify-content: center; gap: 28px; }
.more a {
  min-height: 44px; display: flex; align-items: center; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

.fn { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fn > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fn::after { content: ""; position: absolute; inset: 0; background: #0000008c; }
.fn-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 32px 24px; }
.fn-copy h1 { font-size: 22px; font-weight: 600; }
/* the packages follow the photo, so the photo leaves room for the first one to show (Paul 19 Nov) */
.fn { min-height: 62svh; }
.fn-lede { margin: 0; max-width: 26rem; font-size: 15px; line-height: 1.45; }
.fn-info { padding-top: 20px; }
.pkgs { display: flex; flex-direction: column; gap: 10px; }
.pkg { border: 1.5px solid #d4d7d0; border-radius: 10px; background: #fff; color: #1f2937; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; font: 400 15px/1.45 Inter, sans-serif; }
.pkg h3 { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.pkg-price { font: 700 22px/1.1 Poppins, sans-serif; }
.pkg-per { font-size: 13px; color: #4b5563; }
.pkg ul { margin: 0; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.pkg-note { margin: 0; font-size: 13px; color: #4b5563; }
.pkg-min { margin: 0; font-size: 13px; font-weight: 600; color: #4b5563; }
.info .fn-facts { list-style: disc; padding-left: 18px; }

.details { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 16px 20px; text-align: center; }
.details a { font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

.order-dock { display: none; }
@media (max-width: 768px) {
  .order-dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bg);
  }
  .order-dock .pill { width: 100%; }
}

.site-end { background: var(--bg); text-align: center; padding: 8px 16px calc(28px + env(safe-area-inset-bottom)); }
.site-end a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) {
  .site-end { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* The header sits in the page and the script slides it off with the scroll.
   A sticky or fixed top bar makes iOS Safari paint a solid band over the status bar. */
@property --anchor { syntax: '<length>'; inherits: true; initial-value: 0px; }
@keyframes chrome-pin { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--anchor), 0); } }
@supports (animation-timeline: scroll()) {
  @media (max-width: 768px) {
    .site-head {
      will-change: transform; backface-visibility: hidden;
      animation: chrome-pin linear both; animation-timeline: scroll(root block); animation-range: 0px var(--anchor);
    }
    .site-head::before {
      content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 72px;
      background: var(--bg); pointer-events: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill:active, .social a:active, .dish:active, .hours-open:active { transform: none; }
}
