/* ==========================================================================
   DINER — Design system & components
   --------------------------------------------------------------------------
   Visual language: "plates on a tablecloth".
   - The D-shape (flat left edge, round right edge) comes from the logo mark
     and drives buttons, tags and the hero shape.
   - The "bite" (a circular notch) is the brand's signature cut-out.
   - Coloured sections are inset slabs with large radii, like plates set on
     a white table.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Official palette */
  --orange: #FF6A00;
  --white: #FFFFFF;
  --purple: #7C3AED;
  --blue: #2563EB;
  --ink: #1F1F1F;
  --grey: #6B7280;
  --slate: #64748B;
  --green: #16803C;
  --red: #DC2626;
  --amber: #D97706;

  /* Tints & shades derived from the palette */
  --orange-700: #D45800;
  --orange-600: #EE6200;
  --orange-100: #FFE6D2;
  --orange-50: #FFF5EC;
  --cream: #FFF7EF;
  --purple-700: #6425D9;
  --purple-100: #E9DFFF;
  --purple-50: #F5F0FF;
  --blue-50: #EEF3FF;
  --blue-100: #DCE6FF;
  --green-50: #EAF6EE;
  --red-50: #FDECEC;
  --amber-50: #FDF3E4;
  --ink-900: #141414;
  --ink-800: #262626;
  --ink-700: #333333;
  --line: rgba(31, 31, 31, 0.12);
  --line-strong: rgba(31, 31, 31, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.15rem, 1rem + 0.6vw, 1.375rem);

  /* Shape */
  /* The Diner "D". Right radii are fixed (not 999px): an oversized radius makes
     the browser scale ALL corners down and the left corners turn square. */
  --r-d: 12px 30px 30px 12px;
  --r-d-flip: 30px 12px 12px 30px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-slab: clamp(28px, 4vw, 56px);
  --bite: 26px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(31, 31, 31, 0.06), 0 2px 8px rgba(31, 31, 31, 0.05);
  --shadow-md: 0 6px 24px -6px rgba(31, 31, 31, 0.18), 0 2px 6px rgba(31, 31, 31, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(31, 31, 31, 0.35), 0 10px 20px -10px rgba(31, 31, 31, 0.18);
  --shadow-orange: 0 14px 30px -12px rgba(255, 106, 0, 0.65);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--orange); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

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

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: var(--r-d);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 3. Typography ---------- */
.display-1,
.display-2,
.display-3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.75rem, 1.5rem + 6vw, 6.5rem); line-height: 0.92; }
.display-2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); line-height: 0.96; }
.display-3 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1; letter-spacing: -0.035em; }

.lede {
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--grey);
  max-width: 46ch;
  text-wrap: pretty;
}

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.kicker span {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 26px; padding: 0 10px;
  border-radius: var(--r-d);
  background: var(--orange); color: var(--white);
  font-weight: 500;
}
.kicker--light { color: var(--white); }
.kicker--purple span { background: var(--purple); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-d);
  font-size: var(--fs-sm); font-weight: 500;
  background: var(--white);
}
.eyebrow__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-100);
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
}
.section-head--center { text-align: center; display: grid; justify-items: center; }
.section-head--center .display-2 { max-width: 16ch; }

.sample-note,
.illustrative {
  display: flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: var(--fs-sm); color: var(--slate);
}
.illustrative {
  margin: 0 0 24px; width: fit-content;
  padding: 8px 14px; border-radius: var(--r-d);
  background: var(--amber-50); color: #8A4B05;
}

/* ---------- 4. Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }

/* Coloured "plate" slabs set on the white page */
.discover,
.section--ink,
.ai,
.group,
.reviews,
.cta {
  margin: clamp(8px, 1.4vw, 20px);
  border-radius: var(--r-slab);
}
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .lede { color: rgba(255, 255, 255, 0.68); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px;
  padding: 6px 8px 6px 24px;
  border-radius: var(--r-d);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--fs-md); line-height: 1.1;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:not(:has(.btn__icon)) { padding-right: 26px; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.45; }

.btn__icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--btn-bg);
  transition: transform var(--t-med) var(--ease-spring);
}
.btn:hover:not(:disabled) .btn__icon { transform: rotate(-45deg); }

.btn--primary { --btn-bg: var(--orange); box-shadow: var(--shadow-orange); }
.btn--primary:hover:not(:disabled) { --btn-bg: var(--orange-600); box-shadow: 0 18px 34px -12px rgba(255, 106, 0, 0.8); }
.btn--primary .btn__icon { color: var(--orange); }

.btn--ink { --btn-bg: var(--ink); }
.btn--ink:hover:not(:disabled) { --btn-bg: #000; }

.btn--blue { --btn-bg: var(--blue); }
.btn--blue:hover:not(:disabled) { --btn-bg: #1D4FD0; }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: var(--white); }
.btn--light:hover:not(:disabled) { --btn-bg: var(--cream); }

/* Secondary: mirrored D, outlined */
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--ink);
  border-radius: var(--r-d-flip);
  padding: 6px 24px 6px 8px;
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--ghost-light { --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.5); padding: 6px 24px; }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn__play {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  transition: transform var(--t-med) var(--ease-spring);
}
.btn__play .ico { width: 16px; height: 16px; margin-left: 2px; }
.btn--ghost:hover .btn__play { transform: scale(1.1); }

.btn--outline-ink { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); padding: 6px 24px; }
.btn--outline-ink:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }

.btn--sm { min-height: 44px; font-size: var(--fs-sm); padding-left: 18px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--block { width: 100%; }

/* Loading state */
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .btn__label { opacity: 0.6; }
.btn[aria-busy="true"] .btn__icon .ico { visibility: hidden; }
.btn[aria-busy="true"] .btn__icon::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Nav action: ink D with an orange bite */
.btn--nav {
  min-height: 46px; padding: 0 30px 0 20px;
  font-size: var(--fs-sm);
  overflow: hidden;
}
.btn--nav__bite {
  position: absolute; right: -9px; top: -9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange);
  transition: transform var(--t-med) var(--ease-spring);
}
.btn--nav:hover .btn--nav__bite { transform: scale(1.6); }
.btn--nav:hover { --btn-bg: #000; }

.btn-text {
  position: relative; font-weight: 600; font-size: var(--fs-sm);
  padding: 10px 4px;
}
.btn-text::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.btn-text:hover::after { transform: scaleX(1); }

/* Icon-only: "speech tile" with one sharp corner */
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 14px 14px 14px 4px;
  border: 1.5px solid var(--line-strong);
  background: var(--white); color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.icon-btn:active:not(:disabled) { transform: scale(0.94); }
.icon-btn:disabled { opacity: 0.35; }
.icon-btn--light { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.45); color: var(--white); }

/* Circular arrow link-button */
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: var(--fs-sm);
}
.arrow-link .ico {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  background: currentColor; color: inherit;
  stroke: var(--white);
  transition: transform var(--t-med) var(--ease-spring);
}
.arrow-link:hover .ico { transform: translateX(4px) rotate(-45deg); }

/* Chips (toggleable) */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 6px 14px;
  border-radius: 12px 12px 12px 4px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-size: var(--fs-sm); font-weight: 500;
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"],
.chip[aria-checked="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.chip--orange[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }

/* Segmented control */
.segmented {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  padding: 4px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
}
.segmented button {
  min-height: 40px; padding: 6px 14px; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--grey);
  transition: background var(--t-fast), color var(--t-fast);
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.segmented--sm button { min-height: 34px; padding: 4px 12px; }

/* Avatars */
.avatar {
  --av: var(--orange);
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--av); color: var(--white);
  font-weight: 700; font-family: var(--font-display);
  border: 2px solid var(--white);
}
.avatar--sm { width: 32px; height: 32px; font-size: var(--fs-sm); }

/* Tags & pills */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-d);
  font-size: var(--fs-xs); font-weight: 600;
}
.tag--sample { background: var(--amber-50); color: #8A4B05; }

.rating-chip {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 8px;
  background: var(--ink); color: var(--white);
  font-size: var(--fs-xs); font-weight: 700;
}
.rating-chip .ico { color: var(--orange); width: 12px; height: 12px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; white-space: nowrap;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--new { background: var(--blue-50); color: var(--blue); }
.status-pill--prep { background: var(--amber-50); color: #9A5404; }
.status-pill--ready { background: var(--green-50); color: var(--green); }
.status-pill--done { background: #F1F2F4; color: var(--slate); }
.status-pill--alert { background: var(--red-50); color: var(--red); }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot--blue { background: var(--blue); }
.dot--amber { background: var(--amber); }
.dot--green { background: #22A355; }

.progress { display: block; height: 5px; border-radius: 4px; background: var(--orange-100); overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--p, 40%); background: var(--orange); border-radius: 4px; }

/* AI suggestion bubble: purple, with a tail on the bottom-left */
.ai-bubble {
  position: relative;
  padding: 14px 16px;
  border-radius: 20px 20px 20px 4px;
  background: var(--purple); color: var(--white);
  font-size: var(--fs-sm); line-height: 1.45;
  box-shadow: 0 18px 40px -16px rgba(124, 58, 237, 0.7);
}
.ai-bubble__tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-bottom: 6px;
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0.85;
}
.ai-bubble__tag .ico { width: 13px; height: 13px; }
.ai-bubble--block { box-shadow: none; }

/* Fields */
.field { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-weight: 400; font-size: var(--fs-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { min-height: 1.2em; font-size: var(--fs-sm); color: var(--red); font-weight: 500; }
.field-error:empty { min-height: 0; }

/* Illustrative QR code (generated pattern, not scannable) */
.qr {
  --qr-size: 120px;
  width: var(--qr-size); height: var(--qr-size);
  padding: 8px; border-radius: 12px;
  background: var(--white);
}
.qr svg { width: 100%; height: 100%; display: block; }
.qr--sm { --qr-size: 92px; padding: 6px; }
.qr--lg { --qr-size: 168px; padding: 12px; border-radius: 18px; }

/* ---------- 6. Navigation ---------- */
.site-nav {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  padding-inline: clamp(10px, 2vw, 24px);
  pointer-events: none;
  transition: inset var(--t-med) var(--ease-out);
}
.site-nav.is-scrolled { inset-block-start: 8px; }
.site-nav__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1320px; margin-inline: auto;
  pointer-events: auto;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 8px;
  height: 58px; padding: 0 22px 0 12px;
  border-radius: var(--r-d);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.nav-brand__mark { width: 36px; height: 36px; border-radius: 9px; transition: transform var(--t-med) var(--ease-spring); }
.nav-brand:hover .nav-brand__mark { transform: rotate(-12deg) scale(1.06); }
/* "Diner." wordmark image (assets/logo/diner-wordmark*.png, 801×264) */
.nav-brand__word { height: 26px; width: auto; }
.nav-brand--light .nav-brand__word { height: 30px; }
.nav-brand--light { background: transparent; box-shadow: none; border: 0; padding: 0; height: auto; color: var(--white); }

.nav-links {
  position: relative;
  margin-inline: auto;
  height: 58px; padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav-links ul { display: flex; height: 100%; position: relative; z-index: 1; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 16px; border-radius: 14px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--orange-700); }
.nav-links a.is-active { color: var(--white); }
.nav-links__ai .ico { color: var(--purple); width: 15px; height: 15px; }
.nav-links a.is-active .ico { color: var(--white); }
.nav-links__indicator {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0;
  border-radius: 14px 14px 14px 4px;
  background: var(--ink);
  opacity: 0;
  transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out), opacity var(--t-fast), background var(--t-med);
}
.nav-links__indicator.is-ai { background: var(--purple); }

.nav-actions {
  display: flex; align-items: center; gap: 6px;
  height: 58px; padding: 6px 6px 6px 16px;
  border-radius: var(--r-d-flip);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange);
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px;
  background: var(--white);
  transition: transform var(--t-med) var(--ease-out), top var(--t-med) var(--ease-out);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; right: 18px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; right: 13px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 32px;
  background: var(--orange); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  visibility: visible; pointer-events: auto;
  transition: clip-path 0.55s var(--ease-out), visibility 0s;
}
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 6px 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.04em; line-height: 1.05;
}
.mobile-menu__list span { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 400; opacity: 0.7; }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px));
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(31, 31, 31, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    var(--white);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(80px, 9vw, 120px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin: 26px 0 22px;
  font-weight: 800;
  font-size: clamp(3.1rem, 1.6rem + 6.4vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-variation-settings: 'opsz' 96;
}
.hero__line { display: block; }
.hero__title em {
  font-style: normal; color: var(--orange);
  position: relative;
}
.hero__title em::after {
  /* hand-drawn swoosh under "taste" */
  content: ''; position: absolute; left: 2%; right: 4%; bottom: -0.06em; height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C40 4 120 2 197 8' fill='none' stroke='%23FF6A00' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0.45;
}
.hero__brand-word {
  display: inline-block;
  padding: 0 0.28em 0.04em 0.14em;
  border-radius: 0.12em 1em 1em 0.12em;
  background: var(--ink); color: var(--white);
  transform: rotate(-2deg);
  margin-left: 0.04em;
}
.hero__sub {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-xl); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero__desc { color: var(--grey); font-size: var(--fs-lg); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__modes {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin-top: 36px; padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--slate);
}
.hero__modes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__modes .ico { color: var(--orange); }

.hero__visual {
  position: relative;
  min-height: clamp(520px, 52vw, 680px);
}
.hero__shape {
  position: absolute; right: -8%; top: 4%; width: 86%; height: 86%;
  background: var(--orange);
  border-radius: 40px 50% 50% 40px / 40px 50% 50% 40px;
  /* the bite */
  -webkit-mask: radial-gradient(circle at 96% 4%, transparent 64px, #000 65px);
          mask: radial-gradient(circle at 96% 4%, transparent 64px, #000 65px);
}
.hero__plate {
  position: absolute; right: 2%; top: 12%;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero__plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__mini-plate {
  position: absolute; right: 4%; bottom: 3%;
  width: 26%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}
.hero__mini-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__phone { position: absolute; left: 4%; top: 2%; z-index: 3; transform: rotate(-4deg); }
.hero__note {
  position: absolute; left: 6%; bottom: -6px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.08em;
}

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.float-card strong { display: block; font-size: var(--fs-sm); }
.float-card span { color: var(--grey); font-size: var(--fs-xs); }
.float-ticket { right: 0; top: 0; }
.float-ticket__check {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--green-50); color: var(--green);
}
.hero__ai { position: absolute; z-index: 4; right: 6%; bottom: 25%; max-width: 250px; }
.float-queue { left: 44%; bottom: 0; }
.float-queue__num {
  font-family: var(--font-mono); font-weight: 500; font-size: 1.1rem;
  padding: 8px 10px; border-radius: 10px;
  background: var(--ink); color: var(--white) !important;
}
.queue-dots { display: flex; gap: 4px; margin-top: 4px; }
.queue-dots i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.queue-dots i.is-done { background: var(--green); }
.queue-dots i.is-you { background: var(--orange); }

/* Phone mockup */
.phone {
  width: clamp(236px, 22vw, 284px);
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 46px;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3a3a;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--white);
}
.phone--compact { width: clamp(230px, 20vw, 262px); }

/* App UI inside the phone */
.app {
  display: flex; flex-direction: column; gap: 10px;
  padding: 10px 14px 0;
  font-size: 11px; line-height: 1.35;
  position: relative;
}
.app__status { display: flex; align-items: center; justify-content: space-between; height: 22px; font-weight: 700; font-size: 11px; padding: 0 6px; }
.app__island { width: 74px; height: 20px; border-radius: 12px; background: var(--ink-900); }
.app__sys { display: flex; gap: 2px; align-items: flex-end; }
.app__sys i { width: 3px; background: var(--ink); border-radius: 1px; }
.app__sys i:nth-child(1) { height: 5px; }
.app__sys i:nth-child(2) { height: 7px; }
.app__sys i:nth-child(3) { height: 9px; }
.app__top { display: flex; justify-content: space-between; align-items: center; }
.app__hello { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.03em; }
.app__loc { display: flex; align-items: center; gap: 3px; color: var(--grey); }
.app__loc .ico { width: 11px; height: 11px; color: var(--orange); }
.app__search {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 10px; border-radius: 12px;
  background: #F4F4F5; color: var(--grey);
}
.app__search .ico { width: 13px; height: 13px; }
.app__cats { display: flex; gap: 6px; }
.app__cats span {
  flex: 1; display: grid; justify-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 600; color: var(--grey);
}
.app__cats img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; }
.app__cats .is-active { color: var(--ink); }
.app__cats .is-active img { border-color: var(--orange); }
.app__label { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; }
.app__label span { color: var(--orange); font-weight: 600; font-size: 10px; }
.app-card { border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.app-card img { width: 100%; height: 86px; object-fit: cover; }
.app-card__body { padding: 8px 10px 10px; }
.app-card__row { display: flex; justify-content: space-between; align-items: center; }
.app-card__row strong { font-size: 12.5px; }
.app-card__body p { color: var(--grey); margin: 2px 0 7px; }
.app-card__actions { display: flex; gap: 5px; }
.mini-btn {
  padding: 5px 10px; border-radius: 8px 20px 20px 8px;
  background: var(--orange); color: var(--white); font-weight: 700; font-size: 10px;
}
.mini-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 20px 8px 8px 20px; }
.app__order {
  display: flex; gap: 9px; align-items: center;
  padding: 9px 10px; border-radius: 14px;
  background: var(--ink); color: var(--white);
}
.app__order > div { flex: 1; display: grid; gap: 3px; }
.app__order span { color: rgba(255, 255, 255, 0.7); font-size: 10px; }
.app__order .progress { background: rgba(255, 255, 255, 0.18); height: 4px; }
.app__order-icon { display: grid !important; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--orange); color: var(--white) !important; }
.app__order-icon .ico { width: 15px; height: 15px; }
.app__tabs {
  margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 4px 16px;
  border-top: 1px solid var(--line);
  color: #A1A1AA;
}
.app__tabs .ico { width: 18px; height: 18px; }
.app__tabs .is-active { color: var(--orange); }
.app__tabs-ai {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px 12px 12px 4px;
  background: var(--purple); color: var(--white);
}

/* Marquee band */
.marquee {
  position: relative; z-index: 3;
  background: var(--orange); color: var(--white);
  transform: rotate(-2deg);
  margin: 0 -2% -10px;
  padding: 16px 0;
  overflow: hidden;
  box-shadow: 0 -2px 0 var(--ink);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__track span::after {
  content: ''; width: 10px; height: 34px; flex: none;
  background: url("../assets/logo/diner-fork.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

/* ---------- 8. Experience ---------- */
.experience { padding-top: calc(var(--section-y) + 20px); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: clamp(12px, 1.6vw, 20px);
}
.exp {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  isolation: isolate;
}
.exp h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; }
.exp p { font-size: var(--fs-lg); margin: 6px 0 18px; }
.exp__num {
  font-family: var(--font-mono); font-size: var(--fs-sm);
  display: inline-block; margin-bottom: 10px; opacity: 0.7;
}

.exp--discover { grid-column: 1 / 6; grid-row: 1 / 4; color: var(--white); justify-content: flex-end; min-height: 560px; }
.exp__media { position: absolute; inset: 0; z-index: -1; }
.exp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.exp__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, 0.85)); }
.exp--discover:hover .exp__media img { transform: scale(1.06); }
.exp--discover .arrow-link .ico { background: var(--orange); }

.exp--reserve {
  grid-column: 6 / 13; grid-row: 1 / 2;
  background: var(--orange); color: var(--white);
  flex-direction: row; align-items: center; gap: 24px; justify-content: space-between;
}
.exp--reserve .arrow-link .ico { background: var(--ink); }
.mini-ticket {
  display: flex; flex: none;
  color: var(--ink);
  transform: rotate(4deg);
  transition: transform var(--t-med) var(--ease-spring);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}
.exp--reserve:hover .mini-ticket { transform: rotate(0deg) translateY(-4px); }
.mini-ticket__main {
  background: var(--white); padding: 16px 18px;
  border-radius: 14px 0 0 14px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 100% 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.mini-ticket__label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; color: var(--orange-700); letter-spacing: 0.08em; }
.mini-ticket__main strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin: 2px 0 10px; }
.mini-ticket dl { display: flex; gap: 18px; }
.mini-ticket dt { font-size: 0.7rem; color: var(--grey); }
.mini-ticket dd { font-weight: 700; font-family: var(--font-mono); }
.mini-ticket__stub {
  display: grid; place-items: center;
  width: 64px; background: var(--white);
  border-left: 2px dashed var(--line-strong);
  border-radius: 0 14px 14px 0;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.mini-ticket__stub span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; writing-mode: vertical-rl; transform: rotate(180deg); }

.exp--order {
  grid-column: 6 / 10; grid-row: 2 / 4;
  background: var(--cream);
  border: 1px solid var(--orange-100);
}
.exp__plate {
  width: 74%; aspect-ratio: 1; margin: -12% -18% 12px auto;
  border-radius: 50%; overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.9s var(--ease-out);
}
.exp__plate img { width: 100%; height: 100%; object-fit: cover; }
.exp--order:hover .exp__plate { transform: rotate(24deg); }
.exp__modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.exp__modes li {
  padding: 5px 12px; border-radius: var(--r-d);
  background: var(--white); border: 1px solid var(--orange-100);
  font-size: var(--fs-sm); font-weight: 600;
}
.exp__modes li:first-child { background: var(--orange); color: var(--white); border-color: var(--orange); }

.exp--enjoy {
  grid-column: 10 / 13; grid-row: 2 / 4;
  background: var(--ink); color: var(--white);
}
.status-track { margin-top: auto; display: grid; gap: 0; }
.status-track li {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.55);
}
.status-track li span {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4); flex: none;
}
.status-track li:not(:last-child)::after {
  content: ''; position: absolute; left: 6px; top: 27px; height: 18px; width: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.status-track .is-done { color: var(--white); }
.status-track .is-done span { background: #22A355; border-color: #22A355; }
.status-track .is-done::after { background: #22A355 !important; }
.status-track .is-current { color: var(--white); font-weight: 700; }
.status-track .is-current span { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.3); animation: pulse-ring 1.8s infinite; }

/* ---------- 9. Discovery ---------- */
.discover { background: var(--cream); }
.discover__loc {
  display: flex; align-items: center; gap: 14px; justify-self: end;
  padding: 12px 22px 12px 12px;
  background: var(--white); border-radius: var(--r-d-flip);
  box-shadow: var(--shadow-sm);
}
.discover__loc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--white); }
.discover__loc div span { display: block; font-size: var(--fs-xs); color: var(--grey); }
.discover__loc strong { font-family: var(--font-display); font-size: 1.15rem; }

.cat-plates {
  display: flex; gap: clamp(10px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 4px 18px;
  margin: 0 -4px 12px;
  scrollbar-width: thin;
}
.cat-plate {
  flex: none; display: grid; justify-items: center; gap: 10px;
  scroll-snap-align: start;
  font-size: var(--fs-sm); font-weight: 600; color: var(--grey);
  transition: color var(--t-fast);
}
.cat-plate__img {
  position: relative;
  width: clamp(72px, 7.5vw, 96px); aspect-ratio: 1;
  border-radius: 50%;
  padding: 4px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}
.cat-plate__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cat-plate:hover { color: var(--ink); }
.cat-plate:hover .cat-plate__img { transform: translateY(-4px) rotate(-8deg); }
.cat-plate[aria-pressed="true"] { color: var(--ink); }
.cat-plate[aria-pressed="true"] .cat-plate__img { box-shadow: 0 0 0 3px var(--orange), var(--shadow-md); }
.cat-plate[aria-pressed="true"] .cat-plate__img::after {
  content: ''; position: absolute; top: -2px; right: -2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 2px solid var(--white);
}

.discover__filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px; border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.search-field {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 16px;
  border-radius: 14px; background: #F6F5F3;
  color: var(--grey);
}
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink); }
.search-field:focus-within { box-shadow: 0 0 0 2px var(--orange); }
.discover__filters .segmented { border: 0; background: #F6F5F3; }
.service-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.service-toggles button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px; padding: 0 14px; border-radius: 14px 14px 14px 4px;
  border: 1.5px dashed var(--line-strong);
  font-size: var(--fs-sm); font-weight: 600; color: var(--grey);
  transition: all var(--t-fast);
}
.service-toggles button:hover { color: var(--ink); border-color: var(--ink); }
.service-toggles button[aria-pressed="true"] { border-style: solid; border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.select-field {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 12px 0 16px; border-radius: 14px; background: #F6F5F3;
  font-size: var(--fs-sm); color: var(--grey);
}
.select-field select { appearance: none; border: 0; background: transparent; padding: 0 22px 0 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.select-field .ico { position: absolute; right: 12px; pointer-events: none; }

.discover__count { margin: 26px 0 16px; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--slate); }

.rest-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.rest-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.rest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.rest-card__media {
  position: relative; margin: 8px 8px 0;
  aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  /* signature bite on the top-right */
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 32px, #000 33px);
          mask: radial-gradient(circle at 100% 0, transparent 32px, #000 33px);
}
.rest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.rest-card:hover .rest-card__media img { transform: scale(1.08); }
.rest-card__rating {
  position: absolute; right: 2px; top: 2px; z-index: 2;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1;
}
.rest-card__rating small { display: flex; align-items: center; gap: 2px; font-size: 0.6rem; font-family: var(--font-body); font-weight: 500; color: rgba(255,255,255,.7); }
.rest-card__rating .ico { width: 10px; height: 10px; color: var(--orange); }
.rest-card__price {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 10px; border-radius: var(--r-d);
  background: rgba(255, 255, 255, 0.92); font-size: var(--fs-xs); font-weight: 700;
}
.rest-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rest-card__name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.rest-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-sm); color: var(--grey); }
.rest-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.rest-card__meta .ico { width: 14px; height: 14px; }
.rest-card__services { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 4px; }
.rest-card__services li {
  padding: 3px 9px; border-radius: 8px;
  background: #F4F4F5; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-700);
}
.rest-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.rest-card__veg { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--green); }
.rest-card__veg .ico { width: 14px; height: 14px; }
.explore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: var(--fs-sm);
}
.explore-btn__circle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast);
}
.explore-btn:hover .explore-btn__circle { transform: rotate(-45deg) scale(1.08); background: var(--ink); }

.rest-card--featured { grid-column: span 2; flex-direction: row; }
.rest-card--featured .rest-card__media { flex: 1.2; aspect-ratio: auto; min-height: 320px; margin: 8px; }
.rest-card--featured .rest-card__body { flex: 1; padding: 26px 24px 22px 10px; }
.rest-card--featured .rest-card__name { font-size: 2rem; }
.rest-card__blurb { color: var(--grey); font-size: var(--fs-sm); }
.rest-card__flag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--orange-700);
}

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px;
  border: 2px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--grey);
}
.empty-state strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }

/* Restaurant detail dialog */
.rest-detail__cover { position: relative; margin: -28px -28px 20px; height: 220px; overflow: hidden; border-radius: 26px 26px 0 0; }
.rest-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.rest-detail__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6)); }
.rest-detail__title { position: absolute; left: 24px; bottom: 18px; z-index: 1; color: var(--white); }
.rest-detail__title h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.rest-detail__title p { opacity: 0.85; font-size: var(--fs-sm); }
.rest-detail__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 20px; }
.rest-detail__facts div { padding: 10px 12px; border-radius: 12px; background: #F6F5F3; }
.rest-detail__facts dt { font-size: var(--fs-xs); color: var(--grey); }
.rest-detail__facts dd { font-weight: 700; font-size: var(--fs-sm); }
.rest-detail h3 { font-size: 1.1rem; margin-bottom: 8px; }
.menu-list { display: grid; gap: 2px; margin-bottom: 20px; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.menu-item__name { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.menu-item__dots { flex: 1; }
.menu-item__price { font-family: var(--font-mono); }
.menu-item .ico { width: 14px; height: 14px; }
.ico--veg { color: var(--green); }
.ico--hot { color: var(--red); }
.rest-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 10. Reservation ---------- */
.reserve__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.reserve__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.reserve-steps { margin-top: 36px; display: grid; gap: 4px; counter-reset: s; }
.reserve-steps li {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color var(--t-med);
}
.reserve-steps span {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 10px 999px 999px 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono); font-size: var(--fs-sm);
  transition: all var(--t-med);
}
.reserve-steps .is-done { color: rgba(255, 255, 255, 0.85); }
.reserve-steps .is-done span { background: #22A355; border-color: #22A355; color: var(--white); }
.reserve-steps .is-active { color: var(--white); }
.reserve-steps .is-active span { background: var(--orange); border-color: var(--orange); color: var(--white); transform: scale(1.1); }

.booker {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 0;
  border-radius: 32px;
  background: var(--white); color: var(--ink);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.booker__controls { padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 22px; align-content: start; }
.booker__label {
  display: block; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate);
}
.booker__field--select { position: relative; display: block; }
.booker__field--select select {
  appearance: none; width: 100%;
  padding: 14px 44px 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-strong); background: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; cursor: pointer;
}
.booker__field--select select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }
.booker__field--select .ico { position: absolute; right: 16px; bottom: 17px; pointer-events: none; }

.date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.date-tile {
  display: grid; justify-items: center; gap: 2px;
  padding: 10px 0 8px; border-radius: 14px 14px 14px 4px;
  border: 1.5px solid var(--line);
  transition: all var(--t-fast);
}
.date-tile span { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; font-weight: 600; }
.date-tile strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.date-tile:hover { border-color: var(--ink); }
.date-tile[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.date-tile[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.7); }

.stepper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px; border-radius: 16px; background: #F6F5F3;
}
.stepper output { font-size: var(--fs-md); }
.stepper strong { font-family: var(--font-display); font-size: 1.6rem; vertical-align: -2px; margin-right: 2px; }

.time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.time-slot {
  min-height: 42px; border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--font-mono); font-size: var(--fs-sm);
  transition: all var(--t-fast);
}
.time-slot:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-700); }
.time-slot[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--white); }
.time-slot:disabled { text-decoration: line-through; color: #B8BCC4; background: #FAFAFA; }

.booker__floor {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--orange-50);
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--orange-100);
}
.floor__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.floor__head .booker__label { margin: 0; }
.floor__legend { display: flex; gap: 12px; font-size: var(--fs-xs); color: var(--grey); }
.floor__legend li { display: inline-flex; align-items: center; gap: 5px; }
.lg { width: 12px; height: 12px; border-radius: 4px; }
.lg--free { background: var(--white); border: 1.5px solid var(--green); }
.lg--sel { background: var(--orange); }
.lg--taken { background: #D4D4D8; }

.floor {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 22px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    repeating-linear-gradient(45deg, var(--orange-100) 0 6px, transparent 6px 12px) border-box;
  border: 6px solid transparent;
}
.floor::before {
  content: 'Kitchen'; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  padding: 2px 14px 4px; border-radius: 0 0 10px 10px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.floor::after {
  content: 'Entrance'; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate);
}
.table-btn {
  position: absolute;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--ink);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast), border-color var(--t-fast);
}
.table-btn small { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; color: var(--grey); }
.table-btn--round { width: 13%; aspect-ratio: 1; border-radius: 50%; }
.table-btn--rect { width: 20%; aspect-ratio: 1.6; border-radius: 12px; }
.table-btn--long { width: 30%; aspect-ratio: 2.4; border-radius: 14px; }
.table-btn::before {
  /* chairs */
  content: ''; position: absolute; inset: -9px; border-radius: inherit;
  border: 3px dotted rgba(31, 31, 31, 0.22);
  pointer-events: none;
}
.table-btn:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.08); }
.table-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translate(-50%, -50%) scale(1.1); }
.table-btn[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.table-btn:disabled { background: #EDEDEF; border-color: #D4D4D8; color: #A1A1AA; }
.table-btn:disabled small { color: #A1A1AA; }
.table-btn.is-small:disabled { border-style: dashed; background: var(--white); }

.booker__summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.booker__summary p { font-size: var(--fs-sm); color: var(--ink-700); max-width: 30ch; }
.booker__summary strong { color: var(--ink); }

.booker__confirm {
  grid-column: 1 / -1;
  display: grid; justify-items: center; gap: 18px;
  padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px);
  background: var(--ink-800);
}
.res-ticket {
  display: flex; width: min(100%, 560px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  outline: none;
}
.res-ticket__main {
  flex: 1; padding: 26px 28px;
  background: var(--white);
  border-radius: 20px 0 0 20px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 100% 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
}
.res-ticket__status { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; font-size: var(--fs-sm); }
.res-ticket__status em { color: var(--grey); font-weight: 500; font-style: normal; }
.res-ticket__status .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--white); stroke-width: 3; }
.res-ticket h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 16px; }
.res-ticket__grid { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; justify-content: start; }
.res-ticket__grid dt { font-size: var(--fs-xs); color: var(--grey); }
.res-ticket__grid dd { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; }
.res-ticket__fine { margin-top: 18px; font-size: var(--fs-xs); color: var(--slate); }
.res-ticket__stub {
  width: 168px; flex: none;
  display: grid; justify-items: center; align-content: center; gap: 10px;
  padding: 18px;
  background: var(--orange);
  border-left: 3px dashed rgba(255, 255, 255, 0.7);
  border-radius: 0 20px 20px 0;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
}
.res-ticket__stub .qr { --qr-size: 110px; }
.res-ticket__code { font-family: var(--font-mono); color: var(--white); font-weight: 500; letter-spacing: 0.06em; }

/* ---------- 11. Ordering ---------- */
.order-jump {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 30px;
}
.order-jump a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px; border-radius: var(--r-d-flip);
  border: 1.5px solid var(--line-strong);
  font-weight: 600; font-size: var(--fs-sm);
  transition: all var(--t-fast);
}
.order-jump a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.order-jump__letter {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 800;
}
.order-jump a:nth-child(2) .order-jump__letter { background: var(--blue); }
.order-jump a:nth-child(3) .order-jump__letter { background: var(--green); }

.mode { margin-top: clamp(64px, 9vw, 120px); }
.mode__tag {
  display: inline-block; margin-bottom: 16px;
  padding: 6px 14px; border-radius: var(--r-d);
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
}
.mode__tag--orange { background: var(--orange-100); color: var(--orange-700); }
.mode__tag--blue { background: var(--blue-100); color: #1A47B8; }
.mode__tag--green { background: rgba(34, 163, 85, 0.18); color: #7BE0A2; }
.mode__copy p:not(.mode__tag) { color: var(--grey); font-size: var(--fs-lg); margin-top: 16px; max-width: 48ch; }
.mode__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 28px; }
.mode__steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-sm); }
.mode__steps .ico {
  width: 36px; height: 36px; padding: 8px; border-radius: 12px 12px 12px 4px;
  background: var(--orange-50); color: var(--orange-700);
}
.mode__steps--light li { color: var(--white); }
.mode__steps--light .ico { background: rgba(255, 255, 255, 0.08); color: #7BE0A2; }
.mode__hint { display: flex; align-items: center; gap: 8px; margin-top: 26px !important; font-size: var(--fs-sm) !important; color: var(--orange-700) !important; font-weight: 600; }

/* A. Dine-in */
.mode--dinein { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mode__stage { position: relative; padding: 40px 0 40px 0; }
.mode__photo {
  width: 78%; aspect-ratio: 4 / 5;
  border-radius: 200px 200px 28px 28px;
  overflow: hidden;
}
.mode__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mode__stage:hover .mode__photo img { transform: scale(1.05); }
.table-tent {
  position: absolute; left: 6%; bottom: 6%;
  display: grid; justify-items: center; gap: 6px;
  padding: 12px 14px 14px;
  background: var(--ink); color: var(--white);
  border-radius: 14px;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-lg);
}
.table-tent__no { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.table-tent__cta { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.mode__phone { position: absolute; right: 0; top: 0; transform: rotate(3deg); }

.app--menu { padding: 0; gap: 0; }
.app--menu .app__status { position: absolute; z-index: 2; left: 14px; right: 14px; top: 10px; color: var(--white); }
.app--menu .app__sys i { background: var(--white); }
.dish-head { position: relative; height: 34%; }
.dish-head img { width: 100%; height: 100%; object-fit: cover; }
.dish-head__table {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 8px;
  background: rgba(31, 31, 31, 0.8); color: var(--white); font-weight: 600;
}
.dish-head__table .ico { width: 12px; height: 12px; }
.dish { padding: 14px; display: grid; gap: 8px; }
.dish__row { display: flex; justify-content: space-between; align-items: baseline; }
.dish__row h4 { font-size: 15px; letter-spacing: -0.02em; }
.dish__row span { font-family: var(--font-mono); font-weight: 500; }
.dish > p { color: var(--grey); }
.dish__label { font-weight: 700; margin-top: 2px; }
.spice-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 10px; background: #F4F4F5; }
.spice-pick button { padding: 6px 0; border-radius: 8px; font-size: 10.5px; font-weight: 600; color: var(--grey); }
.spice-pick button[aria-checked="true"] { background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); }
.dish__extra { display: flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.dish__extra span { margin-left: auto; color: var(--grey); font-family: var(--font-mono); }
.dish__extra input { accent-color: var(--orange); width: 14px; height: 14px; }
.dish .btn--sm { min-height: 38px; font-size: 11.5px; padding: 0 14px; border-radius: 10px 999px 999px 10px; box-shadow: none; }
.cart-bar {
  position: absolute; left: 10px; right: 10px; bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 10px; border-radius: 14px;
  background: var(--ink); color: var(--white); font-weight: 600;
  transition: transform var(--t-med) var(--ease-spring);
}
.cart-bar.is-bump { animation: bump 0.45s var(--ease-spring); }
.cart-bar__count { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 7px; background: var(--orange); font-size: 11px; }
.cart-bar > span:nth-child(2) { flex: 1; font-size: 10.5px; }
.cart-bar__go { padding: 6px 10px; border-radius: 9px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 10.5px; }
.cart-bar__go:disabled { opacity: 0.4; }

/* B. Pickup */
.mode--pickup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-slab);
  background: var(--blue-50);
}
.pickup-picker { margin-top: 28px; }
.pickup-times { display: flex; flex-wrap: wrap; gap: 8px; }
.pickup-time {
  display: grid; gap: 0; text-align: left;
  min-width: 92px; padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  background: var(--white); border: 1.5px solid var(--blue-100);
  transition: all var(--t-fast);
}
.pickup-time strong { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; }
.pickup-time span { font-size: var(--fs-xs); color: var(--grey); }
.pickup-time:hover { border-color: var(--blue); }
.pickup-time[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pickup-time[aria-checked="true"] span { color: rgba(255, 255, 255, 0.8); }

.pickup-board { position: relative; }
.pickup-board__photos { position: absolute; right: -4%; top: -14%; display: flex; z-index: 0; }
.pickup-board__photos img {
  width: clamp(110px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 6px solid var(--blue-50);
}
.pickup-board__photos img + img { margin-left: -40px; margin-top: 60px; }
.pickup-card {
  position: relative; z-index: 1;
  width: min(100%, 460px);
  padding: 24px; border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.pickup-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pickup-card__head span { font-size: var(--fs-xs); color: var(--grey); font-family: var(--font-mono); }
.pickup-card__head strong { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; margin-top: 4px; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__bg { stroke: var(--blue-50); }
.ring__fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); transition: stroke-dashoffset 0.8s var(--ease-out), stroke 0.3s; }
.ring.is-ready .ring__fg { stroke: var(--green); }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring__label small { font-size: 0.65rem; color: var(--grey); }
.ring__label b { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 500; }
.pickup-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 22px 0 18px; position: relative; }
.pickup-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 17px; height: 3px; background: var(--blue-50); border-radius: 2px; }
.pickup-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 0.7rem; font-weight: 600; color: var(--grey); }
.pickup-steps span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-100); color: #9AA9C9;
  transition: all var(--t-med);
}
.pickup-steps .ico { width: 16px; height: 16px; }
.pickup-steps .is-done { color: var(--ink); }
.pickup-steps .is-done span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pickup-steps .is-current span { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px var(--blue-50); animation: pulse-ring-blue 1.8s infinite; }
.pickup-steps .is-current { color: var(--blue); }
.pickup-items { border-top: 1px dashed var(--line-strong); padding-top: 12px; display: grid; gap: 6px; font-size: var(--fs-sm); }
.pickup-items li { display: flex; justify-content: space-between; }
.pickup-items li span:last-child { font-family: var(--font-mono); }
.pickup-items__total { font-weight: 700; padding-top: 6px; border-top: 1px solid var(--line); }
.pickup-card__actions { display: flex; gap: 8px; margin-top: 18px; }

/* C. Takeaway */
.takeaway {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-slab);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.takeaway__copy p:not(.mode__tag) { color: rgba(255, 255, 255, 0.7); font-size: var(--fs-lg); margin-top: 16px; }
.takeaway__photo {
  position: absolute; right: -80px; bottom: -80px; width: 260px; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; opacity: 0.35; z-index: 0;
}
.takeaway__photo img { width: 100%; height: 100%; object-fit: cover; }
.queue {
  position: relative; z-index: 1;
  display: grid; gap: 16px;
  padding: 24px; border-radius: 26px;
  background: var(--ink-800);
  border: 1px solid var(--line-light);
}
.queue__ticket {
  display: grid; justify-items: center;
  padding: 22px 16px 26px;
  border-radius: 18px;
  background: var(--orange); color: var(--white);
  -webkit-mask: radial-gradient(circle at 0 70%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 70%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 70%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 70%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
  transition: background var(--t-med);
}
.queue.is-ready .queue__ticket { background: var(--green); }
.queue__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.queue__num { font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 3vw, 5.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.queue__place { font-size: var(--fs-sm); opacity: 0.85; }
.queue__status { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.queue__status > div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.queue__status span { display: block; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }
.queue__status strong { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 500; }
.queue__line { display: flex; gap: 6px; }
.queue__line i {
  flex: 1; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.12);
  transition: background var(--t-med);
}
.queue__line i.is-done { background: #22A355; }
.queue__line i.is-you { background: var(--orange); }
.queue.is-ready .queue__line i.is-you { background: #22A355; }
.queue__msg { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); min-height: 2.8em; }

/* ---------- 12. Diner AI section ---------- */
.ai { background: var(--purple-50); overflow: hidden; }
.ai__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ai .display-2 { max-width: 13ch; }
.taste {
  margin-top: 32px; padding: 20px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--purple-100);
  display: grid; gap: 14px;
}
.taste__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; }
.taste__head strong { font-family: var(--font-display); font-size: 1.15rem; }
.taste__head span { font-size: var(--fs-xs); color: var(--purple-700); font-weight: 600; }
.taste__group { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; }
.taste__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.ai__caps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: var(--fs-sm); color: var(--ink-700); }
.ai__caps li { display: inline-flex; align-items: center; gap: 6px; }
.ai__caps li::before { content: ''; width: 8px; height: 8px; border-radius: 2px 6px 6px 2px; background: var(--purple); }
.ai__chat { position: relative; }
.ai__orbit {
  position: absolute; z-index: 0; width: 520px; height: 520px; right: -200px; top: -120px;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 58, 237, 0.3);
  pointer-events: none;
}

/* ---------- 13. Chat component (shared) ---------- */
.chat {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(76, 29, 149, 0.45), 0 0 0 1px var(--purple-100);
}
.chat--showcase { height: clamp(600px, 72vh, 720px); }
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 18px;
  background: var(--ink); color: var(--white);
}
.chat__avatar {
  position: relative; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px 14px 14px 4px;
  background: var(--purple);
}
.chat__avatar .ico { width: 22px; height: 22px; animation: twinkle 3s ease-in-out infinite; }
.chat__avatar::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #22A355; border: 2.5px solid var(--ink); }
.chat__id { flex: 1; min-width: 0; }
.chat__id strong { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.02em; }
.chat__demo { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.7); }
.chat__demo b { padding: 1px 7px; border-radius: 6px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; }
.chat__head-actions { display: flex; gap: 6px; }
.chat__head-actions .icon-btn { width: 38px; height: 38px; background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: transparent; }
.chat__head-actions .icon-btn:hover { background: var(--white); color: var(--ink); }

.chat__log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 16px 10px;
  display: flex; flex-direction: column; gap: 12px;
  background:
    radial-gradient(circle at 1px 1px, rgba(124, 58, 237, 0.08) 1px, transparent 0) 0 0 / 18px 18px,
    #FCFBFF;
  scroll-behavior: smooth;
}
.chat__day { align-self: center; font-family: var(--font-mono); font-size: 0.65rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.1em; }
.msg { display: flex; gap: 8px; max-width: 88%; animation: msg-in 0.35s var(--ease-out) both; }
.msg--user { align-self: flex-end; flex-direction: row-reverse; }
.msg__bubble {
  padding: 11px 15px;
  font-size: var(--fs-sm); line-height: 1.5;
  border-radius: 18px 18px 18px 4px;
  background: var(--white); border: 1px solid var(--purple-100);
  white-space: pre-line;
}
.msg--user .msg__bubble { background: var(--orange); color: var(--white); border: 0; border-radius: 18px 18px 4px 18px; }
.msg__bubble b { font-weight: 700; }
.msg__icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px 9px 9px 3px; background: var(--purple); color: var(--white); align-self: flex-end; }
.msg__icon .ico { width: 14px; height: 14px; }
.msg--cards { max-width: 100%; align-self: stretch; }
.msg__cards { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px 36px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rec-card {
  flex: none; width: 210px; scroll-snap-align: start;
  border-radius: 18px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.rec-card img { width: 100%; height: 96px; object-fit: cover; }
.rec-card__body { padding: 10px 12px 12px; display: grid; gap: 4px; flex: 1; }
.rec-card__body strong { font-size: var(--fs-sm); }
.rec-card__body span { font-size: var(--fs-xs); color: var(--grey); }
.rec-card__why { font-size: 0.7rem !important; color: var(--purple-700) !important; font-weight: 600; }
.rec-card__btn {
  margin-top: 6px; justify-self: start;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 8px 20px 20px 8px;
  background: var(--purple-50); color: var(--purple-700); font-size: var(--fs-xs); font-weight: 700;
}
.rec-card__btn:hover { background: var(--purple); color: var(--white); }
.rec-card--dish img { height: 80px; }

.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing__note { align-self: flex-end; max-width: 220px; font-size: var(--fs-xs); color: var(--slate); animation: fade-up 0.4s var(--ease-out); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); opacity: 0.4; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.chat__suggest {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 4px;
  scrollbar-width: none;
}
.chat__suggest::-webkit-scrollbar { display: none; }
.chat__suggest button {
  flex: none;
  padding: 7px 12px; border-radius: 12px 12px 12px 4px;
  border: 1.5px solid var(--purple-100); background: var(--white); color: var(--purple-700);
  font-size: var(--fs-xs); font-weight: 600;
  transition: all var(--t-fast);
}
.chat__suggest button:hover { background: var(--purple); color: var(--white); border-color: var(--purple); }

.chat__budget {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 2px;
  font-size: var(--fs-xs); color: var(--slate);
}
.chat__budget label { white-space: nowrap; font-weight: 600; }
.chat__budget output { font-family: var(--font-mono); color: var(--ink); font-weight: 500; min-width: 76px; text-align: right; }
.chat__budget input[type="range"] { flex: 1; accent-color: var(--purple); }
.chat__budget button { padding: 4px 9px; border-radius: 8px; background: var(--purple-50); color: var(--purple-700); font-weight: 700; }

.chat__form {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px 12px;
}
.chat__input {
  flex: 1; min-height: 50px; max-height: 120px; resize: none;
  padding: 14px 16px; border-radius: 16px;
  border: 1.5px solid var(--line-strong); background: #FAFAFA;
  font-size: var(--fs-sm); line-height: 1.4;
}
.chat__input:focus { outline: none; border-color: var(--purple); background: var(--white); box-shadow: 0 0 0 4px var(--purple-50); }
.chat__send {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px 16px 16px 4px;
  background: var(--purple); color: var(--white);
  transition: transform var(--t-fast), background var(--t-fast);
}
.chat__send:hover:not(:disabled) { background: var(--purple-700); transform: translateY(-2px); }
.chat__send:disabled { opacity: 0.4; }
.chat__foot { padding: 0 16px 10px; font-size: 0.68rem; color: var(--slate); text-align: center; }

/* ---------- 14. Floating AI ---------- */
.ai-fab {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 22px 7px 7px;
  border-radius: var(--r-d-flip);
  background: var(--purple); color: var(--white);
  font-weight: 700; font-size: var(--fs-sm);
  box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.75);
  transition: transform var(--t-med) var(--ease-spring), opacity var(--t-med), background var(--t-fast);
}
.ai-fab:hover { transform: translateY(-3px); background: var(--purple-700); }
.ai-fab__icon {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--purple);
}
.ai-fab__icon::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: fab-pulse 2.4s var(--ease-out) infinite;
}
.ai-fab[aria-expanded="true"] { opacity: 0; transform: scale(0.8); pointer-events: none; }

.ai-panel {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 95;
  width: min(410px, calc(100vw - 28px));
  height: min(640px, calc(100vh - 110px));
  transform-origin: bottom right;
  animation: panel-in 0.4s var(--ease-spring);
}
.ai-panel .chat { height: 100%; box-shadow: 0 40px 80px -20px rgba(31, 31, 31, 0.45), 0 0 0 1px var(--purple-100); }
.ai-panel.is-min { height: auto; }
.ai-panel.is-min .chat__log,
.ai-panel.is-min .chat__suggest,
.ai-panel.is-min .chat__budget,
.ai-panel.is-min .chat__form,
.ai-panel.is-min .chat__foot { display: none; }
.ai-panel.is-min .chat__head { cursor: pointer; }

/* ---------- 15. Group dining ---------- */
.group { background: var(--orange); color: var(--white); overflow: hidden; }
.group .lede { color: rgba(255, 255, 255, 0.85); }
.group .kicker span { background: var(--ink); }
.group__stage {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 40px); align-items: center;
}
.host-card {
  padding: 22px; border-radius: 28px;
  background: var(--white); color: var(--ink);
  display: grid; justify-items: center; text-align: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.host-card__top { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; }
.host-card__role { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-700); }
.host-card__top strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; display: block; }
.host-card .qr { border: 2px solid var(--ink); }
.host-card__code { font-family: var(--font-mono); font-size: var(--fs-sm); }
.host-card__hint { font-size: var(--fs-xs); color: var(--grey); }
.host-card__actions { display: flex; gap: 8px; }
.host-card .icon-btn--light { background: var(--white); color: var(--ink); border-color: var(--line-strong); }

.round-table {
  position: relative;
  width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto;
}
.round-table__top {
  position: absolute; inset: 20%;
  border-radius: 50%; overflow: hidden;
  border: 12px solid var(--white);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0,0,0,.1);
}
.round-table__top img { width: 100%; height: 100%; object-fit: cover; }
.round-table__seats { position: absolute; inset: 0; }
.seat {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  transition: transform 0.6s var(--ease-spring);
}
.seat__inner {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 4px;
}
.seat.is-new .seat__inner { animation: seat-in 0.55s var(--ease-spring) both; }
.seat .avatar { width: 58px; height: 58px; font-size: 1.15rem; border-width: 3px; box-shadow: var(--shadow-md); }
.seat__host .avatar { box-shadow: 0 0 0 3px var(--ink), var(--shadow-md); }
.seat__name { font-weight: 700; font-size: var(--fs-xs); background: var(--ink); color: var(--white); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.seat__pref { font-size: 0.65rem; font-weight: 600; background: var(--white); color: var(--ink); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.seat--empty .avatar { background: transparent; border: 2.5px dashed rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.85); box-shadow: none; }

.group-summary {
  padding: 22px; border-radius: 26px;
  background: var(--ink); color: var(--white);
  display: grid; gap: 14px;
}
.group-summary h3 { font-size: 1.3rem; }
.group-summary__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.group-summary__stats div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); }
.group-summary__stats dt { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }
.group-summary__stats dd { font-family: var(--font-mono); font-size: 1.25rem; }
.group-summary__needs { display: flex; flex-wrap: wrap; gap: 6px; }
.group-summary__needs li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: var(--fs-xs); font-weight: 600; }
.group-summary__needs .ico { width: 13px; height: 13px; color: #7BE0A2; }

/* ---------- 16. Switch band ---------- */
.switch-band { padding: clamp(40px, 6vw, 72px) 0 0; }
.switch-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.switch-band p {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1rem + 3vw, 3.4rem); letter-spacing: -0.045em; line-height: 1;
  color: #C9CBD1;
}
.switch-band p em { font-style: normal; color: var(--ink); }
.switch-band__toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--ink); }
.switch-band__toggle i { font-style: normal; padding: 10px 20px; border-radius: 999px; color: rgba(255, 255, 255, 0.6); font-weight: 600; font-size: var(--fs-sm); }
.switch-band__toggle .is-on { background: var(--orange); color: var(--white); }

/* ---------- 17. Owner dashboard ---------- */
.owners { padding-top: clamp(48px, 6vw, 80px); }
.dash {
  border-radius: 24px; overflow: hidden;
  background: #F7F7F5;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.dash__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 11px; height: 11px; border-radius: 50%; background: #E4E4E7; }
.dash__dots i:first-child { background: var(--orange); }
.dash__crumb {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; background: #F4F4F5; color: var(--grey); font-size: var(--fs-xs);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash__crumb .ico { width: 12px; height: 12px; }
.dash__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 620px; }
.dash__side { background: var(--ink); color: var(--white); padding: 18px 12px; display: flex; flex-direction: column; gap: 18px; }
.dash__brand { display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.dash__brand img:first-child { border-radius: 7px; }
.dash__word { height: 20px; width: auto; object-fit: contain; }
.dash__brand em { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-top: 4px; }
.dash__nav { display: grid; gap: 2px; }
.dash__nav button,
.dash__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px 12px 12px 4px;
  color: rgba(255, 255, 255, 0.65); font-weight: 500; text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}
.dash__nav .ico { width: 17px; height: 17px; }
.dash__nav button:hover,
.dash__nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.dash__nav .is-active { background: var(--orange); color: var(--white); }
.dash__nav a { color: rgba(255, 255, 255, 0.45); }
.dash__badge { margin-left: auto; min-width: 22px; padding: 1px 6px; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 0.68rem; font-weight: 700; text-align: center; }
.dash__store { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.dash__store-dot { width: 10px; height: 10px; border-radius: 50%; background: #22A355; box-shadow: 0 0 0 4px rgba(34, 163, 85, 0.25); flex: none; }
.dash__store strong { display: block; }
.dash__store span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }

.dash__main { padding: 22px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dash__top span { font-size: var(--fs-xs); color: var(--grey); }
.dash__top h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.dash__top-actions { display: flex; align-items: center; gap: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--green-50); color: var(--green) !important; font-weight: 700; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
.dash__bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink) !important; }
.dash__bell i { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.dash__view { display: grid; gap: 14px; animation: fade-up 0.4s var(--ease-out); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 2px; }
.kpi span { font-size: var(--fs-xs); color: var(--grey); }
.kpi strong { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em, .ins-kpi em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: var(--fs-xs); color: var(--grey); }
.kpi em .ico, .ins-kpi em .ico { width: 14px; height: 14px; }
em.up { color: var(--green); }
em.down { color: var(--red); }
.kpi:first-child { background: var(--orange); color: var(--white); border-color: var(--orange); }
.kpi:first-child span, .kpi:first-child em { color: rgba(255, 255, 255, 0.9); }

.dash__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.dash__row--b { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.panel { padding: 16px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.panel__head h4 { font-size: 1.05rem; letter-spacing: -0.02em; }
.panel__head span { font-size: var(--fs-xs); color: var(--grey); }
.panel__link { font-size: var(--fs-xs); font-weight: 700; color: var(--orange-700); }
.panel__link:hover { text-decoration: underline; }

.mix { display: grid; gap: 14px; }
.mix li { display: grid; gap: 6px; }
.mix__row { display: flex; justify-content: space-between; font-weight: 600; }
.mix__row span:last-child { font-family: var(--font-mono); font-weight: 500; color: var(--grey); }
.mix__bar { height: 10px; border-radius: 4px; background: #F1F1F1; overflow: hidden; }
.mix__bar i { display: block; height: 100%; border-radius: 4px; background: var(--orange); width: 0; transition: width 1.1s var(--ease-out); }

.orders-table { font-size: var(--fs-xs); }
.orders-table th { text-align: left; font-weight: 600; color: var(--grey); padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.orders-table td { padding: 9px 6px; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.orders-table td:first-child { font-family: var(--font-mono); font-weight: 500; }
.orders-table tr:last-child td { border-bottom: 0; }
.type-tag { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.type-tag .ico { width: 13px; height: 13px; color: var(--slate); }

.popular { display: grid; gap: 10px; counter-reset: pop; }
.popular li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; }
.popular img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.popular strong { display: block; font-size: var(--fs-sm); }
.popular span { font-size: var(--fs-xs); color: var(--grey); }
.popular b { font-family: var(--font-mono); font-weight: 500; }

/* Secondary dashboard views */
.view-list { display: grid; gap: 8px; }
.view-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
}
.view-row__id { font-family: var(--font-mono); font-weight: 500; }
.view-row__main strong { display: block; }
.view-row__main span { font-size: var(--fs-xs); color: var(--grey); }
.view-row__amt { font-family: var(--font-mono); }
.view-row .btn-mini { padding: 6px 12px; border-radius: 8px 20px 20px 8px; background: var(--ink); color: var(--white); font-size: var(--fs-xs); font-weight: 700; }
.view-row .btn-mini:hover { background: var(--orange); }
.view-row .btn-mini:disabled { background: #E4E4E7; color: var(--grey); }
.view-filters { display: flex; gap: 6px; flex-wrap: wrap; }

.menu-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.menu-admin__item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); transition: opacity var(--t-fast); }
.menu-admin__item img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.menu-admin__item div { flex: 1; min-width: 0; }
.menu-admin__item strong { display: block; font-size: var(--fs-sm); }
.menu-admin__item span { font-size: var(--fs-xs); color: var(--grey); font-family: var(--font-mono); }
.menu-admin__item.is-off img { filter: grayscale(1); opacity: 0.5; }
.menu-admin__item.is-off strong { color: var(--grey); text-decoration: line-through; }

.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D4D4D8; transition: background var(--t-fast); }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform var(--t-med) var(--ease-spring); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.tables-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tables-admin__t { padding: 14px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); display: grid; gap: 4px; }
.tables-admin__t strong { font-family: var(--font-display); font-size: 1.4rem; }
.tables-admin__t span { font-size: var(--fs-xs); color: var(--grey); }
.tables-admin__t.is-seated { border-color: var(--orange); background: var(--orange-50); }
.tables-admin__t.is-reserved { border-color: var(--blue); background: var(--blue-50); }
.tables-admin__t .qr { --qr-size: 54px; padding: 3px; border: 1px solid var(--line); }

.pay-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Owner's menu card */
.owner-menu {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.owner-menu__head { text-align: center; margin-bottom: 30px; }
.owner-menu__script { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.4rem; color: var(--orange-700); }
.owner-menu__head h3 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; }
.owner-menu__head p { color: var(--grey); font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }
.owner-menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px clamp(28px, 5vw, 72px); }
.owner-menu__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 10px 0; }
.owner-menu__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.owner-menu__dots { flex: 1; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); min-width: 20px; }
.owner-menu__price { font-family: var(--font-mono); color: var(--orange-700); font-weight: 500; }
.owner-menu__list small { flex-basis: 100%; color: var(--grey); font-size: var(--fs-sm); }

/* ---------- 18. Kitchen ---------- */
.flow {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;
  margin-bottom: 40px;
  position: relative;
}
.flow::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
}
.flow li { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; font-size: var(--fs-sm); font-weight: 600; padding: 0 6px; color: rgba(255, 255, 255, 0.85); }
.flow__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 18px 18px 18px 6px;
  background: var(--ink-800); border: 1.5px solid var(--line-light); color: var(--white);
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-spring);
}
.flow li.is-lit .flow__icon { background: var(--orange); border-color: var(--orange); transform: translateY(-4px); }
.flow li:last-child.is-lit .flow__icon { background: var(--green); border-color: var(--green); }

.kds { border-radius: 24px; background: #111; border: 1px solid var(--line-light); overflow: hidden; }
.kds__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line-light); background: #181818; }
.kds__title { display: flex; align-items: center; gap: 10px; }
.kds__title .ico { color: var(--orange); }
.kds__title span { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); }
.kds__tools { display: flex; align-items: center; gap: 14px; }
.kds__done { font-family: var(--font-mono); font-size: var(--fs-xs); color: #7BE0A2; }
.kds__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kds__col { padding: 16px; min-height: 420px; border-right: 1px solid var(--line-light); }
.kds__col:last-child { border-right: 0; }
.kds__col h4 { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: rgba(255, 255, 255, 0.85); }
.kds__col h4 span { margin-left: auto; font-family: var(--font-mono); color: rgba(255, 255, 255, 0.5); }
.kds__list { display: grid; gap: 12px; align-content: start; }

.kds-ticket {
  border-radius: 14px; overflow: hidden;
  background: var(--white); color: var(--ink);
  animation: ticket-in 0.45s var(--ease-spring) both;
}
.kds-ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #F4F4F5; border-bottom: 2px dashed var(--line-strong); }
.kds-ticket__no { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; }
.kds-ticket__type { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: var(--white); }
.kds-ticket__type .ico { width: 12px; height: 12px; }
.kds-ticket__type--dinein { background: var(--orange); }
.kds-ticket__type--pickup { background: var(--blue); }
.kds-ticket__type--takeaway { background: var(--green); }
.kds-ticket__timer { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--green); }
.kds-ticket__timer .ico { width: 13px; height: 13px; }
.kds-ticket__timer.is-warn { color: var(--amber); }
.kds-ticket__timer.is-late { color: var(--red); }
.kds-ticket ul { padding: 10px 12px; display: grid; gap: 4px; font-size: var(--fs-sm); }
.kds-ticket li b { font-family: var(--font-mono); font-weight: 500; margin-right: 6px; }
.kds-ticket li small { display: block; padding-left: 26px; color: var(--red); font-weight: 600; font-size: var(--fs-xs); }
.kds-ticket__meta { padding: 0 12px 8px; font-size: var(--fs-xs); color: var(--grey); }
.kds-ticket__actions { display: flex; gap: 6px; padding: 0 12px 12px; }
.kds-btn {
  flex: 1; min-height: 38px; padding: 0 10px; border-radius: 10px;
  font-weight: 700; font-size: var(--fs-xs);
  background: var(--ink); color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.kds-btn:hover { transform: translateY(-1px); }
.kds-btn--accept { background: var(--blue); }
.kds-btn--ready { background: var(--green); }
.kds-btn--done { background: var(--ink); }
.kds-btn--ghost { flex: 0 0 auto; background: transparent; color: var(--grey); border: 1.5px solid var(--line-strong); }
.kds-btn--ghost:hover { color: var(--red); border-color: var(--red); }
.kds__empty { padding: 22px 12px; border: 1.5px dashed var(--line-light); border-radius: 14px; text-align: center; color: rgba(255, 255, 255, 0.4); font-size: var(--fs-sm); }

/* ---------- 19. Insights ---------- */
.ins-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.ins-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: inherit; }
.ins-kpi {
  padding: 20px 22px; border-radius: 22px;
  border: 1px solid var(--line);
  display: grid; gap: 4px;
  background: var(--white);
}
.ins-kpi span { font-size: var(--fs-sm); color: var(--grey); }
.ins-kpi strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); letter-spacing: -0.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ins-card { grid-column: span 6; padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--white); min-width: 0; }
.ins-card--trend { grid-column: span 8; }
.ins-card--ai { grid-column: span 4; background: var(--purple); color: var(--white); border-color: var(--purple); }
.ins-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ins-card__head h3 { font-size: 1.25rem; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.ins-card__head span { font-size: var(--fs-xs); color: var(--grey); }
.ins-card--ai .ins-card__head span { color: rgba(255, 255, 255, 0.7); }
.insight-list { display: grid; gap: 10px; }
.insight-list li { display: flex; gap: 12px; padding: 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.1); }
.insight-list p { font-size: var(--fs-sm); line-height: 1.45; }
.insight-list__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, 0.16); }
.insight-list__icon .ico { width: 16px; height: 16px; }
.insight-list__icon.up { background: var(--white); color: var(--green); }
.insight-list__icon.warn { background: var(--white); color: var(--amber); }

.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .axis text { font-family: var(--font-mono); font-size: 11px; fill: var(--slate); }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .baseline { stroke: var(--line-strong); }
.chart .bar { fill: var(--orange); transition: opacity var(--t-fast); }
.chart .bar--b { fill: var(--blue); }
.chart .bar.is-dim { opacity: 0.35; }
.chart .line { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#area-grad); }
.chart .dot-pt { fill: var(--white); stroke: var(--orange); stroke-width: 2.5; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .crosshair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart .hover-dot { fill: var(--orange); stroke: var(--white); stroke-width: 3; opacity: 0; }
.chart.is-hovering .crosshair, .chart.is-hovering .hover-dot { opacity: 1; }
.chart .label-end { font-family: var(--font-mono); font-size: 12px; font-weight: 500; fill: var(--ink); }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none;
  padding: 8px 10px; border-radius: 10px;
  background: var(--ink); color: var(--white);
  font-size: var(--fs-xs); line-height: 1.35; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0; transition: opacity var(--t-fast);
}
.chart-tip b { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-sm); }
.chart-tip.is-on { opacity: 1; }
.chart-legend { display: flex; gap: 16px; margin: -6px 0 12px; font-size: var(--fs-xs); font-weight: 600; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.chart.is-drawn .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out); }
.chart .grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.chart.is-drawn .grow { transform: scaleY(1); transition: transform 0.9s var(--ease-out); transition-delay: var(--gd, 0s); }

.movers { display: grid; gap: 12px; }
.movers li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px; gap: 12px; align-items: center; }
.movers img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.movers strong { display: block; font-size: var(--fs-sm); }
.movers__bar { display: block; height: 8px; border-radius: 4px; background: #F1F1F1; margin-top: 5px; overflow: hidden; }
.movers__bar i { display: block; height: 100%; background: var(--orange); border-radius: 4px; width: 0; transition: width 1.1s var(--ease-out); }
.movers li.is-down .movers__bar i { background: var(--slate); }
.movers__pct { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500; color: var(--green); }
.movers__pct .ico { width: 14px; height: 14px; }
.movers li.is-down .movers__pct { color: var(--red); }
.movers__tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--amber-50); color: #8A4B05; font-size: 0.65rem; font-weight: 700; vertical-align: 1px; }

/* ---------- 20. Reviews ---------- */
.reviews { background: var(--cream); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.composer {
  position: relative;
  display: grid; gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--t-med);
}
.composer.is-complaint { box-shadow: 0 0 0 2px var(--red), var(--shadow-md); }
.composer__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: #F4F4F5; }
.composer__switch button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; font-weight: 600; font-size: var(--fs-sm); color: var(--grey); transition: all var(--t-fast); }
.composer__switch button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.composer__switch button[data-mode="complaint"][aria-selected="true"] { color: var(--red); }
.composer__place { display: flex; align-items: center; gap: 12px; }
.composer__place img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.composer__place strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.composer__place span { font-size: var(--fs-xs); color: var(--grey); }
.composer__review { display: grid; gap: 14px; }
.stars legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 8px; }
.stars { display: grid; }
.stars__row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { cursor: pointer; color: #E4E4E7; transition: transform var(--t-fast) var(--ease-spring), color var(--t-fast); }
.stars label .ico { width: 40px; height: 40px; }
.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label { color: var(--orange); }
.stars label:hover { transform: scale(1.15) rotate(-8deg); }
.stars input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.stars__word { margin-top: 6px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--slate); }
.composer__private { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--red-50); color: #9B1C1C; font-size: var(--fs-sm); font-weight: 500; }
.composer.is-complaint .btn--primary { --btn-bg: var(--red); box-shadow: 0 14px 30px -12px rgba(220, 38, 38, 0.6); }
.composer.is-complaint .btn--primary .btn__icon { color: var(--red); }
.composer__done {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center;
  padding: 30px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  animation: fade-up 0.4s var(--ease-out);
}
.composer__done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--white); animation: pop 0.5s var(--ease-spring); }
.composer__done-icon .ico { width: 30px; height: 30px; stroke-width: 3; }
.composer__done strong { font-family: var(--font-display); font-size: 1.4rem; }
.composer__done p { color: var(--grey); font-size: var(--fs-sm); }

.review-feed { display: grid; gap: 14px; }
.review-feed__label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.review-feed__label em { font-style: normal; color: var(--orange-700); }
.review { padding: 18px 20px; border-radius: 22px 22px 22px 6px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; }
.review header { display: flex; align-items: center; gap: 10px; }
.review header div { flex: 1; }
.review header strong { display: block; font-size: var(--fs-sm); }
.review header span { font-size: var(--fs-xs); color: var(--grey); }
.review__stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-family: var(--font-mono); }
.review__stars .ico { color: var(--orange); }
.review p { font-size: var(--fs-sm); }
.review__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.review__tags span { padding: 3px 9px; border-radius: 8px; background: var(--orange-50); color: var(--orange-700); font-size: var(--fs-xs); font-weight: 600; }
.review__reply { padding: 10px 12px; border-left: 3px solid var(--orange); background: #FAFAF9; border-radius: 0 12px 12px 0; }
.review__reply strong { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-700); }
.review--complaint { border-color: rgba(220, 38, 38, 0.3); }
.complaint-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.complaint-track li { position: relative; padding-top: 14px; font-size: 0.7rem; font-weight: 600; color: var(--grey); }
.complaint-track li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: #EEE; }
.complaint-track .is-done { color: var(--ink); }
.complaint-track .is-done::before { background: var(--green); }
.complaint-track .is-current { color: var(--amber); }
.complaint-track .is-current::before { background: var(--amber); }

/* ---------- 21. Why Diner ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.why .display-2 { max-width: 15ch; }
.why__now { color: var(--orange); }
.why__before { margin-top: 36px; display: grid; gap: 10px; }
.why__before li { font-size: var(--fs-xl); color: var(--grey); }
.why__before s { text-decoration-color: var(--orange); text-decoration-thickness: 3px; }

.receipt { position: relative; justify-self: center; width: min(100%, 400px); transform: rotate(2.5deg); transition: transform var(--t-med) var(--ease-out); }
.receipt:hover { transform: rotate(0deg) translateY(-6px); }
.receipt__paper {
  position: relative;
  padding: 34px 28px 40px;
  background: #FFFDF9;
  font-family: var(--font-mono); font-size: var(--fs-sm);
  filter: drop-shadow(0 30px 40px rgba(31, 31, 31, 0.2));
  /* zig-zag top & bottom */
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x;
}
.receipt__head { display: grid; justify-items: center; gap: 4px; text-align: center; padding-bottom: 16px; border-bottom: 2px dashed var(--line-strong); }
.receipt__head strong { font-size: 1.3rem; letter-spacing: 0.3em; }
.receipt__head span { font-size: var(--fs-xs); color: var(--grey); }
.receipt__items { padding: 14px 0; display: grid; gap: 10px; border-bottom: 2px dashed var(--line-strong); }
.receipt__items li { display: flex; gap: 10px; align-items: baseline; }
.receipt__items li span { flex: 1; }
.receipt__items b { color: var(--green); }
.receipt__total { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 0; }
.receipt__total span { font-weight: 500; text-transform: uppercase; }
.receipt__total b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; text-align: right; letter-spacing: -0.03em; color: var(--orange); }
.receipt__barcode { height: 52px; margin: 6px 0 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px, var(--ink) 9px 12px, transparent 12px 14px); }
.receipt__thanks { text-align: center; font-size: var(--fs-xs); color: var(--grey); }

/* ---------- 22. CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 12vw, 160px);
  background: var(--orange); color: var(--ink);
}
.cta__inner { position: relative; display: grid; }
.cta__mark {
  position: absolute; right: -6%; top: 50%; translate: 0 -50%;
  width: clamp(280px, 44vw, 640px); height: auto;
  opacity: 0.18;
  pointer-events: none;
}
.cta__copy { position: relative; max-width: 900px; }
.cta .display-1 { color: var(--ink); }
.cta__sub { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); color: var(--white); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- 23. Footer ---------- */
.footer {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(60px, 8vw, 100px);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.footer::before {
  /* scalloped tablecloth edge */
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 24px;
  background: radial-gradient(circle at 18px 0, var(--white) 17px, transparent 18px) 0 0 / 36px 24px repeat-x;
}
.footer__top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); }
.footer__brand p { margin: 16px 0 22px; color: rgba(255, 255, 255, 0.65); max-width: 34ch; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px 14px 14px 4px; border: 1px solid var(--line-light); transition: all var(--t-fast); }
.socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__cols h3 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a,
.footer__cols button { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm); text-align: left; transition: color var(--t-fast); }
.footer__cols a:hover,
.footer__cols button:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.footer__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 26vw, 24rem); line-height: 0.75; letter-spacing: -0.07em;
  margin: clamp(40px, 6vw, 80px) 0 0 -0.04em;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 28px; border-top: 1px solid var(--line-light); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); }

/* ---------- 24. Modals & toast ---------- */
.modal {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  padding: 28px;
  border: 0; border-radius: 28px;
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.modal[open] { animation: modal-in 0.4s var(--ease-spring); }
.modal::backdrop { background: rgba(20, 20, 20, 0.55); backdrop-filter: blur(4px); }
.modal__close-form { position: absolute; right: 16px; top: 16px; z-index: 3; }
.modal__title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; padding-right: 48px; }
.modal__text { color: var(--grey); margin: 8px 0 20px; }
.modal__text p + p { margin-top: 10px; }
.modal__fine { font-size: var(--fs-xs); color: var(--slate); margin-top: 14px; }
.modal--rest { padding-top: 28px; width: min(620px, calc(100vw - 24px)); }
.modal--rest .modal__close { background: var(--white); }
.login-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-choice__opt {
  display: grid; justify-items: start; gap: 4px; text-align: left;
  padding: 18px; border-radius: 20px 20px 20px 6px;
  border: 2px solid var(--line); transition: all var(--t-fast);
}
.login-choice__opt:hover { border-color: var(--orange); transform: translateY(-2px); }
.login-choice__opt span:last-child { font-size: var(--fs-xs); color: var(--grey); }
.login-choice__icon { display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--orange); color: var(--white); margin-bottom: 6px; }
.login-choice__opt--owner .login-choice__icon { background: var(--ink); }
.access-form { display: grid; gap: 14px; }
.access-done { display: grid; justify-items: center; gap: 12px; padding: 20px 0; text-align: center; font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  translate: -50% 0;
  padding: 12px 18px; border-radius: 14px 14px 14px 4px;
  background: var(--ink); color: var(--white); font-size: var(--fs-sm); font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-spring);
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translateY(0); }
