/* ==========================================================================
   Pak Afghan Restaurant: the menu (#menu), rendered by assets/js/menu.js
   1. Section   2. Heading   3. Sticky bar (search + category rail)
   4. Body and desktop stage   5. Categories   6. Items   7. Search states
   8. Allergens   9. Photo preview   10. Reveals and reduced motion
   ========================================================================== */

/* 1. Section --------------------------------------------------------------- */
#menu {
  --menu-wipe: cubic-bezier(.3, .72, .2, 1); /* image wipes: prompt start, long soft landing */
  --menu-foil:linear-gradient(100deg, #a8823e 0%, #f1e2b8 12%, #c9a052 22%, #f6e7bf 30%, #a8823e 40%, #c9a052 47%, #fff8e4 52%, #c9a052 57%, #a8823e 61%, #f1e2b8 72%, #c9a052 82%, #f6e7bf 90%, #a8823e 100%);
  position: relative;
  isolation: isolate;
  padding-block: var(--section-pad, clamp(64px, 10vw, 168px)) clamp(40px, 4.2vw, 72px);
  background:
    radial-gradient(70% 36% at 10% 0%, rgba(216, 181, 109, .075), transparent 70%),
    var(--ink-950, #0b0a08);
  color: var(--ivory, #f3ecdf);
}

/* Faint eight-point star lattice (jali) behind the heading */
#menu::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: min(1100px, 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none' stroke='%23d8b56d' stroke-width='1'%3E%3Crect x='29' y='29' width='22' height='22'/%3E%3Crect x='29' y='29' width='22' height='22' transform='rotate(45 40 40)'/%3E%3Cpath d='M29 29 0 0M51 29 80 0M51 51 80 80M29 51 0 80M40 24.4V0M55.6 40H80M40 55.6V80M24.4 40H0'/%3E%3C/svg%3E");
  background-size: 84px 84px;
  opacity: .055;
  -webkit-mask-image: radial-gradient(90% 70% at 20% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(90% 70% at 20% 0%, #000 20%, transparent 80%);
  pointer-events: none;
}

.menu-wrap {
  width: 100%;
  max-width: calc(var(--container, 1320px) + 2 * var(--gutter, clamp(16px, 4vw, 56px)));
  margin-inline: auto;
  padding-inline: var(--gutter, clamp(16px, 4vw, 56px));
  padding-inline: max(var(--gutter, 16px), env(safe-area-inset-left, 0px)) max(var(--gutter, 16px), env(safe-area-inset-right, 0px));
}

:where(#menu-root) ul { margin: 0; padding: 0; list-style: none; }
:where(#menu-root) button { margin: 0; padding: 0; border: 0; background: none; }
#menu-root [hidden] { display: none !important; }

.menu-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.menu-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-star { flex: none; width: 10px; height: 10px; fill: currentColor; }

.menu-chilli {
  flex: none;
  width: 15px;
  height: 15px;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-arch-line {
  overflow: visible;
  fill: none;
  stroke: var(--gold-400, #d8b56d);
  stroke-width: 1;
}

/* 2. Heading --------------------------------------------------------------- */
.menu-head__grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: end;
}

.menu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 .75rem/1.3 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400, #d8b56d);
}
.menu-eyebrow .menu-star { width: 12px; height: 12px; }
/* The trailing gold rule every section's eyebrow shares */
.menu-eyebrow::after {
  content: "";
  flex: 0 0 clamp(40px, 5vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  transform-origin: 0 50%;
}

.menu-title {
  margin-top: clamp(16px, 2vw, 26px);
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-weight: 300;
  font-size: clamp(3rem, 1.5rem + 5.4vw, 7.25rem);
  line-height: .94;
  letter-spacing: -.015em;
  color: var(--ivory, #f3ecdf);
}
/* Each line rises out of its own mask; the padding keeps ascenders and the italic clear of the clip */
.menu-title__mask {
  display: block;
  overflow: hidden;
  padding: .12em .12em .16em 0;
  margin: -.12em -.12em -.16em 0;
}
.menu-title__mask.is-indent { padding-left: .55em; }
.menu-title__line { display: block; }

/* Gold foil; one sheen crosses it after the reveal */
.menu-foil {
  padding-right: .06em;
  font-style: italic;
  font-weight: 400;
  background: var(--menu-foil) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.menu-lede {
  max-width: 40ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ivory-muted, #bdb3a2);
  text-wrap: pretty;
}

/* 14 sections · 86 dishes & drinks · prices in GBP */
.menu-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  margin-top: clamp(22px, 2.6vw, 30px);
}
.menu-facts li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 2px clamp(16px, 2.2vw, 30px);
  border-left: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 26%, transparent);
}
.menu-facts li:first-child { padding-left: 0; border-left: 0; }
.menu-facts__fig {
  font: 400 clamp(1.9rem, 1.55rem + 1.1vw, 2.6rem)/.9 var(--font-display, 'Cormorant Garamond', serif);
  font-variant-numeric: lining-nums;
  color: var(--gold-200, #f1e2b8);
}
.menu-facts__label {
  font: 500 .75rem/1.3 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory-muted, #bdb3a2);
}

.menu-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(36px, 4.5vw, 64px);
  color: var(--gold-400, #d8b56d);
}
.menu-ornament__rule {
  flex: none;
  width: clamp(32px, 4vw, 56px);
  height: 1px;
  background: var(--gold-600, #a8823e);
}
.menu-ornament__rule.is-long {
  flex: 1 1 auto;
  width: auto;
  height: 4px;
  border-block: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 30%, transparent);
  background: none;
}
.menu-ornament__star {
  flex: none;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.menu-ornament__gem {
  flex: none;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-400, #d8b56d);
  transform: rotate(45deg);
}

@media (max-width: 639.98px) {
  .menu-eyebrow { letter-spacing: .2em; }
  .menu-facts li { padding-inline: 14px; }
  .menu-facts li:first-child { padding-left: 0; }
  .menu-facts__label { letter-spacing: .12em; }
}

@media (min-width: 1024px) {
  .menu-head__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 120px); }
  .menu-title__mask.is-indent { padding-left: .9em; }
  .menu-head__aside { padding-bottom: .6rem; }
}

/* 3. Sticky bar: search and category rail -------------------------------------
   One bar sticks under the header at every size and follows it when it hides
   (--header-offset). Desktop: search field + rail. Below: the rail, with a search
   icon that opens the field as a full-width drawer over the chips. */
.menu-bar {
  position: sticky;
  top: var(--header-offset, var(--header-h, 76px));
  top: max(var(--safe-top, 0px), var(--header-offset, var(--header-h, 76px)));
  z-index: 40;
  margin-top: clamp(28px, 4vw, 52px);
  border-bottom: var(--hairline, 1px solid rgba(216, 181, 109, .28));
  background: color-mix(in srgb, var(--ink-950, #0b0a08) 90%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: top var(--header-dur, .5s) var(--header-ease, cubic-bezier(.22, .8, .24, 1));
}

/* Search field (desktop look; the drawer below desktop overrides it) */
.menu-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 32%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ivory, #f3ecdf) 3%, transparent);
  transition: border-color .35s var(--ease-out, ease), background-color .35s var(--ease-out, ease);
}
/* Focus: a gold ring, a soft halo that breathes, and light drawn along the lower edge */
.menu-search::before,
.menu-search::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.menu-search::before {
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 28px 1px rgba(216, 181, 109, .3), inset 0 0 20px rgba(216, 181, 109, .07);
  opacity: 0;
  transition: opacity .45s var(--ease-out, ease);
}
.menu-search::after {
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-200, #f1e2b8), transparent);
  transform: scaleX(0);
  transition: transform .9s var(--ease-out, ease);
}
.menu-search:focus-within {
  border-color: var(--gold-400, #d8b56d);
  background: color-mix(in srgb, var(--ivory, #f3ecdf) 5%, transparent);
}
.menu-search:has(.menu-search__input:focus-visible) {
  outline: 2px solid var(--gold-400, #d8b56d);
  outline-offset: 3px;
}
.menu-search:focus-within::before {
  opacity: 1;
  animation: menu-glow 2.6s ease-in-out .5s infinite alternate;
}
.menu-search:focus-within::after { transform: scaleX(1); }

.menu-search__icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--gold-400, #d8b56d);
  pointer-events: none;
}
.menu-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory, #f3ecdf);
  font: 400 1rem/1.2 var(--font-body, 'Jost', sans-serif);
  -webkit-appearance: none;
  appearance: none;
}
.menu-search__input:focus,
.menu-search__input:focus-visible { outline: none; }
.menu-search__input::placeholder { color: color-mix(in srgb, var(--ivory-muted, #bdb3a2) 85%, transparent); opacity: 1; }
.menu-search__input::-webkit-search-decoration,
.menu-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.menu-search__count {
  flex: none;
  padding-inline: 6px 4px;
  font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-400, #d8b56d);
}
.menu-search__count:empty { display: none; }
.menu-search__key { display: none; }
.menu-search__clear {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 1px;
  color: var(--ivory-muted, #bdb3a2);
  transition: color .25s var(--ease-out, ease), transform .2s var(--ease-out, ease);
}
.menu-search__clear:active { transform: scale(.88); }
.menu-search__clear .menu-icon { width: 18px; height: 18px; }

/* Category rail */
.menu-rail {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: clip;
  overflow-clip-margin: 6px;
}

/* The chips fade under ink overlays at the edges (not a mask), so the gliding gold indicator
   inside can move on its own layer without leaving a hairline at the edges. */
.menu-rail__view {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.menu-rail__scroller {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.menu-rail__scroller::-webkit-scrollbar { display: none; }
.menu-rail__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out, ease);
}
.menu-rail__fade.is-start { left: 0; background: linear-gradient(90deg, var(--ink-950, #0b0a08), rgba(11, 10, 8, 0)); }
.menu-rail__fade.is-end { right: 0; background: linear-gradient(270deg, var(--ink-950, #0b0a08), rgba(11, 10, 8, 0)); }
.menu-rail.can-prev .menu-rail__fade.is-start,
.menu-rail.can-next .menu-rail__fade.is-end { opacity: 1; }

.menu-rail__list {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
}
.menu-rail__list > li { display: flex; align-items: center; }
/* A small diamond between visible pills */
.menu-rail__list > li:not([hidden]):not([aria-hidden]) ~ li:not([aria-hidden])::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  background: color-mix(in srgb, var(--gold-400, #d8b56d) 45%, transparent);
  transform: rotate(45deg);
}

.menu-pill {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 14px;
  color: var(--ivory-muted, #bdb3a2);
  font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .35s var(--ease-out, ease);
  -webkit-tap-highlight-color: transparent;
}
.menu-pill > span { display: block; padding-block: 6px; }
.menu-pill[aria-current] { color: var(--gold-200, #f1e2b8); }
.menu-pill:active { color: var(--ivory, #f3ecdf); }
.menu-pill:focus-visible { outline-offset: -4px; }

/* The gold line and its diamond glide under the active pill (menu.js places them) */
.menu-rail__ink,
.menu-rail__gem {
  position: absolute;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .75s var(--ease-out, ease), opacity .3s var(--ease-out, ease);
}
.menu-rail__ink {
  bottom: 9px;
  width: 1px;
  height: 1px;
  background: var(--gold-400, #d8b56d);
  transform-origin: 0 50%;
}
.menu-rail__gem {
  bottom: 7px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: var(--gold-200, #f1e2b8);
}

.menu-rail__find,
.menu-rail__arrow {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  height: 48px;
  color: var(--gold-400, #d8b56d);
  transition: color .25s var(--ease-out, ease), opacity .3s var(--ease-out, ease), visibility .3s, transform .2s var(--ease-out, ease);
  -webkit-tap-highlight-color: transparent;
}
.menu-rail__find:active,
.menu-rail__arrow:active { transform: scale(.9); }
.menu-rail__find { width: 44px; }
.menu-rail__find.is-active::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember-500, #e8742a);
}
.menu-rail__arrow { width: 44px; opacity: 0; visibility: hidden; }
.menu-rail__arrow .menu-icon { width: 18px; height: 18px; }
.menu-rail.can-prev .is-prev,
.menu-rail.can-next .is-next { opacity: 1; visibility: visible; }

@media (hover: none), (pointer: coarse) {
  .menu-rail__arrow { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .menu-search:hover { border-color: color-mix(in srgb, var(--gold-400, #d8b56d) 55%, transparent); }
  .menu-search__clear:hover,
  .menu-rail__find:hover,
  .menu-rail__arrow:hover { color: var(--gold-200, #f1e2b8); }
  .menu-pill:hover { color: var(--ivory, #f3ecdf); }
  .menu-pill[aria-current]:hover { color: var(--gold-200, #f1e2b8); }
}

@media (min-width: 1024px) {
  .menu-bar__inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    min-height: 68px;
  }
  .menu-search { flex: 0 0 clamp(310px, 25vw, 400px); }
  .menu-rail { flex: 1 1 auto; }
  .menu-rail__find { display: none; }
}

/* The "/" shortcut hint, for keyboard and mouse users on desktop */
@media (min-width: 1360px) and (hover: hover) and (pointer: fine) {
  .menu-search__key {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 38%, transparent);
    border-radius: 3px;
    font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
    color: var(--gold-400, #d8b56d);
  }
  .menu-search:focus-within .menu-search__key,
  .menu-search.has-value .menu-search__key { display: none; }
}

@media (max-width: 1023.98px) {
  .menu-bar { border-top: var(--hairline, 1px solid rgba(216, 181, 109, .28)); }
  .menu-bar__inner {
    --bar-pad: max(0px, calc(var(--gutter, 16px) - 13px), env(safe-area-inset-left, 0px));
    position: relative;
    padding-inline: var(--bar-pad) 0;
  }
  .menu-rail { transition: opacity .3s var(--ease-out, ease), visibility .3s; }
  .menu-rail__find { border-right: var(--hairline, 1px solid rgba(216, 181, 109, .28)); }
  .menu-rail__scroller { padding-right: max(var(--gutter, 16px), env(safe-area-inset-right, 0px)); }
  .menu-pill { padding-inline: 12px; }

  /* The drawer opens from the search icon across the whole bar */
  .menu-search {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: auto;
    padding-right: max(0px, calc(var(--gutter, 16px) - 13px), env(safe-area-inset-right, 0px));
    border: 0;
    border-radius: 0;
    background: var(--ink-950, #0b0a08);
    visibility: hidden;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .55s var(--ease-out, ease), visibility 0s linear .55s;
  }
  /* The drawer spans the viewport, so its halo stays inside its own box (no sideways overflow) */
  .menu-search::before { inset: 0; }
  .menu-search__icon { left: calc(var(--bar-pad) + 13px); }
  .menu-search__input { padding-left: calc(var(--bar-pad) + 44px); }
  .menu-search:has(.menu-search__input:focus-visible) { outline-offset: -3px; }
  .menu-bar.is-search-open .menu-search {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path .55s var(--ease-out, ease);
  }
  .menu-bar.is-search-open .menu-rail { opacity: 0; visibility: hidden; }
}

/* 4. Body and desktop stage ------------------------------------------------ */
.menu-body { position: relative; padding-top: clamp(32px, 5vw, 64px); }
.menu-stage { display: none; }

@media (min-width: 1024px) {
  .menu-body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 112px);
  }
  .menu-stage {
    display: block;
    position: relative;
    container-type: inline-size;
  }
  .menu-stage__sticky {
    position: sticky;
    top: calc(var(--header-offset, var(--header-h, 76px)) + var(--menu-bar-h, 69px) + 28px);
    height: min(calc(100vh - var(--header-h, 76px) - var(--menu-bar-h, 69px) - 56px), 780px);
    height: min(calc(100svh - var(--header-h, 76px) - var(--menu-bar-h, 69px) - 56px), 165cqw);
    min-height: 420px;
    transition: top var(--header-dur, .5s) var(--header-ease, cubic-bezier(.22, .8, .24, 1));
  }
  .menu-stage__arch { position: relative; height: 100%; }

  /* Onion-dome window. The frame itself is a plain box; every piece inside carries the dome mask
     on itself (scaled to the width, so the dome never stretches), and nothing inside a masked
     piece moves on its own layer. That keeps GPUs from leaving a 1px unmasked line at the edges. */
  .menu-stage__frame {
    --dome: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400'%3E%3Cpath d='M0 400V44C0 24 20 14 36 8C44 5 48 3 50 0C52 3 56 5 64 8C80 14 100 24 100 44V400Z'/%3E%3C/svg%3E");
    position: absolute;
    inset: 0;
    isolation: isolate; /* keeps the layers' stacking order inside the frame, under the caption */
    container-type: inline-size;
  }
  .menu-stage__base,
  .menu-stage__layer,
  .menu-stage__shade {
    position: absolute;
    inset: 0;
    -webkit-mask: var(--dome) top center / 100% auto no-repeat;
    mask: var(--dome) top center / 100% auto no-repeat;
  }
  .menu-stage__base { background: var(--ink-900, #12100d); }

  /* One layer per category. Closed, its arch-topped clip sits at the floor; opening, the arch rises.
     The radii trace a dome that holds the onion-dome mask, so a settled photo shows uncut, and the
     1px inset trims the mask edge in every state. */
  .menu-stage__layer {
    --arch: 50cqw 50cqw 0 0 / 44cqw 44cqw 0 0;
    clip-path: inset(100% 1px 1px 1px round var(--arch));
  }
  .menu-stage__layer.is-open { clip-path: inset(1px 1px 1px 1px round var(--arch)); }
  /* The signature wipe: a measured rise, so the onion-dome edge is seen travelling up the frame */
  .menu-stage__layer.is-anim { transition: clip-path 1.2s cubic-bezier(.3, .5, .2, 1); }
  .menu-stage__img {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px); /* overhangs the 1px edge clip on every side */
    max-width: none;
    height: calc(100% + 2px);
    object-fit: cover;
  }

  .menu-stage__shade {
    z-index: 30;
    background: linear-gradient(180deg, rgba(11, 10, 8, .18) 0%, rgba(11, 10, 8, 0) 28%, rgba(11, 10, 8, .38) 56%, rgba(11, 10, 8, .88) 82%, var(--ink-950, #0b0a08) 100%);
  }
  .menu-stage__lines {
    position: absolute;
    inset: -12px -12px 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 97%);
    mask-image: linear-gradient(180deg, #000 50%, transparent 97%);
  }
  .menu-stage__lines .menu-arch-line { position: absolute; height: auto; max-width: none; }
  .menu-stage__lines .is-inner { top: 12px; left: 12px; width: calc(100% - 24px); opacity: .85; }
  .menu-stage__lines .is-outer { top: 0; left: 0; width: 100%; opacity: .3; }

  /* Caption: the old one fades, the new title rises from its mask */
  .menu-stage__caps {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 0 clamp(24px, 2.6vw, 44px) clamp(22px, 2.8vw, 40px);
  }
  .menu-stage__cap {
    grid-area: 1 / 1;
    align-self: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease-out, ease), visibility 0s linear .3s;
  }
  .menu-stage__cap.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s var(--ease-out, ease) .1s;
  }
  .menu-stage__num {
    font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
    letter-spacing: .24em;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--gold-400, #d8b56d);
  }
  .menu-stage__num span { color: var(--ivory-muted, #bdb3a2); }
  .menu-stage__title {
    overflow: hidden;
    margin: 6px 0 -.16em;
    padding: .08em 0 .16em;
    font: 400 clamp(2.4rem, 1rem + 2.5vw, 3.8rem)/1 var(--font-display, 'Cormorant Garamond', serif);
    letter-spacing: -.01em;
    color: var(--ivory, #f3ecdf);
  }
  .menu-stage__title > span {
    display: block;
    text-wrap: balance;
    transform: translateY(132%);
    transition: transform 0s linear .3s;
  }
  .menu-stage__cap.is-active .menu-stage__title > span {
    transform: none;
    transition: transform 1s var(--ease-out, ease) .16s;
  }
  .menu-stage .menu-ribbon { margin-top: 16px; }
}

/* 5. Categories ------------------------------------------------------------ */
.menu-cat { position: relative; scroll-margin-top: calc(var(--header-h, 76px) + var(--menu-bar-h, 50px) + 16px); }
.menu-cat:not([hidden]) ~ .menu-cat { margin-top: clamp(56px, 7vw, 112px); }
.menu-cat:focus { outline: none; }

.menu-cat__head { position: relative; }

/* Large outlined italic numeral; it fills with gold foil while its category is current */
.menu-cat__num {
  position: relative;
  font: italic 300 clamp(3rem, 2.2rem + 3vw, 4.2rem)/.8 var(--font-display, 'Cormorant Garamond', serif);
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--gold-400, #d8b56d) 80%, transparent);
  -webkit-user-select: none;
  user-select: none;
}
.menu-cat__num::after {
  content: attr(data-n);
  position: absolute;
  inset: 0;
  padding: inherit;
  background: var(--gold-gradient, linear-gradient(100deg, #a8823e, #f1e2b8 30%, #c9a052 52%, #f6e7bf 70%, #a8823e));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  opacity: 0;
  transition: opacity .9s var(--ease-out, ease);
}
.menu-cat.is-current .menu-cat__num::after { opacity: 1; }

.menu-cat__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-weight: 500;
  color: var(--ivory, #f3ecdf);
}
.menu-cat__mask {
  display: block;
  overflow: hidden;
  padding: .1em .2em .18em 0;
  margin: -.1em -.2em -.18em 0;
}
.menu-cat__text { display: block; text-wrap: balance; }
.menu-cat__intro {
  max-width: 44ch;
  font: italic 400 clamp(1.05rem, .98rem + .3vw, 1.25rem)/1.45 var(--font-display, 'Cormorant Garamond', serif);
  color: color-mix(in srgb, var(--ivory, #f3ecdf) 86%, transparent);
  text-wrap: pretty;
}

/* A gold rule that draws out from its centre diamond */
.menu-cat__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-400, #d8b56d);
}
.menu-cat__rule::before,
.menu-cat__rule::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
}
.menu-cat__rule::before {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold-400, #d8b56d) 60%, transparent));
  transform-origin: 100% 50%;
}
.menu-cat__rule::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold-400, #d8b56d) 60%, transparent), transparent);
  transform-origin: 0 50%;
}
.menu-cat__rule i {
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Gold ribbon for a category badge (e.g. "Advance booking only") */
.menu-ribbon {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  height: 32px;
  padding: 0 26px 0 14px;
  background: var(--gold-gradient, linear-gradient(100deg, #a8823e, #f1e2b8 30%, #c9a052 52%, #f6e7bf 70%, #a8823e));
  color: #17110a;
  font: 600 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
}

/* Phones and tablets: a cinematic banner carries the title and numeral; the intro and rule follow */
@media (max-width: 1023.98px) {
  .menu-cat__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    margin-bottom: 8px;
  }
  .menu-cat__banner {
    position: relative;
    grid-row: 1;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    isolation: isolate;
    aspect-ratio: 16 / 7;
    max-height: 56vh;
    overflow: hidden;
    border-radius: 2px;
    clip-path: inset(1px round 2px); /* trims the unclipped GPU edge under the zooming photo */
  }
  .menu-cat__banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(11, 10, 8, .4) 0%, rgba(11, 10, 8, 0) 30%, rgba(11, 10, 8, .5) 64%, rgba(11, 10, 8, .92) 100%),
      linear-gradient(90deg, rgba(11, 10, 8, .35), rgba(11, 10, 8, 0) 60%);
  }
  .menu-cat__banner::after {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: 2;
    border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 38%, transparent);
    pointer-events: none;
  }
  /* The placeholder colour rides on the photo itself, which overhangs the 1px edge clip */
  .menu-cat__img {
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    max-width: none;
    height: calc(100% + 2px);
    object-fit: cover;
    background-color: color-mix(in srgb, var(--ph, #2a251e) 55%, var(--ink-950, #0b0a08));
  }
  .menu-cat__title {
    grid-row: 1;
    grid-column: 1;
    font-size: clamp(1.95rem, 1.3rem + 2.9vw, 3.1rem);
    line-height: 1.02;
  }
  .menu-cat__num {
    grid-row: 1;
    grid-column: 2;
    padding-left: 12px;
  }
  .menu-cat.has-media .menu-cat__title {
    z-index: 3;
    padding: 0 0 clamp(16px, 3.6vw, 28px) clamp(20px, 4.6vw, 36px);
    text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  }
  .menu-cat.has-media .menu-cat__num {
    z-index: 3;
    padding: 0 clamp(18px, 4.4vw, 34px) clamp(12px, 2.8vw, 22px) 12px;
  }
  .menu-cat__intro {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 14px;
  }
  .menu-cat__head .menu-ribbon {
    grid-row: 1;
    grid-column: 1 / -1;
    align-self: start;
    justify-self: end;
    z-index: 3;
    margin-top: clamp(14px, 3.4vw, 24px);
    padding: 0 14px 0 24px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 11px 50%);
  }
  .menu-cat__rule {
    grid-row: 3;
    grid-column: 1 / -1;
    margin-top: 16px;
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .menu-cat__banner { aspect-ratio: 21 / 8; }
}

/* Desktop: the stage carries the photo, so the list gets an engraved chapter heading */
@media (min-width: 1024px) {
  .menu-cat__banner { display: none; }
  .menu-cat__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    column-gap: clamp(18px, 1.8vw, 30px);
    margin-bottom: 10px;
  }
  .menu-cat__num {
    grid-row: 1 / span 3;
    grid-column: 1;
    margin-bottom: .02em;
    font-size: clamp(4.2rem, 2.6rem + 2.6vw, 6.2rem);
  }
  .menu-cat__title {
    grid-row: 1;
    grid-column: 2;
    font-size: clamp(2.1rem, 1.2rem + 1.3vw, 2.9rem);
    line-height: 1.04;
  }
  .menu-cat__intro { grid-row: 2; grid-column: 2; margin-top: 6px; }
  .menu-cat__head .menu-ribbon { grid-row: 3; grid-column: 2; justify-self: start; margin-top: 12px; }
  .menu-cat__rule { grid-row: 4; grid-column: 1 / -1; margin-top: clamp(16px, 1.6vw, 22px); }
}

/* 6. Items: engraved menu lines -------------------------------------------- */
.menu-items { margin-top: 4px; }
.menu-item {
  position: relative;
  padding: 14px 0;
  break-inside: avoid;
}

.menu-item__main {
  display: flex;
  align-items: flex-end;
  align-items: last baseline;
  column-gap: 12px;
}
.menu-item__title {
  flex: 0 1 auto;
  min-width: 0;
  font: 600 clamp(1.25rem, 1.12rem + .35vw, 1.42rem)/1.22 var(--font-display, 'Cormorant Garamond', serif);
  letter-spacing: .005em;
  color: var(--ivory, #f3ecdf);
  overflow-wrap: anywhere;
  transition: color .3s var(--ease-out, ease);
}
.menu-item__note {
  margin-left: .2em;
  font-size: .84em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ivory-muted, #bdb3a2);
}
.menu-item__note.is-short { white-space: nowrap; }

/* Long notes ("Book 1 day in advance") sit under the name wherever the line is narrow */
@media (max-width: 639.98px) {
  .menu-item__main.has-long-note { align-items: baseline; }
  .menu-item__main.has-long-note .menu-item__note {
    display: block;
    margin: 3px 0 0;
    font-size: .8em;
    line-height: 1.3;
  }
}
@media (min-width: 1600px) {
  .menu-items--split .menu-item__main.has-long-note { align-items: baseline; }
  .menu-items--split .menu-item__main.has-long-note .menu-item__note {
    display: block;
    margin: 3px 0 0;
    font-size: .8em;
    line-height: 1.3;
  }
}

/* Dotted leader resting on the baseline; it is drawn in, left to right, as the row appears */
.menu-item__leader {
  flex: 1 1 28px;
  min-width: 28px;
  height: 3px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-400, #d8b56d) 62%, transparent) 0 .8px, transparent 1.2px) 0 0 / 7px 3px repeat-x;
  transform-origin: 0 50%;
  transition: opacity .3s var(--ease-out, ease);
}

/* The site-wide price: Cormorant, gold foil, a raised £, lining tabular figures */
.menu-price {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--gold-400, #d8b56d);
}
.menu-price__cur {
  margin-right: .06em;
  font-size: .55em;
  vertical-align: .62em;
  line-height: 0;
}
.menu-price__unit { margin-left: .03em; font-size: .72em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .menu-price {
    background: linear-gradient(105deg, var(--gold-400, #d8b56d) 0 40%, #fff4d6 50%, var(--gold-400, #d8b56d) 60% 100%) 0 0 / 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.menu-item__price {
  flex: none;
  font-size: clamp(1.25rem, 1.12rem + .35vw, 1.42rem);
  line-height: 1.22;
}

.menu-item__desc {
  max-width: 56ch;
  margin-top: 5px;
  font: 400 .9rem/1.6 var(--font-body, 'Jost', sans-serif);
  color: var(--ivory-muted, #bdb3a2);
  text-wrap: pretty;
}

/* Sizes and prices as tidy option chips, e.g. "Glass £3.00" "Jug £7.00" */
.menu-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.menu-opt {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 14px 8px 12px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 26%, transparent);
  border-radius: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ivory, #f3ecdf) 4%, transparent), color-mix(in srgb, var(--ivory, #f3ecdf) 1%, transparent));
  white-space: nowrap;
}
.menu-opt__label {
  font: 400 .875rem/1.2 var(--font-body, 'Jost', sans-serif);
  color: var(--ivory-muted, #bdb3a2);
}
.menu-opt__price { font-size: 1.3rem; line-height: 1.1; }

/* Spice: Mild · Medium · Hot, each with a chilli in its colour */
.menu-spice { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.menu-spice__chip {
  --level: var(--gold-400, #d8b56d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px 0 8px;
  border: 1px solid color-mix(in srgb, var(--level) 40%, transparent);
  border-radius: 3px;
  font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivory-muted, #bdb3a2);
}
.menu-spice__chip .menu-chilli { color: var(--level); }
.menu-spice__chip[data-level="mild"] { --level: var(--emerald-400, #3aa874); }
.menu-spice__chip[data-level="medium"] { --level: var(--ember-500, #e8742a); }
.menu-spice__chip[data-level="hot"] {
  --level: var(--chilli, #d2452f);
  border-color: color-mix(in srgb, var(--chilli, #d2452f) 75%, transparent);
  background: color-mix(in srgb, var(--chilli, #d2452f) 14%, transparent);
  color: color-mix(in srgb, var(--chilli, #d2452f) 58%, #fff);
}
.menu-spice__chip[data-level="hot"] .menu-chilli { color: color-mix(in srgb, var(--chilli, #d2452f) 82%, #fff); }

.menu-includes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
  gap: 3px 22px;
  margin-top: 10px;
  font: 400 .88rem/1.55 var(--font-body, 'Jost', sans-serif);
  color: var(--ivory-muted, #bdb3a2);
}
.menu-includes li { position: relative; padding-left: 16px; }
.menu-includes li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 1px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold-400, #d8b56d);
  transform: rotate(45deg);
}

/* Short one-line lists (drinks, sundries…) read in two columns where there is room;
   on large screens most categories do, so the list never becomes one tall narrow column */
@media (min-width: 640px) and (max-width: 1023.98px), (min-width: 1180px) {
  .menu-items--compact { columns: 2; column-gap: clamp(32px, 4vw, 56px); }
}
@media (min-width: 1600px) {
  .menu-items--split { columns: 2; column-gap: clamp(40px, 3.2vw, 72px); }
}

/* Hover: the row lifts a touch and a gold hairline is drawn beneath it */
.menu-item { transition: translate .45s var(--ease-out, ease); }
@media (hover: hover) and (pointer: fine) {
  .menu-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold-400, #d8b56d) 70%, transparent) 30%, color-mix(in srgb, var(--gold-400, #d8b56d) 70%, transparent) 70%, transparent);
    transform: scaleX(0);
    transition: transform .6s var(--ease-out, ease);
    pointer-events: none;
  }
  .menu-item:hover { translate: 0 -2px; }
  .menu-item:hover::after { transform: scaleX(1); }
  .menu-item:hover .menu-item__title { color: var(--gold-200, #f1e2b8); }
}

/* 7. Search states ----------------------------------------------------------- */
#menu-root mark {
  padding: 0 .04em;
  border-radius: 2px;
  background: color-mix(in srgb, var(--gold-400, #d8b56d) 14%, transparent);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--gold-400, #d8b56d) 75%, transparent);
  color: var(--gold-200, #f1e2b8);
}
#menu-root .menu-cat__title mark {
  padding: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  text-decoration: underline 1px color-mix(in srgb, var(--gold-400, #d8b56d) 70%, transparent);
  text-underline-offset: .14em;
}

@media (max-width: 1023.98px) {
  .is-searching .menu-cat__banner { aspect-ratio: 3 / 1; }
  .is-searching .menu-cat__intro { display: none; }
}

/* No results (desktop): the stage settles to an empty gold arch with a star, and the rail steps back */
.menu-stage__mark { display: none; }
@media (min-width: 1024px) {
  .menu-stage__mark {
    position: absolute;
    top: 40%;
    left: 50%;
    display: block;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    overflow: visible;
    fill: none;
    stroke: var(--gold-400, #d8b56d);
    stroke-width: .8;
    opacity: 0;
    transform: scale(.6) rotate(-45deg);
    transition: opacity .6s var(--ease-out, ease), transform 1.1s var(--ease-out, ease);
    pointer-events: none;
  }
  .menu-stage__frame,
  .menu-stage__caps,
  .menu-rail { transition: opacity .5s var(--ease-out, ease), visibility .5s; }
  .is-empty .menu-stage__frame { opacity: .12; }
  .is-empty .menu-stage__caps { opacity: 0; }
  .is-empty .menu-stage__mark { opacity: .85; transform: none; }
  .is-empty .menu-rail { opacity: 0; visibility: hidden; }
}

/* No results: a warm card that offers the phone */
.menu-empty {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 52px);
  border: var(--hairline, 1px solid rgba(216, 181, 109, .28));
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(232, 116, 42, .1), transparent 62%),
    color-mix(in srgb, var(--ink-900, #12100d) 72%, transparent);
}
.menu-empty::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 12%, transparent);
  pointer-events: none;
}
.menu-empty__mark { color: var(--gold-400, #d8b56d); }
.menu-empty__mark .menu-star { width: 24px; height: 24px; }
.menu-empty__title {
  max-width: 24ch;
  font: 400 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.15 var(--font-display, 'Cormorant Garamond', serif);
  color: var(--ivory, #f3ecdf);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.menu-empty__text { max-width: 46ch; color: var(--ivory-muted, #bdb3a2); text-wrap: pretty; }
.menu-empty__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.menu-empty__call { font-variant-numeric: lining-nums; }
.menu-empty__btn {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 55%, transparent) !important;
  border-radius: 2px;
  color: var(--ivory, #f3ecdf);
  font: 500 .78rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: border-color .3s var(--ease-out, ease), color .3s var(--ease-out, ease), background-color .3s var(--ease-out, ease), scale .2s var(--ease-out, ease);
}
.menu-empty__btn:active { scale: .97; }
@media (hover: hover) and (pointer: fine) {
  .menu-empty__btn:hover {
    border-color: var(--gold-400, #d8b56d) !important;
    background: color-mix(in srgb, var(--gold-400, #d8b56d) 10%, transparent);
    color: var(--gold-200, #f1e2b8);
  }
}
@media (max-width: 479.98px) {
  .menu-empty__actions > * { flex: 1 1 100%; }
}

/* 8. Allergens --------------------------------------------------------------- */
.menu-foot { margin-top: clamp(64px, 8vw, 128px); }
.menu-foot__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(26px, 4vw, 52px);
  border: var(--hairline, 1px solid rgba(216, 181, 109, .28));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ember-700, #b4471a) 10%, transparent), transparent 55%),
    color-mix(in srgb, var(--ink-900, #12100d) 70%, transparent);
}
.menu-foot__grid::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 12%, transparent);
  pointer-events: none;
}
.menu-foot__title {
  font: 600 .78rem/1.3 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember-500, #e8742a);
}
.menu-foot__notice {
  max-width: 34ch;
  margin-top: 14px;
  font: italic 400 clamp(1.3rem, 1.05rem + .9vw, 1.75rem)/1.35 var(--font-display, 'Cormorant Garamond', serif);
  color: var(--ivory, #f3ecdf);
}
.menu-foot__call { margin-top: 12px; font-size: .95rem; color: var(--ivory-muted, #bdb3a2); }
.menu-foot__call a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-200, #f1e2b8);
  font-variant-numeric: lining-nums;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--gold-400, #d8b56d) 55%, transparent);
  text-underline-offset: 4px;
  white-space: nowrap;
  transition: color .3s var(--ease-out, ease);
}
.menu-foot__label {
  font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400, #d8b56d);
}
.menu-allergens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.menu-allergen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 11px;
  border: 1px solid color-mix(in srgb, var(--gold-400, #d8b56d) 24%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--ivory, #f3ecdf) 2.5%, transparent);
  font: 500 .75rem/1 var(--font-body, 'Jost', sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory, #f3ecdf);
}
.menu-allergen .menu-star { width: 9px; height: 9px; color: var(--gold-400, #d8b56d); }
.menu-foot__fine {
  margin-top: 18px;
  font: italic 400 1.02rem/1.4 var(--font-display, 'Cormorant Garamond', serif);
  color: var(--ivory-muted, #bdb3a2);
}

@media (hover: hover) and (pointer: fine) {
  .menu-foot__call a:hover { color: var(--ivory, #f3ecdf); }
}

@media (min-width: 1024px) {
  .menu-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
}

/* 9. Floating photo preview (desktop mouse users; created on first hover) ----- */
.menu-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: clamp(180px, 13vw, 250px);
  aspect-ratio: 4 / 5;
  visibility: hidden;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55));
  will-change: transform;
  transition: visibility 0s linear .6s;
}
.menu-preview.is-on { visibility: visible; transition-delay: 0s; }
/* The card keeps a 1px inset clip in every state (it moves on fractional offsets every frame),
   and its backing colour sits on an inner layer rather than on the masked box. */
.menu-preview__card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.88);
  clip-path: inset(100% 1px 1px 1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400'%3E%3Cpath d='M0 400V44C0 24 20 14 36 8C44 5 48 3 50 0C52 3 56 5 64 8C80 14 100 24 100 44V400Z'/%3E%3C/svg%3E") top center / 100% auto no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 400'%3E%3Cpath d='M0 400V44C0 24 20 14 36 8C44 5 48 3 50 0C52 3 56 5 64 8C80 14 100 24 100 44V400Z'/%3E%3C/svg%3E") top center / 100% auto no-repeat;
  transition: clip-path .7s var(--ease-out, ease), transform .7s var(--ease-out, ease), opacity .35s var(--ease-out, ease);
}
.menu-preview__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-850, #181511);
}
.menu-preview.is-on .menu-preview__card { opacity: 1; transform: none; clip-path: inset(1px 1px 1px 1px); }
.menu-preview__img {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  max-width: none;
  height: calc(100% + 2px);
  object-fit: cover;
  opacity: 0;
}
/* Photos swap in one step once decoded: nothing inside the masked card moves on its own layer */
.menu-preview__img.is-active { opacity: 1; }
.menu-preview__line {
  position: absolute;
  top: 7px;
  left: 7px;
  width: calc(100% - 14px);
  max-width: none;
  height: auto;
  stroke: var(--gold-200, #f1e2b8);
  opacity: .7;
}

/* 10. Reveals and reduced motion --------------------------------------------
   menu.js adds .menu-anim only when IntersectionObserver exists and motion is allowed;
   .menu-rv--set elements stay put and choreograph their children instead. */
.menu-anim .menu-rv:not(.menu-rv--set) {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .9s var(--ease-out, ease) var(--rv-delay, 0ms),
    transform .9s var(--ease-out, ease) var(--rv-delay, 0ms);
}
.menu-anim .menu-rv.is-in:not(.menu-rv--set) { opacity: 1; transform: none; }
.menu-anim .menu-eyebrow::after { transform: scaleX(0); transition: transform 1s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 140ms); }
.menu-anim .menu-eyebrow.is-in::after { transform: none; }
.menu-anim .menu-item.menu-rv {
  transition:
    opacity .9s var(--ease-out, ease) var(--rv-delay, 0ms),
    transform .9s var(--ease-out, ease) var(--rv-delay, 0ms),
    translate .45s var(--ease-out, ease);
}

/* Heading: lines rise from their masks, then light crosses the foil once */
.menu-anim .menu-title__line {
  transform: translateY(135%);
  transition: transform 1.05s var(--ease-out, ease) var(--rv-delay, 0ms);
}
.menu-anim .menu-title__mask.is-indent .menu-title__line { transition-delay: calc(var(--rv-delay, 0ms) + 90ms); }
.menu-anim .menu-title.is-in .menu-title__line { transform: none; }
.menu-anim .menu-title.is-in .menu-foil { animation: menu-sheen 1.5s var(--ease-in-out, ease-in-out) .8s both; }

/* Ornament: the rules draw out from their centres while the star is traced */
.menu-anim .menu-ornament__rule { transform: scaleX(0); transition: transform 1.1s var(--ease-out, ease) .2s; }
.menu-anim .menu-ornament.is-in .menu-ornament__rule { transform: none; }
.menu-anim .menu-ornament__star > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out, ease) .1s; }
.menu-anim .menu-ornament.is-in .menu-ornament__star > * { stroke-dashoffset: 0; }
.menu-anim .menu-ornament__gem { opacity: 0; transition: opacity .6s var(--ease-out, ease) .7s; }
.menu-anim .menu-ornament.is-in .menu-ornament__gem { opacity: 1; }

/* Category heading: title rises, numeral and intro follow, the rule is drawn from its diamond */
.menu-anim .menu-cat__text { transform: translateY(132%); transition: transform 1s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 80ms); }
.menu-anim .menu-cat__num {
  opacity: 0;
  transform: translateY(16%);
  transition: opacity .9s var(--ease-out, ease) var(--rv-delay, 0ms), transform 1.1s var(--ease-out, ease) var(--rv-delay, 0ms);
}
.menu-anim .menu-cat__intro,
.menu-anim .menu-cat__head .menu-ribbon {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 220ms), transform .9s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 220ms);
}
.menu-anim .menu-cat__rule::before,
.menu-anim .menu-cat__rule::after { transform: scaleX(0); transition: transform 1s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 260ms); }
.menu-anim .menu-cat__rule i { transform: rotate(45deg) scale(0); transition: transform .6s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 180ms); }
.menu-anim .menu-cat__head.is-in .menu-cat__text,
.menu-anim .menu-cat__head.is-in .menu-cat__num,
.menu-anim .menu-cat__head.is-in .menu-cat__intro,
.menu-anim .menu-cat__head.is-in .menu-ribbon,
.menu-anim .menu-cat__head.is-in .menu-cat__rule::before,
.menu-anim .menu-cat__head.is-in .menu-cat__rule::after { opacity: 1; transform: none; }
.menu-anim .menu-cat__head.is-in .menu-cat__rule i { transform: rotate(45deg); }

/* Rows: the leader is engraved left to right, then one glint crosses the price */
.menu-anim .menu-item__leader { transform: scaleX(0); transition: transform 1s var(--ease-out, ease) calc(var(--rv-delay, 0ms) + 120ms), opacity .3s; }
.menu-anim .menu-item.is-in .menu-item__leader { transform: none; }
.menu-anim .menu-item.is-in .menu-price { animation: menu-sheen 1.1s var(--ease-in-out, ease-in-out) calc(var(--rv-delay, 0ms) + 280ms) both; }

/* Banners (phones, tablets) rise behind an arch-shaped edge (the photo inside stays still,
   so nothing moves on its own layer inside the clipped banner) */
@media (max-width: 1023.98px) {
  .menu-anim .menu-cat__banner {
    clip-path: inset(100% 1px 1px 1px round 50% 50% 0 0 / 100% 100% 0 0);
    transition: clip-path 1.1s var(--menu-wipe) var(--rv-delay, 0ms);
  }
  .menu-anim .menu-cat__head.is-in .menu-cat__banner { clip-path: inset(1px 1px 1px 1px round 2px 2px 2px 2px / 2px 2px 2px 2px); }
}

/* Desktop stage: the arch window opens upward on first sight */
@media (min-width: 1024px) {
  .menu-anim .menu-stage__arch {
    clip-path: inset(100% -24px -24px -24px);
    transition: clip-path 1.2s var(--menu-wipe);
  }
  .menu-anim .menu-stage__sticky.is-in .menu-stage__arch { clip-path: inset(-24px); }
}

@keyframes menu-sheen {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
@keyframes menu-glow {
  to { opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-bar,
  .menu-stage__sticky,
  .menu-stage__layer.is-anim,
  .menu-stage__cap,
  .menu-stage__cap.is-active,
  .menu-stage__title > span,
  .menu-stage__cap.is-active .menu-stage__title > span,
  .menu-search,
  .menu-bar.is-search-open .menu-search,
  .menu-search::after,
  .menu-item,
  .menu-cat__num::after,
  .menu-stage__frame,
  .menu-stage__caps,
  .menu-stage__mark,
  .menu-rail { transition: none; }
  .menu-stage__mark { transform: none; }
  .menu-search:focus-within::before { animation: none; }
  .menu-item:hover { translate: none; }
  .menu-rail__ink,
  .menu-rail__gem { transition: opacity .3s linear; }
  .menu-preview__card { transform: none; clip-path: inset(1px); transition: opacity .25s linear; }
}
