/* Site nav, shared by every page (Figma 971:3484): logo + floating pill with Privacy, Questions,
   Reserve for $20 and Menu. Markup lives in each page; behaviour in nav.js. Self-contained:
   it uses no variables from the page's own stylesheets. */

.cnav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 39px 61px 0;
  pointer-events: none;
}
.cnav > * { pointer-events: auto; }
.cnav__logo {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 34px; line-height: 1;
  color: #ede8de; transition: opacity .25s cubic-bezier(.2, .7, .2, 1);
}
.cnav__logo span { color: #c77a4d; }
.cnav.is-scrolled .cnav__logo { opacity: 0; pointer-events: none; }
.cnav__pill {
  position: relative;
  display: flex; align-items: center; gap: 4px;
  height: 57.6px; padding: 0 0 0 5px;
  background: #161514; border: .8px solid rgba(242, 238, 231, .1); border-radius: 14px;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .6));
}
.cnav__links { display: flex; }
.cnav__links a, .cnav__menu {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-radius: 8px;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 500; font-size: 14px; color: rgba(242, 238, 231, .8);
  transition: color .2s, background-color .2s;
}
.cnav__links a:hover, .cnav__menu:hover { color: #f2eee7; background: rgba(242, 238, 231, .06); }
.cnav__reserve {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; margin-left: 7px; border-radius: 8px;
  background: #f2eee7; color: #0b0b0a; font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 500; font-size: 14px; white-space: nowrap;
}
.cnav__reserve:hover { background: #fff; }
.cnav__menu { border: 0; background: none; cursor: pointer; padding: 0 10px 0 12px; margin-right: 4px; }
.cnav__menu-label { display: grid; }
.cnav__menu-label > * { grid-area: 1 / 1; text-align: center; transition: opacity .2s; }
.cnav__menu-close { opacity: 0; }
.cnav__burger { position: relative; width: 16px; height: 12px; }
.cnav__burger i {
  position: absolute; left: 0; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), opacity .2s;
}
.cnav__burger i:nth-child(1) { top: 0; }
.cnav__burger i:nth-child(2) { top: 5.25px; }
.cnav__burger i:nth-child(3) { top: 10.5px; }
.cnav.is-open .cnav__menu-open { opacity: 0; }
.cnav.is-open .cnav__menu-close { opacity: 1; }
.cnav.is-open .cnav__burger i:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.cnav.is-open .cnav__burger i:nth-child(2) { opacity: 0; }
.cnav.is-open .cnav__burger i:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.cnav__panel {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px;
  display: flex; flex-direction: column; padding: 8px;
  background: #161514; border: .8px solid rgba(242, 238, 231, .1); border-radius: 14px;
}
.cnav__panel[hidden] { display: none; }
.cnav__panel a {
  padding: 12px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: rgba(242, 238, 231, .85);
}
.cnav__panel a:hover { background: rgba(242, 238, 231, .06); color: #f2eee7; }

html { scrollbar-gutter: stable; }   /* older pages already do this; keeps the pill in the same place everywhere */
.cnav, .cnav * { box-sizing: border-box; }
.cnav a { text-decoration: none; }
.cnav :focus-visible { outline: 2px solid #c77a4d; outline-offset: 3px; }
.cnav { -webkit-font-smoothing: antialiased; }

/* Older pages: keeps the space their previous nav took, so their content starts where it did */
.cnav-space { height: 132px; margin-bottom: -3px; }

@media (max-width: 1023px) {
  .cnav { padding: 24px 24px 0; }
  .cnav-space { height: 64px; margin-bottom: 0; }
}
@media (max-width: 767px) {
  .cnav { padding: 14px 14px 0; }
  .cnav__logo { font-size: 28px; }
  .cnav__pill { height: 50px; padding-left: 0; }
  .cnav__links { display: none; }
  .cnav__panel { min-width: min(280px, calc(100vw - 28px)); }
}
