/*
 * Kopitiam receipt. Every page is one paper chit on a counter: monospace line items, dashed rules,
 * a rubber stamp and numbered actions. Colours and fonts come from brand.theme (inline :root
 * overrides); these are the defaults.
 */
:root {
  --paper: #fbf7ee;
  --ink: #1d1a16;
  --ink-rgb: 29 26 22;
  --muted: #6b6258;
  --stamp: #b3261e;
  --stamp-rgb: 179 38 30;
  --ok: #1d6b37;
  --counter: color-mix(in srgb, var(--paper) 78%, var(--ink));
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --pad: 18px;
  --tooth: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  padding: 0 0 110px;
  background: var(--counter);
  color: var(--ink);
  font: 15px/1.5 var(--font-mono);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.18em;
}

/* ---------- The chit ---------- */

.chit {
  position: relative;
  width: min(480px, 100%);
  margin: 0 auto;
  padding: calc(var(--tooth) + 14px) var(--pad) calc(var(--tooth) + 20px);
  background: var(--paper);
  /* Torn zig-zag top and bottom edges. */
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--tooth) 51% repeat-x;
}

.lead,
.item-desc,
address,
.faq p,
.gr-text,
.outlet-addr,
.mast-sub {
  font-family: var(--font-body);
}

.lead {
  margin: 0 0 10px;
  line-height: 1.6;
}

address {
  font-style: normal;
  margin: 0 0 6px;
}

.fine {
  margin: 6px 0;
  font-size: 12px;
  color: var(--muted);
}

.center {
  text-align: center;
}

/* Dashed rule, optionally labelled: ── OUTLETS ── */
.rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  border-top: 1.5px dashed currentColor;
}

hr.rule {
  display: block;
  border: 0;
  border-top: 1.5px dashed var(--ink);
}

hr.rule::before,
hr.rule::after {
  content: none;
}

.leader {
  flex: 1;
  min-width: 14px;
  margin: 0 8px;
  border-bottom: 2px dotted rgb(var(--ink-rgb) / 0.35);
  transform: translateY(-4px);
}

/* ---------- Announcement ---------- */

.notice {
  margin: -14px calc(var(--pad) * -1) 18px;
  padding: 10px var(--pad);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notice p {
  margin: 0;
}

/* ---------- Masthead ---------- */

.masthead {
  text-align: center;
}

.mast-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mast-top a {
  text-decoration: none;
}

.mast-logo img {
  display: block;
  max-height: 48px;
  width: auto;
  margin: 0 auto 10px;
}

.masthead h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead h1 span {
  display: block;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.mast-sub {
  margin: 6px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
}

.mast-meta {
  margin: 10px 0 0;
}

.crumbs ol {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
}

.lang {
  font-size: 12px;
}

.lang [aria-current] {
  font-weight: 700;
}

/* ---------- Stamp ---------- */

.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 12px auto 0;
  padding: 4px 12px 5px;
  border: 4px double var(--stamp);
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
  animation: thunk 0.35s ease-out both;
}

.stamp strong {
  font-size: 18px;
  letter-spacing: 0.16em;
}

.stamp span {
  font-size: 11px;
}

.stamp.is-closed,
.stamp.is-soon {
  color: var(--muted);
  border-color: var(--muted);
}

.stamp.is-void {
  display: flex;
  width: max-content;
  margin: 24px auto;
  padding: 8px 28px;
  color: var(--stamp);
  border-color: var(--stamp);
  transform: rotate(-12deg);
}

.stamp.is-void strong {
  font-size: 34px;
}

@keyframes thunk {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(1.5);
  }
}

/* ---------- Totals ---------- */

.totals {
  margin: 12px 0 0;
  padding: 6px 0;
  border-top: 1.5px dashed var(--ink);
  border-bottom: 1.5px dashed var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.totals div,
.lines .li {
  display: flex;
  align-items: baseline;
  padding: 3px 0;
}

.totals dt,
.totals dd,
.lines dt,
.lines dd {
  margin: 0;
}

.totals dd,
.lines dd {
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Actions ---------- */

.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 6px;
}

.act {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s;
}

.act.is-primary {
  background: var(--ink);
  color: var(--paper);
}

.act:active {
  transform: translateY(2px);
}

.act .icon {
  margin-right: 10px;
}

.act .leader {
  border-color: currentColor;
  opacity: 0.35;
}

.act-no {
  margin-right: 10px;
  font-size: 11px;
  opacity: 0.65;
}

.act-sub {
  max-width: 45%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.act-arrow {
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 12px/1 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.private a {
  display: block;
  margin: 10px 0 0;
  padding: 12px;
  border: 1.5px dashed var(--ink);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.links {
  margin: 0;
}

.line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-bottom: 1px dashed rgb(var(--ink-rgb) / 0.5);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.line .leader {
  margin: 0;
}

/* ---------- As seen on: a press clipping, then a rail of creator reels ---------- */

.clip {
  position: relative;
  margin: 8px 6px 0;
  padding: 14px 14px 12px;
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.18);
  transform: rotate(-0.6deg);
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
}

/* Masking tape holding the clipping to the receipt. */
.clip::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 84px;
  height: 20px;
  margin-left: -42px;
  background: rgb(var(--stamp-rgb) / 0.16);
  transform: rotate(2deg);
}

.clip-mast {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 3px double #111;
  font-size: 12px;
}

.clip-mast strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.clip-mast span {
  font-family: var(--font-mono);
  color: #555;
  white-space: nowrap;
}

.clip-head {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.clip-head a {
  color: inherit;
  text-decoration: none;
}

.clip-read {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.reels-head {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reels-head span + span {
  color: var(--muted);
  font-weight: 400;
}

.reels {
  display: flex;
  gap: 10px;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  scrollbar-width: none;
}

.reel {
  position: relative;
  display: block;
  flex: 0 0 42%;
  max-width: 190px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}

.reel-wide {
  max-width: none;
  aspect-ratio: 16 / 9;
  border-width: 1px;
}

.reel picture,
.reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shade the bottom so the caption reads on any poster. */
.reel::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.82));
}

.reel-wide::after {
  display: none;
}

.reel-plat {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.reel-plat svg {
  width: 11px;
  height: 11px;
}

.reel-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgb(var(--stamp-rgb) / 0.92);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.35);
}

.reel-play::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 17px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.reel-cap {
  position: absolute;
  z-index: 1;
  inset: auto 8px 8px;
  display: grid;
  gap: 2px;
  font-size: 12px;
  line-height: 1.35;
}

.reel-cap strong {
  font-family: var(--font-mono);
  font-size: 11px;
}

.reel-cap span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 2px;
}

.player .player-frame {
  margin: 0 var(--pad);
  aspect-ratio: 16 / 9;
  background: #000;
}

.player .player-frame.is-tall {
  aspect-ratio: 9 / 16;
  max-height: 62vh;
  margin-inline: auto;
}

.player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-out {
  display: block;
  margin: 12px var(--pad) 0;
  font-weight: 700;
  text-align: center;
}

.press-line {
  min-height: 56px;
}

.press-title {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  text-transform: none;
}

.lightbox {
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 0.85);
}

.lightbox img {
  display: block;
  max-width: 100vw;
  max-height: 90vh;
}

.lightbox .sheet-close {
  position: fixed;
  top: 12px;
  right: 12px;
  background: var(--paper);
}

/* ---------- Photos (stapled strip) ---------- */

.photos {
  display: flex;
  gap: 12px;
  margin: 22px calc(var(--pad) * -1) 0;
  padding: 6px var(--pad) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.photos figure {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 6px 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.18);
  transform: rotate(-1deg);
  scroll-snap-align: center;
}

.photos figure:nth-child(even) {
  transform: rotate(1deg);
}

.photos figure:only-child {
  margin-inline: auto;
}

.photos figure::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 34px;
  height: 7px;
  margin-left: -17px;
  border: 2px solid #9a948c;
  border-bottom: 0;
}

/* Fixed height, natural width: landscape and portrait photos keep their shape. */
.photos video,
.photos img {
  display: block;
  width: auto;
  height: 280px;
  max-width: 82vw;
  object-fit: cover;
  background: var(--ink);
}

.photos figcaption {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
}

/* ---------- Outlets ---------- */

.outlets-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}

.outlet {
  padding: 12px 0;
  border-bottom: 1.5px dashed rgb(var(--ink-rgb) / 0.5);
}

.outlet-line {
  display: flex;
  align-items: baseline;
}

.outlet h3 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.outlet h3 a {
  text-decoration: none;
}

.outlet-distance {
  margin-right: 8px;
  font-size: 12px;
}

.status {
  padding: 1px 6px;
  border: 1.5px solid var(--stamp);
  color: var(--stamp);
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status:empty {
  display: none;
}

.status.is-closed,
.status.is-soon {
  color: var(--muted);
  border-color: var(--muted);
}

.outlet-addr {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.outlet-btns {
  display: flex;
  gap: 8px;
  margin: 0;
}

.map {
  height: 260px;
  margin: 10px 0;
  border: 2px solid var(--ink);
}

/* ---------- Hours ---------- */

.lines {
  margin: 0;
}

.lines .li.is-today {
  color: var(--stamp);
  font-weight: 700;
}

.hours-special .label {
  margin: 10px 0 2px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- Menu chips ---------- */

.chips {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 6px;
  margin: 14px calc(var(--pad) * -1) 0;
  padding: 10px var(--pad);
  overflow-x: auto;
  background: var(--paper);
  border-bottom: 1.5px dashed var(--ink);
  scrollbar-width: none;
}

.chips a {
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1.5px solid var(--ink);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag::before {
  content: "[";
}

.tag::after {
  content: "]";
}

.tag-spicy,
.tag-signature,
.tag-bestseller,
.tag-new {
  color: var(--stamp);
}

.tag-vegetarian,
.tag-vegan,
.halal-certified,
.halal-muslim-owned,
.halal-pork-free {
  color: var(--ok);
}

.pay-qrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 12px;
}

.pay-qr {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1.5px dashed var(--ink);
  text-align: center;
}

.pay-qr img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.pay-qr figcaption {
  display: grid;
  gap: 8px;
  justify-items: center;
  font-size: 13px;
  text-transform: uppercase;
}

.more {
  margin: 12px 0 0;
  text-align: right;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- Food: the stall board (menu, signatures, specials) ---------- */

:root {
  --board: var(--paper);
  --board-ink: #1b2a4a;
  --gold: #c9a23a;
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-dish: "Noto Sans SC", system-ui, sans-serif;
}

.board-band {
  display: grid;
  gap: 6px;
  margin: 14px calc(var(--pad) * -1) 0;
  padding: 14px var(--pad);
  background: var(--board);
  border-block: 3px solid var(--ink);
  font-family: var(--font-body);
  text-align: center;
}

.band-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.band-wa .icon {
  width: 30px;
  height: 30px;
  color: #1a8d47;
}

.band-wa span {
  display: grid;
  text-align: left;
  line-height: 1.15;
}

.band-wa strong {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
}

.band-wa small {
  font-size: 12px;
  font-weight: 700;
}

.band-hours,
.band-note {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.band-note {
  color: var(--stamp);
}

/* The board itself: white panel in a gold lattice frame, like the printed menu at the stall. */
.board {
  margin: 14px calc(var(--pad) * -1) 0;
  padding: 14px 10px 18px;
  background: #fff;
  border: 3px double var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: -8px;
  color: #161616;
}

.board-cat + .board-cat {
  margin-top: 22px;
}

.board-head {
  margin: 4px 0 12px;
  padding: 8px 12px;
  background: var(--board);
  border: 2px solid var(--ink);
  font-family: var(--font-dish);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tile-photo {
  display: block;
  width: 78%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f2eee4;
  box-shadow: 0 0 0 2px var(--board), 0 3px 8px rgb(0 0 0 / 0.18);
  cursor: default;
}

button.tile-photo {
  cursor: zoom-in;
}

.tile-photo picture,
.tile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-blank {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 30px;
  color: var(--muted);
}

/* "古早味": the red vertical tag on the board's plates. */
.tile-badge {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 0;
  padding: 5px 3px;
  background: var(--stamp);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-dish);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.tile-hot {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  padding: 3px 7px;
  background: var(--board);
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(8deg);
}

.tile-when {
  margin-top: -12px;
  padding: 3px 8px;
  background: var(--ink);
  color: var(--board);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.tile-name {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: 8px 0 0;
  font-family: var(--font-dish);
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--stamp);
  color: #fff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.tile-name small,
.row-name small {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}

.tile-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 6px 0 0;
}

.price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.price.is-grab {
  font-size: 16px;
  color: #6b6b6b;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.price.is-out {
  font-size: 15px;
  color: var(--stamp);
}

.flag {
  padding: 1px 6px;
  border: 1.5px solid var(--stamp);
  border-radius: 99px;
  color: var(--stamp);
  font-family: var(--font-dish);
  font-size: 11px;
  font-weight: 900;
}

.item.is-off {
  opacity: 0.4;
  filter: grayscale(1);
}

.item.is-off .step,
.item.is-soldout .step {
  display: none;
}

/* Sides, add-ons, drinks: the board's right-hand column. */
.side-head {
  margin: 0 0 8px;
  text-align: center;
}

.side-head span {
  display: inline-block;
  padding: 5px 16px;
  background: var(--board-ink);
  color: #fff;
  border-radius: 99px;
  font-family: var(--font-dish);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 2px;
  border-bottom: 1px dashed #c9c2b2;
}

.row-name {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  font-family: var(--font-dish);
  font-size: 15px;
  font-weight: 700;
}

.row-name small {
  flex-basis: 100%;
}

.row-name em {
  flex-basis: 100%;
  color: var(--stamp);
  font-size: 11px;
  font-style: normal;
}

.row .price {
  font-size: 19px;
}

/* + / − stepper (order.js). Empty: just a round +. */
.step {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: 99px;
}

.step[hidden] {
  display: none;
}

.step button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--board);
  color: var(--ink);
  font: 700 20px/1 var(--font-display);
  cursor: pointer;
}

.step output {
  min-width: 18px;
  font: 600 17px/1 var(--font-display);
  text-align: center;
}

.step:not(.has-qty) .step-dec,
.step:not(.has-qty) output {
  display: none;
}

.step.has-qty .step-inc {
  background: var(--ink);
  color: var(--board);
}

/* Today's specials: a red ribbon card. */
.ribbon {
  margin-top: 18px;
  padding: 12px 14px 6px;
  background: var(--stamp);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 0 rgb(0 0 0 / 0.2);
}

.ribbon h2 {
  margin: 0 0 4px;
  font-family: var(--font-dish);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.ribbon .row {
  border-color: rgb(255 255 255 / 0.4);
}

.ribbon .row-name small,
.ribbon .row-name em,
.ribbon .price.is-grab {
  color: rgb(255 255 255 / 0.85);
}

.ribbon .step button {
  border-color: #fff;
}

/* Home: the signatures as a mini board. */
.board-mini {
  margin-top: 22px;
}

.board-mini .band-note {
  margin: -4px 0 0;
  text-align: center;
}

/* Order bar and sheet. */
.order-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(480px, 100%);
  min-height: 60px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 3px solid var(--ink);
  background: var(--board);
  color: var(--ink);
  font: 700 14px var(--font-body);
  transform: translateX(-50%);
  cursor: pointer;
}

.order-bar[hidden] {
  display: none;
}

.order-bar .icon {
  width: 22px;
  height: 22px;
}

.order-bar span:first-of-type {
  flex: 1;
  text-align: left;
}

.order-bar strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.has-order .bar {
  display: none;
}

.order-lines {
  margin: 0;
  padding: 6px var(--pad);
  list-style: none;
  font-family: var(--font-body);
}

.order-lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ink);
  font-size: 14px;
}

.order-lines .price {
  min-width: 52px;
  font-size: 17px;
  text-align: right;
}

.order-lines .price.is-grab {
  font-size: 11px;
  white-space: normal;
}

.order-sum {
  margin: 0;
  padding: 4px var(--pad) 10px;
}

.order-sum div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 14px;
}

.order-sum dd {
  margin: 0;
}

.order-total {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 600;
}

.order-field {
  display: grid;
  gap: 4px;
  margin: 0 var(--pad) 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.order-field input {
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
  font: 16px var(--font-body);
}

.order-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  margin: 6px var(--pad) 0;
  background: #1a8d47;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.order-send .icon {
  width: 22px;
  height: 22px;
}

.order-clear {
  display: block;
  margin: 10px auto 0;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.dish-sheet .dish-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
}

.dish-sheet p {
  margin: 12px var(--pad) 0;
  font-family: var(--font-body);
  font-size: 15px;
}

@media (min-width: 560px) {
  .tiles {
    gap: 20px 14px;
  }

  .board {
    padding: 20px 16px 24px;
  }
}

/* ---------- FAQ, press, embeds ---------- */

.faq details {
  border-bottom: 1.5px dashed rgb(var(--ink-rgb) / 0.5);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.press {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
}

.press img {
  max-height: 26px;
  width: auto;
  filter: grayscale(1);
}

.embed {
  width: 100%;
  border: 0;
}

/* ---------- Google reviews ---------- */

.gr-summary {
  margin: 0 0 8px;
  font-weight: 700;
}

.gr-stars {
  color: var(--stamp);
}

.gr-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.gr-photo {
  flex: 0 0 60%;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.gr-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gr-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gr-review {
  padding: 10px 0;
  border-bottom: 1px dotted rgb(var(--ink-rgb) / 0.3);
}

.gr-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.gr-head img {
  border-radius: 50%;
}

.gr-meta {
  margin: 4px 0;
  font-size: 12px;
  color: var(--muted);
}

.gr-text {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gr-text.is-open {
  display: block;
}

.gr-more {
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--ink);
  font: 700 12px var(--font-mono);
  text-decoration: underline;
  cursor: pointer;
}

.gr-links {
  font-size: 13px;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: 30px;
  font-size: 12px;
  text-align: center;
}

.foot-no {
  margin: 0 0 14px;
  color: var(--muted);
}

.nap {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.nap a {
  font-weight: 700;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
}

.credit {
  color: var(--muted);
}

/* ---------- Phone bar ---------- */

.bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  width: min(480px, 100%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 2px solid var(--ink);
  transform: translateX(-50%);
  transition: transform 0.2s ease-out;
}

.bar[hidden] {
  display: grid;
  transform: translate(-50%, 110%);
}

.bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.bar a:first-child {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Sheet (prints out from the bottom) ---------- */

.sheet {
  width: min(480px, 100%);
  max-width: 100%;
  max-height: 82vh;
  margin: auto auto 0;
  padding: var(--tooth) 0 calc(14px + env(safe-area-inset-bottom));
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x, linear-gradient(#000 0 0) bottom / 100% 51% no-repeat;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--tooth) 51% repeat-x, linear-gradient(#000 0 0) bottom / 100% 51% no-repeat;
}

.sheet[open] {
  animation: feed 0.22s ease-out;
}

.sheet::backdrop {
  background: rgb(var(--ink-rgb) / 0.5);
}

@keyframes feed {
  from {
    transform: translateY(100%);
  }
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--pad);
  border-bottom: 1.5px dashed var(--ink);
}

.sheet-head h2 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sheet-close {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.sheet-body {
  padding: 0 var(--pad);
}

.sheet h3 {
  display: flex;
  align-items: baseline;
  margin: 16px 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet h3 .status {
  margin-left: auto;
}

.sheet-opt {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px dashed rgb(var(--ink-rgb) / 0.5);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

/* ---------- Motion and larger screens ---------- */

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

@media (min-width: 560px) {
  body {
    padding-top: 40px;
  }

  :root {
    --pad: 28px;
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .bar,
  .actions,
  .chips,
  .step,
  .order-bar {
    display: none !important;
  }

  .chit {
    -webkit-mask: none;
    mask: none;
  }
}
