/* nomesh.cloud — the public pages, on the app's own design system (crates/client/assets/main.css): the same
   token names and values (Pulse Milk by day, Pulse Black at night), the paper kit (ruled sheet, pink margin line,
   grain, stacked edge, tape), Cormorant Garamond for what's written by hand, Plus Jakarta Sans for the rest,
   Material Symbols, mode cards, chips and step dots. Motion is calm, and none for people who ask for less. */
:root {
  --primary: #b3006d;
  --on-primary: #fbfaf6;
  --background: #efede7;
  --surface-container-lowest: #fbfaf6;
  --surface-container-low: color-mix(in srgb, #efede7 6%, #fbfaf6);
  --surface-container: color-mix(in srgb, #efede7 12%, #fbfaf6);
  --surface-container-high: color-mix(in srgb, #efede7 18%, #fbfaf6);
  --primary-fixed: color-mix(in srgb, var(--primary) 15%, var(--surface-container-lowest));
  --on-surface: #111111;
  --on-surface-variant: color-mix(in srgb, #111111 78%, #fbfaf6);
  --outline-variant: color-mix(in srgb, #111111 22%, #fbfaf6);
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.13);
  --success: #146c2e;
  --warn: #8a5a11;
  --info: #1d5fb8;
  --veg: #146c2e;
  --nonveg: #8f2d12;
  --shadow-primary: 0 10px 24px -12px color-mix(in srgb, var(--primary) 70%, transparent);
  --r-md: 12px;
  --r-lg: 16px;
  --spring: cubic-bezier(0.2, 0.9, 0.3, 1.1);
  --font-hand: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pp-paper: var(--surface-container-lowest);
  --pp-rule: color-mix(in srgb, var(--on-surface) 7%, transparent);
  --pp-margin: color-mix(in srgb, #e11d48 20%, transparent);
  --pp-pitch: 32px;
  --pp-gutter: 46px;
  --pp-edge: color-mix(in srgb, var(--pp-paper) 70%, #d9d9e3);
  --pp-lift: 0 22px 44px -30px rgba(31, 38, 135, 0.4);
  --pp-tape: color-mix(in srgb, #fde68a 70%, transparent);
  --pp-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .24 0 0 0 .19 -.055'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ff7cb8;
    --on-primary: #000000;
    --background: #000000;
    --surface-container-lowest: #111111;
    --surface-container-low: color-mix(in srgb, #fbfaf6 6%, #111111);
    --surface-container: color-mix(in srgb, #fbfaf6 12%, #111111);
    --surface-container-high: color-mix(in srgb, #fbfaf6 18%, #111111);
    --on-surface: #fbfaf6;
    --on-surface-variant: color-mix(in srgb, #fbfaf6 78%, #111111);
    --outline-variant: color-mix(in srgb, #fbfaf6 22%, #111111);
    --hairline: rgba(255, 255, 255, 0.10);
    --hairline-strong: rgba(255, 255, 255, 0.16);
    --success: #81c995; --warn: #f2c85b; --info: #9cc3ff; --veg: #81c995; --nonveg: #ffb59c;
    --pp-rule: color-mix(in srgb, var(--primary) 12%, transparent);
    --pp-margin: color-mix(in srgb, #fb7185 26%, transparent);
    --pp-edge: var(--surface-container-high);
    --pp-lift: 0 24px 48px -30px rgba(0, 0, 0, 0.85);
    --pp-tape: color-mix(in srgb, #fcd34d 30%, transparent);
    --pp-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .9 0 0 0 0 1 0 0 0 .11 -.035'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
@media (max-width: 600px) { :root { --pp-gutter: 26px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--background); color: var(--on-surface); font: 400 17px/1.6 var(--font-sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
h1, h2 { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; line-height: 1.02; margin: 0 0 16px; }
h1 { font-size: clamp(46px, 7.2vw, 84px); }
h2 { font-size: clamp(38px, 5vw, 58px); }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 12px; }
small { font-size: 13px; color: var(--on-surface-variant); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--on-surface); color: var(--background); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.kicker, .section-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.section-label { color: var(--on-surface-variant); font-size: 12px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-surface-variant); margin: 0; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--on-surface-variant); max-width: 36em; }
.hint { color: var(--on-surface-variant); font-size: 15px; }
.small { font-size: 13px; }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; display: inline-block; }

/* Buttons and chips, as the app's. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font: 700 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--spring), background-color 0.15s ease; -webkit-tap-highlight-color: transparent; }
.btn .ms { font-size: 20px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: scale(0.96); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-outline { background: transparent; color: var(--on-surface); box-shadow: inset 0 0 0 1.5px var(--outline-variant); }
.btn-ghost { background: transparent; color: var(--on-surface); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--surface-container-high); color: var(--on-surface); font: 600 14px/1 var(--font-sans); cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--spring), background-color 0.15s ease; }
.chip:active { transform: scale(0.95); }
.chip[aria-pressed="true"], .chip.selected { background: var(--primary); color: var(--on-primary); }
input { font: inherit; font-size: 16px; color: var(--on-surface); background: var(--surface-container-lowest); border: 1.5px solid var(--outline-variant); border-radius: 14px; min-height: 52px; padding: 0 16px; width: 100%; }
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }

/* The paper sheet: the app's ruled card with its margin line, grain and edge. */
.sheet {
  position: relative;
  border-radius: 6px 20px 20px 6px;
  background-color: var(--pp-paper);
  background-image:
    linear-gradient(90deg, transparent var(--pp-gutter), var(--pp-margin) var(--pp-gutter), var(--pp-margin) calc(var(--pp-gutter) + 2px), transparent calc(var(--pp-gutter) + 2px)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--pp-pitch) - 1px), var(--pp-rule) calc(var(--pp-pitch) - 1px) var(--pp-pitch)),
    var(--pp-grain);
  background-size: auto, auto, 220px 220px;
  background-position: 0 0, 0 14px, 0 0;
  box-shadow: 0 0 0 1px var(--hairline), -5px 0 0 -2px var(--pp-edge), var(--pp-lift);
  padding: 22px 22px 22px calc(var(--pp-gutter) + 16px);
}
.sheet.taped::after { content: ""; position: absolute; z-index: 2; top: -10px; left: 50%; width: 96px; height: 22px; margin-left: -48px; background: var(--pp-tape); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); pointer-events: none; }

/* Calm reveals (only when the script runs). */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.7s var(--spring); }
.js .reveal.in { opacity: 1; transform: none; }

/* The phone: a device frame for real screens (the mockups). */
.device { position: relative; width: min(300px, 78vw); aspect-ratio: 390 / 800; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2a2a2e, #0c0c0e); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 40px 70px -35px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.device::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #0c0c0e; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; padding-top: 44px; background: var(--surface-container-lowest); }
.device.tilt { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.08s linear; will-change: transform; }

/* The top bar. */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--background) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.top.scrolled { border-bottom-color: var(--hairline-strong); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-surface); text-decoration: none; font: 800 22px/1 var(--font-sans); letter-spacing: -0.02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--on-surface-variant); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 0; }
.nav a:hover { color: var(--on-surface); }
@media (max-width: 860px) { .nav { display: none; } .top-row .btn { margin-left: auto; } }

/* 1. The opening. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: 48px 0 72px; }
.hero h1 { max-width: 10.5em; }
.pin { display: flex; gap: 10px; max-width: 520px; margin: 26px 0 14px; }
.pin input { flex: 1; }
.arrow { display: inline-block; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; } .arrow { transform: rotate(90deg); animation: none; } }
@media (max-width: 480px) { .pin { flex-direction: column; } .pin .btn { width: 100%; } }
/* Dishes floating behind the opening, each at its own depth (parallax). */
.float { position: absolute; z-index: -1; width: 120px; aspect-ratio: 1; border-radius: 999px; object-fit: cover; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45); opacity: 0.9; will-change: transform; }
@media (max-width: 960px) { .float { width: 76px; opacity: 0.55; } }

/* The plan maker. */
.builder { display: flex; flex-direction: column; gap: 14px; max-width: 520px; width: 100%; justify-self: end; }
@media (max-width: 960px) { .builder { justify-self: stretch; max-width: none; } }
.b-head .section-label { margin: 0 0 2px; }
.b-title { font-size: 38px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.step::before { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--outline-variant); margin-bottom: 8px; transition: background-color 0.3s ease; }
.step.on::before, .step.done::before { background: var(--primary); }
.step button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 52px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.step-dot { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-container); box-shadow: 0 0 0 1px var(--hairline); transition: background-color 0.25s ease, transform 0.3s var(--spring); }
.step-dot .ms { font-size: 17px; color: var(--on-surface-variant); }
.step.on .step-dot { background: var(--primary); transform: scale(1.08); }
.step.on .step-dot .ms { color: var(--on-primary); }
.step.done .step-dot { background: var(--primary-fixed); }
.step.done .step-dot .ms { color: var(--primary); }
.step-name { font-size: 12px; font-weight: 650; color: var(--on-surface-variant); }
.step.on .step-name { color: var(--on-surface); }
.b-q { font: 700 26px/1.2 var(--font-hand); margin: 4px 0 8px; }
.b-phase { animation: phase-in 0.35s var(--spring); min-height: 252px; }
@keyframes phase-in { from { opacity: 0; transform: translateX(12px); } }
.options { display: grid; gap: 10px; }
.mode-card { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 10px 14px; border: 0; border-radius: var(--r-lg); background: var(--surface-container-lowest); box-shadow: inset 0 0 0 1px var(--outline-variant); color: var(--on-surface); font: inherit; text-align: left; cursor: pointer; transition: transform 0.2s var(--spring), background-color 0.15s ease, box-shadow 0.15s ease; }
.mode-card:active { transform: scale(0.98); }
.mode-card .ms { color: var(--on-surface-variant); }
.mode-card.selected { background: var(--primary-fixed); box-shadow: inset 0 0 0 2px var(--primary); }
.mode-card.selected .ms { color: var(--primary); font-variation-settings: "FILL" 1; }
.opt-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.opt-text b { font-size: 16px; }
.opt-price, .opt-days { font-weight: 800; font-size: 18px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt-price small, .opt-days small { display: block; font-weight: 500; font-size: 12px; }
.mode-card.selected .opt-price, .mode-card.selected .opt-days { color: var(--primary); }
.addons { display: flex; flex-direction: column; border-top: 1px solid var(--outline-variant); max-height: 300px; overflow: auto; overscroll-behavior: contain; }
.addon { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "icon text check" "icon price check"; column-gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--outline-variant); background: transparent; color: var(--on-surface); font: inherit; text-align: left; cursor: pointer; }
.addon > .ms:first-child { grid-area: icon; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-container-low); color: var(--on-surface-variant); font-size: 20px; }
.addon .a-name { grid-area: text; font-weight: 650; }
.addon .a-price { grid-area: price; font-size: 14px; font-weight: 700; }
.addon .a-check { grid-area: check; color: var(--outline-variant); font-size: 26px; }
.addon[aria-checked="true"] > .ms:first-child { background: var(--primary-fixed); color: var(--primary); }
.addon[aria-checked="true"] .a-price { color: var(--primary); }
.addon[aria-checked="true"] .a-check { color: var(--primary); font-variation-settings: "FILL" 1; }
.fare-for { font-weight: 650; margin-bottom: 6px; }
.fare-lines { border-top: 1px dashed var(--outline-variant); }
.fare-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 55%, transparent); animation: phase-in 0.3s var(--spring) both; }
.fare-line span:first-child { display: flex; flex-direction: column; }
.fare-line b { font-weight: 650; }
.fare-line .amt { font-weight: 650; font-variant-numeric: tabular-nums; }
.fare-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 2px solid var(--on-surface); font-weight: 700; margin-top: -1px; }
.fare-sum { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.b-bar { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-radius: 20px; background: var(--surface-container-lowest); box-shadow: 0 0 0 1px var(--hairline-strong), 0 12px 30px -20px rgba(0, 0, 0, 0.35); }
.b-sofar { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.b-sum { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.b-note { margin: 0; }

/* 2. The journey, in phases. */
.journey { padding: 72px 0 40px; }
.j-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; margin-top: 28px; }
.j-rail { position: sticky; top: 96px; align-self: start; }
.j-rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--outline-variant); }
.j-rail a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-left: 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--on-surface-variant); text-decoration: none; font-weight: 650; transition: color 0.2s ease, border-color 0.2s ease; }
.j-rail a.on { color: var(--on-surface); border-left-color: var(--primary); }
.j-n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; background: var(--surface-container); transition: background-color 0.2s ease, color 0.2s ease; flex: none; }
.j-rail a.on .j-n { background: var(--primary); color: var(--on-primary); }
.j-rail a.done .j-n { background: var(--primary-fixed); color: var(--primary); }
.j-phases { display: flex; flex-direction: column; gap: 28px; }
.phase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 36px; align-items: center; min-height: 72vh; padding: 24px 0; }
.phase h3 { font: 700 40px/1.05 var(--font-hand); margin-bottom: 14px; }
.phase-text p { color: var(--on-surface-variant); }
.phase-text .section-label { color: var(--primary); }
.phase .device { justify-self: center; }
@media (max-width: 900px) {
  .j-grid { grid-template-columns: 1fr; gap: 12px; }
  .j-rail { top: 68px; z-index: 5; background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: 0 -16px; padding: 6px 16px; }
  .j-rail ol { display: flex; border-left: 0; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .j-rail ol::-webkit-scrollbar { display: none; }
  .j-rail a { padding: 0 12px 0 0; margin: 0; border-left: 0; white-space: nowrap; min-height: 44px; }
  .phase { grid-template-columns: 1fr; min-height: 0; gap: 22px; padding: 28px 0; }
  .phase h3 { font-size: 34px; }
}

/* The working parts of each phase. */
.ticket { display: flex; flex-direction: column; gap: 14px; }
.ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 6px 0 0 6px; background: var(--tone, var(--info)); transition: background-color 0.3s ease; }
.t-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.t-dish { font-size: 21px; font-weight: 700; margin: 2px 0; line-height: 1.25; }
.t-count { font-size: 44px; font-weight: 800; line-height: 1; text-align: right; margin: 0; }
.t-count small { display: block; font-size: 12px; font-weight: 600; margin-top: 4px; }
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--on-surface-variant); }
.track li { display: flex; flex-direction: column; gap: 6px; }
.track .dot { height: 6px; border-radius: 3px; background: var(--outline-variant); transition: background-color 0.3s ease; }
.track li.done .dot { background: color-mix(in srgb, var(--tone, var(--info)) 45%, var(--outline-variant)); }
.track li.on .dot { background: var(--tone, var(--info)); }
.track li.on { color: var(--on-surface); font-weight: 750; }
.bump { justify-content: flex-start; min-height: 60px; border-radius: 16px; width: 100%; padding: 0 18px; gap: 12px; text-align: left; }
.bump-text { display: flex; flex-direction: column; line-height: 1.15; }
.bump-text b { font-size: 17px; }
.bump-text small { color: inherit; opacity: 0.85; }
.pack { display: flex; flex-direction: column; gap: 10px; }
.bar { height: 10px; border-radius: 5px; background: var(--surface-container-high); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--success); border-radius: 5px; transition: width 0.5s var(--spring); }
.pack-list { list-style: none; margin: 0; padding: 0; }
.pack-list li { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--outline-variant); transition: opacity 0.3s ease; }
.pack-list li.packed { opacity: 0.55; }
.pack-list .grow { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.type { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.type.veg { background: color-mix(in srgb, var(--veg) 14%, var(--surface-container-lowest)); color: var(--veg); }
.type.nonveg { background: color-mix(in srgb, var(--nonveg) 14%, var(--surface-container-lowest)); color: var(--nonveg); }
.pack-list .chip.done { background: var(--success); color: var(--surface-container-lowest); }
.stops { list-style: none; margin: 0; padding: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: var(--outline-variant); }
.stops li { position: relative; display: flex; gap: 14px; align-items: center; min-height: 72px; }
.stops li > .ms { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-container); color: var(--on-surface-variant); font-size: 20px; flex: none; }
.stops li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.stops li.done > .ms { background: color-mix(in srgb, var(--success) 18%, var(--surface-container-lowest)); color: var(--success); }
.stops li.on > .ms { background: var(--primary); color: var(--on-primary); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 18%, transparent); } }
.faces { display: flex; gap: 8px; margin: 14px 0 10px; flex-wrap: wrap; }
.faces button { width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--surface-container); font-size: 26px; cursor: pointer; transition: transform 0.25s var(--spring), background-color 0.15s ease; }
.faces button:hover { transform: translateY(-2px); }
.faces button[aria-checked="true"] { background: var(--primary-fixed); box-shadow: inset 0 0 0 2px var(--primary); transform: scale(1.12); }

/* 3. Every mess: live ones first, then the world's samples. */
.find { padding: 72px 0; }
.status { color: var(--on-surface-variant); font-size: 15px; min-height: 1.6em; }
.status.bad { color: var(--warn); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; margin: 6px 0 4px; overscroll-behavior-x: contain; }
.filters::-webkit-scrollbar { display: none; }
.messes { display: grid; gap: 22px; margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.mess { position: relative; background-color: var(--pp-paper); background-image: var(--pp-grain); background-size: 220px 220px; border-radius: 6px 20px 20px 6px; box-shadow: 0 0 0 1px var(--hairline), -5px 0 0 -2px var(--pp-edge), var(--pp-lift); overflow: hidden; display: flex; flex-direction: column; animation: rise 0.5s var(--spring) both; transition: transform 0.3s var(--spring), box-shadow 0.2s ease; color: inherit; text-decoration: none; }
.mess:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--hairline-strong), -5px 0 0 -2px var(--pp-edge), 0 30px 50px -30px rgba(0, 0, 0, 0.45); }
.mess-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-fixed); }
.mess-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--spring); }
.mess:hover .mess-cover img { transform: scale(1.04); }
.mess-cover .dish-none { width: 100%; height: 100%; display: grid; place-items: center; font-size: 56px; }
.badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; background: color-mix(in srgb, var(--surface-container-lowest) 90%, transparent); color: var(--on-surface); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge.live { background: var(--primary); color: var(--on-primary); }
.badge .ms { font-size: 15px; }
.mess-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mess-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mess-name { font: 700 28px/1.05 var(--font-hand); margin: 0; }
.mess-rate { white-space: nowrap; font-weight: 800; margin: 0; }
.mess-rate small { font-weight: 500; }
.mess-area { color: var(--on-surface-variant); font-size: 14px; margin: 0; }
.mess-about { margin: 6px 0 8px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mess-tradition { font-size: 13px; color: var(--on-surface-variant); margin: 0 0 10px; }
.mess-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.skeleton { min-height: 340px; background: linear-gradient(100deg, var(--surface-container-lowest) 40%, var(--surface-container-high) 50%, var(--surface-container-lowest) 60%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.ask { margin-top: 36px; max-width: 680px; }
.ask-form { display: grid; gap: 14px; }
.ask-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.ask-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ask-form legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.choice { display: flex !important; align-items: center; gap: 10px !important; font-weight: 500 !important; min-height: 44px; }
.choice input { width: 22px; height: 22px; min-height: 0; accent-color: var(--primary); flex: none; }
.ask-form .btn { justify-self: start; }

/* 4. For messes. */
.band { background: color-mix(in srgb, var(--surface-container-lowest) 70%, var(--background)); border-block: 1px solid var(--hairline); padding: 80px 0; }
.narrow.lede { margin-bottom: 32px; }
.wide-shot { margin: 8px 0 12px; }
.wide-shot img { border-radius: 20px; box-shadow: 0 0 0 1px var(--hairline-strong), var(--pp-lift); }
figcaption { color: var(--on-surface-variant); font-size: 14px; margin-top: 16px; text-align: center; }
.features { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0 40px; border-top: 1px solid var(--outline-variant); }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features li { border-bottom: 1px solid var(--outline-variant); padding: 22px 0; }
.features .ms { color: var(--primary); font-size: 28px; margin-bottom: 8px; }
.features p { color: var(--on-surface-variant); margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 12px; }

/* 5. Promises. */
.promises { display: grid; gap: 0 40px; padding: 72px 0; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promise { border-top: 2px solid var(--on-surface); padding: 18px 0 24px; }
.promise .ms { color: var(--primary); font-size: 26px; }
.promise h3 { font: 700 28px/1.1 var(--font-hand); margin-top: 8px; }
.promise p { color: var(--on-surface-variant); }

/* 6. Questions. */
.faq { padding-top: 6px; padding-bottom: 6px; margin-top: 24px; }
details + details { border-top: 1px solid var(--outline-variant); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; font-weight: 700; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 32px/1 var(--font-hand); color: var(--primary); transition: transform 0.25s var(--spring); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--on-surface-variant); padding-bottom: 16px; max-width: 40em; }

/* The foot. */
.foot { padding: 48px 0 40px; border-top: 1px solid var(--hairline-strong); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { color: var(--on-surface-variant); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--on-surface); }

/* A mess's own preview page (mess.html, at <name>.nomesh.cloud). */
.mp-gap { margin-top: 32px; }
.mp-facts { min-width: min(360px, 100%); }
.lost { padding: 18vh 0 10vh; }
.mp-hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: end; overflow: hidden; color: #fbfaf6; }
.mp-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: #000; }
.mp-mosaic img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; will-change: transform; transform: scale(1.06); }
@media (max-width: 700px) { .mp-mosaic { grid-template-columns: 1fr; } .mp-mosaic img:not(:first-child) { display: none; } }
.mp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%); }
.mp-hero .wrap { position: relative; z-index: 1; padding: 0 0 48px; }
.mp-hero h1 { color: #fbfaf6; margin-bottom: 8px; }
.mp-hero .lede { color: rgba(251, 250, 246, 0.88); }
.mp-hero .badge { position: static; margin-bottom: 14px; }
.mp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mp-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 250, 246, 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 650; }
.mp-meta .ms { font-size: 18px; }
@media (max-width: 600px) { .mp-meta { gap: 6px; } .mp-meta > span { padding: 6px 11px; font-size: 13px; } }
.mp-section { padding: 64px 0; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: start; }
@media (max-width: 900px) { .mp-grid { grid-template-columns: 1fr; } }
.dishes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dish { border-radius: 6px 18px 18px 6px; overflow: hidden; background-color: var(--pp-paper); background-image: var(--pp-grain); background-size: 220px 220px; box-shadow: 0 0 0 1px var(--hairline), -4px 0 0 -2px var(--pp-edge), var(--pp-lift); display: flex; flex-direction: column; }
.dish-photo { position: relative; aspect-ratio: 4 / 3; background: var(--primary-fixed); overflow: hidden; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-photo .dish-none { height: 100%; display: grid; place-items: center; font-size: 54px; }
.vegmark { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--veg); background: #fff; display: grid; place-items: center; }
.vegmark::after { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--veg); }
.vegmark.nonveg { border-color: var(--nonveg); }
.vegmark.nonveg::after { background: var(--nonveg); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dish-name { font-weight: 750; line-height: 1.3; margin: 0; }
.dish-region { font-size: 13px; color: var(--primary); font-weight: 650; margin: 0; }
.dish-about { font-size: 14px; color: var(--on-surface-variant); margin: 0; }
.dish-story { margin-top: 8px; font-size: 14px; }
.dish-story summary { min-height: 40px; font-size: 14px; padding: 6px 0; }
.dish-story summary::after { font-size: 24px; }
.dish-story p { font-size: 14px; padding-bottom: 6px; }
.credit { font-size: 11px; color: var(--on-surface-variant); margin-top: auto; padding-top: 8px; opacity: 0.85; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--outline-variant); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--outline-variant); }
.facts li span:first-child { color: var(--on-surface-variant); }
.facts li span:last-child { font-weight: 700; text-align: right; }
.sources { font-size: 13px; color: var(--on-surface-variant); }
.sources a { word-break: break-all; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--warn) 10%, var(--surface-container-lowest)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 30%, transparent); font-size: 15px; }
.notice .ms { color: var(--warn); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .device.tilt, .float, .mp-mosaic img { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
