/* ==========================================================================
   Chaijaná — carta / menu / меню
   Dark "supper-club" system derived from the printed Chaijaná menu:
   near-black warm ground, gold leaf accents, high-contrast Garamond display.
   ========================================================================== */

/* --- 1. Typefaces (self-hosted, subsetted) ------------------------------- */

/* Display: Playfair Display. Chosen over Cormorant Garamond because the old
   face is a deliberately light display Garamond — at menu sizes its hairlines
   thinned out to nothing against the near-black ground. Playfair carries a
   denser stem and a larger x-height, so it holds its colour in gold-on-black,
   and the tracking below opens it back up so the letters keep their air. */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/playfair-display-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/playfair-display-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Text/UI: Manrope. The stack used to fall through to the host system sans,
   which meant the descriptions and the small tracked-out labels rendered as
   San Francisco here and Segoe there. Manrope keeps one voice everywhere and
   its open apertures survive the small uppercase sizes the badges need. */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 2. Tokens ----------------------------------------------------------- */

:root {
  /* ground */
  --night: #0a0907;
  --night-raised: #100e0a;
  --night-panel: #14110c;
  --night-deep: #050403;

  /* gold leaf ramp */
  --gold: #cda349;
  --gold-leaf: #e5c383;
  --gold-bright: #f6e2b0;
  --gold-deep: #93702f;
  --gold-ash: rgba(205, 163, 73, 0.34);
  --gold-mist: rgba(205, 163, 73, 0.12);

  /* ink on night */
  --cream: #f4ecda;
  --cream-soft: rgba(244, 236, 218, 0.78);
  --cream-dim: rgba(244, 236, 218, 0.58);

  --rule: rgba(205, 163, 73, 0.26);
  --rule-soft: rgba(205, 163, 73, 0.14);

  --display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ui: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* tracking scale — the display face is set slightly open at every size so
     the letters stay separated instead of clotting into a dark mass */
  --track-display: 0.014em;
  --track-title: 0.02em;
  --track-body: 0.006em;
  --track-label: 0.2em;

  --topbar: 62px;
  --toolbar: 116px;
  --shell: 1220px;
  --radius: 3px;

  color-scheme: dark;
}

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

html {
  background: var(--night-deep);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + var(--toolbar) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--cream);
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: var(--track-body);
  background-color: var(--night);
  background-image:
    radial-gradient(120% 68% at 12% -6%, rgba(205, 163, 73, 0.13), transparent 62%),
    radial-gradient(90% 60% at 96% 8%, rgba(150, 82, 30, 0.1), transparent 58%),
    radial-gradient(140% 90% at 50% 118%, rgba(205, 163, 73, 0.07), transparent 66%);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fine film grain — keeps the large dark fields from banding */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  /* Playfair sits on a taller x-height than the old Garamond and its
     descenders run longer, so the display leading opens from 1.04 to 1.12
     to stop stacked lines from touching. */
  line-height: 1.12;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 120;
  padding: 10px 20px;
  color: var(--night);
  background: var(--gold-leaf);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* --- 3. Top bar ---------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--topbar);
  padding: 6px max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.96), rgba(6, 5, 4, 0.86));
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}

.back-link {
  justify-self: start;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  color: var(--cream-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms ease;
}

.back-link span:first-child {
  color: var(--gold-leaf);
  font-size: 1.1rem;
  transform: translateY(-1px);
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--gold-bright);
}

.topbar-logo {
  width: 88px;
  height: 34px;
  object-fit: contain;
}

.language-switch {
  justify-self: end;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.language-switch a {
  display: grid;
  min-width: 40px;
  min-height: 32px;
  place-items: center;
  color: var(--cream-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.language-switch a:hover {
  color: var(--gold-bright);
}

.language-switch a[aria-current="page"] {
  color: #171208;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
}

/* --- 4. Cover ------------------------------------------------------------ */

.cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--topbar));
  padding: clamp(24px, 4vw, 44px) clamp(18px, 5vw, 60px) clamp(34px, 5vw, 60px);
  overflow: hidden;
  text-align: center;
}

/* arabesque medallion behind the cover, echoing the printed cover */
.cover-pattern {
  position: absolute;
  inset: -10% -20%;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(closest-side at 78% 34%, rgba(205, 163, 73, 0.16), transparent 72%),
    radial-gradient(closest-side at 14% 76%, rgba(205, 163, 73, 0.1), transparent 70%);
}

.cover-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23cda349' stroke-width='0.9'%3E%3Cpath d='M60 6 74 30 60 54 46 30Z'/%3E%3Cpath d='M60 66 74 90 60 114 46 90Z'/%3E%3Cpath d='M6 60 30 46 54 60 30 74Z'/%3E%3Cpath d='M66 60 90 46 114 60 90 74Z'/%3E%3Ccircle cx='60' cy='60' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 132px 132px;
}

.cover-frame {
  position: relative;
  width: min(100%, 760px);
  padding: clamp(26px, 3.4vw, 44px) clamp(20px, 4vw, 52px);
  border: 1px solid var(--rule);
  background: linear-gradient(170deg, rgba(20, 17, 12, 0.72), rgba(8, 7, 5, 0.66));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(205, 163, 73, 0.06);
}

/* double rule inside the frame */
.cover-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--rule-soft);
  pointer-events: none;
}

.cover-corner {
  position: absolute;
  width: 46px;
  height: 46px;
  color: var(--gold);
  opacity: 0.75;
  pointer-events: none;
}

.cover-corner--tl { top: -1px; left: -1px; }
.cover-corner--tr { top: -1px; right: -1px; transform: scaleX(-1); }
.cover-corner--bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.cover-corner--br { right: -1px; bottom: -1px; transform: scale(-1); }

.cover-logo {
  width: clamp(150px, min(30vw, 26vh), 250px);
  height: auto;
  margin: 0 auto clamp(6px, 1.4vw, 14px);
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.8));
}

.eyebrow {
  color: var(--gold-leaf);
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* The display face runs optically larger than the old one at the same em, so
   the cover sizes come down a step and win the height back as leading. */
.cover h1 {
  margin: clamp(10px, 1.8vw, 18px) 0 0;
  color: var(--cream);
  font-size: clamp(2.15rem, min(7.2vw, 7.8vh), 4rem);
  font-weight: 400;
  letter-spacing: var(--track-display);
}

.cover-subtitle {
  margin-top: 6px;
  color: var(--gold-leaf);
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.4vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.menu-word {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: clamp(13px, 2vw, 20px) 0 clamp(14px, 2.2vw, 22px);
  color: var(--gold-leaf);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}

.menu-word::before,
.menu-word::after {
  content: "";
  flex: 1;
  max-width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-ash), transparent);
}

.cover-details {
  display: grid;
  gap: 1px;
  margin-top: clamp(6px, 1.6vw, 12px);
  text-align: left;
  border-top: 1px solid var(--rule-soft);
}

.cover-details > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid var(--rule-soft);
}

.cover-details dt {
  display: grid;
  place-items: center;
  color: var(--gold);
}

.cover-details dt svg {
  width: 19px;
  height: 19px;
}

.cover-details dd {
  display: grid;
  gap: 1px;
}

.cover-details .detail-label,
.cover-partner .detail-label {
  color: var(--gold-deep);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cover-details .detail-value {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.02em;
}

.cover-seals {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(14px, 2vw, 20px);
}

.seal {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 16px 7px 12px;
  color: var(--gold-leaf);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

.seal svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.currency-note {
  margin-top: clamp(12px, 1.8vw, 16px);
  color: var(--cream-dim);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

/* Loyalty-programme partner mark, as printed on the carta cover. Bonpunto's
   blue is left untouched — it is someone else's brand — so it gets its own
   quiet zone below a hairline instead of competing with the gold. */
.cover-partner {
  display: grid;
  gap: 9px;
  justify-items: center;
  margin-top: clamp(16px, 2.4vw, 24px);
  padding-top: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--rule-soft);
}

.cover-partner img {
  width: clamp(92px, 16vw, 118px);
  height: auto;
  opacity: 0.9;
}

.scroll-cue {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: clamp(16px, 2.4vw, 24px);
  color: var(--gold-leaf);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue span:last-child {
  animation: cue 2.4s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* --- 5. Search + category rail ------------------------------------------ */

.menu-tools {
  position: sticky;
  top: var(--topbar);
  z-index: 50;
  padding: 12px clamp(14px, 4vw, 34px) 0;
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.97) 72%, rgba(6, 5, 4, 0));
  backdrop-filter: saturate(140%) blur(12px);
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding: 0 14px 0 42px;
  background: rgba(20, 17, 12, 0.9);
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-wrap:focus-within {
  border-color: var(--gold-ash);
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.13);
}

.search-icon {
  position: absolute;
  left: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  pointer-events: none;
}

.search-icon svg {
  width: 16px;
  height: 16px;
}

.search-wrap input {
  flex: 1;
  min-width: 0;
  height: 46px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: var(--track-title);
  background: none;
  border: 0;
  outline: none;
}

.search-wrap input::placeholder {
  color: var(--cream-dim);
  font-style: italic;
}

.search-wrap input::-webkit-search-cancel-button {
  display: none;
}

.clear-search {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--cream-dim);
  font-size: 1.1rem;
  line-height: 1;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.clear-search:hover {
  color: var(--gold-bright);
}

.result-count {
  flex: none;
  padding-left: 8px;
  color: var(--gold-leaf);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.category-nav {
  display: flex;
  gap: 4px;
  width: min(100%, var(--shell));
  margin: 6px auto 0;
  padding: 8px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* fade the rail edges so clipped labels don't look broken */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 26px), transparent);
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  position: relative;
  flex: none;
  padding: 7px 15px 9px;
  color: var(--cream-dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.category-nav a::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 2px;
  left: 15px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.category-nav a:hover {
  color: var(--cream);
}

.category-nav a[aria-current="true"] {
  color: var(--gold-bright);
}

.category-nav a[aria-current="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* --- 6. Sections --------------------------------------------------------- */

.menu-shell {
  padding-bottom: 40px;
}

.empty-state {
  width: min(100%, var(--shell));
  margin: 60px auto;
  padding-inline: clamp(18px, 5vw, 34px);
  color: var(--cream-dim);
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
}

.menu-section {
  position: relative;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 40px);
}

.menu-section + .menu-section {
  border-top: 1px solid var(--rule-soft);
}

.menu-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0));
}

.section-heading {
  width: min(100%, 720px);
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.section-kicker {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  flex: 1;
  max-width: 130px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-ash), transparent);
}

.section-kicker svg {
  width: 46px;
  height: 14px;
  flex: none;
}

.section-heading h2 {
  margin-top: 16px;
  color: var(--cream);
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 400;
  letter-spacing: var(--track-title);
}

.section-heading > p {
  margin-top: 12px;
  color: var(--cream-dim);
  font-family: var(--display);
  font-size: clamp(0.98rem, 2.3vw, 1.14rem);
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.012em;
}

.section-body {
  display: grid;
  gap: clamp(34px, 5vw, 60px);
  width: min(100%, var(--shell));
  margin-inline: auto;
}

/* dish medallion */
.section-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 330px);
  aspect-ratio: 1;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.04) contrast(1.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.68);
}

/* gold double ring */
.section-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  pointer-events: none;
}

/* Inner rim + vignette so the crop melts into the dark ground. The current
   photographs are already shot on black, so the vignette only has to close the
   last few pixels — at the old depth it ate the rim of the plate. */
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(205, 163, 73, 0.42),
    inset 0 0 30px 2px rgba(6, 5, 4, 0.5);
}

.menu-grid {
  display: grid;
  gap: 4px;
  align-content: start;
}

/* --- 7. Menu item -------------------------------------------------------- */

.menu-item {
  position: relative;
  padding: 16px 2px 17px;
  border-bottom: 1px solid var(--rule-soft);
  break-inside: avoid;
}

.menu-item:last-child {
  border-bottom: 0;
}

.item-heading {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.item-heading h3 {
  color: var(--cream);
  font-size: clamp(1.06rem, 2.1vw, 1.24rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: var(--track-title);
}

/* dotted leader between dish and price, as in the printed carta */
.item-heading::after {
  content: "";
  flex: 1;
  min-width: 18px;
  height: 0;
  margin-bottom: 5px;
  border-bottom: 1px dotted rgba(205, 163, 73, 0.4);
}

.item-heading:has(.menu-price) h3 {
  flex: 0 1 auto;
}

.item-heading:not(:has(.menu-price))::after {
  display: none;
}

.menu-price {
  flex: none;
  order: 3;
  color: var(--gold-leaf);
  font-family: var(--display);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.menu-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 15px;
  color: #1a1408;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold) 62%, var(--gold-deep));
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  padding-inline: 22px;
}

.menu-description {
  max-width: 60ch;
  margin-top: 10px;
  color: var(--cream-soft);
  font-size: 0.9rem;
  font-weight: 350;
  line-height: 1.7;
  letter-spacing: 0.008em;
}

.menu-note {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 9px;
  color: var(--gold-leaf);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.menu-note::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

.option-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.option-list li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--cream-soft);
  font-size: 0.895rem;
  font-weight: 350;
  letter-spacing: 0.008em;
  break-inside: avoid;
}

.option-leader {
  flex: 1;
  min-width: 14px;
  height: 0;
  margin-bottom: 4px;
  border-bottom: 1px dotted rgba(205, 163, 73, 0.28);
}

.option-list strong {
  flex: none;
  color: var(--gold-leaf);
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* long drink lists break into columns, like the printed pages */
.option-list[data-dense] {
  column-gap: 44px;
}

/* --- 8. Experiences (tasting sets) --------------------------------------- */

/* The tasting sets run full width, so their medallion sits centred above the
   cards as a plate rather than beside them in a column of its own. */
.experiences .section-photo {
  width: min(100%, 260px);
}

.experiences .menu-grid {
  gap: 20px;
}

.experiences .menu-item {
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 32px);
  background: linear-gradient(165deg, rgba(205, 163, 73, 0.075), rgba(205, 163, 73, 0.015));
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.experiences .menu-item::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--rule-soft);
  pointer-events: none;
}

.experiences .item-heading h3 {
  font-size: clamp(1.28rem, 2.7vw, 1.62rem);
  font-weight: 400;
  line-height: 1.18;
}

.experiences .option-list {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
}

.experiences .option-list strong {
  font-size: 1.08rem;
}

/* --- 9. Footer ----------------------------------------------------------- */

.menu-footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: clamp(46px, 7vw, 76px) 20px calc(38px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.6));
}

.menu-footer img {
  width: 138px;
  height: auto;
  opacity: 0.8;
}

.footer-address {
  color: var(--cream-dim);
  font-family: var(--display);
  font-size: 1.02rem;
  font-style: italic;
  font-variant-numeric: lining-nums;
}

.menu-footer a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-leaf);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-footer a:hover {
  color: var(--gold-bright);
}

/* --- 10. Desktop --------------------------------------------------------- */

@media (min-width: 900px) {
  :root {
    --toolbar: 118px;
  }

  .section-body {
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: clamp(44px, 5vw, 76px);
  }

  /* alternate the medallion side for reading rhythm */
  .menu-section:nth-of-type(even) .section-body {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .menu-section:nth-of-type(even) .section-photo {
    order: 2;
  }

  /* Sticky only where the medallion owns its own column and has a text column
     to travel beside. In the single-column sections below it would stick to
     the viewport and ride down over the cards that follow it. */
  .menu-section:not(.experiences) .section-photo {
    position: sticky;
    top: calc(var(--topbar) + var(--toolbar) + 30px);
  }

  .experiences .section-body,
  .menu-section .section-body:not(:has(.section-photo)) {
    grid-template-columns: minmax(0, 1fr);
  }

  /* sections without a dish medallion read as a printed carta spread */
  .menu-section:not(.experiences) .section-body:not(:has(.section-photo)) .menu-grid {
    display: block; /* multicol needs a non-grid container */
    columns: 2;
    column-gap: clamp(48px, 6vw, 84px);
    column-rule: 1px solid var(--rule-soft);
  }

  .experiences .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  }

  /* long option lists split in two only where the text column is wide —
     never inside an already two-column section */
  .section-body:has(.section-photo) .option-list[data-dense] {
    display: block;
    columns: 2;
  }

  .section-body:has(.section-photo) .option-list[data-dense] li {
    margin-bottom: 6px;
  }
}

@media (min-width: 1280px) {
  .experiences .section-body {
    width: min(100%, var(--shell));
  }
}

/* --- 11. Small screens --------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --toolbar: 108px;
  }

  .cover-frame {
    padding: 30px 18px 34px;
  }

  .cover-details > div {
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 11px 2px;
  }

  .section-photo {
    width: min(78vw, 300px);
  }

  .menu-section {
    padding-inline: 18px;
  }

  .menu-description {
    font-size: 0.875rem;
  }

  .experiences .menu-item {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  /* long names wrap and drop their price onto its own right-aligned line
     instead of leaving a stranded leader */
  .item-heading,
  .option-list li {
    flex-wrap: wrap;
  }

  .menu-price,
  .option-list strong {
    margin-left: auto;
  }

  /* keep the top bar one line tall — the arrow keeps its accessible name */
  .back-link span:last-child {
    display: none;
  }

  .back-link span:first-child {
    font-size: 1.35rem;
  }

  .cover h1 {
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- 12. Print: flip to ink on paper ------------------------------------- */

@media print {
  :root {
    --cream: #1a150c;
    --cream-soft: #3a3125;
    --cream-dim: #5b5145;
    --gold-leaf: #7a5a1c;
    --gold: #8a6a2f;
    --rule: rgba(0, 0, 0, 0.24);
    --rule-soft: rgba(0, 0, 0, 0.14);
  }

  html,
  body {
    background: #fff !important;
    color: #1a150c;
  }

  body::before,
  .cover-pattern,
  .topbar,
  .menu-tools,
  .scroll-cue,
  .menu-footer a {
    display: none !important;
  }

  .cover {
    min-height: auto;
    page-break-after: always;
  }

  .cover-frame {
    background: none;
    box-shadow: none;
  }

  .menu-section {
    padding: 26px 0;
    page-break-inside: avoid;
    background: none !important;
  }

  .section-photo,
  .section-photo img {
    box-shadow: none;
  }

  .menu-badge {
    color: #1a150c;
    background: none;
    border: 1px solid #8a6a2f;
    clip-path: none;
    padding-inline: 10px;
  }
}
