@property --flavour {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffb21e;
}

:root {
  --leaf: #1f5d3a;
  --leaf-bright: #2e8b4e;
  --mango: #ff9a1f;
  --pom: #d6283c;
  --melon: #f3f6ec;
  --paper: #ffffff;
  --ink: #14261b;
  --muted: #56675c;
  --line: rgba(20, 38, 27, 0.13);

  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --urdu: "Noto Nastaliq Urdu", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--melon);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.section-title {
  font: 400 clamp(2.4rem, 5.5vw, 4.4rem)/0.95 var(--display);
  letter-spacing: -0.01em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--leaf); }
.btn-ink:disabled { background: #9aa59d; cursor: not-allowed; }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-mango { background: var(--mango); color: var(--ink); }
.btn-mango:hover { background: #fff; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn-wide { width: 100%; }
.btn-split { justify-content: space-between; }
.btn.is-busy { cursor: progress; }
.btn.is-busy span:first-child::after { content: "…"; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--melon);
}
.icon-btn:hover { background: #e4ead8; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(243, 246, 236, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; }
.brand-word { font: 400 1.55rem/1 var(--display); padding-top: 4px; }
.nav-links { display: flex; gap: 26px; font-weight: 500; }
.nav-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ease); padding: 4px 0; }
.nav-links a:hover { background-size: 100% 2px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.6);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa59d; }
.status-pill.is-open .dot { background: var(--leaf-bright); box-shadow: 0 0 0 4px rgba(46, 139, 78, 0.18); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 8px 0 18px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center; background: var(--mango); color: var(--ink);
  font-weight: 700; font-size: 0.9rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 56px;
  background: color-mix(in oklab, var(--flavour) 34%, #fff);
  transition: --flavour 0.9s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.hero-copy { max-width: 640px; }
.hero-title {
  font: 400 clamp(3rem, 6.8vw, 7.6rem)/0.92 var(--display);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.hl-mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hl { display: block; white-space: nowrap; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-glass { display: grid; justify-items: center; gap: 20px; }
.glass-stage { position: relative; isolation: isolate; width: min(70vw, clamp(200px, calc((100svh - 400px) * 0.72), 330px)); }
.glass-stage::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -14px; height: 34px; z-index: -1;
  border-radius: 50%;
  background: color-mix(in oklab, var(--flavour) 70%, var(--ink));
  opacity: 0.28; filter: blur(14px);
}
.glass { width: 100%; height: auto; overflow: visible; }

.pour-card {
  width: min(460px, 100%);
  background: var(--paper);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 24px 48px -28px color-mix(in oklab, var(--flavour) 60%, var(--ink));
}
.pour-label { font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.flavours { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.flavour {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 10px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 0.93rem; font-weight: 500;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.flavour:hover { border-color: var(--ink); }
.flavour-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.12); }
.flavour[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pour-pick {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.pour-name-mask { overflow: hidden; }
.pour-name { font: 400 1.6rem/1.2 var(--display); }
.pour-price { grid-row: 2; color: var(--muted); font-weight: 500; }
.pour-pick .btn { grid-row: 1 / span 2; grid-column: 2; }

/* Content hidden until the intro runs. */
html.has-motion .hero-title,
html.has-motion [data-hero-fade],
html.has-motion .pour-card,
html.has-motion .glass-stage { visibility: hidden; }

/* ---------- menu ---------- */
.menu { padding: clamp(72px, 10vw, 128px) var(--gutter) 96px; }
.menu-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 48px;
}
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(420px, 100%); height: 56px; padding: 0 20px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}
.search:focus-within { border-color: var(--ink); }
.search svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; height: 100%; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.menu-body { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.rail {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: flex; flex-direction: column; gap: 2px;
}
.rail a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 14px; border-radius: 12px;
  text-decoration: none; font-weight: 500; color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.rail a small { font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.rail a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.rail a.is-active { color: var(--ink); background: var(--paper); box-shadow: inset 3px 0 0 var(--mango); }

.cat { padding-bottom: 56px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.cat-head {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 18px;
  padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.cat-head h3 { font: 400 clamp(1.9rem, 3.4vw, 2.7rem)/1.05 var(--display); }
.cat-urdu { font: 500 1.3rem/1.9 var(--urdu); color: var(--leaf); justify-self: end; }
.cat-head p { grid-column: 1 / -1; color: var(--muted); margin-top: 6px; }

.menu-list { container-type: inline-size; min-width: 0; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 24px; }
@container (min-width: 620px) {
  .rows { grid-template-columns: 1fr 1fr; }
}
.row {
  display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 14px;
  min-height: 76px; padding: 12px 12px 12px 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-radius 0.35s var(--ease);
}
.row:hover, .row.in-cart { border-radius: 14px; border-bottom-color: transparent; }
.row:hover { background: rgba(255, 255, 255, 0.75); }
.row.in-cart { background: var(--paper); box-shadow: inset 4px 0 0 var(--c); }
.row h4 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.row-text p { font-size: 0.875rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.row-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.glyph { width: 40px; height: 40px; color: var(--ink); }
.glyph-rise { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s var(--ease); }
.row:hover .glyph-rise, .row.in-cart .glyph-rise { transform: scaleY(1.28); }

.add-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: transparent;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.add-btn:hover { background: var(--mango); }
.add-btn:active { transform: scale(0.92); }
.add-btn svg { width: 18px; height: 18px; }
.stepper {
  display: inline-flex; align-items: center;
  height: 42px; border-radius: 999px; background: var(--ink); color: #fff;
}
.stepper button {
  width: 38px; height: 42px; display: grid; place-items: center;
  border: 0; background: none; border-radius: 999px; color: inherit;
}
.stepper button:hover { color: var(--mango); }
.stepper svg { width: 16px; height: 16px; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.small { height: 36px; }
.stepper.small button { width: 32px; height: 36px; }

.menu-empty { max-width: 40ch; margin: 24px 0 0 calc(230px + clamp(24px, 4vw, 64px)); font-size: 1.1rem; }

/* ---------- delivery ---------- */
.delivery {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  background: var(--leaf); color: var(--melon);
}
.delivery-copy { align-self: start; position: sticky; top: calc(var(--nav-h) + 48px); max-width: 520px; }
.delivery-copy .section-title { color: var(--mango); margin-bottom: 24px; }
.delivery-copy > p { font-size: 1.15rem; margin-bottom: 32px; max-width: 42ch; }
.delivery-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.delivery-facts li { padding: 14px 0; border-top: 1px solid rgba(243, 246, 236, 0.2); font-weight: 500; }

.route { position: relative; width: 100%; max-width: 560px; aspect-ratio: 600 / 720; justify-self: start; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-line path { fill: none; stroke-linecap: round; stroke-width: 7; }
.route-path-bg { stroke: rgba(243, 246, 236, 0.22); stroke-dasharray: 1 16; }
.route-path { stroke: var(--mango); }
.route-shop {
  position: absolute; left: 11.7%; top: 5.6%;
  display: flex; align-items: center; gap: 12px;
  transform: translate(-22px, -50%);
  font-size: 0.95rem; line-height: 1.3;
}
.route-pin {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--mango); border: 4px solid var(--melon);
}
.route-stops { list-style: none; margin: 0; padding: 0; }
.stop { position: absolute; width: 0; height: 0; }
.stop-dot {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf); border: 3px solid rgba(243, 246, 236, 0.5);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.stop-card {
  position: absolute; top: 0; width: max-content; max-width: 260px;
  display: grid; gap: 2px; transform: translateY(-50%);
  opacity: 0.4; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  font-size: 0.95rem; line-height: 1.3;
}
.stop-card strong { font-weight: 600; }
.stop-card span { color: rgba(243, 246, 236, 0.75); font-size: 0.875rem; }
.stop-card { left: 26px; }
.stop.reached .stop-dot { background: var(--mango); border-color: var(--melon); }
.stop.reached .stop-card { opacity: 1; }
.rider {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--melon); border: 6px solid var(--mango);
  box-shadow: 0 0 0 8px rgba(255, 154, 31, 0.25);
  pointer-events: none;
}

/* ---------- footer ---------- */
.footer { background: var(--pom); color: #fff; padding: clamp(72px, 10vw, 120px) var(--gutter) 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.footer .section-title { margin-bottom: 20px; }
.footer-address { font-size: 1.2rem; max-width: 36ch; margin-bottom: 6px; }
.footer-grid p + p { margin-bottom: 28px; opacity: 0.85; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--display); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--mango); }
.footer-word {
  font: 400 calc((100vw - 2 * var(--gutter)) / 6.25)/0.95 var(--display);
  color: color-mix(in oklab, var(--pom) 78%, #000);
  margin: 56px 0 24px; white-space: nowrap; letter-spacing: -0.02em;
}
.footer-small { font-size: 0.875rem; opacity: 0.8; }

/* ---------- order bar (mobile) ---------- */
.order-bar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25;
  display: none; justify-content: space-between; align-items: center;
  height: 60px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(20, 38, 27, 0.5);
}
.order-bar strong { color: var(--mango); }

/* ---------- drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(20, 38, 27, 0.45);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
body.drawer-open .scrim { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 28px 0 0 28px;
  transform: translateX(104%);
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
  visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
  outline: none;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.5s var(--ease); }
.drawer-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 16px 24px; background: var(--paper);
}
.drawer-head h2 { font: 400 1.9rem/1.1 var(--display); margin-right: auto; padding-top: 4px; }
.back-btn { margin-left: -8px; }
.drawer-notice { margin: 0 24px 12px; padding: 14px 16px; border-radius: 16px; background: #fdecc8; font-weight: 500; font-size: 0.95rem; }
.drawer-step { flex: 1; display: flex; flex-direction: column; }
.cart-lines { list-style: none; margin: 0; padding: 0 24px; }
.line {
  display: grid; grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.line .glyph { width: 36px; height: 36px; grid-row: 1 / span 2; }
.line-text { display: grid; }
.line-text strong { font-weight: 600; line-height: 1.3; }
.line-text span { font-size: 0.875rem; color: var(--muted); }
.line .stepper { grid-column: 3; grid-row: 1; justify-self: end; }
.line-total { grid-column: 3; grid-row: 2; justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.cart-empty { padding: 40px 24px; display: grid; gap: 16px; justify-items: start; font-size: 1.1rem; }
.drawer-foot {
  position: sticky; bottom: 0; margin-top: auto;
  display: grid; gap: 10px; padding: 18px 24px 24px;
  background: var(--paper); border-top: 1px solid var(--line);
}
.sum-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum-total { font-size: 1.2rem; padding-top: 6px; }
.hint { font-size: 0.9rem; color: var(--muted); }
.form-error { padding: 12px 14px; border-radius: 12px; background: #fde3e6; color: #8a1224; font-weight: 500; font-size: 0.95rem; }

.fields { display: grid; gap: 18px; padding: 4px 24px 24px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field small { font-size: 0.85rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--melon);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 154, 31, 0.3); }
.field.has-error input, .field.has-error textarea, .field.has-error .zone { border-color: var(--pom); }
.field-msg { color: #b01c30; font-size: 0.875rem; font-weight: 500; }
.zone-list { display: grid; gap: 8px; margin-top: 6px; }
.zone {
  position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; align-items: center;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.zone:hover { border-color: var(--ink); }
.field .zone input {
  appearance: none; width: 20px; height: 20px; margin: 0; padding: 0; grid-row: 1 / span 2;
  border: 2px solid var(--ink); border-radius: 50%; background: #fff;
}
.field .zone input:checked { border-width: 6px; background: #fff; }
.field .zone input:focus { box-shadow: none; }
.zone input:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; }
.zone:has(input:checked) { border-color: var(--ink); background: #fff4e3; }
.zone-name { font-weight: 600; font-size: 0.95rem; }
.zone-meta { font-size: 0.85rem; color: var(--muted); }

/* ---------- toast + fly dot ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500;
  white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fly-dot {
  position: fixed; z-index: 70; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); pointer-events: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-h) + 32px); gap: 40px; }
  .hero-glass { justify-items: stretch; }
  .glass-stage { width: min(260px, 64vw); justify-self: center; }
  .pour-card { width: 100%; }

  .menu-body { display: block; }
  .rail {
    position: sticky; top: var(--nav-h); z-index: 10;
    flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) 24px; padding: 10px var(--gutter);
    background: rgba(243, 246, 236, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); }
  .rail a small { display: none; }
  .rail a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
  .cat { scroll-margin-top: calc(var(--nav-h) + 72px); }
  .menu-empty { margin-left: 0; }

  .delivery { grid-template-columns: 1fr; }
  .delivery-copy { position: static; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }

  .order-bar { display: flex; }
  .order-bar[hidden] { display: none !important; }
  .toast { bottom: 88px; }
  body:has(.order-bar[hidden]) .toast { bottom: 24px; }
  .menu { padding-bottom: 120px; }
}
@media (max-width: 560px) {
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 0 6px 0 14px; }
  .brand-word { font-size: 1.3rem; }
  .status-pill { font-size: 0.8rem; padding: 5px 10px; }
  .row { grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto; gap: 2px 12px; padding: 12px 6px; }
  .row .glyph { width: 36px; height: 36px; grid-row: 1 / span 2; }
  .row-price { grid-column: 2; grid-row: 2; font-size: 0.95rem; }
  .row-text { grid-column: 2; }
  .row-action { grid-column: 3; grid-row: 1 / span 2; }
  .cat-head { grid-template-columns: 1fr auto; }
  .drawer { border-radius: 0; }
  .pour-name { font-size: 1.3rem; }
  .route { aspect-ratio: 600 / 1000; }
  .stop-card { max-width: 200px; font-size: 0.9rem; }
  .stop-card span { font-size: 0.8rem; }
  .route-shop { font-size: 0.85rem; }
}
@media (max-width: 400px) {
  .status-pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html.has-motion .hero-title, html.has-motion [data-hero-fade], html.has-motion .pour-card, html.has-motion .glass-stage { visibility: visible; }
}
