/* Saffron menu – shared stylesheet for menu_en / fr / de / it / es / zh / ru.html */

:root {
  --teal: #0f4c4c;
  --teal-deep: #0a3636;
  --cream: #ece2d4;
  --red: #a8322b;
  --ink: #201a17;
  --muted: #5b504a;
  --todo: #fff1a8;
  --veg: #4f7a45;
  --vegan: #2f5d3a;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  padding: 16px 16px 40px;
  background: var(--teal-deep);
  color: var(--ink);
  font: 16px/1.5 var(--text);
}

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

/* ---------- Language switcher ---------- */
.langs {
  max-width: 1100px;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.langs a {
  color: var(--cream);
  text-decoration: none;
  font-size: .9rem;
  padding: 4px 14px;
  border: 1px solid rgba(236, 226, 212, .45);
  border-radius: 999px;
}
.langs a:hover { background: rgba(236, 226, 212, .15); }
.langs a[aria-current] { background: var(--cream); color: var(--teal); border-color: var(--cream); font-weight: 600; }
.langs a:focus-visible { outline-color: var(--cream); }

/* ---------- The ticket: cream sheet with notched corners ---------- */
.sheet {
  --notch: 20px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 56px);
  background: var(--cream);
  -webkit-mask:
    radial-gradient(circle at 0 0,       #0000 var(--notch), #000 calc(var(--notch) + 1px)) top left     / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0,    #0000 var(--notch), #000 calc(var(--notch) + 1px)) top right    / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%,    #0000 var(--notch), #000 calc(var(--notch) + 1px)) bottom left  / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--notch), #000 calc(var(--notch) + 1px)) bottom right / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0,       #0000 var(--notch), #000 calc(var(--notch) + 1px)) top left     / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0,    #0000 var(--notch), #000 calc(var(--notch) + 1px)) top right    / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%,    #0000 var(--notch), #000 calc(var(--notch) + 1px)) bottom left  / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--notch), #000 calc(var(--notch) + 1px)) bottom right / 51% 51% no-repeat;
}
.sheet::before {            /* thin red frame inside the ticket */
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid var(--red);
  pointer-events: none;
}

/* ---------- Masthead ---------- */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hours, .address { margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px; line-height: 1.6; }
.star { color: var(--red); flex: none; }
.brand .logo {               /* decorative: the h1 carries the name */
  display: block;
  width: clamp(84px, 11vw, 124px);
  height: auto;
  margin: 0 auto 10px;
}
.brand h1 {
  margin: 0;
  font: 700 clamp(3rem, 9vw, 5.5rem)/1 var(--display);
  letter-spacing: -.01em;
  color: var(--teal);
}
.tagline { margin: 8px 0 0; font: italic 1.05rem/1.3 var(--display); color: var(--teal); }

.legend {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--red);
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Section jump links ---------- */
.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 14px 0 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--red);
}
.jump a { color: var(--red); font-size: .85rem; text-decoration: none; }
.jump a:hover { text-decoration: underline; }

/* ---------- Menu body ---------- */
.menu {
  column-count: 2;
  column-gap: 3.5rem;
  column-rule: 1px solid rgba(168, 50, 43, .55);
}
.block { margin: 0 0 30px; scroll-margin-top: 16px; break-inside: avoid; }
.block h2 {
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--red);
  font: 700 1.45rem/1.2 var(--display);
  letter-spacing: .02em;
  color: var(--red);
  break-after: avoid;
}
.sub { margin: 8px 0 4px; font-size: .95rem; font-style: italic; color: var(--red); break-after: avoid; }

.item { padding: 10px 0 2px 2rem; break-inside: avoid; }
/* Item number for ordering – same number for the same dish in every language.
   Hangs in the item's left padding; the -8px right margin cancels the flex gap. */
.num {
  flex: none;
  width: 2rem;
  margin: 0 -8px 0 -2rem;
  padding-right: .6rem;
  text-align: right;
  font-size: .72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  opacity: .8;
}
.item-head { display: flex; align-items: baseline; gap: 8px; }
.item-head h3 { margin: 0; min-width: 0; font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.dots { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(32, 26, 23, .4); transform: translateY(-3px); }
.price { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.desc { margin: 2px 0 0; font-size: .93rem; color: #3a312c; }
.extra { margin: 2px 0 0; font-size: .8rem; color: var(--red); }
.aside { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }

/* Dietary badges: (V) and (VG) */
.diet {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .03em;
  color: #fff;
  vertical-align: middle;
}
.diet-v  { background: var(--veg); }
.diet-vg { background: var(--vegan); }
.legend .diet { margin-left: 0; margin-right: 2px; }

/* Text still missing from the original photo – delete the <mark> once filled in */
mark.todo { background: var(--todo); color: inherit; padding: 0 4px; border-radius: 2px; outline: 1px dashed #a07d00; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr; gap: 12px; }
  .brand { order: -1; }
  .menu { column-count: 1; }
  .sheet::before { inset: 6px; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; padding: 0; }
  .langs, .jump { display: none; }
  .sheet { max-width: none; background: #fff; -webkit-mask: none; mask: none; padding: 0; }
  .sheet::before { display: none; }
  mark.todo { outline: none; }
}

/* ---------- Chinese: Latin fonts first (brand, prices), then CJK fallbacks ---------- */
:root:lang(zh) {
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --text: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
