/* ==========================================================================
   NOIRÉ — digital menu
   1. Tokens          6. Menu toolbar      11. Nutrition
   2. Base            7. Category rail     12. Content sections
   3. Grain / texture 8. Cards             13. Footer
   4. Preloader       9. Reveal            14. Floating dock
   5. Header / hero   10. Detail sheet     15. Responsive / a11y
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #08080a;
  --bg-2:      #0b0b0e;
  --panel:     #101015;
  --panel-2:   #16161c;

  --line:      rgba(233,226,214,.09);
  --line-2:    rgba(233,226,214,.16);
  --line-3:    rgba(233,226,214,.28);

  --txt:       #efeae1;
  --txt-2:     rgba(239,234,225,.60);
  --txt-3:     rgba(239,234,225,.38);

  --gold:      #c2a06a;
  --gold-2:    #e2caa0;
  --gold-dim:  rgba(194,160,106,.16);

  --spice:     #c8603f;
  --veg:       #86a56a;

  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max: 1400px;
  --gut: clamp(18px, 4.6vw, 68px);
  --head-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --slow: .9s;

  --shadow-lift: 0 24px 60px -24px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.5);
}

/* ── 2. Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 62px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Every weight/style actually used is self-hosted — never let the browser
     fake italic or bold from an upright cut, which mangles diacritics. */
  font-synthesis: none;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(194,160,106,.28); color: #fff; }

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

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

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

/* Shared type helpers */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

.sec-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.012em;
  margin: 18px 0 0;
}
.sec-title em { font-style: italic; color: var(--gold-2); }

.sec-lede {
  max-width: 54ch;
  margin: 18px 0 0;
  color: var(--txt-2);
  font-size: 15.5px;
}

/* ── 3. Grain / texture ────────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: .34;
  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='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  will-change: transform;
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-6px, 4px); }
  40%  { transform: translate(4px, -6px); }
  60%  { transform: translate(-4px, -3px); }
  80%  { transform: translate(6px, 5px); }
  100% { transform: translate(0,0); }
}

/* Demo badge — bottom left, clear of the header's language switch. */
.demo-tag {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  z-index: 590;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--txt-3);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(8,8,10,.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* ── 4. Preloader ──────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }

.loader-mark {
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 300;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--txt);
  opacity: 0;
  animation: markIn 1.1s var(--ease) .1s forwards;
}
@keyframes markIn {
  from { opacity: 0; letter-spacing: .82em; filter: blur(6px); }
  to   { opacity: 1; letter-spacing: .5em;  filter: blur(0); }
}

.loader-bar {
  width: min(190px, 44vw);
  height: 1px;
  margin-top: 26px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  animation: barSweep 1.5s var(--ease-io) infinite;
}
@keyframes barSweep { to { transform: translateX(100%); } }

/* ── 5. Header / hero ──────────────────────────────────────────────────── */
.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 700;
  height: var(--head-h);
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.head.solid {
  background: rgba(8,8,10,.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}

.head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .34em;
  text-indent: .34em;
  line-height: 1;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: var(--ui);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--txt-3);
  margin-top: 5px;
}

.head-right { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }

/* Phone + street, top right. Quiet by default — it is a detail, not a CTA. */
.head-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 10px;
  letter-spacing: .13em;
  white-space: nowrap;
}
.head-contact a { transition: color .35s var(--ease); }
.hc-tel  { color: var(--txt-2); font-variant-numeric: tabular-nums; }
.hc-tel:hover { color: var(--gold); }
.hc-addr { color: var(--txt-3); }
.hc-addr:hover { color: var(--txt); }
.hc-sep  { width: 1px; height: 10px; background: var(--line-3); flex: none; }
/* Below 900px the burger takes over and the panel already lists both. */
@media (max-width: 900px) { .head-contact { display: none; } }

/* Language switch */
.lang-switch {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.lang-btn {
  padding: 7px 13px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-3);
  transition: color .35s var(--ease), background .35s var(--ease);
}
.lang-btn:hover { color: var(--txt); }
.lang-btn.on { color: var(--bg); background: var(--gold); }
@media (max-width: 400px) { .lang-btn { padding: 7px 10px; letter-spacing: .12em; } }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-2);
  padding: 6px 0;
  transition: color .35s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--txt); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .nav { display: none; } }

/* Mobile navigation — without it the sections below the menu are unreachable. */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--txt-2);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.nav-toggle:hover { color: var(--txt); border-color: var(--line-3); }
.nav-toggle .ico-x { display: none; }
.nav-toggle[aria-expanded='true'] { color: var(--gold); border-color: var(--gold-dim); }
.nav-toggle[aria-expanded='true'] .ico-x { display: block; }
.nav-toggle[aria-expanded='true'] .ico-burger { display: none; }
@media (max-width: 900px) { .nav-toggle { display: grid; } }

.navpanel {
  position: fixed;
  inset: 0;
  z-index: 690;                 /* under the header, so the toggle stays live */
  display: grid;
  align-content: center;
  padding: calc(var(--head-h) + 24px) var(--gut) calc(30px + env(safe-area-inset-bottom));
  background: rgba(8,8,10,.97);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  backdrop-filter: blur(26px) saturate(140%);
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.navpanel.open { visibility: visible; opacity: 1; }

.navpanel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2px, 1vh, 10px);
}
/* Scoped to the list: the panel's footer links are small, not display-size. */
.navpanel ul a {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 8.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -.005em;
  color: var(--txt);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.navpanel.open ul a { opacity: 1; transform: none; }
.navpanel ul a:active { color: var(--gold-2); }
.navpanel li:nth-child(1) a { transition-delay: .06s; }
.navpanel li:nth-child(2) a { transition-delay: .10s; }
.navpanel li:nth-child(3) a { transition-delay: .14s; }
.navpanel li:nth-child(4) a { transition-delay: .18s; }
.navpanel li:nth-child(5) a { transition-delay: .22s; }
.navpanel li:nth-child(6) a { transition-delay: .26s; }
.navpanel li:nth-child(7) a { transition-delay: .30s; }
.navpanel li:nth-child(8) a { transition-delay: .34s; }

.navpanel-foot {
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--txt-3);
}
.navpanel-foot a {
  color: var(--txt-2);
  align-self: flex-start;
  border-bottom: 1px solid var(--line-2);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: -2;
  will-change: transform;
}
/* Cross-fading stack of hero frames. */
.hero-media {
  opacity: 0;
  animation: heroBloom 2.2s var(--ease) .2s forwards;
}
@keyframes heroBloom {
  from { opacity: 0; filter: blur(10px) saturate(.6); }
  to   { opacity: 1; filter: blur(0) saturate(1); }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.7s var(--ease);
}
.hero-slide.on { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.05);
  transition: transform 9s linear;
  will-change: transform;
}
.hero-slide.on img { transform: scale(1.12); }

/* Slide indicators */
.hero-dots {
  position: absolute;
  right: var(--gut);
  bottom: clamp(64px, 13vh, 130px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.7s forwards;
}
.hero-dot {
  width: 22px;
  height: 1px;
  background: var(--line-3);
  transition: background .5s var(--ease), width .5s var(--ease);
}
.hero-dot.on { background: var(--gold); width: 34px; }
@media (max-width: 760px) { .hero-dots { display: none; } }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.18) 34%, rgba(8,8,10,.62) 72%, var(--bg) 100%),
    radial-gradient(115% 78% at 50% 42%, transparent 32%, rgba(8,8,10,.72) 100%);
}

.hero-inner {
  padding-block: 0 clamp(64px, 13vh, 130px);
  padding-top: calc(var(--head-h) + 40px);
}

.hero-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(66px, 21vw, 240px);
  line-height: .86;
  letter-spacing: .06em;
  text-indent: .06em;
  margin: 0;
}
.hero-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.42em);
  filter: blur(8px);
  animation: letterUp 1.25s var(--ease) forwards;
}

@keyframes letterUp {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
  margin: clamp(20px, 3.4vh, 34px) 0 0;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 300;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--txt-2);
  max-width: 30ch;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1.15s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 5vh, 52px);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1.35s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 34px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--txt);
  border-radius: 1px;
  overflow: hidden;
  transition: color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { position: relative; z-index: 1; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--txt-2);
  border: 1px solid var(--line-2);
  border-radius: 1px;
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.btn-ghost:hover { color: var(--txt); border-color: var(--line-3); background: rgba(255,255,255,.03); }

/* Scroll cue */
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 8.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--txt-3);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.9s forwards;
}
.hero-cue i {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--line-3), transparent);
  overflow: hidden;
  position: relative;
}
.hero-cue i::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  animation: cueRun 2.2s var(--ease-io) infinite;
}
@keyframes cueRun {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-height: 620px) { .hero-cue { display: none; } }

/* Views — the site and the menu are two screens of one page. */
.view[hidden] { display: none; }

.nav a.current { color: var(--gold); }
.nav a.current::after { transform: scaleX(1); }
.navpanel a.current { color: var(--gold-2); }

/* The dock only ever offers you somewhere you are not: no "Menu" while the
   menu is open, no "Home" while you are on it. */
body.view-menu [data-dock-menu],
body.view-home [data-dock-home] { display: none; }

/* ── 6. Menu toolbar ───────────────────────────────────────────────────── */
.menu-sec { position: relative; padding-top: clamp(72px, 12vh, 130px); }

.menu-head { padding-bottom: clamp(30px, 5vh, 54px); }

.toolbar {
  position: sticky;
  top: var(--head-h);
  z-index: 600;
  background: rgba(8,8,10,.82);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-block: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vh, 56px);
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
}

.search {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,.022);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.search:focus-within { border-color: var(--line-3); background: rgba(255,255,255,.045); }
.search svg { flex: none; color: var(--txt-3); transition: color .35s; }
.search:focus-within svg { color: var(--gold); }
.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  font-size: 13.5px;
  font-weight: 300;
  letter-spacing: .02em;
}
.search input::placeholder { color: var(--txt-3); }

.search-clear {
  flex: none;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--txt-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, color .3s, background .3s;
}
.search.has-value .search-clear { opacity: 1; pointer-events: auto; }
.search-clear:hover { color: var(--txt); background: rgba(255,255,255,.08); }

.filter-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color .35s, border-color .35s, background .35s;
}
.filter-btn:hover, .filter-btn[aria-expanded='true'] { color: var(--txt); border-color: var(--line-3); }
.filter-btn.active { color: var(--gold); border-color: var(--gold-dim); background: rgba(194,160,106,.07); }
.filter-btn .count {
  display: grid; place-items: center;
  min-width: 17px; height: 17px;
  padding-inline: 5px;
  font-size: 9.5px;
  letter-spacing: 0;
  border-radius: 9px;
  background: var(--gold);
  color: var(--bg);
}
.filter-btn .count:empty { display: none; }
@media (max-width: 560px) { .filter-btn .lbl { display: none; } .filter-btn { padding-inline: 14px; } }

/* Filter drawer */
.filters {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.filters.open { grid-template-rows: 1fr; }
.filters-in { overflow: hidden; }
.filters-pad {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 44px;
  padding-block: 4px 22px;
  border-top: 1px solid var(--line);
  margin-top: -1px;
  padding-top: 22px;
}
.filters.open .filters-pad { border-top-color: var(--line); }

.fgroup { min-width: 0; }
.fgroup-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--txt-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.chip:hover { color: var(--txt); border-color: var(--line-2); }
.chip[aria-pressed='true'] {
  color: var(--gold-2);
  border-color: rgba(194,160,106,.42);
  background: rgba(194,160,106,.10);
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }

.filters-foot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}
.reset {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-3);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.reset:hover { color: var(--gold); border-color: var(--gold); }

/* ── 7. Category rail ──────────────────────────────────────────────────── */
.rail-outer { position: relative; }
.rail-outer::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 10px;
  width: 56px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bg) 82%);
}
@media (min-width: 1100px) { .rail-outer::after { display: none; } }

.rail {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .rail { justify-content: center; flex-wrap: wrap; } }

.rail-btn {
  position: relative;
  flex: none;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 16px 13px;
  min-width: 84px;
  color: var(--txt-3);
  transition: color .4s var(--ease);
}
.rail-btn svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.rail-btn i {
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rail-btn::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .45s var(--ease);
}
.rail-btn:hover { color: var(--txt-2); }
.rail-btn:hover svg { transform: translateY(-2px); }
.rail-btn.on { color: var(--gold); }
.rail-btn.on::after { width: calc(100% - 20px); }

/* ── 8. Cards ──────────────────────────────────────────────────────────── */
.cat-block { margin-bottom: clamp(56px, 9vh, 104px); scroll-margin-top: calc(var(--head-h) + 130px); }
.cat-block[hidden] { display: none; }

.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: clamp(26px, 4vh, 40px);
  border-bottom: 1px solid var(--line);
}
.cat-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1;
  letter-spacing: -.008em;
  margin: 6px 0 0;
}
.cat-note { font-size: 13px; color: var(--txt-3); max-width: 42ch; text-align: right; }
@media (max-width: 760px) { .cat-note { text-align: left; } }

.grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 288px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.008));
  overflow: hidden;
  transition: border-color .55s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease);
  will-change: transform;
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(115deg, #121216 0%, #191920 50%, #121216 100%);
  background-size: 260% 100%;
  animation: shimmer 2.1s linear infinite;
}
.card-media.loaded { animation: none; background: #0e0e12; }
@keyframes shimmer { to { background-position: -260% 0; } }

.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  will-change: transform;
}
.card-media img.in { opacity: 1; }
.card:hover .card-media img { transform: scale(1.075); filter: brightness(1.06); }

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(8,8,10,.72) 100%);
  opacity: .85;
}

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 6px 10px;
  border: 1px solid rgba(194,160,106,.34);
  border-radius: 1px;
  background: rgba(8,8,10,.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 18px 18px 17px;
}

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.card-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.002em;
  margin: 0;
  transition: color .4s var(--ease);
}
.card:hover .card-name { color: var(--gold-2); }

.card-price {
  flex: none;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .07em;
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.card-price s { color: var(--txt-3); text-decoration: none; font-size: 10px; margin-left: 3px; }

.card-desc {
  flex: 1;
  margin: 0;
  font-size: 12.8px;
  line-height: 1.58;
  color: var(--txt-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}
.card-kcal {
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--txt-3);
  font-variant-numeric: tabular-nums;
}

/* Diet / spice marks */
.marks { display: flex; align-items: center; gap: 6px; }
.mark {
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.mark svg { width: 11px; height: 11px; fill: currentColor; }
.mark-veg   { color: var(--veg);   border-color: rgba(134,165,106,.4); }
.mark-vegan { color: var(--veg);   border-color: rgba(134,165,106,.55); background: rgba(134,165,106,.10); }
.mark-gf    { color: var(--txt-2); }
.mark-spice { color: var(--spice); border-color: rgba(200,96,63,.42); }
.mark-spice b { font-weight: 600; font-size: 8px; }

/* Empty state */
.empty {
  display: none;
  padding: clamp(56px, 12vh, 120px) 0;
  text-align: center;
}
.empty.show { display: block; }
.empty h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 10px;
}
.empty p { color: var(--txt-3); margin: 0 0 26px; font-size: 14px; }

.result-line {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-3);
  padding-bottom: 22px;
}
.result-line b { color: var(--gold); font-weight: 500; }

/* ── 9. Reveal ─────────────────────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv.in { opacity: 1; transform: none; }

/* ── 10. Detail sheet ──────────────────────────────────────────────────── */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vh, 48px) var(--gut);
  visibility: hidden;
  pointer-events: none;
}
.sheet.open { visibility: visible; pointer-events: auto; }

.sheet-veil {
  position: absolute;
  inset: 0;
  background: rgba(4,4,6,.80);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.sheet.open .sheet-veil { opacity: 1; }

.sheet-panel {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: min(88vh, 900px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.95);
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.sheet.open .sheet-panel { opacity: 1; transform: none; }

.sheet-media {
  position: relative;
  min-height: 260px;
  background: #0c0c10;
  overflow: hidden;
}
.sheet-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}
.sheet-media img.in { opacity: 1; transform: scale(1); }
.sheet-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(16,16,21,.55) 100%);
}
@media (max-width: 900px) { .sheet-media::after { background: linear-gradient(180deg, transparent 55%, rgba(16,16,21,.75) 100%); } }

.sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 3.4vw, 46px);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.sheet-scroll::-webkit-scrollbar { width: 4px; }
.sheet-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.sheet-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--txt-2);
  background: rgba(8,8,10,.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color .35s, border-color .35s, background .35s, transform .35s;
}
.sheet-close:hover { color: var(--txt); border-color: var(--line-3); transform: rotate(90deg); }

.sheet-cat {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.sheet-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 12px 0 0;
}
.sheet-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.sheet-price em { font-style: normal; font-family: var(--ui); font-size: 10px; letter-spacing: .22em; color: var(--txt-3); }

.sheet-desc {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--txt-2);
}

.sheet-marks { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--txt-2);
}
.tagline.veg   { color: var(--veg);   border-color: rgba(134,165,106,.4); }
.tagline.spice { color: var(--spice); border-color: rgba(200,96,63,.4); }

.block { margin-top: 34px; }
.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 15px;
}
.block-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ing { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ing li {
  font-size: 12px;
  font-weight: 300;
  color: var(--txt-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,.018);
}

.allerg { display: flex; flex-wrap: wrap; gap: 8px; }
.allerg span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--txt-2);
  padding: 6px 13px;
  border: 1px solid rgba(200,96,63,.22);
  border-radius: 2px;
  background: rgba(200,96,63,.055);
}
.allerg span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--spice);
}
.allerg.none span { border-color: rgba(134,165,106,.28); background: rgba(134,165,106,.06); }
.allerg.none span::before { background: var(--veg); }

/* ── 11. Nutrition ─────────────────────────────────────────────────────── */
.nutri { display: grid; gap: 22px; }

.nutri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
@media (max-width: 460px) { .nutri-grid { grid-template-columns: repeat(2, 1fr); } }

.nutri-cell {
  background: var(--panel-2);
  padding: 16px 14px 14px;
  display: grid;
  gap: 4px;
}
.nutri-lbl {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.nutri-val {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
}
.nutri-val em { font-style: normal; font-size: 12px; color: var(--txt-3); margin-left: 3px; }
.nutri-cell:first-child .nutri-val { color: var(--gold-2); }

.nutri-track {
  height: 2px;
  margin-top: 8px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  overflow: hidden;
}
.nutri-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
  transition: width 1.1s var(--ease) .2s;
}
.nutri-cell:nth-child(2) .nutri-track i { background: #8fa8c4; }
.nutri-cell:nth-child(3) .nutri-track i { background: #c4a98f; }
.nutri-cell:nth-child(4) .nutri-track i { background: #b78fa8; }

/* Macro split */
.macro-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.macro-bar i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 1.1s var(--ease) .35s;
}
.macro-bar i:nth-child(1) { background: #8fa8c4; }
.macro-bar i:nth-child(2) { background: #c4a98f; }
.macro-bar i:nth-child(3) { background: #b78fa8; }

.macro-key { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.macro-key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--txt-3);
  text-transform: uppercase;
}
.macro-key i { width: 7px; height: 7px; border-radius: 2px; }
.macro-key span:nth-child(1) i { background: #8fa8c4; }
.macro-key span:nth-child(2) i { background: #c4a98f; }
.macro-key span:nth-child(3) i { background: #b78fa8; }

.nutri-foot {
  font-size: 10.5px;
  color: var(--txt-3);
  line-height: 1.6;
}

/* ── 12. Content sections ──────────────────────────────────────────────── */
.sec { padding-block: clamp(80px, 14vh, 160px); }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  aspect-ratio: 4 / 3;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.frame:hover img { transform: scale(1.05); }
.frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,8,10,.5));
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
}
.stat { background: var(--bg); padding: 22px 20px; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-2);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-3);
}

/* Info columns */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: clamp(38px, 6vh, 62px);
}
.info-cell {
  background: var(--bg);
  padding: clamp(24px, 3vw, 38px);
  transition: background .5s var(--ease);
}
.info-cell:hover { background: var(--panel); }
.info-cell h3 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.info-cell p { margin: 0; font-size: 14px; line-height: 1.78; color: var(--txt-2); }
.info-cell p + p { margin-top: 14px; }
.info-cell a { border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.info-cell a:hover { color: var(--gold); border-color: var(--gold); }

.hours { display: grid; gap: 11px; }
.hours div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: var(--txt-2);
}
.hours dt { color: var(--txt-3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .now { color: var(--veg); }

.dotted {
  flex: 1;
  height: 1px;
  margin-bottom: 4px;
  background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 4px 1px;
}

/* Reservation form */
.res-form { display: grid; gap: 14px; margin-top: 26px; }
.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .res-row { grid-template-columns: 1fr; } }
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.field input, .field select {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255,255,255,.022);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--txt);
  transition: border-color .35s, background .35s;
  color-scheme: dark;
}
.field input:focus, .field select:focus { border-color: var(--line-3); background: rgba(255,255,255,.045); }
.res-note { font-size: 11px; color: var(--txt-3); margin: 0; }

/* ── 13. Footer ────────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 9vh, 96px) 0;
  background: var(--bg-2);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  padding-bottom: clamp(44px, 7vh, 78px);
}
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.foot-mark {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: .3em;
  text-indent: .3em;
  margin: 0;
}
.foot-brand p { color: var(--txt-3); font-size: 13.5px; max-width: 36ch; margin: 18px 0 0; }

.foot-col h4 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a, .foot-col li {
  font-size: 13.5px;
  color: var(--txt-2);
  transition: color .3s var(--ease);
}
.foot-col a:hover { color: var(--gold); }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--txt-2);
  transition: color .35s, border-color .35s, transform .35s, background .35s;
}
.socials a:hover { color: var(--gold); border-color: var(--gold-dim); background: rgba(194,160,106,.06); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.foot-bar span { display: inline-flex; align-items: center; gap: 8px; }

/* ── 14. Floating dock ─────────────────────────────────────────────────── */
.dock {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 650;
  display: flex;
  gap: 8px;
  transform: translate(-50%, 130%);
  transition: transform .6s var(--ease);
}
.dock.up { transform: translate(-50%, 0); }
@media (min-width: 1000px) { .dock { display: none; } }

/* Below that the dock owns the bottom of the screen, so the demo label — which
   would otherwise sit underneath it — steps up out of the way. */
@media (max-width: 999px) {
  .demo-tag { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 54px); }
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--txt);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(14,14,18,.86);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.9);
  transition: transform .4s var(--ease), border-color .4s;
}
.dock-btn:active { transform: scale(.96); }
.dock-btn.gold { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.dock-btn svg { width: 15px; height: 15px; flex: none; }

/* On a sub-page the dock carries three actions, which will not fit a phone at
   full size — so there it spans the screen and the buttons share it evenly. */
@media (max-width: 620px) {
  .dock {
    left: 12px;
    right: 12px;
    transform: translateY(130%);
  }
  .dock.up { transform: translateY(0); }
  .dock-btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 7px;
    padding: 13px 10px;
    font-size: 8.5px;
    letter-spacing: .14em;
  }
  .dock-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* QR panel */
.qr-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: var(--gut);
  visibility: hidden;
  pointer-events: none;
}
.qr-panel.open { visibility: visible; pointer-events: auto; }
.qr-panel .sheet-veil { background: rgba(4,4,6,.86); }

.qr-card {
  position: relative;
  width: min(420px, 100%);
  padding: clamp(28px, 5vw, 44px);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.95);
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.qr-panel.open .qr-card { opacity: 1; transform: none; }

.qr-frame {
  width: min(236px, 62vw);
  margin: 26px auto 0;
  padding: 15px;
  background: #efeae1;
  border-radius: 2px;
}
.qr-frame svg { width: 100%; height: auto; display: block; shape-rendering: crispEdges; }

.qr-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255,255,255,.022);
  font-size: 12px;
  color: var(--txt-2);
}
.qr-link code {
  flex: 1;
  min-width: 0;
  font-family: var(--ui);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.qr-copy {
  flex: none;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 10px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  transition: background .3s, color .3s;
}
.qr-copy:hover { background: var(--gold); color: var(--bg); }

/* ── 15. Responsive / a11y ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sheet { padding: 0; place-items: end stretch; }
  .sheet-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-width: none;
    max-height: 94svh;
    height: 94svh;
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    transform: translateY(100%);
    transition: transform .52s var(--ease), opacity .3s var(--ease);
  }
  .sheet.open .sheet-panel { transform: translateY(0); }
  .sheet-media { aspect-ratio: 16 / 10; min-height: 0; }
  .sheet-scroll { padding: 24px 22px calc(34px + env(safe-area-inset-bottom)); }

  /* Drag handle */
  .sheet-panel::before {
    content: '';
    position: absolute;
    top: 9px; left: 50%;
    z-index: 6;
    width: 38px; height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,.42);
    transform: translateX(-50%);
  }
  .sheet-close { top: 22px; right: 14px; width: 34px; height: 34px; }
}

/* Narrow phones: the wordmark, the hero buttons and the header cluster all
   overran the right edge at 390px. body{overflow-x:hidden} hid the overflow
   instead of revealing it, so this has to be corrected explicitly. */
@media (max-width: 620px) {
  .head .wrap { gap: 10px; }
  .brand { font-size: 17px; letter-spacing: .24em; text-indent: .24em; min-width: 0; }
  .brand small { font-size: 6.5px; letter-spacing: .28em; text-indent: .28em; margin-top: 4px; }
  .head-right { gap: 8px; }
  .lang-btn { padding: 7px 9px; font-size: 9px; letter-spacing: .08em; }
  .nav-toggle { width: 34px; height: 34px; }

  .hero-name { font-size: clamp(44px, 15.5vw, 96px); letter-spacing: .03em; text-indent: .03em; }
  .hero-sub { letter-spacing: .2em; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; padding-inline: 20px; }

  .cover-name { font-size: clamp(44px, 14vw, 96px); letter-spacing: .04em; text-indent: .04em; }
  .cover-meta { gap: 10px; font-size: 8.5px; letter-spacing: .16em; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; align-items: stretch; }
  .card-media { aspect-ratio: 1; width: 116px; flex: none; }
  .card-media::after { background: linear-gradient(90deg, transparent 50%, rgba(8,8,10,.5)); }
  .card-body { padding: 13px 14px; gap: 6px; }
  .card-name { font-size: 17.5px; }
  .card-desc { font-size: 12px; -webkit-line-clamp: 2; }
  .card-foot { padding-top: 9px; }
  .card-badge { top: 7px; left: 7px; padding: 4px 7px; font-size: 7px; letter-spacing: .16em; }
  .dock-btn { padding: 13px 18px; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .card-media img { transform: scale(1.02); filter: none; }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .grain { animation: none; }
  .hero-media img, .hero-name span, .hero-sub, .hero-actions, .hero-cue { opacity: 1; }
}

@media print {
  .head, .dock, .toolbar, .grain, .demo-tag, .hero-cue { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   16. Gallery, chef, private events, reviews
   ========================================================================== */

/* Gallery — one large frame, then a run of smaller ones. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
  margin-top: clamp(34px, 6vh, 60px);
}
/* On the gallery page the heading lives in the masthead, so the grid opens the
   section and must not add a second gap on top of the section padding. */
.wrap > .gallery:first-child { margin-top: 0; }

.gal {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0e0e12;
  transition: border-color .5s var(--ease);
}
.gal:hover { border-color: var(--line-2); }

.gal img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease);
  will-change: transform;
}
.gal img.in { opacity: 1; }
.gal:hover img { transform: scale(1.06); filter: brightness(1.08); }

.gal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,8,10,.82));
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.gal:hover::after { opacity: 1; }

.gal .cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gal:hover .cap { opacity: 1; transform: none; }

.gal:first-child { grid-column: span 2; grid-row: span 2; }
.gal:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal:first-child { grid-column: span 2; grid-row: auto; }
  .gal:first-child img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .gal .cap { opacity: 1; transform: none; left: 12px; bottom: 10px; font-size: 8.5px; }
  .gal::after { opacity: .9; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 60px);
  visibility: hidden;
  pointer-events: none;
}
.lightbox.open { visibility: visible; pointer-events: auto; }
.lightbox .sheet-veil { background: rgba(4,4,6,.93); }

.lightbox figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 1080px;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.lightbox.open figure { opacity: 1; transform: none; }

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 76svh;
  object-fit: contain;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}
.lightbox figcaption {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--txt-3);
  text-align: center;
}

.lb-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--txt-2);
  background: rgba(8,8,10,.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color .35s, border-color .35s, background .35s;
}
.lb-btn:hover { color: var(--txt); border-color: var(--line-3); background: rgba(8,8,10,.9); }
.lb-prev { left: clamp(-56px, -4vw, -10px); }
.lb-next { right: clamp(-56px, -4vw, -10px); }
@media (max-width: 900px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* Chef */
.chef-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 5vw, 84px);
  align-items: center;
  margin-top: clamp(34px, 6vh, 60px);
}
@media (max-width: 860px) { .chef-grid { grid-template-columns: 1fr; } }

.chef-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  aspect-ratio: 3 / 4;
}
.chef-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .chef-photo { aspect-ratio: 4 / 3; } }

.pullquote {
  position: relative;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(25px, 3.3vw, 44px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.pullquote::before {
  content: '“';
  position: absolute;
  left: -.42em;
  top: -.18em;
  font-size: 2.1em;
  line-height: 1;
  color: var(--gold);
  opacity: .30;
}
@media (max-width: 620px) { .pullquote::before { display: none; } }

.chef-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 4vh, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.chef-sig b { font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }
.chef-sig i {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.chef-sig i::before { content: '— '; }

.chef-body { margin-top: 26px; display: grid; gap: 14px; }
.chef-body p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--txt-2); }

/* Private events */
.facts { margin: clamp(28px, 4vh, 40px) 0 0; border-top: 1px solid var(--line); }
.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.fact dd {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  color: var(--gold-2);
  white-space: nowrap;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: clamp(34px, 6vh, 58px);
}
.review {
  background: var(--bg);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .5s var(--ease);
}
.review:hover { background: var(--panel); }
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.52;
  color: var(--txt);
}
.review figcaption {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.review figcaption b { color: var(--txt-2); font-weight: 500; }

.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 12px; height: 12px; fill: currentColor; }

/* ==========================================================================
   17. Menu-only build
   Used by the standalone QR menu, which opens almost straight into the list.
   Nothing here applies to the full site.
   ========================================================================== */

.cover {
  position: relative;
  min-height: clamp(300px, 52svh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cover-media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.cover-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  animation: heroBloom 2.2s var(--ease) .2s forwards;
}
.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,8,10,.80) 0%, rgba(8,8,10,.30) 40%, rgba(8,8,10,.78) 82%, var(--bg) 100%),
    radial-gradient(105% 70% at 50% 46%, transparent 28%, rgba(8,8,10,.66) 100%);
}

.cover-inner {
  padding-top: calc(var(--head-h) + 28px);
  padding-bottom: clamp(30px, 6vh, 56px);
  display: grid;
  justify-items: center;
  gap: 0;
}

.cover-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(52px, 15vw, 130px);
  line-height: .92;
  letter-spacing: .07em;
  text-indent: .07em;
  margin: 0;
}
.cover-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.36em);
  filter: blur(7px);
  animation: letterUp 1.15s var(--ease) forwards;
}

.cover-sub {
  margin: clamp(12px, 2.2vh, 20px) 0 0;
  font-size: clamp(10px, 1.3vw, 12.5px);
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--txt-2);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}

.cover-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(18px, 3vh, 30px);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--txt-3);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
}
.cover-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* The list starts right below the cover, so it needs less air above it. */
.menu-only .menu-sec { padding-top: clamp(34px, 6vh, 62px); }
.menu-only .menu-head { padding-bottom: clamp(20px, 3.4vh, 34px); }
/* Menu-only header: wordmark and language switch, nothing else. */

/* Slim contact strip — a table menu still has to say who it belongs to. */
.foot-slim {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: clamp(40px, 7vh, 80px);
  padding-block: clamp(30px, 5vh, 46px) calc(clamp(30px, 5vh, 46px) + 76px);
}
.foot-slim .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  flex-wrap: wrap;
}
.foot-slim-mark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .3em;
  text-indent: .3em;
  margin: 0;
}
.foot-slim-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 12.5px;
  color: var(--txt-2);
}
.foot-slim-lines a { border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.foot-slim-lines a:hover { color: var(--gold); border-color: var(--gold); }
.foot-slim-note {
  width: 100%;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--txt-3);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (min-width: 1000px) { .foot-slim { padding-bottom: clamp(30px, 5vh, 46px); } }
@media (max-width: 620px) { .foot-slim .wrap { justify-content: flex-start; } }

/* ── 21. Sub-pages ─────────────────────────────────────────────────────────
   The site is a router, not one long scroll: Galerie, Evenimente and Vizită
   are separate views. Each opens with its own masthead so a guest who lands
   there — from the nav, the dock or a shared link — knows where they are. */

.pagehead {
  position: relative;
  padding-block: calc(var(--head-h) + clamp(52px, 9vh, 104px)) clamp(38px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(194,160,106,.07), transparent 62%),
    var(--bg-2);
}
.pagehead-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.014em;
  margin: 20px 0 0;
}
.pagehead-title em { font-style: italic; color: var(--gold-2); }
.pagehead .sec-lede { margin-top: 20px; }

/* First section after a masthead already has the masthead's breathing room. */
.pagehead + .sec { padding-top: clamp(52px, 9vh, 104px); }

/* ── Explore: the three doors off the home page ── */

.explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(34px, 6vh, 60px);
}

.ex-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.ex-card:hover { border-color: var(--line-2); transform: translateY(-3px); }

.ex-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0e0e12;
}
.ex-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease), transform 1.3s var(--ease);
}
.ex-media img.in { opacity: 1; }
.ex-card:hover .ex-media img { transform: scale(1.05); }
.ex-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,.72));
}

.ex-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 28px);
}
.ex-num {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--gold);
}
.ex-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.1;
  margin: 0;
}
.ex-text {
  color: var(--txt-2);
  font-size: 13.5px;
  margin: 0;
}
.ex-go {
  margin-top: auto;
  padding-top: 16px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-3);
  transition: color .4s var(--ease);
}
.ex-card:hover .ex-go { color: var(--gold); }

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

/* On a phone the three doors read better as rows than as stacked posters. */
@media (max-width: 620px) {
  .ex-card { flex-direction: row; align-items: stretch; }
  .ex-media { width: 122px; flex: none; aspect-ratio: auto; }
  .ex-media::after { background: linear-gradient(90deg, transparent 45%, rgba(8,8,10,.55)); }
  .ex-body { padding: 16px 16px 15px; gap: 7px; }
  .ex-text { font-size: 12.5px; }
  .ex-go { padding-top: 12px; }
  .pagehead { padding-block: calc(var(--head-h) + 44px) 34px; }
}

/* ── Closing call to action ── */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 12vh, 130px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(8,8,10,.62) 45%, var(--bg) 100%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::after, .cta-band .eyebrow::before {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 90px;
  background: linear-gradient(90deg, transparent, var(--line-2));
}
.cta-band .eyebrow::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.cta-band-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 5.6vw, 60px);
  line-height: 1.04;
  margin: 20px 0 0;
}
.cta-band-title em { font-style: italic; color: var(--gold-2); }
.cta-band-lede { margin: 18px auto 0; max-width: 46ch; color: var(--txt-2); font-size: 15px; }
.cta-band-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 40px);
}
@media (max-width: 620px) {
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn,
  .cta-band-actions .btn-ghost { width: 100%; justify-content: center; }
}
