/* Equal Parts — restaurant & cocktail bar, 478 Green St, North Beach.
   A client site, self-contained: none of the mummysboy hub's styles apply here.
   Plaster ground (the dining room's walls), espresso bands, and the logo's own
   bronze (#6E5A38, sampled from their mark) as the one accent. Arches echo the
   long arched entryway.

   Contrast (WCAG 2.1, computed):
     ink     #231A15 on plaster #F4EEE6 14.8:1 · on plaster-2 #EAE1D5 13.2:1
     ink-2   #5C4D42 on plaster          7.0:1 · on plaster-2 6.3:1
     bronze  #6E5A38 on plaster          5.7:1 · on plaster-2 5.1:1
     plaster on bronze (buttons)         5.7:1
     edge    #8C7B66 on plaster          3.5:1 (input borders, 3:1 needed)
     cream   #F4EEE6 on espresso #1E1713 15.3:1
     sand    #BFB2A2 on espresso         8.5:1 · on espresso-2 #2A211B 7.6:1
     gold    #C9B38A on espresso         8.7:1 (labels and links on dark)
   Text over photos sits on a scrim that reaches 85%+ espresso behind the type. */

:root {
  --plaster: #F4EEE6;
  --plaster-2: #EAE1D5;
  --line: #DCD0C0;
  --edge: #8C7B66;
  --ink: #231A15;
  --ink-2: #5C4D42;
  --bronze: #6E5A38;
  --bronze-hi: #5A4A2E;
  --espresso: #1E1713;
  --espresso-2: #2A211B;
  --espresso-line: #3D322A;
  --espresso-edge: #7A6B5D;
  --cream: #F4EEE6;
  --sand: #BFB2A2;
  --gold: #C9B38A;

  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --bar: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 760px) { :root { --gutter: 36px; } }
@media (max-width: 759.98px) { :root { --bar: calc(64px + env(safe-area-inset-bottom)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--plaster); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Page to page (Chrome, Edge, Safari 18.2+): the new page dissolves in over the old
   one, which stays fully opaque underneath, so nothing dips to blank midway. The
   header and phone bar are named so they hold still. Other browsers just navigate;
   the html background keeps that from flashing white. Each page's speculation rules
   prerender the next one on hover/touch, so it arrives finished. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: ep-in 450ms var(--ease) both; }
}
.top { view-transition-name: top; }
.bar { view-transition-name: bar; }
@keyframes ep-in { from { opacity: 0; } to { opacity: 1; } }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  /* Short pages (thank-you) still put the footer at the bottom of the screen. */
  display: flex; flex-direction: column; min-height: 100svh;
}
body > main { flex: 1 0 auto; }
a[href^="tel:"] { white-space: nowrap; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.12; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; }
.skip:focus { top: 12px; }

.label {
  font: 600 14px/1.2 var(--label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 14px;
}
.dark .label { color: var(--gold); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--plaster);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.mark {
  display: block; width: 20px; height: 27px; flex: none;
  background: currentColor;
  -webkit-mask: url(../img/logo-mark.png) center / contain no-repeat;
  mask: url(../img/logo-mark.png) center / contain no-repeat;
}
.brand .mark { color: var(--bronze); }
.brand__word { font: 400 16px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 399.98px) { .brand__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink-2);
  padding: 14px 9px; border-radius: 2px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .btn { margin-left: 10px; }
/* The header's Reserve is an outline (bronze on plaster, 5.7:1), so the hero's filled
   Reserve is the only filled button on the first screen. */
.nav a.btn.btn--solid { background: transparent; color: var(--bronze); border: 1px solid var(--bronze); }
.nav a.btn.btn--solid:hover { background: var(--bronze); color: var(--cream); }
@media (max-width: 759.98px) { .nav .btn { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  cursor: pointer;
}
.nav a.btn { padding: 12px 20px; min-height: 44px; font: 600 14px/1 var(--label); letter-spacing: .14em; color: var(--cream); text-decoration: none; }
.btn--solid { background: var(--bronze); color: var(--cream); }
.btn--solid:hover { background: var(--bronze-hi); }
.btn--line { border-color: var(--bronze); color: var(--bronze); background: transparent; }
.btn--line:hover { background: var(--bronze); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--espresso); }
.btn--light:hover { background: var(--plaster-2); }
.btn--ghost { border-color: rgba(244, 238, 230, .7); color: var(--cream); background: transparent; }
.btn--ghost:hover { background: rgba(244, 238, 230, .12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--cream); background: var(--espresso); overflow: hidden; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 23, 19, .12) 0%, rgba(30, 23, 19, .3) 24%, rgba(30, 23, 19, .74) 40%, rgba(30, 23, 19, .9) 58%, rgba(30, 23, 19, .94) 100%);
}
/* Page heroes are shorter, so the eyebrow sits higher, over the bright wall: the
   scrim is already ~75% where it starts. */
.hero--page::after {
  background: linear-gradient(180deg, rgba(30, 23, 19, .35) 0%, rgba(30, 23, 19, .76) 26%, rgba(30, 23, 19, .88) 50%, rgba(30, 23, 19, .94) 100%);
}
/* Wide screens set the type on the left over the light walls, so the scrim runs
   left to right there: espresso behind the text, the room clear on the right. */
@media (min-width: 900px) {
  .hero::after, .hero--page::after { background: linear-gradient(90deg, rgba(30, 23, 19, .9) 0%, rgba(30, 23, 19, .82) 42%, rgba(30, 23, 19, .3) 72%, rgba(30, 23, 19, .15) 100%); }
}
/* The events photo ends on a pale pillar at its right edge, which read as a seam
   on wide screens: run it 6% past the right edge so the pillar falls off screen. */
.hero__img--trim img { width: 106%; max-width: none; }
/* The photo fades up over the espresso ground once it has fully loaded, instead of
   painting in as it downloads. Gated on html.js (set in <head>) so the photo still
   shows with JS off; onerror marks it loaded too, so it can never stay hidden. */
html.js .hero__img img { opacity: 0; transform: scale(1.03); }
html.js .hero__img img.is-loaded {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero__img img { transform: none; }
  html.js .hero__img img.is-loaded { transition: opacity .3s linear; }
}
.hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(84svh, 760px); padding-top: 120px; padding-bottom: 40px; }
.hero h1 { font-weight: 300; font-size: clamp(38px, 9vw, 76px); letter-spacing: -.01em; max-width: 13ch; margin-bottom: 18px; overflow-wrap: break-word; }
.hero__lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--cream); max-width: 34em; margin-bottom: 26px; }
.hero .label { color: var(--gold); }
.status { font: 500 15px/1.4 var(--sans); margin: 22px 0 0; color: var(--sand); min-height: 21px; }
.status b { color: var(--cream); font-weight: 600; }
.status--ink { color: var(--ink-2); margin: 0 0 18px; }
.status--ink b { color: var(--ink); }
@media (min-width: 760px) { .hero__in { padding-bottom: 64px; } }

.hero--page .hero__in { min-height: min(56svh, 520px); }
.hero--page h1 { max-width: 16ch; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec--tight { padding: 56px 0; }
@media (min-width: 760px) { .sec { padding: 112px 0; } .sec--tight { padding: 80px 0; } }
.dark { background: var(--espresso); color: var(--cream); }
.dark p { color: var(--sand); }
.alt { background: var(--plaster-2); }
.h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 300; letter-spacing: -.005em; margin-bottom: 20px; max-width: 18ch; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.dark .lede { color: var(--sand); }
.more { font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); text-decoration: underline; text-underline-offset: 6px; display: inline-block; padding: 12px 0; }
.dark .more { color: var(--gold); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--flip > :first-child { order: 2; }
}

.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--plaster-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.frame { overflow: hidden; background: var(--plaster-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.chef { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.chef p { margin: 0; color: var(--ink-2); }
.chef strong { color: var(--ink); font-weight: 500; }

/* Dishes strip: scrolls inside itself on phones, a 4-up grid on wide screens */
.dishes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 36px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px;
  scroll-padding-inline: var(--gutter);
  list-style: none;
  scrollbar-width: none;
}
.dishes::-webkit-scrollbar { display: none; }
/* Room for the last photo to snap to the gutter too. */
.dishes::after { content: ""; width: 1px; }
.dishes li { scroll-snap-align: start; }
.dishes figure { margin: 0; }
.dishes .frame { aspect-ratio: 4 / 5; }
.dishes figcaption { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
@media (min-width: 760px) {
  .dishes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 48px 0 0; padding: 0; }
  .dishes::after { content: none; }
}

/* When-to-come strip */
.times { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); list-style: none; padding: 0; }
.times li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.times h3 { font-size: 24px; margin-bottom: 6px; }
.times p { margin: 0 0 4px; color: var(--ink-2); }
.times .more { padding: 10px 0 0; }
@media (min-width: 760px) {
  .times { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .times li { padding: 28px 28px 28px 0; border-bottom: 0; }
  .times li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* Room gallery */
.room { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr 1fr; }
.room .frame:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.room .frame { aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .room { grid-template-columns: 2fr 1fr 1fr; }
  .room .frame:first-child { grid-column: auto; aspect-ratio: auto; }
  .room .frame { aspect-ratio: 3 / 4; }
}
.sketch { mix-blend-mode: multiply; }

/* Spaces (events) */
.spaces { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--espresso-line); }
.spaces li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--espresso-line); }
.spaces b { font: 400 21px/1.2 var(--display); color: var(--cream); }
.spaces span { color: var(--sand); text-align: right; font-size: 15px; }

/* Press */
.press { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.press li { border-bottom: 1px solid var(--line); }
.press a { display: grid; gap: 4px; padding: 18px 0; text-decoration: none; }
.press .label { margin: 0; }
.press span:last-child { font: 400 19px/1.35 var(--display); text-decoration: underline; text-decoration-color: var(--edge); text-underline-offset: 4px; }
.press a:hover span:last-child { text-decoration-color: var(--ink); }
@media (min-width: 760px) { .press { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* Visit block */
.visit { display: grid; gap: 40px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.hours dt, .hours dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 500; padding-right: 24px; }
.hours dd { color: var(--ink-2); text-align: right; }
.hours .is-today { color: var(--ink); font-weight: 600; }
.hours .is-today::after { content: " · today"; font-weight: 400; color: var(--bronze); }
.hours dd.is-today::after { content: none; }
.dark .hours dt, .dark .hours dd { border-color: var(--espresso-line); }
.facts { list-style: none; padding: 0; margin: 0 0 28px; }
.facts li { padding: 10px 0; }
.facts a { text-underline-offset: 4px; }
.small { font-size: 15px; color: var(--ink-2); }

/* ---------- Menus page ---------- */
.tabs {
  position: sticky; top: 64px; z-index: 10;
  background: var(--plaster); border-bottom: 1px solid var(--line);
}
.tabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; }
.tabs ul::-webkit-scrollbar { display: none; }
/* Soft fade on whichever edge has more tabs past it (site.js sets the classes), so
   the row reads as scrollable rather than clipped. */
.tabs ul.can-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.tabs ul.can-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.tabs ul.can-l.can-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.tabs a {
  display: block; white-space: nowrap; padding: 16px 12px 14px;
  font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--ink); }
.tabs ul { position: relative; }
.tabs__ink {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--bronze); pointer-events: none;
}
.tabs ul.is-ready .tabs__ink { transition: transform .32s var(--ease), width .32s var(--ease); }

/* Before site.js has made the tabs, show only the first (or linked) menu so the
   page doesn't load long and then collapse. The head script drops .js if the
   tabs never arrive, which brings every menu back. */
html.js:not(.has-tabs) .menu:not(#dinner):not(:target) { display: none; }
html.js:not(.has-tabs):has(.menu:target) #dinner:not(:target) { display: none; }
.menu.is-entering { animation: ep-rise .38s var(--ease) both; }
@keyframes ep-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html:has(.tabs) { scroll-padding-top: 126px; }

.menu { padding: 64px 0 24px; }
.menu + .menu { border-top: 1px solid var(--line); }
.menu__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
.menu__head h2 { font-size: clamp(32px, 5vw, 46px); font-weight: 300; }
.menu__when { color: var(--ink-2); margin: 0 0 32px; }
.menu__pdf { font-size: 15px; color: var(--ink-2); text-underline-offset: 4px; padding: 10px 0; }
.groups { display: grid; gap: 8px 64px; }
@media (min-width: 900px) { .groups { grid-template-columns: 1fr 1fr; } .groups--one { grid-template-columns: 1fr; max-width: 680px; } }
.group { margin-bottom: 32px; break-inside: avoid; }
.group h3 {
  display: flex; justify-content: space-between; gap: 12px;
  font: 600 16px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}
.group h3 small { font: inherit; color: var(--ink-2); letter-spacing: .1em; }
.items { list-style: none; padding: 0; margin: 0; }
.item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.item__name { font: 500 18px/1.35 var(--sans); margin: 0; }
.item__price { font: 500 17px/1.35 var(--sans); white-space: nowrap; margin: 0; font-variant-numeric: tabular-nums; }
.item__price small { font-size: 14px; color: var(--ink-2); font-weight: 400; }
/* "1/2 dozen 27 · 1 dozen 54" is too wide to sit beside a long name on a phone:
   there the price goes on its own line under the name. */
@media (max-width: 599.98px) {
  .item__row:has(.item__price small ~ small) { flex-wrap: wrap; row-gap: 2px; }
}
.item__desc { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.item__tags { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); font-style: italic; }
.item__sub { list-style: none; padding: 0; margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }
.item__sub li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.menu__notes { color: var(--ink-2); font-size: 15px; margin: 8px 0 40px; }
.menu__notes p { margin: 0 0 6px; }

/* ---------- Events page ---------- */
.space { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.space:first-of-type { border-top: 0; padding-top: 8px; }
@media (min-width: 900px) { .space { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; } }
.space .frame { aspect-ratio: 3 / 2; }
.space h3 { font-size: clamp(28px, 4vw, 36px); font-weight: 300; margin-bottom: 10px; }
.caps { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0 0 16px; font: 600 15px/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.space p { color: var(--ink-2); }
.soon { font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--edge); color: var(--ink-2); padding: 5px 8px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }

.price { display: grid; gap: 0; margin: 28px 0; border-top: 1px solid var(--espresso-line); }
.price div { padding: 14px 0; border-bottom: 1px solid var(--espresso-line); display: flex; justify-content: space-between; gap: 16px; }
.price dt { color: var(--sand); flex: none; }
.price dd { margin: 0; color: var(--cream); font-weight: 500; text-align: right; min-width: 0; max-width: 15em; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 32px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; color: var(--sand); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); font: 600 16px/30px var(--label); text-align: center;
}
.steps b { color: var(--cream); font-weight: 500; }
.steps a { color: var(--gold); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 680px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: #FFFDF9; border: 1px solid var(--edge); border-radius: 6px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; padding: 12px 16px; min-height: 48px; border: 1px solid var(--edge); border-radius: 6px; background: #FFFDF9; cursor: pointer; }
.choices input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--bronze); }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }

/* ---------- Large-party request (dark, fine-lined) ----------
   Fields are a single sand underline on espresso (8.5:1), labels sand, focus gold;
   choice-card edge #7A6B5D on espresso 3.4:1 (3:1 needed for a control boundary). */
.request__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .request__grid { grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; } }
.request__img { aspect-ratio: 4 / 5; max-width: 420px; margin: 36px 0 28px; }
@media (max-width: 899.98px) { .request__img { display: none; } }
.request__aside { color: var(--sand); font-size: 16px; line-height: 1.7; }
.request__aside a, .request .lede a { color: var(--cream); text-underline-offset: 4px; }

.form--fine { max-width: none; gap: 0; }
.form--fine .step { border: 0; margin: 0; padding: 0 0 36px; display: grid; gap: 26px; }
.form--fine .step + .step { border-top: 1px solid var(--espresso-line); padding-top: 32px; }
.form--fine legend {
  float: left; width: 100%; padding: 0; margin-bottom: 4px;
  font: 400 26px/1.2 var(--display); color: var(--cream);
}
.form--fine legend span { font: 600 15px/1 var(--label); letter-spacing: .16em; color: var(--gold); margin-right: 12px; vertical-align: 4px; }
.form--fine .step > * { clear: both; }
.form--fine .row { gap: 26px; }
@media (min-width: 640px) { .form--fine .row--3 { grid-template-columns: 1.3fr 1fr .8fr; } }
.form--fine .field label, .field__label {
  display: block; margin: 0 0 4px;
  font: 600 14px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--sand);
}
.form--fine .opt { text-transform: none; letter-spacing: .02em; font-weight: 600; color: var(--sand); }
.form--fine .field input, .form--fine .field select, .form--fine .field textarea {
  min-height: 48px; padding: 10px 0;
  background: transparent; color: var(--cream); color-scheme: dark;
  border: 0; border-bottom: 1px solid var(--sand); border-radius: 0;
  font: 400 19px/1.4 var(--sans);
  transition: border-color .15s var(--ease);
}
.form--fine .field textarea { min-height: 0; resize: vertical; }
.form--fine .field select {
  -webkit-appearance: none; appearance: none; padding-right: 26px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9B38A' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
}
.form--fine .field select option { background: var(--espresso); color: var(--cream); }
.form--fine .field input:hover, .form--fine .field select:hover, .form--fine .field textarea:hover { border-bottom-color: var(--cream); }
.form--fine .field input:focus-visible, .form--fine .field select:focus-visible, .form--fine .field textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 4px; border-bottom-color: var(--gold);
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.card {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 16px;
  border: 1px solid var(--espresso-edge); border-radius: 2px; cursor: pointer;
  color: var(--cream); font: 400 18px/1.2 var(--display);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
/* A card is a <label> inside .field, so undo the field-label caps it would inherit. */
.form--fine .field label.card { display: flex; margin: 0; font: 400 18px/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--cream); }
.card:hover { border-color: var(--sand); }
.card input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--gold); }
.card:has(input:checked) { border-color: var(--gold); background: var(--espresso-2); }
.card:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.card input:focus-visible { outline: 0; }

.request__send { width: 100%; min-height: 56px; margin-top: 4px; }
.request__fine { margin: 16px 0 0; font-size: 14px; color: var(--sand); text-align: center; }

/* ---------- Footer ---------- */
/* The footer runs to the very bottom: the room the phone bar needs is the footer's
   own padding, never a strip of page colour under it. */
.foot { background: var(--espresso); color: var(--sand); padding: 56px 0 calc(40px + var(--bar)); font-size: 15px; }
.foot { border-top: 1px solid var(--espresso-line); }
/* A page that ends on a dark band (careers, the events form) meets the footer on
   the same ground: the hairline above separates them, and the band ends sooner. */
main > .dark:last-child { padding-bottom: 64px; }
@media (min-width: 760px) { main > .dark:last-child { padding-bottom: 96px; } }
.foot__grid { display: grid; gap: 32px; padding-bottom: 8px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot .mark { color: var(--gold); width: 28px; height: 38px; margin-bottom: 14px; }
.foot h2 { font: 600 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-block; padding: 6px 0; color: var(--cream); text-underline-offset: 4px; }
.foot p { margin: 0 0 6px; }
.foot p a { color: var(--cream); }
.foot__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--espresso-line); font-size: 14px; }

/* ---------- Mobile action bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--espresso); border-top: 1px solid var(--espresso-line);
}
/* Espresso, like the footer and the dark bands it passes over: cream Reserve
   (espresso on cream 15.3:1), the others outlined in sand (8.5:1). */
.bar a {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  font: 600 14px/1 var(--label); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid var(--sand); color: var(--cream);
}
.bar a:first-child { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.bar :focus-visible { outline-color: var(--gold); }
@media (min-width: 760px) { .bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .tabs ul.is-ready .tabs__ink { transition: none; }
  .menu.is-entering { animation: none; }
}

/* ---------- Dish photos ----------
   .dish-thumb: an arched 72px photo beside a menu item, drawn only on a menu where
   every item has a true photo. .dish-link: a single-dish photo on another page.
   Both open dialog.dish (built by site.js from the item's own markup). Pairs used:
   ink on plaster 14.8:1, ink-2 on plaster 7.0:1, line edge decorative only. */
.item:has(> .dish-thumb) { position: relative; padding-right: 86px; min-height: 100px; }
.dish-thumb {
  position: absolute; top: 15px; right: 0;
  width: 72px; height: 72px; padding: 0; border: 1px solid var(--line);
  border-radius: 36px 36px 6px 6px; overflow: hidden;
  background: var(--plaster-2); cursor: pointer;
}
.dish-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s var(--ease); }
.dish-thumb:hover img { opacity: .88; }
.dish-thumb:focus-visible { border-radius: 36px 36px 6px 6px; }
.dish-link { display: block; height: 100%; cursor: pointer; }

html:has(dialog.dish[open]) { overflow: hidden; }
.dish {
  padding: 0; border: 0; color: var(--ink); background: var(--plaster);
  width: 100%; max-width: 100%; max-height: 90svh;
  margin: auto 0 0; border-radius: 20px 20px 0 0;
  overflow-y: auto; overscroll-behavior: contain;
}
.dish::backdrop { background: rgba(30, 23, 19, .7); background: color-mix(in srgb, var(--espresso, #1E1713) 70%, transparent); }
.dish__in { position: relative; padding-bottom: env(safe-area-inset-bottom); }
.dish__img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--plaster-2); }
.dish__close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--plaster); color: var(--ink); cursor: pointer;
}
.dish__body { padding: 22px var(--gutter) 28px; }
.dish__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dish__name { font: 400 26px/1.2 var(--display); }
.dish__price { margin: 0; font: 500 18px/1.35 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish__price small { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.dish__desc .item__desc, .dish__desc .item__sub { font-size: 17px; }
.dish__desc .item__desc:first-child { margin-top: 8px; }
@media (min-width: 760px) {
  .dish { margin: auto; width: min(560px, 92vw); max-height: 90svh; border-radius: 18px; }
  .dish__body { padding: 24px 32px 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dish[open] { animation: dish-in .2s var(--ease) both; }
  .dish[open]::backdrop { animation: dish-fade .2s linear both; }
}
@keyframes dish-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dish-fade { from { opacity: 0; } to { opacity: 1; } }

/* One filled button on screen at a time: the phone bar slides away while any other
   filled button or a form's send button is on screen (site.js). */
.bar-wait .bar { transform: translateY(110%); transition: transform .22s var(--ease); }
.bar-wait.bar-on .bar { transform: none; }
@media (prefers-reduced-motion: reduce) { .bar-wait .bar { transition: none; } }
