/* ============================================================
   Reset — Clean Bites & Brews
   Tokens taken from Reset_Guidelines.pdf (2025 brand book):
     sage        #8e9a84   terracotta #e17b5a   cream #f0ebdf
     page ground #f8f6f2   text black #232020
   sage-deep / sage-night are darker steps of the sage family,
   added so small text and footers clear WCAG AA on cream.
   Type: Futura PT in the book → Jost on the web (geometric,
   same skeleton, free). Weights used: 300 / 400 / 500 / 700.
   ============================================================ */

:root {
  --cream:      #f8f6f2;
  --paper:      #f0ebdf;
  --blush:      #f8e6dd;
  --sage:       #8e9a84;
  --sage-soft:  #c3cbbd;
  --sage-deep:  #5d6a55;
  --sage-night: #414b3c;
  --terracotta: #e17b5a;
  --ink:        #232020;
  --body:       #3f3a37;
  --line:       rgba(35, 32, 32, .13);

  --shell: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 11vw, 152px);

  --sans: "Jost", "Century Gothic", "Futura", "Avenir Next", system-ui, sans-serif;

  /* The lattice from the elements page of the guidelines: a floret on every
     other node of a square grid, a small dot on the nodes in between. */
  --floret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='%238e9a84' fill-opacity='.55'%3E%3Cg transform='translate(33 33) scale(.3) translate(-50 -50)'%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(270 50 50)'/%3E%3C/g%3E%3Cg transform='translate(99 99) scale(.3) translate(-50 -50)'%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(270 50 50)'/%3E%3C/g%3E%3Ccircle cx='99' cy='33' r='2.4'/%3E%3Ccircle cx='33' cy='99' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── base ───────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* Hidden until focused. Clipped rather than pushed off-screen: a large
   negative offset stretches the scroll canvas in RTL and strands the
   viewport in empty space. */
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 99;
  text-decoration: none;
}
.skip:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

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

/* ── type ───────────────────────────────────────────────── */

.label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0;
}

.display {
  font-size: clamp(2.9rem, 8.4vw, 7.2rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: .3em 0 0;
}

.h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
}
.h2-cream { color: var(--cream); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--body);
  max-width: 34ch;
  margin: 1.4em 0 0;
}

/* "to confirm" flags — remove these once the real details land */
.tbc {
  display: inline-block;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid rgba(225, 123, 90, .45);
  border-radius: 99px;
  padding: .25em .6em .2em;
  margin-inline-start: .5em;
  vertical-align: middle;
  line-height: 1;
  white-space: nowrap;
}
.tbc-dark {
  color: var(--blush);
  border-color: rgba(248, 230, 221, .5);
}

/* ── buttons ────────────────────────────────────────────── */

.btn {
  --btn-pad: .95em 1.6em;
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--btn-pad);
  border-radius: 99px;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--sage-deep); color: var(--cream); }
.btn-solid:hover { background: var(--sage-night); }

.btn-line { border-color: rgba(35, 32, 32, .3); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(35, 32, 32, .04); }

.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--blush); }

.btn-quiet {
  --btn-pad: .75em 1.25em;
  border-color: rgba(93, 106, 85, .35);
  color: var(--sage-deep);
}
.btn-quiet:hover { border-color: var(--sage-deep); background: rgba(142, 154, 132, .1); }

/* ── header ─────────────────────────────────────────────── */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 246, 242, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  min-height: 74px;
}

.head-logo { flex: 0 0 auto; line-height: 0; }
.head-logo img { width: clamp(104px, 12vw, 132px); }

.head-nav {
  margin-inline-start: auto;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
}
.head-nav a {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage-deep);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.head-nav a:hover { color: var(--ink); border-color: var(--terracotta); }

@media (max-width: 680px) {
  .head-cta { display: none; }
  .head-nav { gap: 16px; }
}

/* ── hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 11vw, 140px);
  overflow: hidden;
}

/* The lattice's florets and dots, drifting down the hero like rain.
   app.js scatters the drops; each carries its own column, size, speed,
   sway and spin. 100cqh = the hero's own height. */
.hero-rain {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}
.drop {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  margin-top: calc(var(--s) * -1.5);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='15 15 70 70'%3E%3Cg fill='%238e9a84'%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(90 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(180 50 50)'/%3E%3Cpath d='M50 50C38 43 29 32 37 22 43 15 57 15 63 22 71 32 62 43 50 50Z' transform='rotate(270 50 50)'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: var(--o);
  animation: rain var(--d) linear var(--delay) infinite;
  will-change: transform;
}
.drop.is-dot {
  background: var(--sage);
  border-radius: 50%;
}
@keyframes rain {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(var(--sway), calc(100cqh + var(--s) * 3), 0) rotate(var(--spin)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rain { display: none; }
}


.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.hero-copy { min-width: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* the clock-aware card — the one loud element on the page */
.now {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(93, 106, 85, .18);
  border-radius: 4px;
  padding: clamp(22px, 2.6vw, 32px);
  overflow: hidden;
}

.now-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(93, 106, 85, .22);
}

.now-clock {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.now-part {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--terracotta);
  margin: .5em 0 0;
}

.now-line {
  margin: .7em 0 0;
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--body);
  max-width: 26ch;
}

.now-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: clamp(20px, 3vw, 30px);
  font-size: .8rem;
  color: var(--sage-deep);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(142, 154, 132, .2);
}
.dot.is-shut { background: #b9a79c; box-shadow: 0 0 0 4px rgba(185, 167, 156, .2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .now { max-width: 460px; }
}

/* ── the day, in three pauses ───────────────────────────── */

.day {
  --tint: var(--cream);
  background: var(--tint);
  padding-block: var(--sec-y);
  border-top: 1px solid var(--line);
  transition: background-color .9s ease;
}
.day[data-active-part="morning"]   { --tint: var(--cream); }
.day[data-active-part="midday"]    { --tint: var(--paper); }
.day[data-active-part="afternoon"] { --tint: var(--blush); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.sec-note {
  margin: 0;
  font-size: .95rem;
  font-weight: 300;
  max-width: 40ch;
  color: var(--body);
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(32px, 5vw, 60px);
}

.day-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
}

.part {
  appearance: none;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: clamp(16px, 2vw, 22px) 0;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  display: grid;
  gap: 4px;
  color: var(--body);
  transition: color .25s, padding-inline-start .3s;
}
.part:last-child { border-bottom: 1px solid var(--line); }

.part-time {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
  transition: color .25s;
}

.part-name {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: rgba(35, 32, 32, .42);
  transition: color .25s;
}

.part:hover .part-name { color: rgba(35, 32, 32, .72); }

.part[aria-selected="true"] { padding-inline-start: 20px; }
.part[aria-selected="true"] .part-name { color: var(--ink); }
.part[aria-selected="true"] .part-time { color: var(--terracotta); }

/* The marker hangs off the row start. It sits on the button, not on the
   time span: that span is forced to dir="ltr" on the Hebrew and Arabic
   pages so the clock reads correctly, which would flip the dot to the
   wrong edge. */
.part { position: relative; }
.part[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: calc(clamp(16px, 2vw, 22px) + 4px);
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--terracotta);
}

.panel-lede {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  max-width: 42ch;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding: clamp(13px, 1.7vw, 18px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.menu-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: -18px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity .25s, transform .25s;
  transform: translateX(-6px);
}
.menu-list li:hover::before { opacity: 1; transform: translateX(0); }

.item {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 400;
  color: var(--ink);
}
.item-note {
  font-size: .88rem;
  font-weight: 300;
  color: var(--sage-deep);
  text-align: end;
}

.panel[hidden] { display: none; }
.panel.is-in { animation: panel-in .5s ease both; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-rail { flex-direction: row; gap: 0; }
  .part {
    flex: 1;
    border-bottom: 1px solid var(--line);
    padding-block: 14px;
  }
  .part[aria-selected="true"] { padding-inline-start: 0; }
  .part[aria-selected="true"]::before {
    top: auto;
    bottom: -1px;
    inset-inline-start: 0;
    width: 100%;
    height: 2px;
    border-radius: 0;
  }
  .part-name { font-size: 1.25rem; }
}

/* ── about ──────────────────────────────────────────────── */

.about {
  padding-block: var(--sec-y);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.about-text {
  margin: 1.2em 0 0;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink);
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}
.principles li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 4px 16px;
}
.pf {
  width: 18px;
  color: var(--sage);
  grid-row: span 2;
  margin-top: 4px;
}
.principles h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
}
.principles p {
  margin: .35em 0 0;
  font-size: .95rem;
  font-weight: 300;
  grid-column: 2;
}

.quote {
  margin: clamp(52px, 8vw, 104px) 0 0;
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--sage-deep);
  max-width: 26ch;
  margin-inline: auto;
}
.quote figcaption {
  margin-top: 1.6em;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sage);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ── visit ──────────────────────────────────────────────── */

.visit {
  background: var(--sage-night);
  color: var(--cream);
  padding-block: var(--sec-y);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.facts {
  margin: clamp(28px, 4vw, 44px) 0 clamp(30px, 4vw, 44px);
  display: grid;
  gap: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(248, 246, 242, .18);
}
.facts > div:last-child { border-bottom: 1px solid rgba(248, 246, 242, .18); }

.facts dt {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sage-soft);
  padding-top: .35em;
}
.facts dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--cream);
}
.facts a { text-decoration: none; border-bottom: 1px solid rgba(248, 246, 242, .35); }
.facts a:hover { border-color: var(--blush); }

/* The map is assets/img/visit-map.svg, drawn from OpenStreetMap by
   tools/map-render.html. The pin sits at the centre, so any crop keeps it. */
.visit-card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(248, 246, 242, .22);
  border-radius: 4px;
  overflow: hidden;
  background: #f3efe6;
}
.visit-map { position: absolute; inset: 0; display: block; }
.visit-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visit-map-label {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  display: grid;
  gap: 3px;
  padding: .7em 1em .75em;
  border-radius: 3px;
  background: var(--cream);
  box-shadow: 0 6px 18px rgba(35, 32, 32, .12);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.25;
  pointer-events: none;
}
.visit-map-label span { font-size: .74rem; font-weight: 300; color: var(--sage-deep); }
/* Physical right, not inset-inline-end: the credit is dir="ltr", which would
   flip a logical offset on the RTL pages. */
.visit-map-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .35em .7em;
  border-top-left-radius: 3px;
  background: rgba(248, 246, 242, .9);
  color: var(--body);
  font-size: .64rem;
  letter-spacing: .02em;
}
.visit-map-credit a { color: inherit; }

@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-card { aspect-ratio: 3 / 2; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── footer ─────────────────────────────────────────────── */

.site-foot {
  background: var(--sage);
  color: var(--ink);
  padding-block: clamp(40px, 6vw, 64px);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px clamp(24px, 5vw, 56px);
}

.foot-logo { width: clamp(120px, 15vw, 160px); }

.foot-nav {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  margin-inline-start: auto;
}
.foot-nav a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.foot-nav a:hover { border-color: var(--ink); }

.foot-fine {
  margin: 0;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 32, 32, .16);
  font-size: .74rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(35, 32, 32, .72);
}

/* ── entrance ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .8s cubic-bezier(.2, .7, .3, 1) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.reveal[data-step="1"] { --d: 80; }
.reveal[data-step="2"] { --d: 180; }
.reveal[data-step="3"] { --d: 320; }
.reveal[data-step="4"] { --d: 440; }
.reveal[data-step="5"] { --d: 560; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.on-scroll.is-seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .on-scroll { opacity: 1; transform: none; }
}

/* ── language switcher ──────────────────────────────────── */

/* A globe; tapping it opens the three languages (lang.js). */
.lang {
  position: relative;
  display: flex;
  align-items: center;
  padding-inline-start: clamp(12px, 2vw, 22px);
  border-inline-start: 1px solid var(--line);
}

.lang-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: -4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: var(--sage-deep);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-btn svg { width: 20px; height: 20px; }
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(142, 154, 132, .1);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 16px);
  inset-inline-end: -8px;
  z-index: 30;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(35, 32, 32, .12);
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--sage-deep);
  text-decoration: none;
}
.lang-menu a:hover { background: rgba(142, 154, 132, .14); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--ink); font-weight: 500; }
.lang-menu a[aria-current]::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}
.lang-menu [lang="ar"] { font-family: "Cairo", "Segoe UI", system-ui, sans-serif; font-size: 1rem; }
.lang-menu [lang="he"] { font-family: "Rubik", "Segoe UI", system-ui, sans-serif; }
.lang-menu [lang="en"] { font-family: "Jost", "Segoe UI", system-ui, sans-serif; }

@media (max-width: 520px) {
  .head-inner { gap: 12px; }
  .head-nav { gap: 13px; }
  .head-nav a { font-size: .66rem; letter-spacing: .1em; }
  .lang { padding-inline-start: 10px; }
}

/* ── right to left (he, ar) ─────────────────────────────── */

[dir="rtl"] .menu-list li::before { transform: translateX(6px); }
[dir="rtl"] .menu-list li:hover::before { transform: translateX(0); }

/* ── Hebrew and Arabic typography ───────────────────────────
   Jost carries no Hebrew or Arabic, so each localised page loads
   its own face: Rubik for Hebrew, Cairo for Arabic — both geometric
   enough to sit beside the Futura-based logo.
   Arabic is cursive: letter-spacing would pull the joins apart, so
   all tracking goes to zero and the leading opens up instead.
   ─────────────────────────────────────────────────────────── */

html[lang="he"] { --sans: "Rubik", "Assistant", "Jost", system-ui, sans-serif; }
html[lang="ar"] { --sans: "Cairo", "Jost", system-ui, sans-serif; }

html[lang="he"] .label,
html[lang="he"] .btn,
html[lang="he"] .head-nav a,
html[lang="he"] .foot-nav a,
html[lang="he"] .tbc,
html[lang="he"] .facts dt,
html[lang="he"] .quote figcaption { letter-spacing: .1em; }

html[lang="ar"] .label,
html[lang="ar"] .btn,
html[lang="ar"] .head-nav a,
html[lang="ar"] .foot-nav a,
html[lang="ar"] .tbc,
html[lang="ar"] .facts dt,
html[lang="ar"] .quote figcaption,
html[lang="ar"] .part-time { letter-spacing: 0; }

html[lang="he"] .display,
html[lang="he"] .h2,
html[lang="he"] .part-name,
html[lang="he"] .now-part,
html[lang="he"] .about-text,
html[lang="he"] .quote blockquote,
html[lang="ar"] .display,
html[lang="ar"] .h2,
html[lang="ar"] .part-name,
html[lang="ar"] .now-part,
html[lang="ar"] .about-text,
html[lang="ar"] .quote blockquote { letter-spacing: 0; }

/* leading: both scripts need more air than Jost's Latin */
html[lang="he"] body, html[lang="ar"] body { line-height: 1.8; }
html[lang="he"] .display { line-height: 1.06; }
html[lang="ar"] .display { line-height: 1.2; }
html[lang="he"] .h2, html[lang="ar"] .h2 { line-height: 1.24; }
html[lang="he"] .lede, html[lang="ar"] .lede { line-height: 1.7; max-width: 38ch; }
html[lang="he"] .about-text, html[lang="ar"] .about-text { line-height: 1.6; }
html[lang="he"] .quote blockquote, html[lang="ar"] .quote blockquote { line-height: 1.4; max-width: 30ch; }
html[lang="he"] .part-name, html[lang="ar"] .part-name { line-height: 1.25; }
html[lang="he"] .now-part, html[lang="ar"] .now-part { line-height: 1.25; }
html[lang="he"] .panel-lede, html[lang="ar"] .panel-lede { line-height: 1.65; max-width: 46ch; }

/* Arabic runs small at the same point size */
html[lang="ar"] { font-size: 1.04em; }
html[lang="ar"] .item-note, html[lang="ar"] .principles p { font-size: .92rem; }

/* Hebrew and Arabic words run wider than the English ones, so the display
   size steps down to keep the headline on two lines. */
html[lang="he"] .display { font-size: clamp(2.5rem, 6.6vw, 5.7rem); }
html[lang="ar"] .display { font-size: clamp(2.4rem, 6.2vw, 5.4rem); }
html[lang="he"] .h2, html[lang="ar"] .h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
html[lang="he"] .now-part, html[lang="ar"] .now-part { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* The time span is forced to dir="ltr" so the clock reads left to right;
   shrink it to its content so it still starts at the row's start edge. */
.part-time { justify-self: start; }

/* prices in the three-pause lists */
.item-price {
  font-size: .95rem;
  font-weight: 500;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.item-price .cur { font-size: 1.15em; margin-inline-start: .2em; font-weight: 400; }

.day-more {
  margin: clamp(26px, 4vw, 44px) 0 0;
  text-align: end;
}
.day-more a {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage-deep);
  border-bottom: 1px solid rgba(93, 106, 85, .4);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.day-more a:hover { color: var(--ink); border-color: var(--terracotta); }
html[lang="ar"] .day-more a { letter-spacing: 0; font-size: .95rem; }
html[lang="he"] .day-more a { letter-spacing: .08em; font-size: .85rem; }

.sec-note a { color: var(--sage-deep); text-decoration-color: rgba(93, 106, 85, .45); text-underline-offset: 3px; }
.sec-note a:hover { color: var(--terracotta); }

/* dishes in the three pauses open their section of the menu */
a.item { text-decoration: none; transition: color .2s; }
a.item:hover { color: var(--terracotta); }

/* the clock card's own way into the pauses */
.now-link {
  display: inline-block;
  margin-top: 18px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage-deep);
  border-bottom: 1px solid rgba(93, 106, 85, .4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.now-link:hover { color: var(--ink); border-color: var(--terracotta); }
html[lang="ar"] .now-link { letter-spacing: 0; font-size: .9rem; }
html[lang="he"] .now-link { letter-spacing: .06em; font-size: .82rem; }

/* the page you are on, in the header */
.head-nav a[aria-current="page"] { color: var(--ink); border-color: var(--terracotta); }

/* a dish the dashboard hides or marks sold out drops out of the pauses;
   .menu-list li sets display:flex, which would otherwise beat [hidden] */
.menu-list li[hidden] { display: none; }
