:root {
  --charcoal: #1e1a17;
  --charcoal-2: #2b2521;
  --cream: #fbf6ee;
  --paper: #ffffff;
  --ink: #2a2420;
  --muted: #6e625a;
  --line: #e7dccd;
  --saffron: #e8a33d;
  --saffron-deep: #c9821a;
  --chilli: #9e2b25;
  --chilli-soft: #f6e3df;
  --leaf: #3f6b3a;
  --leaf-soft: #e4efe1;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(30 26 23 / 6%), 0 8px 24px rgb(30 26 23 / 8%);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--chilli); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* ---- Demo ribbon ---- */
.demo-ribbon {
  background: var(--saffron);
  color: var(--charcoal);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 16px;
}

/* ---- Header ---- */
.site-header {
  background: var(--charcoal);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { color: inherit; text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--saffron); }
.brand-tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { background: rgb(255 255 255 / 10%); }
.site-nav a.nav-cta { background: var(--saffron); color: var(--charcoal); font-weight: 600; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: #f1b65a; }
.nav-toggle {
  display: none;
  background: none;
  color: var(--cream);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---- Buttons & forms ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron); color: var(--charcoal); }
.btn-primary:hover { background: #f1b65a; }
.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--charcoal-2); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { padding: 6px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--saffron-deep); outline: none; box-shadow: 0 0 0 3px rgb(232 163 61 / 25%); }
textarea { min-height: 80px; resize: vertical; }
.field { margin-bottom: 14px; }
.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }

.segmented { display: inline-flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented button {
  border: 0;
  background: none;
  font: 600 .95rem var(--sans);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}
.segmented button[aria-pressed='true'] { background: var(--charcoal); color: var(--cream); }

.notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: .95rem; }
.notice-error { background: var(--chilli-soft); color: var(--chilli); }
.notice-info { background: #fff4e0; color: #6b4a12; }
.notice-ok { background: var(--leaf-soft); color: var(--leaf); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgb(232 163 61 / 35%), transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 110%, rgb(158 43 37 / 45%), transparent 60%),
    var(--charcoal);
  color: var(--cream);
  padding: clamp(56px, 10vw, 112px) 0 clamp(72px, 12vw, 128px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23fbf6ee' stroke-width='1.2'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Cpath d='M28 0v8M28 48v8M0 28h8M48 28h8'/%3E%3C/g%3E%3C/svg%3E");
}
.hero .wrap { position: relative; }
.hero-eyebrow { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--saffron); font-weight: 600; margin-bottom: 12px; }
.hero h1 { color: var(--cream); margin-bottom: .2em; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero-lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 600px; opacity: .9; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: var(--cream); }

/* ---- Action cards ---- */
.actions { margin-top: -56px; position: relative; z-index: 2; }
.action-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.action-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 4px solid var(--saffron);
  transition: transform .15s, box-shadow .15s;
}
.action-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgb(30 26 23 / 14%); }
.action-card:nth-child(2) { border-top-color: var(--chilli); }
.action-card:nth-child(3) { border-top-color: var(--leaf); }
.action-card:nth-child(4) { border-top-color: var(--charcoal); }
.action-card svg { width: 30px; height: 30px; color: var(--saffron-deep); }
.action-card h3 { margin: 6px 0 0; }
.action-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.action-card .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--chilli); }

/* ---- Sections ---- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--chilli); font-weight: 600; margin-bottom: 8px; }

.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  border-radius: var(--radius);
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.feature .num { font-family: var(--serif); font-size: 2rem; color: var(--saffron-deep); }
.feature ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.info-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { font-weight: 700; color: var(--chilli); }

.hygiene-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--leaf);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--leaf);
  background: var(--leaf-soft);
}
.hygiene-badge strong { font-size: 1.3rem; }

/* ---- Menu ---- */
.page-head { background: var(--charcoal); color: var(--cream); padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--cream); }
.page-head p { opacity: .85; max-width: 640px; margin: 0; }

.menu-toolbar {
  position: sticky;
  top: 68px;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font: 500 .9rem var(--sans);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.chip[aria-pressed='true'] { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }

.menu-cat { padding-top: 36px; scroll-margin-top: 150px; }
.menu-cat > p { color: var(--muted); }
.menu-items { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.dish {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dish-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish h3 { margin: 0; font-size: 1.12rem; }
.price { font-weight: 700; white-space: nowrap; }
.dish p { margin: 0; color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.tag-v, .tag-vg { background: var(--leaf-soft); border-color: transparent; color: var(--leaf); }
.tag-gf { background: #eef0fb; border-color: transparent; color: #384083; }
.tag-spicy { background: var(--chilli-soft); border-color: transparent; color: var(--chilli); }
.tag-drink { background: #f3ecf9; border-color: transparent; color: #5b3a7a; }
.allergens { font-size: .8rem; color: var(--muted); }
.allergens b { color: var(--ink); font-weight: 600; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.dish.unavailable { opacity: .55; }

/* ---- Booking ---- */
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px);
}
.book-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: -28px auto 0; position: relative; }
.step-title { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; font-family: var(--serif); font-size: 1.25rem; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--saffron); color: var(--charcoal); display: grid; place-items: center; font: 700 .9rem var(--sans); flex: none; }
.slot-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.slot {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 10px 0;
  font: 600 1rem var(--sans);
  cursor: pointer;
  color: var(--ink);
}
.slot:hover:not([disabled]) { border-color: var(--saffron-deep); }
.slot[aria-pressed='true'] { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.slot[disabled] { text-decoration: line-through; color: #b9ada3; cursor: not-allowed; background: #faf7f2; }

.confirm-card { text-align: center; padding: 36px 24px; }
.confirm-card .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; margin: 0 auto 16px; }
.ref { font: 700 1.6rem var(--sans); letter-spacing: .08em; color: var(--chilli); background: var(--cream); display: inline-block; padding: 6px 16px; border-radius: 10px; margin: 6px 0 14px; }
.summary-list { list-style: none; padding: 0; margin: 0 auto 20px; max-width: 360px; text-align: left; }
.summary-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---- Ordering ---- */
.order-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; padding: 28px 0 64px; }
.order-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 8px; }
.order-controls .field { margin: 0; min-width: 220px; }
.basket { position: sticky; top: 88px; }
.basket h2 { font-size: 1.4rem; }
.basket-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.basket-lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--paper);
  font: 700 1rem var(--sans); cursor: pointer; line-height: 1;
}
.totals { margin: 0 0 14px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--charcoal); margin-top: 6px; padding-top: 8px; }
.basket-empty { color: var(--muted); padding: 12px 0 18px; }
.add-btn { background: var(--charcoal); color: var(--cream); border: 0; border-radius: 999px; padding: 6px 14px; font: 600 .9rem var(--sans); cursor: pointer; }
.add-btn:hover { background: var(--chilli); }
.in-basket { font-size: .82rem; font-weight: 600; color: var(--leaf); }
.basket-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 30;
}
.basket-bar .btn { width: 100%; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .basket { position: static; }
  .basket-bar { display: block; }
  .order-page { padding-bottom: 72px; }
}

/* ---- Tracking ---- */
.track-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; }
.track-steps li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 22px; position: relative; color: var(--muted); }
.track-steps li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid var(--line); background: var(--paper);
  flex: none; margin-top: 3px; z-index: 1;
}
.track-steps li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.track-steps li.done { color: var(--ink); }
.track-steps li.done::before { background: var(--leaf); border-color: var(--leaf); }
.track-steps li.current { color: var(--ink); font-weight: 600; }
.track-steps li.current::before { border-color: var(--saffron); background: var(--saffron); box-shadow: 0 0 0 5px rgb(232 163 61 / 25%); }

/* ---- Footer ---- */
.site-footer { background: var(--charcoal); color: rgb(251 246 238 / 80%); padding: 48px 0 32px; font-size: .95rem; }
.site-footer h3 { color: var(--saffron); font-size: 1.05rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-base { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / 12%); padding-top: 18px; font-size: .85rem; opacity: .7; }
.loading { padding: 80px 16px; text-align: center; color: var(--muted); }

/* ---- Jim, the chat assistant ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jim-launch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--cream);
  font: 600 1rem var(--sans);
  box-shadow: 0 8px 24px rgb(30 26 23 / 30%);
  cursor: pointer;
}
.jim-launch:hover { background: var(--charcoal-2); }
.jim-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--saffron); color: var(--charcoal);
  display: grid; place-items: center;
  font: 700 1.1rem var(--serif);
  flex: none;
}
.jim-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: min(380px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 100px));
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgb(30 26 23 / 30%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.jim-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--charcoal); color: var(--cream); }
.jim-head div { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.jim-head span:not(.jim-avatar) { font-size: .8rem; opacity: .75; }
.jim-close { background: none; border: 0; color: var(--cream); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.jim-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.jim-msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.jim-jim { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.jim-you { align-self: flex-end; background: var(--charcoal); color: var(--cream); border-bottom-right-radius: 4px; }
.jim-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.jim-typing { display: flex; gap: 4px; padding: 13px 15px; }
.jim-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: jim-dot 1.2s infinite; }
.jim-typing span:nth-child(2) { animation-delay: .2s; }
.jim-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes jim-dot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.jim-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.jim-form textarea { min-height: 0; resize: none; padding: 9px 12px; border-radius: 18px; }
.jim-send { width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--saffron); color: var(--charcoal); font-size: 1rem; cursor: pointer; }
.jim-note { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); }
@media (max-width: 900px) {
  /* Sit above the "View order" bar on the ordering pages. */
  .jim-launch { bottom: 76px; }
  .jim-launch-text { display: none; }
  .jim-launch { padding: 8px; }
}
@media (max-width: 600px) {
  .jim-panel { inset: 0; width: auto; height: auto; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .jim-typing span { animation: none; opacity: .6; } }

/* ---- Live delivery tracking ---- */
.track-map { height: 260px; border-radius: 12px; overflow: hidden; margin: 6px 0 14px; border: 1px solid var(--line); z-index: 0; }
.map-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 15px var(--sans); color: #fff;
  border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 35%);
}
.map-shop { background: var(--chilli); }
.map-home { background: var(--leaf); }
.map-driver { background: var(--charcoal); color: var(--saffron); }
.track-thread { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.tr-msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: .95rem; }
.tr-msg small { display: block; font-size: .72rem; opacity: .7; }
.tr-driver { align-self: flex-start; background: var(--cream); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.tr-customer { align-self: flex-end; background: var(--charcoal); color: var(--cream); border-bottom-right-radius: 4px; }
.track-compose { display: flex; gap: 8px; margin-bottom: 8px; }
.track-compose input { flex: 1; }

.brand-logo { max-height: 44px; max-width: 180px; object-fit: contain; display: block; }

.site-nav a.nav-login { margin-left: 6px; border: 1px solid rgb(255 255 255 / 30%); font-size: .9rem; }
@media (max-width: 760px) { .site-nav a.nav-login { margin: 8px 0 0; text-align: center; } }
