/* ==========================================================================
   Cafetaria de Gulle Jacob — Rotterdam
   Design system: "Rotterdam friture" — enamel sign, paper cone, greaseproof paper
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* Ink & paper */
  --ink:        #16120E;
  --ink-soft:   #3B322A;
  --ink-mute:   #6B5F52;
  --paper:      #F8F2E4;
  --paper-2:    #EFE5D0;
  --paper-3:    #E3D6BC;
  --cream:      #FFFBF1;

  /* Signal colours */
  --gold:       #EFA317;
  --gold-lt:    #FFC74C;
  --gold-dk:    #C77F06;
  --red:        #C8321B;
  --red-dk:     #96220F;
  --green:      #1E6B4A;
  --green-lt:   #2E9268;

  /* Semantic */
  --bg:         var(--paper);
  --fg:         var(--ink);
  --rule:       rgba(22, 18, 14, .14);
  --rule-hard:  rgba(22, 18, 14, .30);

  /* Type */
  --f-display: "Arial Narrow", "Helvetica Neue Condensed", "Liberation Sans Narrow",
               "Roboto Condensed", system-ui, sans-serif;
  --f-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  --f-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Space */
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --shell: 1220px;

  /* Shape */
  --r-sm: 6px;
  --r:    14px;
  --r-lg: 24px;

  /* Depth */
  --lift:   0 2px 0 var(--rule-hard);
  --lift-2: 0 10px 30px -12px rgba(22,18,14,.45);
}

/* Paper grain, generated — no image requests */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* --- 2. Reset ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .28;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 9999;
}

/* The user-agent rule for [hidden] is display:none at zero specificity, so any
   class that sets display quietly beats it — .order-shell{display:grid} kept
   the whole order flow visible behind its own confirmation. Settle it here
   rather than remembering to add a [hidden] rule to every new component. */
[hidden] { display: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.2rem; z-index: 10000; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

.vh {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- 3. Typography ------------------------------------------------------ */

h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .94;
  margin: 0;
  text-wrap: balance;
}

.t-xl  { font-size: clamp(3rem, 11.5vw, 8.5rem); }
.t-lg  { font-size: clamp(2.3rem, 7vw, 4.6rem); }
.t-md  { font-size: clamp(1.75rem, 4.4vw, 3rem); }
.t-sm  { font-size: clamp(1.3rem, 2.6vw, 1.85rem); letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: currentColor;
  flex: none;
}

.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

/* --- 4. Layout ---------------------------------------------------------- */

.shell {
  width: min(100% - var(--gut) * 2, var(--shell));
  margin-inline: auto;
}
.shell--narrow { max-width: 840px; }

section { position: relative; }

.band { padding-block: clamp(3.5rem, 9vw, 7rem); }
.band--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.band--ink {
  background: var(--ink);
  color: var(--paper);
  --rule: rgba(248,242,228,.18);
  --rule-hard: rgba(248,242,228,.32);
}
.band--ink .lede { color: rgba(248,242,228,.76); }
.band--ink .eyebrow { color: var(--gold-lt); }

.band--gold {
  background: var(--gold);
  color: var(--ink);
}
.band--gold .eyebrow { color: var(--red-dk); }
.band--gold .lede { color: rgba(22,18,14,.78); }

/* Torn / stitched edge between bands */
.edge-top::before,
.edge-bot::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg,
    currentColor 0 10px, transparent 10px 20px);
  opacity: .18;
}
.edge-top::before { top: 0; }
.edge-bot::after  { bottom: 0; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
/* 300px keeps this to three columns at most — review text gets unreadably
   narrow the moment a fourth column appears. */
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }

.split {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr .95fr; } }

.stack > * + * { margin-top: var(--s, 1rem); }

/* --- 5. Buttons & pills ------------------------------------------------- */

.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

.btn--gold  { --btn-bg: var(--gold-lt); --btn-fg: var(--ink); }
.btn--ink   { --btn-bg: var(--ink);     --btn-fg: var(--paper); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: none;
  border-color: currentColor;
}
.btn--ghost:hover { box-shadow: none; background: rgba(22,18,14,.07); }
.band--ink .btn--ghost:hover { background: rgba(248,242,228,.12); }
.btn--sm { padding: .7em 1.2em; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Enamel-sign badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4em .85em;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  line-height: 1;
  white-space: nowrap;
}
.badge--hot  { color: var(--red); }
.badge--new  { color: var(--green); }
.badge--fill { background: var(--ink); color: var(--gold-lt); border-color: var(--ink); }

/* Live open/closed pill */
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .85rem .42rem .62rem;
  border-radius: 999px;
  background: rgba(22,18,14,.06);
  border: 1.5px solid var(--rule-hard);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.band--ink .status, .site-head--dark .status { background: rgba(248,242,228,.10); }
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-mute);
  flex: none;
  position: relative;
}
.status.is-open  .status__dot { background: #2FBE72; }
.status.is-soon  .status__dot { background: var(--gold); }
.status.is-shut  .status__dot { background: var(--red); }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid #2FBE72;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status.is-open .status__dot::after { animation: none; opacity: 0; }
}

/* --- 6. Header ---------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 2px solid var(--ink);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding-block: .55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-inline-end: auto;
  flex: none;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__txt { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.22rem;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: .22rem;
}

.nav { display: none; }
@media (min-width: 940px) {
  .nav { display: flex; gap: .3rem; align-items: center; }
}
.nav a {
  padding: .55rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .16s ease;
}
.nav a:hover { background: rgba(22,18,14,.08); }
.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.head-actions { display: flex; align-items: center; gap: .6rem; }
.head-actions .status { display: none; }
@media (min-width: 620px) { .head-actions .status { display: inline-flex; } }
.head-actions .btn { display: none; }
@media (min-width: 940px) { .head-actions .btn { display: inline-flex; } }

.burger {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
@media (min-width: 940px) { .burger { display: none; } }
.burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem var(--gut) 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateY(-100%);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateY(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: none; border: 2px solid rgba(248,242,228,.4);
  border-radius: 12px; color: inherit; cursor: pointer;
}
.drawer__close svg { width: 22px; height: 22px; }
.drawer nav { display: grid; align-content: center; gap: .2rem; }
.drawer nav a {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 12vw, 3.4rem);
  line-height: 1.05;
  text-decoration: none;
  padding: .28rem 0;
  border-bottom: 1px solid rgba(248,242,228,.16);
  display: flex;
  align-items: baseline;
  gap: .8rem;
}
.drawer nav a span {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--gold-lt);
  letter-spacing: 0;
}
.drawer__foot { display: grid; gap: .9rem; padding-top: 1.2rem; }

/* Sticky mobile order bar */
.orderbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 2px solid var(--gold);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.orderbar[data-show="true"] { transform: translateY(0); }
@media (min-width: 940px) { .orderbar { display: none; } }
.orderbar__txt { font-size: .82rem; line-height: 1.25; margin-inline-end: auto; }
.orderbar__txt strong { display: block; font-size: .95rem; }

/* --- 7. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem);
}
/* Radiating "fryer glow" */
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -30%;
  width: min(150vw, 1400px);
  aspect-ratio: 1;
  translate: -50% 0;
  background: radial-gradient(circle,
    rgba(239,163,23,.34) 0%,
    rgba(239,163,23,.12) 38%,
    transparent 68%);
  pointer-events: none;
}
.hero__in { position: relative; }
/* The hero is its own dark block and does not inherit the .band--ink colours. */
.hero .lede { color: rgba(248, 242, 228, .82); }
.hero .eyebrow { color: var(--gold-lt); }

.hero__title {
  font-size: clamp(3rem, 10.5vw, 7.5rem);
  line-height: .86;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.hero__title .ln { display: block; }
.hero__title .hl {
  color: var(--gold-lt);
  -webkit-text-stroke: 0;
}
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  margin-top: 1.6rem;
  font-size: .9rem;
  color: rgba(248,242,228,.8);
}
.hero__meta b { color: var(--paper); }

.hero__art {
  position: absolute;
  inset-inline-end: -4%;
  bottom: -6%;
  width: clamp(200px, 34vw, 460px);
  opacity: .95;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}
@media (max-width: 879px) { .hero__art { display: none; } }

/* Stat strip under hero */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--gold);
}
.stat {
  padding: 1.1rem var(--gut);
  border-inline-end: 2px solid var(--ink);
  text-align: center;
}
.stat:last-child { border-inline-end: 0; }
.stat__n {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
  display: block;
}
.stat__l {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(22,18,14,.72);
  margin-top: .4rem;
  display: block;
}

/* --- 8. Marquee ticker -------------------------------------------------- */

.ticker {
  background: var(--red);
  color: var(--cream);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  padding-block: .7rem;
  display: flex;
  user-select: none;
}
.ticker__run {
  display: flex;
  gap: 2.4rem;
  /* Gap after the last item, before the cloned second run. Logical, so the
     seam lands in the right place in right-to-left too. */
  padding-inline-end: 2.4rem;
  flex: none;
  animation: slide 42s linear infinite;
  white-space: nowrap;
}
.ticker:hover .ticker__run { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__run { animation: none; }
  .ticker { overflow-x: auto; }
}
.ticker span {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.ticker span b { color: var(--gold-lt); font-weight: 700; }
.ticker span::after {
  content: "★";
  color: rgba(255,255,255,.45);
  font-size: .7em;
}

/* --- 9. Cards ----------------------------------------------------------- */

.card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  box-shadow: var(--lift);
  position: relative;
}
.band--ink .card { background: #201A15; border-color: rgba(248,242,228,.22); box-shadow: none; }

/* Enamel sign — corner bolts */
.card--enamel::before,
.card--enamel::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rule-hard);
}
.card--enamel::before { left: 11px; top: 11px; }
.card--enamel::after  { right: 11px; top: 11px; }

/* Star row: filled stars are the real count, empty ones are the remainder. */
.stars { color: var(--gold-lt); letter-spacing: .06em; }
.band--ink .stars, .hero .stars { color: var(--gold-lt); }

/* Authority card: a claim, then the customer's own words under a rule */
.au { display: flex; flex-direction: column; padding-top: 1.9rem; }
.au__b { font-size: .95rem; line-height: 1.55; margin: .8rem 0 1.2rem; flex: 1; }
.au__q {
  margin: 0;
  padding-top: 1rem;
  border-top: 2px dashed var(--rule-hard);
}
.au__q p {
  font-style: italic;
  font-size: .93rem;
  line-height: 1.5;
  margin: 0 0 .45rem;
}
.au__q footer {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--ink-mute);
}
.au__q footer b { color: var(--ink); }

/* Product card */
.dish {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 1.1rem;
  box-shadow: var(--lift);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none;
}
.dish:hover { transform: translateY(-4px); box-shadow: 0 10px 0 -2px var(--rule-hard); }
.dish__art {
  height: 96px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(239,163,23,.35), transparent 70%),
    var(--paper-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--rule);
}
.dish__art svg { width: 74px; height: 74px; }
.dish__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.28rem;
  line-height: 1.02;
}
.dish__desc { font-size: .86rem; color: var(--ink-mute); line-height: 1.45; }
.dish__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .35rem;
  border-top: 1px dashed var(--rule-hard);
}
.dish__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.45rem;
  line-height: 1;
}

/* Numbered step */
.step { position: relative; padding-inline-start: 3.6rem; }
.step__n {
  position: absolute;
  inset-inline-start: 0; top: -.15rem;
  width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .94rem; color: var(--ink-soft); }
.band--ink .step p { color: rgba(248,242,228,.72); }

/* Review ticket */
.ticket {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 1.3rem 1.3rem 1.1rem;
  box-shadow: var(--lift);
  break-inside: avoid;
}
.ticket__stars { color: var(--gold-dk); letter-spacing: .18em; font-size: .95rem; }
.ticket__body { margin: .7rem 0 1.2rem; font-size: .97rem; line-height: 1.55; }
/* The tear line belongs to the footer, not to a fixed offset — otherwise it
   cuts straight through the name on short reviews. */
.ticket__who {
  margin-top: auto;
  display: flex; justify-content: space-between; gap: .8rem;
  font-size: .8rem; color: var(--ink-mute);
  border-top: 2px dashed var(--rule-hard);
  padding-top: .9rem;
}
.ticket__who b { color: var(--ink); font-weight: 700; }

/* --- 10. Menu page ------------------------------------------------------ */

.menu-tools {
  position: sticky;
  top: 68px;
  z-index: 80;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  padding-block: .8rem;
}

.search {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding-block: .55rem;
  padding-inline: 1.1rem .8rem;
  box-shadow: var(--lift);
}
.search svg { width: 20px; height: 20px; flex: none; opacity: .55; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 1rem;
  padding: .25rem 0;
}
.search__clear {
  border: 0; background: var(--paper-3);
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: none; place-items: center;
  flex: none; font-size: 1rem; line-height: 1;
}
.search[data-filled="true"] .search__clear { display: grid; }

.chips {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .8rem .15rem .25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: .48rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip--cat[aria-pressed="true"] { background: var(--red); border-color: var(--ink); color: var(--cream); }

.menu-count {
  font-size: .82rem;
  color: var(--ink-mute);
  padding-top: .55rem;
}

/* --- Menu index: jump straight to a category ---------------------------- */

.mindex {
  margin-top: 1.6rem;
  padding: 1.1rem 1.2rem;
  background: var(--paper-2);
  border-radius: var(--r);
}
.mindex__g + .mindex__g { margin-top: .9rem; }
.mindex__g > b {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .45rem;
}
.mindex__l { display: flex; flex-wrap: wrap; gap: .4rem; }
.mindex .chip--cat {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  padding: .34rem .75rem;
  font-size: .82rem;
}
.mindex .chip--cat span {
  font-family: var(--f-mono);
  font-size: .72em;
  opacity: .55;
}
.mindex .chip--cat:hover { background: var(--ink); color: var(--paper); }

/* --- Menu groups -------------------------------------------------------- */

.mgroup { padding-top: clamp(2.2rem, 5vw, 3.6rem); }
.mgroup[hidden] { display: none; }
.mgroup__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 4px solid var(--ink);
  padding-bottom: .5rem;
}
.mgroup__t { font-size: clamp(1.9rem, 5vw, 3rem); }
.mgroup__n {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
  /* Not "margin: 0 0 0 auto" — that is margin-left in disguise and it put the
     note next to the heading instead of opposite it in Arabic. */
  margin-inline-start: auto;
}

.cat { padding-top: clamp(1.4rem, 3vw, 2.2rem); scroll-margin-top: 150px; }
.cat[hidden] { display: none; }
.cat__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: .5rem;
  margin-bottom: .3rem;
}
.cat__head h3 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.cat__note {
  font-size: .84rem;
  color: var(--ink-mute);
  margin-inline-start: auto;
  text-align: end;
  font-style: italic;
}
/* On narrow screens the note does not fit beside the heading — put it below. */
@media (max-width: 620px) {
  .cat__head { display: block; }
  .cat__note { text-align: start; margin: .35rem 0 0; }
}

/* Two or three items abreast instead of one per line. 137 dishes as a single
   column made the page four screens longer than it needed to be and forced you
   to scroll past the sauces to find a burger. The column count is driven by
   available width, so it collapses to one on a phone by itself. */
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(1.2rem, 3vw, 2.6rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
}
.item {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  /* On a row with no description, padding was 40% of the height. */
  padding: .58rem .2rem;
  border-bottom: 1px solid var(--rule);
}
.item[hidden] { display: none; }
.item__main { min-width: 0; }
.item__name {
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.3;
  display: inline;
  margin-inline-end: .45rem;
}
.item__desc {
  display: block;
  font-size: .85rem;
  color: var(--ink-mute);
  line-height: 1.45;
  margin-top: .12rem;
}
.item__dots {
  flex: 1;
  border-bottom: 2px dotted var(--rule-hard);
  min-width: 1.5rem;
  transform: translateY(-.28em);
}
.item__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.22rem;
  white-space: nowrap;
  flex: none;
}
.item mark { background: var(--gold-lt); color: inherit; padding: 0 .1em; border-radius: 3px; }

.tag {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .2em .5em;
  border-radius: 4px;
  vertical-align: .12em;
  margin-inline-end: .3rem;
}
.tag--hot  { background: var(--red); color: var(--cream); }
.tag--new  { background: var(--green); color: var(--cream); }
.tag--kids { background: var(--gold-lt); color: var(--ink); }

.empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-mute);
}
.empty[hidden] { display: none; }

/* --- 11. Bakje builder -------------------------------------------------- */

.builder {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}
@media (min-width: 940px) { .builder { grid-template-columns: 1.35fr .65fr; align-items: start; } }

.opt-group + .opt-group { margin-top: 1.6rem; }
.opt-group__lbl {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: .7rem;
}
.opt-group__lbl small {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.band--ink .opt-group__lbl small { color: rgba(248,242,228,.6); }

.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .95rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
  user-select: none;
}
.opt:hover { transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__p { font-family: var(--f-mono); font-size: .8rem; opacity: .7; }
.opt:has(input:checked) {
  background: var(--gold-lt);
  color: var(--ink);
  border-color: var(--gold-lt);
}
.opt:has(input:checked) .opt__p { opacity: .85; }
.opt:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }

/* Receipt panel */
.receipt {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r);
  padding: 1.4rem 1.3rem;
  position: relative;
  box-shadow: var(--lift-2);
}
/* Perforated bottom edge */
.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 10px;
  background: radial-gradient(circle at 9px 0, transparent 9px, var(--cream) 9px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
}
.receipt h3 {
  font-size: 1.3rem;
  padding-bottom: .7rem;
  border-bottom: 2px dashed var(--rule-hard);
  margin-bottom: .8rem;
}
.receipt__lines { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .93rem; }
.receipt__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .32rem 0;
}
.receipt__lines .muted { color: var(--ink-mute); font-style: italic; }
.receipt__tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--ink);
  padding-top: .7rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.15rem;
}
.receipt__tot span:last-child { font-size: 2.1rem; line-height: 1; }
.receipt .btn { width: 100%; margin-top: 1rem; }
.receipt__hint { font-size: .76rem; color: var(--ink-mute); margin-top: .8rem; text-align: center; }

.toast {
  position: fixed;
  left: 50%; bottom: 5.5rem;
  translate: -50% 0;
  background: var(--ink);
  color: var(--gold-lt);
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  z-index: 500;
  box-shadow: var(--lift-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, translate .25s ease;
}
.toast[data-show="true"] { opacity: 1; translate: -50% -10px; }

/* --- 12. Hours table ---------------------------------------------------- */

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: start; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.hours th { font-weight: 600; }
.hours td { text-align: end; font-family: var(--f-mono); font-size: .88rem; }
.hours tr[data-today="true"] {
  color: var(--gold-lt);
  font-weight: 700;
}
.hours tr[data-today="true"] th::after {
  content: "vandaag";
  font-family: var(--f-body);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-inline-start: .6rem;
  padding: .18em .5em;
  border: 1px solid currentColor;
  border-radius: 999px;
  vertical-align: .12em;
}

/* --- 13. Timeline ------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 9px; top: .6rem; bottom: .6rem;
  width: 2px;
  background: repeating-linear-gradient(var(--rule-hard) 0 6px, transparent 6px 12px);
}
.timeline li { position: relative; padding: 0 0 1.8rem; padding-inline-start: 3rem; }
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 3px; top: .45rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink);
}
.band--ink .timeline li::before { border-color: var(--paper); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.timeline p { font-size: .93rem; color: var(--ink-soft); }
.band--ink .timeline p { color: rgba(248,242,228,.72); }

/* --- 14. FAQ ------------------------------------------------------------ */

.faq { border-top: 2px solid var(--ink); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem .5rem 1.1rem 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-inline-start: auto;
  font-size: 1.6rem;
  line-height: 1;
  flex: none;
  transition: rotate .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; padding-inline-end: 2rem; font-size: .96rem; color: var(--ink-soft); }

/* --- 15. Footer --------------------------------------------------------- */

.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  --rule: rgba(248,242,228,.18);
  --rule-hard: rgba(248,242,228,.34);
}
.site-foot a { color: inherit; }
.site-foot h3 {
  font-size: 1.05rem;
  letter-spacing: .14em;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}
.foot-grid {
  display: grid;
  gap: 2.2rem;
}
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.foot-links a { text-decoration: none; opacity: .82; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }

.foot-bot {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  font-size: .8rem;
  color: rgba(248,242,228,.6);
}
.foot-bot a { text-decoration: underline; }

.big-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(3rem, 17vw, 13rem);
  line-height: .8;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(248,242,228,.22);
  margin-top: 2.5rem;
  text-align: center;
  overflow: hidden;
}

/* --- 16. Reveal animation ---------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- 17. Misc ----------------------------------------------------------- */

.rule { border: 0; border-top: 2px solid var(--rule-hard); margin: 2.5rem 0; }

.note {
  background: var(--paper-2);
  border-inline-start: 4px solid var(--gold);
  border-start-end-radius: var(--r-sm);
  border-end-end-radius: var(--r-sm);
  padding: 1rem 1.2rem;
  font-size: .92rem;
}
.band--ink .note { background: rgba(248,242,228,.07); }

.pill-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.pill-list li {
  border: 1.5px solid var(--rule-hard);
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .82rem;
}

.map-frame {
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  box-shadow: var(--lift);
}

@media print {
  .site-head, .orderbar, .menu-tools, .site-foot, .btn, .ticker, .drawer { display: none !important; }
  body::before { display: none; }
  body { background: #fff; }
  .cat { break-inside: avoid; }
}

/* ==========================================================================
   18. Order flow
   The five steps, the running receipt and the confirmation ticket.
   Same paper-and-enamel language as the rest: the basket is a till roll, the
   confirmation is a ticket you could hand across the counter.
   ========================================================================== */

/* -- hero promises ------------------------------------------------------- */

.trust {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.trust li {
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: .9rem;
  line-height: 1.35;
}
.trust b {
  display: block;
  font-family: var(--f-display);
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: .01em;
}
.trust span { font-size: .85rem; opacity: .74; }

/* -- two-column shell ---------------------------------------------------- */

.order-shell {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  align-items: start;
}
@media (min-width: 1000px) {
  .order-shell { grid-template-columns: minmax(0, 1fr) 22rem; }
  .order-side { position: sticky; top: 92px; }
}
.order-main { min-width: 0; }

/* -- progress rail ------------------------------------------------------- */

.prog {
  position: sticky;
  /* Just under the sticky header, which measures 70px at both 390 and 1280.
     At 60px the header covered the top of the rail. */
  top: 70px;
  z-index: 70;
  margin-inline: calc(var(--gut) * -1);
  padding-inline: var(--gut);
  padding-block: .7rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.prog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.prog__list::-webkit-scrollbar { display: none; }
.prog__list li { flex: 1 1 auto; min-width: max-content; }
.prog__list a {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.prog__list b {
  display: grid;
  place-items: center;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-family: var(--f-mono);
  font-size: .72rem;
  flex: none;
}
/* Done: the step behind you turns solid. Doing: gold. Ahead: quiet. */
.prog__list li[data-state="done"] a { color: var(--green); }
.prog__list li[data-state="done"] b { background: var(--green); border-color: var(--green); color: var(--cream); }
.prog__list li[data-state="now"] a { background: var(--ink); color: var(--gold-lt); }
.prog__list li[data-state="now"] b { border-color: var(--gold-lt); }
@media (max-width: 600px) {
  .prog__list a span { display: none; }
  .prog__list li[data-state="now"] a span { display: inline; }
}

/* -- a step -------------------------------------------------------------- */

.ostep {
  padding-block: clamp(2rem, 5vw, 3.2rem);
  border-bottom: 2px dashed var(--rule);
  scroll-margin-top: 120px;
}
.ostep:last-of-type { border-bottom: 0; }
.ostep__t {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
}
.ostep__n {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-lt);
  font-family: var(--f-mono);
  font-size: .95rem;
  font-stretch: normal;
}
.ostep__b { margin: .7rem 0 1.5rem; color: var(--ink-soft); max-width: 60ch; }
.ostep__sub {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.ostep__aside { font-size: .9rem; color: var(--ink-mute); margin-top: 1.2rem; }
.ostep__empty { font-size: .93rem; color: var(--ink-mute); font-style: italic; }

/* -- step 1: quick picks ------------------------------------------------- */

.picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.1rem 1.1rem 1rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--lift);
  transition: transform .14s ease, box-shadow .14s ease;
}
.pick:hover { transform: translateY(-3px); box-shadow: 0 8px 0 -2px var(--rule-hard); }
.pick__ic { width: 34px; height: 34px; color: var(--ink); }
.pick__badge {
  position: absolute;
  top: .8rem;
  inset-inline-end: .8rem;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold-lt);
  border-radius: 4px;
  padding: .2em .45em;
}
.pick__name {
  font-size: 1.15rem;
  line-height: 1.15;
  margin-top: .2rem;
  padding-inline-end: 4.5rem;
}
.pick__desc {
  font-size: .84rem;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}
.pick__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .5rem;
}
.pick__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.5rem;
}

/* -- the add button, on tiles and on every menu line ---------------------- */

.item__add {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  align-self: center;
  transition: background-color .14s ease, transform .14s ease;
}
.item__add:hover { background: var(--gold-lt); transform: scale(1.1); }
.item__add[data-just="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }
.pick__add { width: 2.4rem; height: 2.4rem; background: var(--gold-lt); font-size: 1.6rem; }

/* -- step 1: the full menu behind one disclosure ------------------------- */

.allmenu {
  margin-top: 1.8rem;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--cream);
  overflow: hidden;
}
.allmenu__sum {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-size: .95rem;
}
.allmenu__sum::-webkit-details-marker { display: none; }
.allmenu__sum::after {
  content: "+";
  margin-inline-start: auto;
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1;
}
.allmenu[open] .allmenu__sum::after { content: "–"; }
.allmenu__sum b {
  font-family: var(--f-display);
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: 1.3rem;
}
.allmenu__sum span { font-size: .82rem; color: var(--ink-mute); }
.allmenu > *:not(.allmenu__sum) { padding-inline: 1.2rem; }
.allmenu #menu-root { padding-bottom: 1.5rem; }
.menu-tools--flat {
  position: static;
  background: none;
  backdrop-filter: none;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  padding-block: .9rem;
}

/* -- step 2: the upsell -------------------------------------------------- */

.ups + .ups { margin-top: 1.6rem; }
.ups__t {
  font-size: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.ups__t small {
  font-family: var(--f-body);
  font-weight: 400;
  font-stretch: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: .78rem;
  color: var(--ink-mute);
}
.ups__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
}
.ups__opt {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .8rem .45rem .5rem;
  background: var(--cream);
  border: 2px solid var(--rule-hard);
  border-radius: 999px;
  font-size: .92rem;
}
.ups__name { flex: 1; min-width: 0; font-weight: 600; }
.ups__price { font-family: var(--f-mono); font-size: .82rem; color: var(--ink-mute); }
.ups__add { width: 1.8rem; height: 1.8rem; font-size: 1.15rem; }

/* -- step 3: collection slots -------------------------------------------- */

.slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.slot {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  padding: .55rem 1.05rem;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--cream);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .14s ease, color .14s ease;
}
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot small {
  font-weight: 400;
  font-size: .72rem;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.slot:has(input:checked) { background: var(--ink); color: var(--gold-lt); }
.slot:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }

.slot-other {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: .88rem;
}
.slot-other select {
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--cream);
  padding: .45rem .6rem;
  font-size: .92rem;
}

/* Social proof, placed at the moment the doubt appears */
.proof {
  margin-top: 1.8rem;
  padding: 1.2rem 1.3rem;
  background: var(--paper-2);
  border-radius: var(--r);
}
.proof__t { font-size: 1.05rem; }
.proof__b { font-size: .82rem; color: var(--ink-mute); margin: .3rem 0 1rem; }
.proof__q {
  margin: 0;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--gold);
  font-size: .9rem;
}
.proof__q + .proof__q { margin-top: 1rem; }
.proof__q p { font-style: italic; margin-bottom: .3rem; }
.proof__q footer { font-size: .78rem; color: var(--ink-mute); }

/* -- step 4: four fields, no more ---------------------------------------- */

.fields {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.field { margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea, .field-note textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--cream);
  padding: .7rem .85rem;
  font-size: 1rem;
}
.field input::placeholder, .field-note textarea::placeholder { color: var(--ink-mute); opacity: .6; }
.field__hint { font-size: .76rem; color: var(--ink-mute); }
.field__err { font-size: .78rem; color: var(--red-dk); font-weight: 700; }
.field[data-bad="true"] input { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--cream)); }

.field-note { margin-top: 1.1rem; font-size: .92rem; }
.field-note summary { cursor: pointer; font-weight: 700; }
.field-note textarea { margin-top: .5rem; resize: vertical; }

/* -- step 5: payment ----------------------------------------------------- */

.paygroup + .paygroup { margin-top: 1.8rem; }
.paygroup__t { font-size: 1.15rem; }
.paygroup__b { font-size: .84rem; color: var(--ink-mute); margin: .25rem 0 .9rem; }

.pays { display: grid; gap: .55rem; }
@media (min-width: 640px) { .pays { grid-template-columns: 1fr 1fr; } }

.pay {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .9rem;
  background: var(--cream);
  border: 2px solid var(--rule-hard);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .14s ease, background-color .14s ease;
}
.pay:hover { border-color: var(--ink); }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay__ic { width: 26px; height: 26px; flex: none; opacity: .8; }
.pay__ic svg { width: 100%; height: 100%; }
.pay__txt { min-width: 0; line-height: 1.25; }
.pay__txt b { display: block; font-size: .98rem; }
.pay__txt small { display: block; font-size: .76rem; color: var(--ink-mute); }
.pay__tick {
  margin-inline-start: auto;
  width: 1.15rem; height: 1.15rem;
  border: 2px solid var(--rule-hard);
  border-radius: 50%;
  flex: none;
}
.pay:has(input:checked) { border-color: var(--ink); background: var(--gold-lt); }
.pay:has(input:checked) .pay__tick { background: var(--ink); border-color: var(--ink); }
.pay:has(input:checked) .pay__txt small { color: var(--ink-soft); }
.pay:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }

.paymore { margin-top: .55rem; font-size: .9rem; }
.paymore summary { cursor: pointer; font-weight: 700; color: var(--ink-mute); }
.paymore .pays { margin-top: .55rem; }

.paysafe {
  display: flex;
  align-items: start;
  gap: .7rem;
  margin-top: 1.4rem;
  font-size: .82rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.paysafe svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }

.note--warn { border-inline-start-color: var(--red); margin-bottom: 1.4rem; }

/* -- the running receipt ------------------------------------------------- */

.receipt--cart { border: 2px solid var(--ink); }
.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
  color: var(--ink-mute);
  padding-block: .2rem;
}
.receipt--cart .receipt__tot { margin-top: .5rem; }

.cart-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: center;
  padding-block: .35rem;
}
.cart-line__n { font-weight: 600; line-height: 1.25; }
.cart-line__q {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--f-mono);
  font-size: .8rem;
}
.cart-line__q b { min-width: 1.1rem; text-align: center; }
.qty {
  width: 1.4rem; height: 1.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--rule-hard);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.qty:hover { background: var(--paper-3); }

.cart-when {
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  background: var(--paper-2);
  border-radius: var(--r-sm);
  padding: .5rem;
  margin: .9rem 0 0;
}
.receipt .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: 0 4px 0 var(--ink); transform: none; }

.linkish {
  border: 0;
  background: none;
  padding: .4rem;
  font-size: .78rem;
  color: var(--ink-mute);
  text-decoration: underline;
  cursor: pointer;
}

/* Count on the header order button */
.cart-dot {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-lt);
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: 0;
}
.btn--gold .cart-dot, .btn--sm .cart-dot { background: var(--ink); color: var(--gold-lt); }

/* On the order page the sticky bar carries the live total. */
.cartbar[data-show="true"] { transform: translateY(0); }
@media (min-width: 1000px) { .cartbar { display: none; } }

/* -- confirmation ticket ------------------------------------------------- */

.bigticket {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem;
  margin-top: 1.6rem;
  position: relative;
  box-shadow: var(--lift-2);
}
.bigticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 10px;
  background: radial-gradient(circle at 9px 0, transparent 9px, var(--cream) 9px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
}
.bigticket__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px dashed var(--rule-hard);
  padding-bottom: .9rem;
}
.bigticket__lbl {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bigticket__code {
  font-family: var(--f-mono);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: -.02em;
}
.bigticket__facts {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin: 1.1rem 0;
}
.bigticket__facts dt {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .2rem;
}
.bigticket__facts dd { margin: 0; font-weight: 700; line-height: 1.4; }
.bigticket__h {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 2px dashed var(--rule-hard);
  padding-top: .9rem;
}
.bigticket .receipt__lines { margin-block: .7rem; }

@media print {
  .order-hero, .order-main, .prog, .cartbar, .noscript, #order-flow { display: none !important; }
  #order-done { display: block !important; background: #fff; padding: 0; }
  .bigticket { box-shadow: none; border: 1px solid #000; }
  .bigticket::after { display: none; }
}

/* ==========================================================================
   19. Language picker
   A <details> element: real links, works without JavaScript, and search engines
   follow the translations like any other link.
   ========================================================================== */

.lang { position: relative; flex: none; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .6rem .42rem .7rem;
  border: 1.5px solid var(--rule-hard);
  border-radius: 999px;
  background: rgba(22, 18, 14, .06);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover { background: rgba(22, 18, 14, .12); }
.lang__btn svg { width: 14px; height: 14px; transition: rotate .18s ease; }
.lang[open] .lang__btn svg { rotate: 180deg; }
.lang__flag { font-size: 1.05em; line-height: 1; }
.lang__code { font-family: var(--f-mono); font-size: .78em; letter-spacing: .04em; }

.lang__list {
  position: absolute;
  z-index: 120;
  top: calc(100% + .5rem);
  inset-inline-end: 0;
  min-width: 12.5rem;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--lift-2);
}
.lang__list a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .7rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
}
.lang__list a:hover { background: var(--paper-2); }
.lang__list a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang__list .lang__code { margin-inline-start: auto; opacity: .6; }

/* In the dark drawer the languages sit side by side as a row of buttons. */
.drawer__langs { display: flex; flex-wrap: wrap; gap: .5rem; }
.drawer__langs a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border: 1.5px solid rgba(248, 242, 228, .35);
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
}
.drawer__langs a[aria-current="true"] {
  background: var(--gold-lt);
  color: var(--ink);
  border-color: var(--gold-lt);
}

/* ==========================================================================
   20. Odds and ends
   ========================================================================== */

.pull {
  margin: 2rem 0 0;
  padding-inline-start: 1.2rem;
  border-inline-start: 4px solid var(--gold);
}
.pull p { font-size: 1.15rem; font-style: italic; }
.pull footer { font-size: .85rem; color: var(--ink-mute); }
.band--ink .pull footer { color: rgba(248, 242, 228, .6); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }

.card--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.addr { font-style: normal; font-size: 1.1rem; line-height: 1.8; }

.soft { font-style: normal; opacity: .6; }

.hl { color: var(--gold-lt); }

.opt-group { border: 0; padding: 0; margin: 0; }

/* ==========================================================================
   21. Arabic & right-to-left
   The logical properties above already handle most of the mirroring. What is
   left lives here: script, spacing and two animations.
   ========================================================================== */

:root:lang(ar), [dir="rtl"] {
  --f-display: "Noto Kufi Arabic", "Cairo", "Tajawal", "Geeza Pro",
               "Segoe UI", Tahoma, Arial, sans-serif;
  --f-body:    "Noto Sans Arabic", "Noto Naskh Arabic", "Geeza Pro",
               "Segoe UI", Tahoma, Arial, sans-serif;
  --f-mono:    "Noto Sans Arabic", ui-monospace, Menlo, Consolas, monospace;
}

/* Arabic script joins its letters: there are no capitals, and condensing or
   letter-spacing breaks the joins. Turn all three off. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .btn, [dir="rtl"] .eyebrow, [dir="rtl"] .badge,
[dir="rtl"] .brand__name, [dir="rtl"] .brand__sub, [dir="rtl"] .tag,
[dir="rtl"] .stat__l, [dir="rtl"] .dish__name, [dir="rtl"] .dish__price,
[dir="rtl"] .item__price, [dir="rtl"] .opt-group__lbl, [dir="rtl"] .receipt__tot,
[dir="rtl"] .ticker span, [dir="rtl"] .drawer nav a, [dir="rtl"] .big-word,
[dir="rtl"] .faq summary, [dir="rtl"] .site-foot h3, [dir="rtl"] .hours tr[data-day]:not([data-today]) th::after {
  text-transform: none;
  font-stretch: normal;
  letter-spacing: normal;
}

/* Arabic needs more line-height than a condensed Latin face, and reads a lot
   larger at the same point size: scale it back a little. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.24; }
[dir="rtl"] .t-lg { font-size: clamp(1.9rem, 5.2vw, 3.4rem); }
[dir="rtl"] .t-md { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
[dir="rtl"] .t-sm { font-size: clamp(1.15rem, 2.1vw, 1.5rem); }
[dir="rtl"] .hero__title {
  font-size: clamp(2.2rem, 6.4vw, 4.6rem);
  line-height: 1.2;
  max-width: 20ch;
}
[dir="rtl"] .big-word { line-height: 1.1; }
[dir="rtl"] .hours tr[data-today="true"] th::after { text-transform: none; letter-spacing: normal; }

/* The outline treatment is too fragile for Arabic script: fill it solid. */
[dir="rtl"] .hero__title .outline {
  color: var(--paper);
  -webkit-text-stroke: 0;
}

/* The rule before an eyebrow has to start on the right. */
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }

/* Two animations have no logical direction, so flip them by hand. */
[dir="rtl"] .ticker__run { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(100%); } }

[dir="rtl"] .skip { left: auto; right: -9999px; }
[dir="rtl"] .skip:focus { right: .5rem; }

/* Prices and times stay left-to-right inside Arabic text. */
[dir="rtl"] .item__price,
[dir="rtl"] .dish__price,
[dir="rtl"] .hours td,
[dir="rtl"] .opt__p,
[dir="rtl"] .receipt__lines .num,
[dir="rtl"] #receipt-total,
[dir="rtl"] .ticker span b,
[dir="rtl"] .pick__price,
[dir="rtl"] .ups__price,
[dir="rtl"] .receipt__row .num,
[dir="rtl"] .cart-line__q,
[dir="rtl"] .slot__time,
[dir="rtl"] .ltr,
[dir="rtl"] .bigticket__code,
[dir="rtl"] .cart-dot,
[dir="rtl"] #cart-total,
[dir="rtl"] #cart-sub,
[dir="rtl"] #ok-total {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Order-flow labels that are not headings, so the block above misses them. */
[dir="rtl"] .trust b,
[dir="rtl"] .allmenu__sum b,
[dir="rtl"] .ostep__sub,
[dir="rtl"] .bigticket__lbl,
[dir="rtl"] .bigticket__facts dt,
[dir="rtl"] .pick__badge,
[dir="rtl"] .slot small,
[dir="rtl"] .prog__list a {
  text-transform: none;
  font-stretch: normal;
  letter-spacing: normal;
}
