/* Layout: one screen. The oven fills it; the logo sits centered below the flames; small links at the top open Menu and Private events as framed panels over the oven. */
:root {
  color-scheme: dark;
  --night: #0E0B0A;              /* behind the video while it loads */
  --white: #FFFFFF;              /* logo and type */
  --soft: rgba(255, 255, 255, .78);
  --shade: rgba(14, 11, 10, .55); /* edge gradients, so the words read */
  --paper: #FFFFFF;                  /* the popups: plain white, like the printed menu */
  --ink: #141110;                    /* type on the panels */
  --ink-soft: rgba(20, 17, 16, .64);
  --rule: rgba(20, 17, 16, .14);
  --type: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;  /* stand-in for Twentieth Century */
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: var(--night); color: var(--white); font-family: var(--type); font-weight: 400; overflow: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 5px; }
dialog.panel :focus-visible { outline-color: var(--ink); }

.stage { position: relative; height: 100%; overflow: hidden; background: var(--night); }
.stage video, .stage .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: brightness(.8) saturate(1.15) contrast(1.15); }
/* The video is toned down to 80% with a little more color and contrast (115% each), and the top and bottom edges shaded so the words read. */
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--shade) 0%, transparent 22%, transparent 72%, var(--shade) 100%); }

/* The logo sits centered on the oven floor, below the flames, at every width. */
.logo { position: absolute; z-index: 1; width: min(380px, 30vw); max-width: 100%; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .45)); }

.top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 32px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter-r) 22px var(--gutter-l); }
.top a, .info { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.top a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.top a:hover { border-color: var(--white); }

.info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; color: var(--soft);
  padding: 22px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); text-align: center; }

/* Phones: the frame narrows to the fire's side; the logo grows to fill the width. */
@media (max-width: 760px), (orientation: portrait) {
  .stage video, .stage .still { object-position: 14% 50%; }
  .logo { width: min(300px, 72vw); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .top { justify-content: center; flex-wrap: wrap; gap: 4px 20px; }
  .top a { font-size: 11px; letter-spacing: .16em; }
  .info { font-size: 11px; letter-spacing: .16em; }
}
/* Popups: Menu, Reservations and Private events open over the oven as white cards in a thin black frame, with only a small × in the corner. */
dialog.panel { position: fixed; color-scheme: light; width: min(680px, calc(100% - 48px)); max-height: calc(100% - 120px); padding: 0; border: 0; background: var(--paper); color: var(--ink);
  font-family: var(--type); overflow: hidden; outline: 1px solid var(--ink); outline-offset: -1px; box-shadow: 0 18px 60px rgba(0, 0, 0, .35); }
/* The menu is the printed menu's pages: the popup is the page's width with a little room, as tall as the screen allows. */
dialog.panel.wide { width: min(860px, calc(100% - 48px)); height: calc(100% - 96px); max-height: calc(100% - 96px); }
dialog.panel.wide .card { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* In the menu's grey bar (drawn by the menu itself, 52px tall at full size): the to-go link and the ×, on its right end. */
dialog.panel.wide .x { top: calc((var(--bar-h, 52px) - 36px) / 2); right: 10px; }
.togo { position: absolute; z-index: 2; top: 0; right: 58px; height: var(--bar-h, 52px); display: flex; align-items: center; gap: .6em;
  color: var(--ink-soft); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.togo span { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.togo:hover span { color: var(--ink-soft); }
/* On a computer the menu shows a whole page at once. site.js scales the page down to fit the screen, but never below
   a size that stays easy to read; on a short screen the card then runs past the bottom and the popup scrolls like a
   page, so nothing ever scrolls inside the menu itself. */
dialog.panel.wide.fit { width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; outline: 0; box-shadow: none;
  overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
dialog.panel.wide.fit[open] { display: block; }
dialog.panel.wide.fit .card { display: block; margin: 0 auto; background: var(--paper); outline: 1px solid var(--ink); outline-offset: -1px; box-shadow: 0 18px 60px rgba(0, 0, 0, .35); }
dialog.panel.wide.fit .menu-frame { display: block; overflow: hidden; }
dialog.panel.wide.fit .menu-frame iframe { transform-origin: 0 0; }
/* Reservations: OpenTable's tall widget, about phone-width, with a plain link under it in case it doesn't load. */
dialog.panel.narrow { width: min(380px, calc(100% - 48px)); }
.panel-body.ot { justify-items: center; gap: 14px; }
.panel-body.ot iframe { max-width: 100%; border: 0; }
.ot-direct { color: var(--ink-soft); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.ot-direct:hover { color: var(--ink); border-color: var(--ink); }
.menu-frame { flex: 1; min-height: 0; display: grid; }
.menu-frame iframe { width: 100%; height: 100%; border: 0; color-scheme: light; background: #fff; display: block; }
.menu-stand-in { place-self: center; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 32px; max-width: 46ch; color: var(--ink-soft); font-weight: 300; font-size: 15px; line-height: 1.6; }
.menu-stand-in a { color: var(--ink); font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
dialog.panel:focus-visible { outline: 1px solid var(--ink); }
dialog.panel[open] { display: flex; flex-direction: column; animation: rise .35s ease-out; }
dialog.panel::backdrop { background: rgba(14, 11, 10, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.panel[open] { animation: none; } }
.x { position: absolute; z-index: 2; top: 12px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%;
  color: var(--ink-soft); font: 300 28px/1 var(--type); cursor: pointer; }
.x:hover { color: var(--ink); background: var(--rule); }
.panel-title { margin: 0; font-weight: 600; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.panel-body { overflow-y: auto; padding: 24px 32px 32px; display: grid; gap: 28px; min-height: 0; }
.lede { margin: 0; font-weight: 300; font-size: 19px; line-height: 1.55; max-width: 48ch; color: var(--ink); }
/* Private events: what it is and what it costs, then the request a step at a time. The card grows with its content and
   scrolls inside on a short screen. */
dialog.panel.events { width: min(640px, calc(100% - 48px)); max-height: calc(100% - 96px); }
.events .panel-body { gap: 22px; }
.events #ev-info .lede { font-size: 14px; line-height: 1.55; max-width: 58ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; gap: 2px; font-weight: 300; font-size: 15px; color: var(--ink-soft); }
.facts b { font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices caption { text-align: left; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 10px; }
.prices th, .prices td { text-align: left; padding: 12px 12px 12px 0; border-top: 1px solid var(--rule); font-weight: 300; font-size: 15px; vertical-align: top; }
.prices thead th { border-top: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 8px; }
.prices tbody th { font-weight: 400; }
.prices small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.prices td { font-size: 17px; }
.prices td.na { font-size: 13px; color: var(--ink-soft); }
.fine { margin: 0; font-weight: 300; font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ev-menu { padding: 14px 16px; border: 1px dashed var(--rule); font-size: 13px; color: var(--ink-soft); }
.ev-go { display: grid; gap: 10px; justify-items: start; }
.cta { background: var(--ink); color: var(--paper); border: 0; padding: 14px 26px; font: 400 12px/1 var(--type); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
.cta:hover { background: #3A3430; }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-right: 40px; }
.ev-step { margin: 0; font-size: 12px; letter-spacing: .16em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ev-q { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.ev-q legend { padding: 0; margin-bottom: 4px; font-weight: 300; font-size: 22px; }
.field { display: grid; gap: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); min-width: 0; }
.field .opt { letter-spacing: .08em; text-transform: none; font-style: italic; }
.field input, .field select, .field textarea { font: 300 16px/1.4 var(--type); color: var(--ink); background: #fff; border: 1px solid rgba(20, 17, 16, .3); border-radius: 2px; padding: 10px 12px; width: 100%; letter-spacing: 0; text-transform: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field textarea { resize: vertical; }
.hint { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 300; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 300; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input, .choice input { accent-color: var(--ink); margin: 3px 0 0; flex: none; }
.choices { display: grid; gap: 8px; }
.q-label { margin: 0 0 4px; font-weight: 300; font-size: 17px; line-height: 1.45; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--rule); cursor: pointer; }
.choice:hover, .choice:has(input:checked) { border-color: var(--ink); }
.choice span { display: grid; gap: 2px; font-weight: 300; font-size: 14px; color: var(--ink-soft); }
.choice b { font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.out { display: grid; gap: 10px; padding: 16px; background: #EEEBE6; font-weight: 300; font-size: 15px; line-height: 1.5; }
.out p { margin: 0; }
.out-links { display: flex; gap: 22px; }
.out-links a, .back { color: var(--ink); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.ev-nav { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.hint.bad { color: #9A3B1E; }
.field input.bad { border-color: #9A3B1E; }
.ev-nav .err { flex: 1; margin: 0; font-size: 14px; color: #9A3B1E; font-weight: 300; }
.back { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
/* The calendar: a month at a time; one day, Tuesday – Saturday. */
.cal { display: grid; gap: 6px; margin-top: 6px; max-width: 340px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.cal-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 400; }
.cal-head button { background: none; border: 0; font: 300 22px/1 var(--type); color: var(--ink); cursor: pointer; width: 36px; height: 36px; }
.cal-head button:disabled { color: var(--rule); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; max-width: 100%; border: 0; background: none; font: 300 15px/1 var(--type); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.cal-grid button:hover:not(:disabled) { background: #EEEBE6; }
.cal-grid button:disabled { color: rgba(20, 17, 16, .22); cursor: default; }
.cal-grid button.in { background: #EEEBE6; }
.cal-grid button.pick { background: var(--ink); color: var(--paper); }
.done .lede { font-size: 18px; }
.top a[aria-current="true"] { border-color: var(--white); }

@media (max-width: 760px), (orientation: portrait) {
  dialog.panel, dialog.panel.wide, dialog.panel.narrow, dialog.panel.events { width: 100%; max-width: 100%; height: 100%; max-height: 100%; box-shadow: none; }
  dialog.panel { padding-top: env(safe-area-inset-top, 0px); }
  .x { top: calc(8px + env(safe-area-inset-top, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); }
  .panel-body { padding: 24px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
  /* Phones: the bar has room for the tabs and the × only, so the to-go link sits under the menu as a strip of its own. */
  .togo { position: static; order: 2; height: auto; justify-content: center; padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: #EEEBE6; }
  .menu-frame { order: 1; }
}
