/* Mr.Flow design system: warm cream canvas, deep ink, tomato accent, saffron highlights. */
:root {
  --bg: #f6f4f0;
  --bg-deep: #ece9e3;
  --surface: #ffffff;
  --surface-2: #efece7;
  --ink: #121212;
  --ink-2: #2f2f2f;
  --muted: #6c6c6c;
  --line: #e4e0da;
  --line-strong: #d0cbc3;
  --brand: #f4620c;
  --brand-hover: #dc5205;
  --brand-soft: #fde9da;
  --saffron: #ff9a33;
  --saffron-soft: #fff0e0;
  --plum: #151515;
  --ok: #2e8a57;
  --ok-soft: #e2f3e8;
  --warn: #b7791f;
  --warn-soft: #fdf0d8;
  --danger: #c9302c;
  --danger-soft: #fbe3e1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .06), 0 2px 8px rgba(20, 20, 20, .05);
  --shadow: 0 2px 6px rgba(20, 20, 20, .06), 0 18px 40px -12px rgba(20, 20, 20, .18);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .3);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --footer-bg: #121212;
  --m1: 92%;
  --m2: 84%;
  --mfg: 34%;
  --mdot: 80%;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* Dark mode: follows the device unless the visitor picked a theme with the toggle. */
:root[data-theme="dark"] {
  --bg: #0e0e0e;
  --bg-deep: #090909;
  --surface: #171717;
  --surface-2: #212121;
  --ink: #f4f2ee;
  --ink-2: #d4d1cc;
  --muted: #9b9b9b;
  --line: #2a2a2a;
  --line-strong: #3c3c3c;
  --brand: #ff6d16;
  --brand-hover: #ff8533;
  --brand-soft: rgba(255, 109, 22, .16);
  --saffron: #ffa040;
  --saffron-soft: rgba(255, 160, 64, .14);
  --plum: #1b1b1b;
  --ok: #4cc17f;
  --ok-soft: rgba(76, 193, 127, .15);
  --warn: #f0b450;
  --warn-soft: rgba(240, 180, 80, .15);
  --danger: #ff6b63;
  --danger-soft: rgba(255, 107, 99, .15);
  --footer-bg: #070707;
  --m1: 22%;
  --m2: 16%;
  --mfg: 80%;
  --mdot: 32%;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .75);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0e0e;
    --bg-deep: #090909;
    --surface: #171717;
    --surface-2: #212121;
    --ink: #f4f2ee;
    --ink-2: #d4d1cc;
    --muted: #9b9b9b;
    --line: #2a2a2a;
    --line-strong: #3c3c3c;
    --brand: #ff6d16;
    --brand-hover: #ff8533;
    --brand-soft: rgba(255, 109, 22, .16);
    --saffron: #ffa040;
    --saffron-soft: rgba(255, 160, 64, .14);
    --plum: #1b1b1b;
    --ok: #4cc17f;
    --ok-soft: rgba(76, 193, 127, .15);
    --warn: #f0b450;
    --warn-soft: rgba(240, 180, 80, .15);
    --danger: #ff6b63;
    --danger-soft: rgba(255, 107, 99, .15);
    --footer-bg: #070707;
    --m1: 22%;
    --m2: 16%;
    --mfg: 80%;
    --mdot: 32%;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .75);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f2ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5rem; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 8px; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: 40px; padding-bottom: 40px; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.hide, [hidden] { display: none !important; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.i-lg { width: 1.6em; height: 1.6em; }
.star { color: var(--saffron); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.topbar.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar.tucked { transform: translateY(-100%); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 6px; --logo-ink: var(--ink); --logo-fork: var(--bg); --logo-bg: var(--bg); }
.logo-mark { width: 50px; height: 46px; flex: none; transition: transform .45s var(--spring); }
.logo:hover .logo-mark { transform: translateX(3px) rotate(-4deg); }
.wm { font-family: "Montserrat", var(--display); font-weight: 900; font-style: italic; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wm-mr { color: var(--logo-ink); }
.wm-flow { background: linear-gradient(90deg, #ff8a1f, #f2550a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .08em; }
/* The O is its own box (it carries the wave), and mobile browsers don't paint the parent's
   clipped gradient into it, so it gets its own. */
.wm-o { position: relative; display: inline-block; background: linear-gradient(90deg, #fa7417, #f5650f); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.wm-o::after { content: ""; position: absolute; left: 12%; right: 6%; top: 40%; height: .24em; background: var(--logo-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M1 6C7 1 13 1 20 5s13 4 19-1' stroke='black' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M1 6C7 1 13 1 20 5s13 4 19-1' stroke='black' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.topbar .logo { --logo-bg: var(--bg); }
footer.site .logo { --logo-ink: #fff; --logo-fork: var(--footer-bg); --logo-bg: var(--footer-bg); }
.phone-head .logo { --logo-bg: var(--surface); }
.phone-head .logo-mark { width: 30px; height: 28px; }
.phone-head .wm { font-size: .9rem; }
.sim-head .logo { --logo-ink: #fff; --logo-fork: #1f2c34; --logo-bg: #1f2c34; }
.tagline { font-family: "Montserrat", var(--font); font-weight: 600; letter-spacing: .14em; font-size: .8rem; margin-top: 8px; }
@media (max-width: 420px) { .topbar .wm { font-size: 1.2rem; } .topbar .logo-mark { width: 40px; height: 37px; } }
/* Very small phones: the F mark alone, and tighter header buttons, so nothing spills off-screen. */
@media (max-width: 360px) {
  .topbar .wrap { gap: 6px; padding-left: 14px; padding-right: 14px; }
  .topbar .wm { display: none; }
  .nav a, .nav .navbtn { padding: 8px 7px; }
  .cart-btn { padding: 8px 11px !important; gap: 6px; }
}

/* Services: same name, different flows */
.flows { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.flow { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--spring), box-shadow .3s; }
.flow:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); margin-bottom: 8px; }
.flow b { font-family: var(--display); font-size: 1.25rem; }
.flow small { color: var(--muted); font-weight: 600; }
.flow.live { background: linear-gradient(135deg, #ff8a1f, #f2550a); border-color: transparent; color: #fff; }
.flow.live .ic { background: rgba(255, 255, 255, .2); color: #fff; }
.flow.live small { color: rgba(255, 255, 255, .9); }
.flow.live .go { position: absolute; right: 18px; top: 20px; transition: transform .3s var(--spring); }
.flow.live:hover .go { transform: translateX(4px); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a, .nav .navbtn { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .navbtn:hover, .nav a.active { background: var(--surface-2); color: var(--ink); }
.cart-btn { position: relative; background: var(--ink) !important; color: var(--bg) !important; padding: 10px 16px !important; }
.cart-btn:hover { background: var(--ink-2) !important; }
.cart-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: inline-grid; place-items: center; }
.cart-badge[data-count="0"] { background: rgba(255, 255, 255, .18); }
.hide-sm { display: inline-flex; }
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .nav a, .nav .navbtn { padding: 9px 10px; }
  .cart-label { display: none; }
}
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--saffron), var(--brand)); z-index: 100; transition: width .4s var(--ease), opacity .3s; pointer-events: none; }

/* Theme toggle */
.theme-btn .i { transition: transform .5s var(--spring); }
.theme-btn:hover .i { transform: rotate(-25deg) scale(1.1); }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: inline-block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: inline-block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
html.theming::view-transition-old(root), html.theming::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theming::view-transition-new(root) { z-index: 9999; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; cursor: pointer; transition: transform .25s var(--spring), background .2s, border-color .2s, box-shadow .25s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, #ff8a1f, #f2550a); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(244, 98, 12, .7); }
.btn-primary:hover { background: linear-gradient(135deg, #ff7a0f, #dc4a05); border-color: var(--brand-hover); box-shadow: 0 14px 30px -10px rgba(244, 98, 12, .8); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-outline { background: transparent; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: ripple .6s var(--ease); pointer-events: none; }
.btn:not(.btn-primary):not(.btn-dark):not(.btn-ok) .ripple { background: rgba(29, 22, 18, .12); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--spring), background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.9); }

/* ---------- Chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; transition: all .2s; white-space: nowrap; }
.chip:hover { border-color: var(--ink-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.badge-muted { background: var(--surface-2); color: var(--muted); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-brand { background: var(--brand-soft); color: var(--brand); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 1.8s var(--ease) infinite; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card-flat { box-shadow: none; }

.media { position: relative; overflow: hidden; display: grid; place-items: center; color: hsl(var(--h, 20) 55% var(--mfg));
  background:
    radial-gradient(hsl(var(--h, 20) 60% var(--mdot) / .5) 1.2px, transparent 1.4px) 0 0 / 16px 16px,
    linear-gradient(135deg, hsl(var(--h, 20) 80% var(--m1)), hsl(calc(var(--h, 20) + 18) 75% var(--m2))); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .food { width: 46%; max-width: 120px; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 10px hsl(var(--h, 20) 60% 40% / .18)); transition: transform .6s var(--spring); }

.rcard { display: block; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--spring), box-shadow .35s var(--ease); position: relative; isolation: isolate; }
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rcard .media { aspect-ratio: 16 / 10; }
.rcard .media img { transition: transform .8s var(--ease); }
.rcard:hover .media img { transform: scale(1.06); }
.rcard:hover .media .food { transform: rotate(-8deg) scale(1.08); }
.rcard .status { position: absolute; top: 14px; left: 14px; z-index: 2; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); }
.rcard .body { padding: 16px 18px 18px; }
.rcard h3 { margin: 0 0 2px; font-size: 1.2rem; }
.rcard .meta { display: flex; gap: 14px; margin-top: 10px; font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.rcard .meta span { display: inline-flex; align-items: center; gap: 5px; }
.rcard.closed .media { filter: grayscale(.8); opacity: .75; }
.spotlight::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 51, .16), transparent 45%); }
.spotlight:hover::before { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--saffron) 32%, transparent), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; grid-template-columns: 1.15fr .85fr; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .word > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
.hero h1 .accent { color: var(--brand); position: relative; }
.underline { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; stroke: var(--saffron); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s .9s var(--ease) forwards; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--brand); }

.area-pick { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 520px; box-shadow: var(--shadow); margin-top: 6px; }
.area-pick .i { color: var(--brand); }
.area-pick select { border: 0; background: transparent; padding: 10px 4px; font-weight: 600; flex: 1; min-width: 0; outline: none; box-shadow: none; }
.area-pick select:focus { outline: none; }

.stage { position: relative; height: 600px; display: grid; place-items: center; }
@media (max-width: 920px) { .stage { height: 560px; } }
.phone { position: relative; width: 300px; height: 580px; border-radius: 46px; background: #151515; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06); transform: rotate(-3deg); animation: float 7s ease-in-out infinite; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.phone-head b { font-size: .92rem; display: block; line-height: 1.1; }
.phone-head span { font-size: .72rem; color: var(--ok); font-weight: 600; }
.phone-body { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: .82rem; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); animation: pop .45s var(--spring) both; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 5px; }
.msg .opt { display: block; margin-top: 7px; padding: 7px; border-radius: 10px; text-align: center; font-weight: 700; color: var(--brand); background: var(--brand-soft); font-size: .78rem; }
.msg .mini { display: flex; gap: 8px; align-items: center; margin-top: 6px; padding: 6px; border-radius: 10px; background: var(--surface-2); }
.msg .mini .media { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.msg .mini .food { width: 70%; }
.typing { align-self: flex-start; background: var(--surface); border-radius: 16px; padding: 11px 14px; display: flex; gap: 4px; animation: pop .3s var(--spring) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.sticker { position: absolute; z-index: 3; background: var(--surface); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; transition: transform .2s linear; }
.sticker .bubble-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.sticker small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.sticker.s1 { left: 0; top: 18%; animation: float 6s ease-in-out infinite; }
.sticker.s2 { right: -10px; top: 46%; animation: float 7s ease-in-out .8s infinite; }
.sticker.s3 { left: 6%; bottom: 10%; animation: float 8s ease-in-out .4s infinite; }
@media (max-width: 520px) { .sticker.s1 { left: -6px; } .sticker.s2 { right: -6px; } }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; background: var(--saffron); opacity: .9; animation: morph 14s ease-in-out infinite; z-index: 0; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 10px -10px; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 1.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; letter-spacing: -.01em; }
.marquee .i { color: var(--saffron); width: 1em; height: 1em; }

/* ---------- Sections ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 460px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .i { transition: transform .3s var(--spring); }
.link-arrow:hover .i { transform: translateX(4px); }

.how { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: n; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }
.how-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; }
.how-card::after { counter-increment: n; content: "0" counter(n); position: absolute; right: 18px; top: 8px; font-family: var(--display); font-size: 4.6rem; font-weight: 800; color: var(--surface-2); line-height: 1; z-index: 0; }
.how-card > * { position: relative; z-index: 1; }
.how-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; transition: transform .5s var(--spring); }
.how-card:hover .ic { transform: rotate(-10deg) scale(1.08); }

.band { background: var(--plum); color: #f4f2ee; border-radius: 32px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: #bdbab5; }
.band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 98, 12, .55), transparent 65%); }
.band .btn { position: relative; z-index: 1; }
.band-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }
.feature-list { display: grid; gap: 12px; }
.feature-list div { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.feature-list .i { color: var(--saffron); }

/* ---------- Forms ---------- */
label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .9rem; color: var(--ink-2); }
input, select, textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #a99a8d; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 154, 51, .35); }
select { appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.area-pick select { background-position: right 6px center; }
.field { margin-bottom: 16px; }
.field .help { color: var(--muted); font-size: .8rem; margin-top: 5px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.inline-form { display: inline; }
.input-sm { width: 96px; padding: 8px 12px; border-radius: 12px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 46px; border-radius: 999px; }

/* ---------- Messages, toasts, modal ---------- */
.messages { list-style: none; padding: 0; margin: 18px 0 0; }
.messages li { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ok); font-weight: 600; animation: slide-down .5s var(--spring) both; }
.messages li.error, .messages li.warning { border-left-color: var(--danger); }
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--bg); padding: 12px 16px 12px 12px; border-radius: 18px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; position: relative; overflow: hidden; animation: toast-in .5s var(--spring) both; width: 100%; }
.toast.out { animation: toast-out .35s var(--ease) forwards; }
.toast .t-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--brand); flex: none; }
.toast .t-ic.ok { background: var(--ok); }
.toast .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--saffron); animation: shrink 2.6s linear forwards; }
.toast a { color: var(--saffron); margin-left: auto; font-weight: 700; }
.modal-back { position: fixed; inset: 0; z-index: 130; background: rgba(29, 22, 18, .45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fade-in .2s both; }
.modal { background: var(--surface); border-radius: 26px; padding: 26px; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); animation: modal-in .45s var(--spring) both; }
.modal .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--saffron-soft); color: var(--warn); margin-bottom: 14px; }
.modal .row { margin-top: 18px; justify-content: flex-end; }

/* ---------- Cart drawer ---------- */
.drawer-back { position: fixed; inset: 0; z-index: 90; background: rgba(29, 22, 18, .4); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.drawer { position: fixed; z-index: 95; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--bg); box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .55s var(--ease); display: flex; flex-direction: column; }
.drawer-open .drawer-back { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
@media (max-width: 560px) {
  .drawer { top: auto; bottom: 0; height: 88vh; width: 100%; border-radius: 28px 28px 0 0; transform: translateY(105%); }
  .drawer::before { content: ""; width: 44px; height: 5px; border-radius: 9px; background: var(--line-strong); position: absolute; top: 9px; left: 50%; transform: translateX(-50%); }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; }
.drawer-head h2 { font-size: 1.6rem; margin: 0; }
.drawer-sub { padding: 0 22px 8px; color: var(--muted); font-size: .9rem; }
.drawer-sub a { color: var(--brand); font-weight: 700; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 4px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.totals { display: grid; gap: 8px; margin-bottom: 16px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--display); font-size: 1.35rem; font-weight: 800; padding-top: 8px; border-top: 1px dashed var(--line-strong); }

.line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.line .media { width: 62px; height: 62px; border-radius: 16px; flex: none; }
.line .media .food { width: 62%; }
.line .info { flex: 1; min-width: 0; }
.line .name { font-weight: 700; line-height: 1.25; }
.line .price { color: var(--muted); font-size: .88rem; }
.line .total { font-weight: 800; font-size: .95rem; }
.line.enter { animation: line-in .55s var(--spring) both; }
.line.leave { animation: line-out .45s var(--ease) forwards; }
.empty { text-align: center; padding: 40px 10px; }
.empty .plate { width: 140px; height: 140px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--line-strong); animation: float 5s ease-in-out infinite; }
.empty .plate svg { width: 70px; height: 70px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Stepper (shared by menu items, drawer and cart page) */
.stepper { display: inline-flex; align-items: center; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 3px; gap: 2px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--spring); }
.stepper button:hover { background: rgba(255, 255, 255, .14); }
.stepper button:active { transform: scale(.85); }
.stepper .n { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.stepper .i { width: 16px; height: 16px; stroke-width: 2.4; }
.stepper.light { background: var(--surface-2); color: var(--ink); }
.stepper.light button:hover { background: var(--line); }

.addctl { position: relative; height: 42px; display: inline-flex; justify-content: flex-end; }
.addctl .add { width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--spring), background .2s, color .2s; }
.addctl .add:hover { background: var(--ink); color: var(--bg); transform: rotate(90deg) scale(1.06); }
.addctl .add .i { width: 20px; height: 20px; stroke-width: 2.4; }
.addctl .stepper { position: absolute; right: 0; top: 0; height: 42px; padding: 4px; box-shadow: var(--shadow); opacity: 0; transform: scale(.6); transform-origin: right center; pointer-events: none; transition: opacity .25s, transform .45s var(--spring); }
.addctl.has .add { opacity: 0; transform: scale(.4); pointer-events: none; }
.addctl.has .stepper { opacity: 1; transform: none; pointer-events: auto; }
.addctl[data-disabled] { display: none; }

.fly { position: fixed; z-index: 200; pointer-events: none; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); will-change: transform, opacity; }
.cart-btn.bump { animation: bump .6s var(--spring); }
.cart-badge.pop { animation: badge-pop .5s var(--spring); }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(130%); transition: transform .5s var(--spring); }
.cart-bar.show { transform: none; }
.cart-bar button { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 15px 20px; border-radius: 20px; font-weight: 700; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; }
.cart-bar .count { background: var(--brand); border-radius: 10px; padding: 3px 10px; font-size: .85rem; }
@media (min-width: 900px) { .cart-bar { display: none; } }

/* ---------- Restaurants list ---------- */
.page-head { padding-top: 26px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 22px 0 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.rgrid .rcard { transition: transform .45s var(--spring), box-shadow .35s var(--ease), opacity .3s; }
.rgrid .rcard.filtered { display: none; }
.no-results { text-align: center; padding: 50px 0; }

/* ---------- Menu ---------- */
.menu-hero { position: relative; border-radius: 32px; overflow: hidden; margin-top: 10px; min-height: 260px; display: flex; align-items: flex-end; }
.menu-hero .media { position: absolute; inset: 0; }
.menu-hero .media .food { width: 180px; max-width: 30%; position: absolute; right: 8%; top: 50%; transform: translateY(-50%) rotate(-10deg); opacity: .85; }
.menu-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(29, 22, 18, .72)); }
.menu-hero .content { position: relative; z-index: 2; padding: 28px; color: #fff; width: 100%; }
.menu-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0 0 6px; }
.menu-hero .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.menu-hero .pills > span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .2); padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); }
.back-link:hover .i { transform: translateX(-3px); }
.back-link .i { transition: transform .3s var(--spring); }
.tabs-wrap { position: sticky; top: 0; z-index: 30; background: var(--bg); padding: 12px 0 10px; margin-top: 18px; transition: top .35s var(--ease); }
.topbar:not(.tucked) ~ main .tabs-wrap { top: 70px; }
.cat-tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .3s; font-size: .95rem; }
.cat-tabs a.active { color: var(--bg); }
.cat-tabs .indicator { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: 999px; background: var(--ink); transition: left .45s var(--spring), width .45s var(--spring); }
.cat-title { margin: 30px 0 14px; font-size: 1.7rem; scroll-margin-top: 150px; }
.items { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: flex; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--spring), box-shadow .3s, border-color .3s; position: relative; }
.item:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 0; }
.item .name { font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.item .desc { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.item .price { margin-top: auto; padding-top: 10px; font-weight: 800; font-family: var(--display); font-size: 1.15rem; }
.item .pic { position: relative; width: 128px; height: 128px; flex: none; }
.item .pic .media { width: 100%; height: 100%; border-radius: 18px; }
.item .pic .media .food { width: 58%; }
.item:hover .pic .food { transform: rotate(-8deg) scale(1.08); }
.item .pic .addctl { position: absolute; right: -6px; bottom: -6px; }
.item.soldout .pic .media { filter: grayscale(1); opacity: .6; }
.item.soldout .name { color: var(--muted); }
.item.in-cart { border-color: var(--ink); }

/* ---------- Cart page & checkout ---------- */
.two-col { display: grid; gap: 24px; grid-template-columns: 1.35fr 1fr; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }
.steps-bar { display: flex; align-items: center; gap: 10px; margin: 18px 0 26px; font-weight: 700; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.steps-bar .s { display: inline-flex; align-items: center; gap: 8px; }
.steps-bar .s b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: .8rem; }
.steps-bar .s.done b { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps-bar .s.now { color: var(--ink); }
.steps-bar .s.now b { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.steps-bar .sep { width: 34px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.summary { width: 100%; border-collapse: collapse; }
.summary td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.summary tr.total td { font-family: var(--display); font-weight: 800; font-size: 1.3rem; border-bottom: 0; padding-top: 14px; }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }
.secure .i { color: var(--ok); }

/* ---------- Tracking ---------- */
.track-hero { background: var(--plum); color: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.track-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.track-hero .muted { color: #bdbab5; }
.road { position: relative; height: 64px; margin: 28px 0 6px; }
.road .rail { position: absolute; left: 0; right: 0; top: 50%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); transform: translateY(-50%); }
.road .fill { position: absolute; left: 0; top: 50%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--saffron), var(--brand)); transform: translateY(-50%); width: var(--p, 0%); transition: width 1.2s var(--ease); }
.road .rider { position: absolute; top: 50%; left: var(--p, 0%); transform: translate(-50%, -62%); width: 50px; height: 50px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(244, 98, 12, .25); transition: left 1.2s var(--ease); }
.road .rider .i { width: 26px; height: 26px; color: #fff; animation: putt .35s ease-in-out infinite alternate; }
.road .flag { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { display: flex; gap: 14px; align-items: center; padding: 12px 0; color: var(--muted); font-weight: 600; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 44px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::after { background: var(--ok); }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; flex: none; background: var(--surface); position: relative; z-index: 1; transition: all .4s var(--spring); }
.timeline .dot .i { width: 16px; height: 16px; stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: all .4s var(--spring); }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.done .dot .i { opacity: 1; transform: none; }
.timeline li.current .dot { border-color: var(--brand); box-shadow: 0 0 0 0 rgba(244, 98, 12, .5); animation: pulse 1.8s infinite; }
.timeline .time { margin-left: auto; font-size: .85rem; color: var(--muted); font-weight: 600; }
.rider-card { display: flex; align-items: center; gap: 14px; }
.rider-name { flex: 1; min-width: 0; }
.rider-name b { font-size: 1.1rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline .label { flex: 1; min-width: 0; }
.timeline .time { white-space: nowrap; }
.summary td:first-child { overflow-wrap: anywhere; padding-right: 12px; }

/* Tracking layout: steps on the left, rider + receipt on the right. On phones the
   rider comes first (that's what people check), then the steps, then the receipt. */
.track-grid { display: grid; gap: 18px; margin-top: 18px; align-items: start;
  grid-template-columns: 1.2fr 1fr; grid-template-areas: "steps rider" "steps summary"; }
.track-grid.no-rider { grid-template-areas: "steps summary"; }
.track-steps { grid-area: steps; }
.track-rider { grid-area: rider; }
.track-summary { grid-area: summary; }
.track-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 760px) {
  .track-grid, .track-grid.no-rider { grid-template-columns: 1fr; grid-template-areas: "rider" "steps" "summary"; gap: 14px; }
  .track-grid.no-rider { grid-template-areas: "steps" "summary"; }
  .track-hero { border-radius: 24px; padding: 22px 18px 18px; }
  .track-hero h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); margin-top: 10px !important; }
  .road { height: 56px; margin: 22px 18px 4px; }
  .road .rider { width: 42px; height: 42px; box-shadow: 0 0 0 6px rgba(244, 98, 12, .25); }
  .road .rider .i { width: 22px; height: 22px; }
  .road .flag { width: 30px; height: 30px; right: -16px; }
  .timeline li { gap: 12px; padding: 10px 0; font-size: .95rem; }
  .timeline .time { font-size: .8rem; }
  .summary tr.total td { font-size: 1.15rem; }
  .track-pay .btn, .track-actions .btn { width: 100%; }
}
@media (max-width: 380px) {
  .track-steps, .track-summary, .track-rider { padding: 16px; }
  .timeline .dot { width: 28px; height: 28px; }
  .timeline li:not(:last-child)::after { left: 13px; top: 40px; }
}
.avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
canvas.confetti { position: fixed; inset: 0; z-index: 150; pointer-events: none; }

/* ---------- Footer ---------- */
footer.site { margin-top: 60px; padding: 50px 0 34px; background: var(--footer-bg); color: #bdbab5; }
footer.site .logo { color: #fff; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }
footer.site h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
footer.site a { display: block; padding: 4px 0; color: #bdbab5; transition: color .2s; }
footer.site a:hover { color: #fff; }
footer.site .bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.big-word { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 17vw, 13rem); letter-spacing: -.05em; line-height: .8; color: rgba(255, 255, 255, .06); margin-top: 30px; white-space: nowrap; overflow: hidden; }

/* ---------- Portal ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat .label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.stat .value { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tabs a { padding: 9px 16px; color: var(--muted); border-radius: 999px; font-weight: 700; }
.tabs a.active { color: var(--bg); background: var(--ink); }
.tabs a:not(.active):hover { background: var(--surface-2); }
.order-card { border-left: 5px solid var(--line-strong); }
.order-card.paid { border-left-color: var(--saffron); animation: attention 2.4s ease-in-out infinite; }
.order-card.confirmed { border-left-color: var(--brand); }
.order-card.ready, .order-card.picked_up { border-left-color: var(--ok); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.map { height: 240px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.online-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; background: var(--line-strong); }
.online-dot.on { background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); }
.switch-on { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- WhatsApp simulator (dev tool) ---------- */
.sim { max-width: 460px; margin: 0 auto; background: #0b141a; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); color: #e9edef; }
.sim-head { background: #1f2c34; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.sim-head .muted { color: #8696a0; }
.sim-body { padding: 12px; min-height: 420px; max-height: 65vh; overflow-y: auto; }
.bubble { padding: 9px 13px; border-radius: 14px; margin: 8px 0; max-width: 85%; font-size: .9rem; }
.sim .bubble.out { background: #202c33; }
.sim .bubble.in { background: #005c4b; margin-left: auto; }
.sim .bubble.skip { background: transparent; border: 1px dashed #3b4a54; color: #8696a0; font-size: .8rem; margin: 8px auto; max-width: 95%; }
.sim .bubble .hdr { font-weight: 700; margin-bottom: 4px; }
.sim .bubble .ftr { color: #8696a0; font-size: .75rem; margin-top: 4px; }
.bubble-btn { display: block; text-align: center; border: 1px solid #2a3942; border-radius: 10px; padding: 7px; margin-top: 6px; color: #53bdeb; font-weight: 600; font-size: .88rem; background: transparent; width: 100%; cursor: pointer; }
.sim details summary { list-style: none; cursor: pointer; }
.sim details summary::-webkit-details-marker { display: none; }
.sim .row-opt { display: block; width: 100%; text-align: left; background: #111b21; border: 1px solid #2a3942; color: #e9edef; padding: 8px 10px; border-radius: 8px; margin-top: 6px; cursor: pointer; }
.sim .row-opt small { display: block; color: #8696a0; }
.sim-input { display: flex; gap: 8px; padding: 10px; background: #1f2c34; }
.sim-input input { background: #2a3942; border: 0; color: #e9edef; }
.sim a { color: #53bdeb; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; rotate: 0deg; } 50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; rotate: 25deg; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } }
@keyframes bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.15) rotate(-6deg); } 60% { transform: scale(.95) rotate(3deg); } 100% { transform: none; } }
@keyframes badge-pop { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes shrink { from { width: 100%; } to { width: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(.94); } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-12px); } }
@keyframes line-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes line-out { to { opacity: 0; transform: translateX(60px); height: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 98, 12, .45); } 70% { box-shadow: 0 0 0 14px rgba(244, 98, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 98, 12, 0); } }
@keyframes putt { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-2px) rotate(2deg); } }
@keyframes wiggle { 0% { transform: none; } 30% { transform: translateX(-3px) rotate(-8deg); } 60% { transform: translateX(3px) rotate(6deg); } 100% { transform: none; } }
@keyframes attention { 0%, 100% { box-shadow: var(--shadow-sm); } 50% { box-shadow: 0 0 0 4px var(--saffron-soft), var(--shadow-sm); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .word > span { transform: none; }
  .underline { stroke-dashoffset: 0; }
}

/* ---------- Cravings search ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.craving { display: grid; gap: 10px; max-width: 640px; }
.craving-box { display: flex; align-items: center; min-width: 0; }
.craving-box input { flex: 1; min-width: 0; padding-right: 120px; height: 56px; font-size: 1.02rem; }
.craving-box .btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 10px 18px; }
.craving .chip { text-decoration: none; }
.search-group { margin-top: 28px; display: grid; gap: 10px; }
.search-group h2 a { color: inherit; text-decoration: none; }
.search-group h2 a:hover { color: var(--brand); }
.hero .craving { margin-top: 22px; }
@media (max-width: 420px) { .craving-box input { padding-right: 96px; } .craving-box .btn { padding: 9px 14px; } }
/* Phones: the logo mark alone, so the nav (with Search) fits without pushing the page wider. */
@media (max-width: 520px) {
  .topbar .wm { display: none; }
  .topbar .wrap { gap: 8px; }
  .nav { gap: 2px; }
}

/* ---------- Treats ---------- */
.gift-card { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 24px; color: #fff; background: linear-gradient(135deg, #ff8a1f, #f2550a); display: grid; gap: 6px; }
.gift-card.black { background: linear-gradient(135deg, #2a2725, #0f0e0d); }
.gift-card.black .eyebrow { color: #ff8a1f; }
.gift-card .eyebrow { color: rgba(255,255,255,.85); }
.gift-card .gift-amount { font-weight: 800; font-size: clamp(2.4rem, 9vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; }
.gift-card p { margin: 0; opacity: .92; }
.gift-card blockquote { margin: 8px 0 0; font-style: italic; opacity: .95; }
.treat-rules { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.field.check label { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.field.check input { width: auto; }
.field ul[id$="who_pays"] { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.field ul[id$="who_pays"] label { display: flex; gap: 10px; align-items: center; font-weight: 600; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.field ul[id$="who_pays"] input { width: auto; accent-color: var(--brand); }

/* ---------- Fun hub, deals, Hostel Wars ---------- */
.fun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.fun-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
a.fun-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.fun-card b { font-size: 1.08rem; }
.fun-card span { color: var(--muted); font-size: .94rem; }
.fun-card.dark { background: linear-gradient(135deg, #2a2725, #0f0e0d); color: #fff; border-color: transparent; }
.fun-card.dark span { color: rgba(255,255,255,.75); }
.fun-card.hot { border-color: var(--brand); }
.deal-row { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.deal-off { flex: none; width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff8a1f, #f2550a); }
.war-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 6px; }
.war-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff8a1f, #f2550a); }
.badge-mystery { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; margin-bottom: 4px; }
.badge-deal { font-weight: 800; color: var(--brand); font-size: .9rem; }
.squad-menu { display: grid; gap: 8px; }
.squad-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.squad-item > span { display: grid; min-width: 0; }
.squad-item input { width: 72px; text-align: center; }
.squad-item.soldout { opacity: .55; }
.push-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; }
