/* Rollin' by The Garden Resort, Stage 1 site.
   Layout: one phone-width column. Night sections (hero, find, close) frame a cream
   "board" that reads like the truck's menu board. On wide screens the column sits
   centred over a blurred, darkened copy of the hero plate. */

@font-face { font-family: "Anton"; src: url("/assets/fonts/Anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lobster"; src: url("/assets/fonts/Lobster-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* brand */
  --cream: #FCF5E9;
  --red: #D2202C;
  --yellow: #FFC107;
  --ink: #1A1A1A;
  /* night, tinted toward the neon red rather than flat black */
  --night: #141012;
  --night-2: #1E181A;
  --night-line: #3A3034;
  --mute: #B8ABA3;          /* secondary text on night */
  --board-line: #E4D6C2;    /* hairlines on the cream board */
  --board-mute: #6E6158;    /* secondary text on cream */
  --veg: #1E9A3B;
  --paper: #FFFDF8;

  /* engine tokens, themed */
  --sc-canvas: var(--night);
  --sc-surface: var(--night-2);
  --sc-ink: var(--cream);
  --sc-ink-soft: var(--mute);
  --sc-accent: var(--yellow);
  --sc-accent-ink: var(--ink);
  --sc-font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --sc-font-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --f-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Lobster", "Brush Script MT", cursive;
  --f-ticket: "Courier Prime", "Courier New", ui-monospace, monospace;

  --gut: 1.25rem;
  --col: 30rem;
  --bar-h: 4.25rem;
  color-scheme: dark;
}

[hidden] { display: none !important; } /* component display rules must never beat the hidden attribute */
html { scroll-padding-top: 3.5rem; }
body { background: var(--night); color: var(--cream); font-family: var(--f-text); font-size: 1rem; }
body.is-locked { overflow: hidden; }

/* desktop: centred phone column over the blurred scene */
@media (min-width: 640px) {
  body::before {
    content: ""; position: fixed; inset: -40px; z-index: -1;
    background: url("/assets/img/hero-day.webp") center / cover no-repeat;
    filter: blur(28px) brightness(0.35) saturate(1.1);
  }
  .col { box-shadow: 0 0 0 1px var(--night-line), 0 30px 80px rgb(0 0 0 / 0.6); }
}
.col { max-width: var(--col); margin-inline: auto; background: var(--night); overflow-x: clip; position: relative; }

.preview-note { /* preview builds only; fixed so it never pushes the layout */
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; margin: 0;
  background: var(--yellow); color: var(--ink);
  font: 600 0.78rem/1.3 var(--f-text); text-align: center; padding: 0.45rem var(--gut);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.25rem; border-radius: 6px; border: 0; cursor: pointer;
  font: 400 1.05rem/1 var(--f-display); letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; transition: transform 160ms var(--sc-ease-out), background-color 160ms;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); color: var(--cream); }
.btn--ghost { background: rgb(252 245 233 / 0.1); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgb(252 245 233 / 0.55); }
.btn--cream { background: var(--cream); color: var(--red); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--wa { background: #1F8F4E; color: #fff; }
.btn--text { background: transparent; color: var(--mute); text-decoration: underline; text-underline-offset: 0.2em; font: 500 0.95rem var(--f-text); text-transform: none; letter-spacing: 0; }

/* ------------------------------------------------------------ status pill */
.status {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0;
  padding: 0.45rem 0.9rem 0.45rem 0.75rem; border-radius: 999px;
  background: rgb(20 16 18 / 0.72); box-shadow: inset 0 0 0 1px rgb(252 245 233 / 0.18);
  font: 600 0.88rem/1.2 var(--f-text); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.status__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--mute); flex: none; }
.status[data-state="open"] .status__dot { background: #3DDC6A; box-shadow: 0 0 0 0.25rem rgb(61 220 106 / 0.22); animation: pulse 2.4s ease-in-out infinite; }
.status[data-state="soon"] .status__dot { background: var(--yellow); box-shadow: 0 0 0 0.25rem rgb(255 193 7 / 0.22); }
.status[data-state="closed"] .status__dot { background: var(--red); }
@keyframes pulse { 50% { box-shadow: 0 0 0 0.45rem rgb(61 220 106 / 0.06); } }
.status--lg { font-size: 0.95rem; padding: 0.6rem 1.1rem 0.6rem 0.9rem; max-width: 100%; border-radius: 1.1rem; }

/* ------------------------------------------------------------ 1 hero: the evening photo, then cream */
.hero { position: relative; background: var(--cream); color: var(--ink); overflow: hidden; }
.hero__photo { position: relative; aspect-ratio: 1400 / 1267; overflow: hidden; background: #cfd6c8; }
.hero__photo img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; max-width: none; object-fit: cover; will-change: transform; }
.hero__photo::after { /* the cobbles melt into the cream page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 22%;
  background: linear-gradient(to bottom, rgb(252 245 233 / 0), var(--cream));
}
.hero__copy {
  position: relative; z-index: 1; margin-top: -1.5rem;
  padding: 0 var(--gut) 2rem;
  display: grid; justify-items: start; gap: 0.95rem;
}
.hero__logo { margin: 0; width: min(70%, 17rem); }
.hero__logo img { width: 100%; height: auto; }
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 100%; }
.hero .status { background: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ------------------------------------------------------------ 2 board (menu) */
.board {
  position: relative; background: var(--cream); color: var(--ink);
  padding: 2.25rem 0 2rem;
  border-top: 0.6rem solid var(--red);
}
.board::before { /* inner yellow keyline, like board O */
  content: ""; position: absolute; inset: 0.6rem; border: 2px solid var(--yellow); pointer-events: none;
}
.board__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 0 calc(var(--gut) + 0.4rem); }
.board__title { margin: 0; font: 400 3.4rem/0.9 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); }
.board__loading, .board__foot { padding: 0 calc(var(--gut) + 0.4rem); color: var(--board-mute); font-size: 0.85rem; margin: 1.5rem 0 0; }
.plus-glyph { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--red); color: var(--cream); font-weight: 600; line-height: 1; }

/* veg switch */
.vegswitch { display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; padding: 0.4rem 0; font: 600 0.9rem var(--f-text); color: var(--ink); }
.vegswitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vegswitch__track { width: 2.9rem; height: 1.65rem; border-radius: 999px; background: #D9CCBA; position: relative; transition: background-color 200ms; }
.vegswitch__knob { position: absolute; top: 0.2rem; left: 0.2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); transition: transform 220ms var(--sc-ease-out); }
.vegswitch input:checked + .vegswitch__track { background: var(--veg); }
.vegswitch input:checked + .vegswitch__track .vegswitch__knob { transform: translateX(1.25rem); }
.vegswitch input:focus-visible + .vegswitch__track { outline: 2px solid var(--red); outline-offset: 2px; }

/* category tabs: the menu's own nav, sticky while you read the board */
.tabs {
  position: sticky; top: 0; z-index: 30; margin-top: 1.25rem;
  display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(0.6rem + 2px); /* sits inside the yellow keyline instead of cutting it */
  padding: 0.65rem calc(var(--gut) - 0.2rem); background: var(--cream);
  border-bottom: 2px solid var(--red);
}
.tabs::-webkit-scrollbar { display: none; }
body:has(.preview-note:not([hidden])) .tabs { top: 1.95rem; }
body:has(.preview-note:not([hidden])) .col { padding-top: 2.95rem; } /* preview builds: keep the banner off the photo */
.tabs a {
  flex: none; padding: 0.45rem 0.85rem; border-radius: 4px;
  font: 400 0.95rem/1 var(--f-display); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--red); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--red);
}
.tabs a[aria-current="true"] { background: var(--red); color: var(--cream); }

.cat { padding-top: 1.75rem; scroll-margin-top: 3.4rem; }
.cat__window { position: relative; margin: 0 calc(var(--gut) + 0.4rem); border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.cat__window video, .cat__window img { width: 100%; height: 100%; object-fit: cover; }
.cat__window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent 55%); }
.cat__name {
  position: absolute; left: 0.9rem; bottom: 0.7rem; z-index: 1; margin: 0;
  font: 400 2rem/1 var(--f-display); text-transform: uppercase; color: var(--cream); letter-spacing: 0.02em;
}
.cat__plain { margin: 0 calc(var(--gut) + 0.4rem); padding-bottom: 0.6rem; border-bottom: 2px solid var(--red); }
.cat__plain .cat__name { position: static; color: var(--ink); font-size: 2rem; }
.cat__note { margin: 0.35rem 0 0; font-size: 0.82rem; color: var(--board-mute); }

.bread { margin: 1.4rem calc(var(--gut) + 0.4rem) 0.1rem; font: 400 0.82rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }

.dishes { list-style: none; margin: 0.4rem 0 0; padding: 0 calc(var(--gut) + 0.4rem); }
.dish {
  display: grid; grid-template-columns: 1rem 1fr auto; column-gap: 0.7rem; row-gap: 0.25rem;
  padding: 0.95rem 0; border-bottom: 1px dashed var(--board-line); align-items: start;
}
.dish[hidden] { display: none; }
.mark { width: 0.95rem; height: 0.95rem; margin-top: 0.22rem; border: 1.5px solid var(--veg); display: grid; place-items: center; border-radius: 2px; }
.mark::after { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--veg); }
.mark--nonveg { border-color: var(--red); }
.mark--nonveg::after { background: var(--red); }
.mark--egg { border-color: #D89B00; }
.mark--egg::after { background: #D89B00; }
.dish__main { min-width: 0; }
.dish__name { margin: 0; font: 600 1.02rem/1.3 var(--f-text); color: var(--ink); text-wrap: balance; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.tag { font: 400 0.68rem/1 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.45rem 0.24rem; border-radius: 3px; }
.tag--chef { background: var(--red); color: var(--cream); }
.tag--best { background: var(--yellow); color: var(--ink); }
.tag--plain { box-shadow: inset 0 0 0 1px var(--board-mute); color: var(--board-mute); }
.dish__desc { margin: 0.35rem 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--board-mute); text-wrap: pretty; }
.dish__side { display: grid; justify-items: end; gap: 0.5rem; }
.dish__price { font: 600 1.02rem/1.3 var(--f-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__price small { font-size: 0.75em; font-weight: 500; color: var(--board-mute); }

.qty { display: inline-flex; align-items: center; gap: 0.15rem; }
.qty button {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: var(--cream); font: 600 1.35rem/1 var(--f-text);
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--sc-ease-out);
}
.qty button:active { transform: scale(0.9); }
.qty .qty__minus { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.qty__n { min-width: 1.6rem; text-align: center; font: 600 1rem var(--f-text); font-variant-numeric: tabular-nums; }
.qty:not(.has) .qty__minus, .qty:not(.has) .qty__n { display: none; }
.qty button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.empty-veg { margin: 1rem calc(var(--gut) + 0.4rem) 0; color: var(--board-mute); font-size: 0.9rem; }

/* ------------------------------------------------------------ 3 find */
.find { padding: 3.25rem var(--gut) 3rem; display: grid; gap: 1.5rem; background: var(--night); }
.find__copy { display: grid; gap: 0.9rem; }
.find__title { margin: 0; font: 400 3rem/0.9 var(--f-display); text-transform: uppercase; }
.find__address { margin: 0; font: 400 1.6rem/1.05 var(--f-display); text-transform: uppercase; color: var(--yellow); letter-spacing: 0.02em; }
.find__steps { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.find__steps li { display: grid; grid-template-columns: 2rem 1fr; align-items: center; gap: 0.7rem; line-height: 1.45; }
.find__steps b { color: var(--cream); font-weight: 600; }
.num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: var(--cream); display: grid; place-items: center; font: 400 1.05rem/1 var(--f-display); }
.find__meta { margin: 0; color: var(--mute); font-size: 0.95rem; line-height: 1.6; }
.find__map { border-radius: 6px; overflow: hidden; background: #F4ECDD; aspect-ratio: 1000 / 870; box-shadow: 0 0 0 2px var(--ink), 0 16px 40px rgb(0 0 0 / 0.45); }
.find__map svg { width: 100%; height: 100%; }
.find__map .route { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.find__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.find__phone { margin: 0; color: var(--mute); }

/* ------------------------------------------------------------ 4 legacy */
.legacy { background: var(--night-2); }
.legacy__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.legacy__photo img { width: 100%; height: 100%; object-fit: cover; }
.legacy__copy { padding: 1.75rem var(--gut) 3rem; display: grid; gap: 0.8rem; }
.eyebrow { margin: 0; font: 400 0.8rem/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.legacy__title { margin: 0; font: 400 2.35rem/0.98 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.legacy__copy p { margin: 0; max-width: 34ch; color: var(--mute); line-height: 1.6; }
.legacy__copy .legacy__kicker { color: var(--cream); font-weight: 600; }

/* ------------------------------------------------------------ 5 instagram */
.gram { position: relative; background: var(--red); color: var(--cream); padding: 2.5rem var(--gut); display: grid; grid-template-columns: 1fr 7.5rem; gap: 1.25rem; align-items: center; overflow: hidden; }
.gram__copy { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.gram__title { margin: 0; font: 400 1.85rem/1 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.gram__badge { grid-column: 2; grid-row: 1; width: 7.5rem; height: 10rem; object-fit: cover; border-radius: 6px; transform: rotate(4deg); box-shadow: 0 10px 24px rgb(0 0 0 / 0.35); }

/* ------------------------------------------------------------ 6 close */
.close { position: relative; aspect-ratio: 1100 / 1466; overflow: hidden; background: var(--night); }
.close__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close__shade { position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to bottom, rgb(20 16 18 / 0), rgb(20 16 18 / 0.85) 55%, var(--night)); }
.close__copy { position: absolute; inset: auto 0 0 0; padding: 0 var(--gut) 2.25rem; display: grid; justify-items: start; gap: 0.9rem; }
.close__tag { margin: 0; font: 400 3.4rem/1 var(--f-script); color: var(--cream); text-shadow: 0 4px 18px rgb(0 0 0 / 0.5); }

.foot { padding: 2rem var(--gut) calc(2rem + var(--bar-h)); display: grid; gap: 0.6rem; justify-items: start; border-top: 1px solid var(--night-line); color: var(--mute); font-size: 0.86rem; }
.foot img { width: 8.5rem; height: auto; }
.foot p { margin: 0; }
.foot__small { font-size: 0.74rem; opacity: 0.8; }

/* ------------------------------------------------------------ order bar */
.orderbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0.6rem var(--gut) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.orderbar__btn {
  pointer-events: auto; width: 100%; max-width: calc(var(--col) - 2 * var(--gut)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.9rem;
  min-height: 3.25rem; padding: 0 1.1rem; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px rgb(0 0 0 / 0.5), inset 0 0 0 1px rgb(252 245 233 / 0.14);
  font: 600 0.95rem var(--f-text); text-align: left;
  animation: barIn 320ms var(--sc-ease-out);
}
.orderbar__label { font: 400 1.05rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.orderbar__count { color: var(--mute); font-weight: 500; }
.orderbar__total { color: var(--yellow); font-variant-numeric: tabular-nums; }
.orderbar.bump .orderbar__btn { animation: bump 260ms var(--sc-ease-out); }
@keyframes barIn { from { transform: translateY(120%); } }
@keyframes bump { 40% { transform: scale(1.03); } }

/* ------------------------------------------------------------ sheet + ticket (the signature) */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: var(--col);
  max-height: 92svh; background: var(--night-2); color: var(--cream);
  border-radius: 14px 14px 0 0; overflow: hidden;
}
.sheet::backdrop { background: rgb(0 0 0 / 0.6); }
.sheet[open] { animation: sheetUp 300ms var(--sc-ease-drawer); }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet__inner { max-height: 92svh; overflow-y: auto; padding: 1.4rem var(--gut) calc(1.25rem + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; }
.sheet__close { justify-self: end; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgb(252 245 233 / 0.1); color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }

.printer { width: 100%; max-width: 21rem; height: 0.9rem; margin-top: 0.4rem; border-radius: 0.45rem; background: #050405; box-shadow: inset 0 2px 3px rgb(255 255 255 / 0.06); position: relative; z-index: 2; }
.printer span { position: absolute; left: 6%; right: 6%; top: 0.35rem; height: 0.2rem; border-radius: 0.1rem; background: #000; }
.ticket {
  width: calc(100% - 2.5rem); max-width: 19rem; margin-top: -0.45rem; position: relative; z-index: 1;
  background: var(--paper); color: #222; padding: 1.4rem 1.1rem 1.6rem;
  font: 400 0.86rem/1.45 var(--f-ticket);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.45);
  /* torn zigzag bottom edge */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 9px repeat-x;
}
.ticket.printing { animation: feed 1100ms steps(14, end) both; }
@keyframes feed { from { clip-path: inset(0 0 100% 0); transform: translateY(-14%); } to { clip-path: inset(0 0 0 0); transform: none; } }
.ticket__logo { width: 9rem; height: auto; margin: 0 auto 0.6rem; filter: saturate(0.9); }
.ticket__title { margin: 0; text-align: center; font: 700 1.05rem/1.2 var(--f-ticket); letter-spacing: 0.12em; text-transform: uppercase; }
.ticket__warn { margin: 0.6rem 0 0; padding: 0.45rem 0.5rem; text-align: center; font-weight: 700; border: 1.5px solid #222; line-height: 1.35; }
.ticket__time { margin: 0.6rem 0 0; text-align: center; color: #666; font-size: 0.78rem; }
.ticket__lines { list-style: none; margin: 0.7rem 0 0; padding: 0.7rem 0 0; border-top: 1.5px dashed #888; display: grid; gap: 0.45rem; }
.ticket__lines li { display: grid; grid-template-columns: 1.1rem 1fr auto; gap: 0.45rem; align-items: start; }
.ticket__lines .q { font-weight: 700; }
.ticket__lines .p { font-variant-numeric: tabular-nums; }
.ticket__lines .mark { margin-top: 0.15rem; width: 0.8rem; height: 0.8rem; }
.ticket__lines .mark::after { width: 0.34rem; height: 0.34rem; }
.ticket__lines .empty { display: block; text-align: center; color: #777; }
.ticket__total { display: flex; justify-content: space-between; margin: 0.8rem 0 0; padding-top: 0.65rem; border-top: 1.5px dashed #888; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ticket__foot { margin: 0.9rem 0 0; text-align: center; font-size: 0.74rem; color: #555; line-height: 1.5; }
.ticket__foot b { display: block; color: #222; }
.sheet__actions { width: 100%; max-width: 21rem; display: grid; gap: 0.6rem; margin-top: 1.4rem; }
.sheet__actions .btn { width: 100%; }

/* Show at window: maximum legibility for the server at night */
.window {
  border: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #fff; color: #000;
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  flex-direction: column; gap: 1rem; overflow-y: auto;
}
.window__warn { margin: 0; font: 400 1rem/1.2 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.window__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; flex: 1; align-content: start; }
.window__lines li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.6rem; font: 600 1.55rem/1.2 var(--f-text); }
.window__lines .q { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--red); }
.window__lines .v { font-size: 0.95rem; font-weight: 500; color: #555; display: block; margin-top: 0.15rem; }
.window__total { margin: 0; padding-top: 0.9rem; border-top: 3px solid #000; font: 400 2.2rem/1 var(--f-display); display: flex; justify-content: space-between; }
.window[open] { display: flex; }
.window::backdrop { background: #fff; }
.window .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .ticket.printing, .sheet[open], .orderbar__btn, .status[data-state="open"] .status__dot { animation: none; }
  .hero__photo img { will-change: auto; }
}

/* ------------------------------------------------------------ 2b how did we do */
.rate { background: var(--night-2); padding: 3rem var(--gut) 3rem; display: grid; gap: 1.25rem; border-top: 1px solid var(--night-line); }
.rate__head { display: grid; gap: 0.4rem; }
.rate__title { margin: 0; font: 400 2.6rem/0.92 var(--f-display); text-transform: uppercase; }
.rate__lede { margin: 0; color: var(--mute); }

.rate__google {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem; border-radius: 10px; text-decoration: none;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.35);
  transition: transform 160ms var(--sc-ease-out);
}
.rate__google:active { transform: scale(0.98); }
.rate__stars { display: grid; grid-template-columns: repeat(5, 0.95rem); gap: 0.12rem; }
.rate__stars i { width: 0.95rem; height: 0.95rem; background: var(--yellow);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rate__gtext { display: grid; gap: 0.1rem; min-width: 0; }
.rate__gtext b { font: 400 1.2rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.rate__gtext span { font-size: 0.8rem; color: var(--board-mute); }
.rate__arrow { font: 600 1.4rem/1 var(--f-text); color: var(--red); }

.fb { display: grid; gap: 1.15rem; padding: 1.25rem 1.1rem 1.35rem; border-radius: 10px; background: var(--night); box-shadow: inset 0 0 0 1px var(--night-line); }
.fb__title { margin: 0; font: 400 1.25rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.fb fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fb legend, .fb__field { font: 600 0.92rem/1.3 var(--f-text); color: var(--cream); padding: 0; margin-bottom: 0.55rem; }
.fb legend span, .fb__lab span { color: var(--mute); font-weight: 400; }
.fb__field { display: grid; gap: 0.45rem; margin: 0; }
.fb textarea, .fb input[type="text"] {
  width: 100%; border: 0; border-radius: 8px; padding: 0.75rem 0.85rem;
  background: var(--night-2); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--night-line);
  font: 400 1rem/1.45 var(--f-text); resize: vertical;
}
.fb textarea:focus, .fb input[type="text"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--yellow); }
.fb ::placeholder { color: #8E817A; }

/* faces: five drawn faces, mouth curve from sad to happy */
.faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
.faces label { display: grid; justify-items: center; gap: 0.35rem; cursor: pointer; padding: 0.4rem 0 0.3rem; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.faces input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.face {
  --c: #6E6158; width: 2.75rem; height: 2.75rem; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle at 35% 40%, var(--c) 0 0.17rem, transparent 0.19rem),
    radial-gradient(circle at 65% 40%, var(--c) 0 0.17rem, transparent 0.19rem);
  box-shadow: inset 0 0 0 2px var(--c);
  transition: transform 180ms var(--sc-ease-out), background-color 180ms;
}
.face::after { /* the mouth */
  content: ""; position: absolute; left: 30%; width: 40%; height: 0.55rem; border: 2px solid var(--c);
}
.face--1::after { top: 62%; border-bottom: 0; border-radius: 1rem 1rem 0 0; }
.face--2::after { top: 64%; height: 0.3rem; border-bottom: 0; border-radius: 1rem 1rem 0 0; }
.face--3::after { top: 66%; height: 0; border-width: 2px 0 0; }
.face--4::after { top: 56%; height: 0.3rem; border-top: 0; border-radius: 0 0 1rem 1rem; }
.face--5::after { top: 52%; border-top: 0; border-radius: 0 0 1rem 1rem; }
.face__txt { font-size: 0.72rem; color: var(--mute); text-align: center; line-height: 1.15; }
.faces input:checked + .face { --c: var(--ink); background-color: var(--yellow); transform: scale(1.12); }
.faces input:checked ~ .face__txt { color: var(--cream); font-weight: 600; }
.faces input:focus-visible + .face { outline: 2px solid var(--yellow); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips:empty { display: none; }
.chip {
  border: 0; cursor: pointer; padding: 0.45rem 0.7rem; border-radius: 999px;
  background: var(--night-2); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--night-line);
  font: 500 0.82rem/1.2 var(--f-text); text-align: left;
}
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); box-shadow: none; }
.chips__cat { width: 100%; margin: 0.5rem 0 0.1rem; font: 400 0.75rem/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.fb__more { margin-top: 0.55rem; }
.fb__more summary { cursor: pointer; color: var(--yellow); font: 600 0.88rem var(--f-text); list-style: none; padding: 0.3rem 0; }
.fb__more summary::-webkit-details-marker { display: none; }
.fb__more summary::before { content: "+ "; }
.fb__more[open] summary::before { content: "− "; }
.chips--all { margin-top: 0.4rem; }

.fb__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb__privacy { margin: 0; font-size: 0.78rem; color: var(--mute); }
.fb__error { margin: 0; padding: 0.6rem 0.8rem; border-radius: 8px; background: rgb(210 32 44 / 0.15); color: #FFB3B8; font-size: 0.88rem; }
.fb__send { width: 100%; }
.fb__send[disabled] { opacity: 0.6; cursor: progress; }
.fb__done { padding: 1.6rem 1.1rem; border-radius: 10px; background: var(--night); box-shadow: inset 0 0 0 1px var(--night-line); }
.fb__done p { margin: 0; color: var(--mute); }
.fb__done .fb__donetitle { font: 400 2rem/1 var(--f-display); text-transform: uppercase; color: var(--yellow); margin-bottom: 0.4rem; }

.sheet__rate { margin-top: 1rem; color: var(--yellow); font: 600 0.92rem var(--f-text); text-decoration: none; }
.foot__link { color: var(--cream); }
