/* ---------- Tokens ---------- */
:root {
  --cream: #F7F1E8;
  --ivory: #FFFCF7;
  --sand: #EADCC9;
  --line: #E3D5C3;
  --espresso: #2B1D14;
  --roast: #4A3222;
  --terracotta: #B5542D;
  --terracotta-dark: #96431F;
  --gold: #C89B3C;
  --muted: #6B5B4E;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(43, 29, 20, 0.08);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em, .brand-name em { font-style: italic; font-weight: 400; color: var(--terracotta); }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--roast); max-width: 34rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(181, 84, 45, .28); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); }
.btn-small { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 232, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--espresso); }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--espresso); text-decoration: none; font-weight: 500; position: relative; padding: .25rem 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn).is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px;
}
.nav-toggle-bar { width: 24px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(200, 155, 60, .18), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.25rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.3; }
.hero-facts strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.hero-facts span { font-size: .85rem; color: var(--muted); }

.hero-art { margin: 0; position: relative; }
.photo {
  border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #EADCC9 0%, #D9C2A6 55%, #B5542D 140%);
  box-shadow: var(--shadow-soft); display: grid; place-items: center;
}
.photo-hero { aspect-ratio: 5 / 6; }
.illus { width: 78%; height: auto; }
.hero-badge {
  position: absolute; left: -1.25rem; bottom: 2rem; background: var(--ivory); border: 1px solid var(--line);
  border-radius: 16px; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .75rem; box-shadow: var(--shadow-soft);
}
.hero-badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.hero-badge-txt { font-size: .8rem; line-height: 1.35; color: var(--gold); }
.hero-badge-txt br + * { color: var(--muted); }

/* ---------- Pillars ---------- */
.pillars { padding: 1rem 0 clamp(3rem, 6vw, 5rem); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pillar .icon { width: 36px; height: 36px; fill: none; stroke: var(--terracotta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Menu ---------- */
.menu-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--ivory); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-sub { color: var(--muted); }
.menu-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.menu-tabs button {
  font: inherit; font-weight: 600; font-size: .95rem; min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--roast); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.menu-tabs button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.menu-tabs button[aria-selected="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.menu-group h3 { font-size: 1.5rem; padding-bottom: .6rem; border-bottom: 2px solid var(--gold); display: inline-block; margin-bottom: 1rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 1.25rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.item-name { display: block; font-weight: 600; font-size: 1.05rem; }
.item-desc { display: block; color: var(--muted); font-size: .92rem; margin-top: .1rem; }
.item-price { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-note { margin-top: 2.5rem; color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about { padding: clamp(3rem, 7vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-art { position: relative; padding-bottom: 3rem; }
.photo-about { aspect-ratio: 1; width: 82%; }
.photo-about-2 { aspect-ratio: 4 / 3; width: 52%; position: absolute; right: 0; bottom: 0; border: 6px solid var(--cream); background: linear-gradient(160deg, #B5542D, #8A5A3B); }
.about-copy p { color: var(--roast); }
blockquote { margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); }
blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--espresso); margin-bottom: .4rem; }
blockquote cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* ---------- Visit (dark band) ---------- */
.visit { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--espresso); color: var(--cream); }
.section-head-light .eyebrow { color: var(--gold); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.visit-card { background: rgba(255, 252, 247, .06); border: 1px solid rgba(255, 252, 247, .14); border-radius: var(--radius); padding: 2rem; }
.visit-card h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 1.1rem; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 252, 247, .12); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: rgba(247, 241, 232, .8); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.visit-note { margin: 1.25rem 0 0; font-weight: 600; color: var(--gold); }
.visit-note:empty { display: none; }
address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.visit-links a { color: var(--gold); }
.visit-links a:hover { color: #E4BB63; }
.visit-amenities { margin: 1.25rem 0 0; padding-left: 1.1rem; color: rgba(247, 241, 232, .8); }
.visit-amenities li { margin-bottom: .3rem; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3rem, 7vw, 6rem) 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy p { color: var(--roast); }
.contact-direct a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--espresso); background: var(--ivory); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7rem .9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--espresso); min-height: 46px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(181, 84, 45, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.form-error { color: #B3261E; font-size: .92rem; font-weight: 600; margin: -.25rem 0 1rem; }
.form-success { color: #2E6B3A; font-size: .95rem; font-weight: 600; margin: 1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-brand p { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--espresso); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--terracotta); }
.footer-copy { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Motion (enhancement only; base state is fully visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-badge { left: .75rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr; gap: 2rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 520px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-soft);
  }
  .site-nav[hidden] { display: none; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .hero-facts { gap: 1.25rem 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: min(1140px, 100% - 2rem); }
  .hero-actions .btn { width: 100%; }
  .contact-form, .visit-card { padding: 1.4rem; }
  .menu-list li { flex-direction: column; gap: .15rem; }
}

/* ======================================================================
   Ordering, tracking and staff desk
   ====================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container.narrow { width: min(760px, 100% - 2.5rem); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
.tiny { font-size: .85rem; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }
.notice { border-radius: 12px; padding: .9rem 1.1rem; margin: 1rem 0; font-size: .95rem; }
.notice-demo { background: #FFF4D6; border: 1px solid #F0D48A; color: #6B4E00; }
.notice-success { background: #E8F3EA; border: 1px solid #BFDCC5; color: #1F5A2C; }
.notice-cancelled { background: #FBE9E7; border: 1px solid #F1C2BB; color: #8C2A1E; }
.code-chip, .track-code { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn-fb { background: #0866FF; color: #fff; gap: .5rem; margin-top: .6rem; }
.btn-fb:hover { background: #0555D6; color: #fff; }
.btn-fb svg { width: 20px; height: 20px; fill: currentColor; }
.btn-danger { background: transparent; color: #B3261E; border-color: #B3261E; }
.btn-danger:hover { background: #B3261E; color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Order page layout */
.order-layout { display: grid; grid-template-columns: 1.35fr .95fr; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.order-menu .menu-tabs { position: sticky; top: var(--header-h); background: var(--cream); z-index: 5; padding-top: .75rem; }
.item-side { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.add-btn {
  font: inherit; font-weight: 600; font-size: .85rem; min-height: 40px; padding: .4rem .9rem; border-radius: 999px;
  border: 1.5px solid var(--terracotta); background: transparent; color: var(--terracotta); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.add-btn:hover, .add-btn.in-cart { background: var(--terracotta); color: #fff; }
.cart-panel { position: sticky; top: calc(var(--header-h) + .75rem); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 1.5rem; margin: 0; }
.cart-close { display: none; font-size: 1.75rem; line-height: 1; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--espresso); border-radius: 8px; }
.cart-list { list-style: none; margin: 1rem 0 0; padding: 0; max-height: 34vh; overflow: auto; }
.cart-list li { padding: .6rem 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.cart-line { display: flex; flex-direction: column; min-width: 0; }
.cart-name { font-weight: 600; }
.cart-price { font-size: .9rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.15rem; cursor: pointer; color: var(--espresso); }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 1.75rem; text-align: center; font-weight: 600; }
.cart-empty { color: var(--muted); margin: 1rem 0 0; }
.cart-totals { margin: 1rem 0; }
.cart-totals div { display: flex; justify-content: space-between; padding: .3rem 0; }
.cart-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-totals .total { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .6rem; font-weight: 700; font-size: 1.1rem; }
.segmented { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.segmented legend { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; text-align: center; padding: .65rem; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.segmented input:checked + span { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.cart-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--line); z-index: 40; box-shadow: 0 -8px 24px rgba(43,29,20,.1); }

/* Tracker */
.track-form { display: flex; gap: .5rem; max-width: 420px; margin: 1.25rem 0 .5rem; }
.track-form input { flex: 1; font: inherit; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; padding: .7rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; min-height: 48px; }
.track-form input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(181,84,45,.18); }
.track-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); margin-bottom: 4rem; }
.track-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.track-label { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.track-code { margin: 0; font-size: 1.6rem; }
.status-pill { display: inline-block; padding: .35rem .85rem; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap; background: var(--sand); color: var(--espresso); }
.status-received { background: #FFF4D6; color: #6B4E00; }
.status-preparing { background: #FBE4D3; color: #8A3B14; }
.status-ready, .status-out_for_delivery { background: #DDEBF7; color: #1F4E79; }
.status-delivered, .status-completed { background: #E8F3EA; color: #1F5A2C; }
.status-cancelled { background: #FBE9E7; color: #8C2A1E; }
.stepper { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; position: relative; }
.stepper::before { content: ""; position: absolute; top: 11px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); }
.stepper li { position: relative; text-align: center; padding-top: 2rem; font-size: .9rem; color: var(--muted); }
.step-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--line); box-sizing: border-box; }
.stepper li.is-done .step-dot { background: var(--terracotta); border-color: var(--terracotta); }
.stepper li.is-done .step-dot::after { content: ""; position: absolute; inset: 5px 6px 8px 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.stepper li.is-current .step-dot { border-color: var(--terracotta); box-shadow: 0 0 0 5px rgba(181,84,45,.18); }
.stepper li.is-done, .stepper li.is-current { color: var(--espresso); }
.stepper li.is-current .step-label { font-weight: 700; }
.step-label { display: block; }
.step-note { display: block; font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.track-rider { background: #DDEBF7; color: #1F4E79; border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1.5rem; }
.track-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.track-details h3 { font-size: 1.15rem; }
.receipt { list-style: none; margin: 0; padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .95rem; }
.track-updated { margin: 1.5rem 0 0; }

/* Staff desk */
.staff-body { background: #F2ECE3; }
.desk-tag { display: inline-block; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--espresso); color: var(--cream); padding: .2rem .5rem; border-radius: 6px; margin-left: .4rem; vertical-align: middle; }
.desk-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; cursor: pointer; }
.desk { padding: 2rem 0 4rem; }
.login-card { max-width: 420px; margin: 3rem auto; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); }
.login-card h1 { font-size: 1.75rem; }
.desk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.desk-head h1 { font-size: 1.9rem; margin: 0; }
.count-chip { display: inline-block; font-family: var(--font-body); font-size: .9rem; font-weight: 700; background: var(--terracotta); color: #fff; border-radius: 999px; padding: .15rem .65rem; vertical-align: middle; }
.desk-empty { color: var(--muted); }
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.order-card { background: var(--ivory); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.order-card.is-new { border-left-color: var(--gold); }
.order-card.status-preparing { border-left-color: var(--terracotta); }
.order-card.status-ready, .order-card.status-out_for_delivery { border-left-color: #1F4E79; }
.order-card.status-delivered, .order-card.status-completed { border-left-color: #2E6B3A; opacity: .8; }
.order-card.status-cancelled { border-left-color: #B3261E; opacity: .7; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.order-card .track-code { font-size: 1.2rem; }
.order-meta { margin: 0 0 .35rem; font-size: .95rem; }
.order-notes { margin: .25rem 0 .5rem; font-style: italic; color: var(--roast); }
.type-chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 6px; background: var(--sand); }
.type-delivery { background: #DDEBF7; color: #1F4E79; }
.order-card .receipt { margin: .75rem 0; padding-top: .5rem; border-top: 1px dashed var(--line); }
.order-total { display: flex; justify-content: space-between; margin: 0 0 .75rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.rider-form { display: grid; grid-template-columns: 1fr 90px auto; gap: .4rem; margin-bottom: .75rem; }
.rider-form input { font: inherit; font-size: .9rem; padding: .45rem .6rem; border-radius: 8px; border: 1.5px solid var(--line); min-height: 40px; }
.order-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .order-layout { grid-template-columns: 1fr; }
  .cart-bar { display: block; }
  .cart-close { display: block; }
  .cart-panel {
    position: fixed; inset: 0; top: auto; max-height: 92vh; overflow: auto; border-radius: 20px 20px 0 0; z-index: 60;
    transform: translateY(105%); transition: transform .3s var(--ease); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  .cart-panel.is-open { transform: translateY(0); }
  body.cart-open { overflow: hidden; }
  .cart-list { max-height: none; }
  .track-details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stepper { grid-template-columns: 1fr; gap: 0; }
  .stepper::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .stepper li { text-align: left; padding: 0 0 1.1rem 2.25rem; }
  .step-dot { left: 0; transform: none; }
  .track-form { flex-direction: column; }
  .rider-form { grid-template-columns: 1fr 1fr; }
  .rider-form button { grid-column: 1 / -1; }
}

/* Homepage order call-to-action */
.menu-cta { margin: 2.5rem 0 1rem; padding: 1.5rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.menu-cta p { margin: 0; max-width: 28rem; }
.menu-cta .hero-actions { margin: 0; }
[hidden] { display: none !important; }
