:root {
  --blue: #0d47a8;
  --blue-bright: #1464d8;
  --navy: #0a1f4d;
  --cream: #fbd98a;
  --cream-soft: #fff6dc;
  --white: #ffffff;
  --ink: #0a1f4d;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--sticky-offset, 120px); }  /* site.js sets --sticky-offset on the menu page */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.03em; line-height: 1; margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy); color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.04em; text-decoration: none; color: var(--cream); white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; }
@media (max-width: 480px) { .brand { font-size: 1.25rem; gap: 8px; } .brand img { width: 36px; height: 36px; } .nav .order { padding: 7px 12px; font-size: 0.9rem; } }
.hero-logo { width: 230px; margin: 0 0 18px -6px; }
@media (max-width: 800px) { .hero-logo { display: none; } }  /* the top bar already shows the logo, so phones get the food photo first */
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--cream); }
.nav .order { background: var(--cream); color: var(--navy); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.nav .order:hover { color: var(--navy); background: var(--white); }
.nav .call { border: 2px solid var(--cream); color: var(--cream); padding: 6px 14px; border-radius: 999px; }
.nav a[aria-current="page"] { color: var(--cream); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 720px) { .nav a:not(.order) { display: none; } }

/* Notice bar for holiday hours. The script fills it from the special days list; it stays hidden when there are none. */
.notice { background: var(--cream); color: var(--navy); border-bottom: 2px solid var(--navy); padding: 10px 16px; text-align: center; font-weight: 700; }
.notice p { margin: 2px 0; }

/* Hero */
.hero { background: radial-gradient(circle at 20% 10%, var(--blue-bright), var(--blue) 55%, #0a3a8c); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--cream); }
.hero p.lead { font-size: 1.15rem; max-width: 34em; margin: 14px 0 26px; }
.hero .wrap > img { border-radius: 28px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--cream); }
.btn.primary { background: var(--cream); color: var(--navy); }
.btn.ghost { color: var(--cream); }
.btn.solid { background: var(--navy); color: var(--cream); border-color: var(--navy); }  /* for light backgrounds */
.more { margin: 26px 0 0; }
.today { margin: 16px 0 0; font-weight: 600; color: var(--cream); }  /* open or closed right now; sits under the headline */
.today a { color: var(--white); text-underline-offset: 3px; }
#today-status:not(:empty)::after { content: " · "; }
.hero .wrap.single { grid-template-columns: 1fr; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; padding-bottom: 32px; }
  .hero .wrap > img { order: -1; border-radius: 20px; }
}

.kosher-badge { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 18px; line-height: 1.4; background: var(--white); color: var(--navy); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.kosher-block { background: var(--white); padding: 48px 0; }
.kosher-block p { max-width: 46em; }
.vhq-logo { display: inline-block; margin: 6px 0 14px; }
.vhq-logo img { width: 260px; }
.kosher-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0; }
.kosher-tags li { padding: 7px 16px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 700; font-size: 0.95rem; }
.kosher-block a { color: var(--blue); font-weight: 700; }

/* Sections */
section.block { padding: 64px 0; }
.block h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--blue); margin-bottom: 14px; }
.block.dark { background: var(--navy); color: var(--white); }
.block.dark h2 { color: var(--cream); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.feature { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 14px rgba(10, 31, 77, 0.08); }
.feature img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.feature div { padding: 16px 18px 20px; }
.feature h3 { font-size: 1.7rem; color: var(--blue); margin-bottom: 6px; }
.feature p { margin: 0; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* Gallery: a strip of photos that can be swiped or scrolled. The script also drifts it slowly. */
.gallery-block { padding-top: 0; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.block .gallery-head h2 { margin-bottom: 0; }
.gallery-controls { display: flex; gap: 8px; margin-left: auto; }
.gallery-controls[hidden], .gallery-controls [hidden] { display: none; }
.gallery-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px; border: 2px solid var(--navy); border-radius: 999px; background: var(--white); color: var(--navy); font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .gallery-controls button:hover { background: var(--navy); color: var(--cream); } }
.gallery-controls .arrow { padding: 0; }
.gallery-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: none) and (pointer: coarse) { .gallery-controls .arrow { display: none; } }  /* touch screens swipe instead */
.gallery-viewport { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 20px; padding-bottom: 8px; }
.gallery-viewport.is-enhanced { scrollbar-width: none; }
.gallery-viewport.is-enhanced::-webkit-scrollbar { display: none; }
.gallery-viewport:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; border-radius: 16px; }
.gallery { display: flex; gap: 14px; width: max-content; }
.gallery figure { flex: none; width: 280px; margin: 0; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(10, 31, 77, 0.08); }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 10px 12px; font-weight: 700; font-size: 0.9rem; }

/* Story and reviews */
.story-block { background: var(--white); }
.story-block p { max-width: 46em; }
.story-block .sub { font-size: 1.9rem; color: var(--navy); margin: 30px 0 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 14px 0 12px; }
.reviews blockquote { margin: 0; padding: 20px; border-radius: 18px; background: var(--cream-soft); border-left: 6px solid var(--cream); }
.reviews blockquote p { margin: 0 0 10px; font-size: 1.08rem; font-weight: 600; }
.reviews cite { font-style: normal; font-size: 0.9rem; color: #46557a; }
.story-block a { color: var(--blue); font-weight: 700; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }
.plain-list { padding-left: 1.2em; max-width: 46em; }
.plain-list li { margin: 6px 0; }

/* Catering packages */
#catering .sub { font-size: 1.9rem; color: var(--navy); margin: 26px 0 4px; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 14px 0 12px; align-items: start; }
.package { background: var(--white); border-radius: 20px; padding: 20px 20px 12px; box-shadow: 0 4px 14px rgba(10, 31, 77, 0.08); }
.package h4 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.03em; margin: 0; color: var(--blue); }
.package .price { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; margin: 8px 0 6px; font-family: var(--display); font-size: 2rem; line-height: 1.1; color: var(--navy); }
.package .price .cash, .package .price .card { display: contents; }
.package .price b { font-family: var(--body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #46557a; }
.package .serves { margin: 0 0 10px; font-weight: 700; color: #7a5a00; }
.package ul { margin: 0; padding-left: 1.1em; }
.package li { margin: 6px 0; font-size: 0.95rem; }
@media (max-width: 800px) { .packages { grid-template-columns: 1fr; } }

/* FAQ */
.faq-block { padding-top: 0; }
.faq-block details { background: var(--white); border-radius: 14px; padding: 14px 18px; margin-top: 10px; box-shadow: 0 4px 14px rgba(10, 31, 77, 0.08); max-width: 760px; }
.faq-block summary { font-weight: 700; cursor: pointer; }
.faq-block details p { margin: 10px 0 2px; }
/* Menu page (menu.html) */
.menu-head { background: radial-gradient(circle at 20% 10%, var(--blue-bright), var(--blue) 55%, #0a3a8c); color: var(--white); padding: 26px 0 30px; }
.menu-head .kosher-badge { margin-bottom: 12px; }
.menu-head h1 { font-size: clamp(3.2rem, 9vw, 5rem); color: var(--cream); }
.menu-head .today { margin-top: 8px; }
.price-legend { max-width: 44em; margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--white); color: var(--navy); font-weight: 600; line-height: 1.6; }
.tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }

/* Category bar: a sticky row of buttons on phones and tablets (swipe sideways), a sticky list beside the menu on wide screens.
   site.js marks the section on screen with aria-current and keeps that button in view. */
.menu-layout { padding-top: 0; padding-bottom: 40px; }
.menu-nav { position: sticky; top: 60px; z-index: 10; margin: 0 -16px 22px; background: var(--cream); border-bottom: 2px solid var(--navy); }
.menu-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(to right, rgba(251, 217, 138, 0), var(--cream) 80%); pointer-events: none; }  /* hints that the row scrolls */
.menu-nav-list { display: flex; gap: 8px; overflow-x: auto; padding: 10px 44px 10px 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.menu-nav-list::-webkit-scrollbar { display: none; }
.menu-nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--navy); }
.menu-nav a[aria-current="true"] { background: var(--navy); color: var(--cream); }
@media (hover: hover) { .menu-nav a:hover { background: var(--navy); color: var(--cream); } }
.menu-nav a:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
@media (min-width: 1000px) {
  .menu-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 28px; }
  .menu-nav { top: 76px; margin: 0; background: none; border: 0; }
  .menu-nav::after { display: none; }
  .menu-nav-list { flex-direction: column; gap: 4px; overflow: visible; padding: 0; }
  .menu-nav a { padding: 6px 14px; border-radius: 12px; }
}
@media (min-width: 1000px) and (max-height: 640px) {  /* short screens: the list scrolls instead of running off the bottom */
  .menu-nav-list { max-height: calc(100vh - 92px); overflow-y: auto; }
}

.menu-list { max-width: 860px; }
.menu-end p { max-width: 40em; }
.menu-end p a { color: var(--cream); font-weight: 700; text-underline-offset: 3px; }
.cat { background: var(--white); border-radius: 20px; padding: 22px 22px 14px; margin-bottom: 24px; box-shadow: 0 4px 14px rgba(10, 31, 77, 0.08); }
@media (max-width: 480px) { .cat { padding: 18px 16px 10px; } }
.cat h2 { font-size: 2.1rem; color: var(--blue); }
.cat h3 { font-size: 1.35rem; margin: 18px 0 2px; color: var(--navy); }
.cat .note { margin: 6px 0 4px; font-size: 0.9rem; font-weight: 600; color: #7a5a00; }
.cat .plain { margin: 6px 0 10px; font-size: 0.95rem; }
.items { list-style: none; margin: 8px 0 0; padding: 0; }
.items li { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; column-gap: 14px; row-gap: 2px; padding: 9px 0; border-bottom: 1px dashed #c9d3ea; }
.items li:last-child { border-bottom: 0; }
.items li > div { flex: 1 1 9em; min-width: 0; }  /* when the name and the prices don't fit side by side, the prices move under the name */
.items .n { font-weight: 700; display: block; }
.items .d { display: block; font-size: 0.88rem; color: #46557a; }

/* Two prices on every line: label column (Cash, Card) and amount column, same size and weight for both */
.items .p { flex: 0 0 auto; margin-left: auto; display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; text-align: right; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.items .p .cash, .items .p .card { display: contents; }
.items .p b { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #46557a; text-align: left; }
.items .p.multi { font-size: 0.95rem; }
.cash, .card { white-space: nowrap; }  /* a price inside a sentence stays on one line */
.fineprint { font-size: 0.9rem; color: #46557a; margin-top: 4px; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .visit { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--cream); font-weight: 700; }
.hours-note { margin: 10px 0 0; font-size: 0.9rem; color: var(--cream); }
.visit address { font-style: normal; font-size: 1.1rem; margin: 10px 0 18px; }
.visit address a { color: var(--white); text-underline-offset: 3px; }
.visit address a:hover { color: var(--cream); }
.visit a.big { font-size: 1.4rem; font-weight: 700; color: var(--cream); text-decoration: none; }

.site-footer { background: #06142f; color: #c9d3ea; padding: 26px 0; font-size: 0.9rem; text-align: center; }

/* Phone bar: Menu, Call, Directions and Order stay at the bottom of the screen, within reach of the thumb */
.quickbar { display: none; }
@media (max-width: 720px) {
  .quickbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy); border-top: 2px solid var(--cream); padding-bottom: env(safe-area-inset-bottom); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; color: var(--white); font-size: 0.8rem; font-weight: 700; text-decoration: none; }
  .quickbar a.order { background: var(--cream); color: var(--navy); }
  .quickbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .has-quickbar .site-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }  /* room for the bar */
}
@media print { .quickbar { display: none; } }
