/* ============================================================
   Manzano's Deli — stylesheet
   Design tokens live in :root so the whole "brand" is editable
   from one place. Mobile-first; layout scales up at breakpoints.
   ============================================================ */

:root {
  /* Palette — warm Italian-deli */
  --cream:        #f7f1e6;
  --cream-deep:   #efe5d3;
  --paper:        #fffaf2;
  --ink:          #2a211b;   /* near-black warm charcoal for text */
  --ink-soft:     #6b5d52;   /* muted body text */
  --tomato:       #a32b22;   /* primary brand red (marinara/brick) */
  --tomato-deep:  #7f1f18;
  --amber:        #cf8a2c;   /* mustard / amber accent (use on DARK bg) */
  --amber-deep:   #985f12;   /* darker amber — passes WCAG AA on LIGHT bg */
  --olive:        #5d6b3a;   /* secondary accent */
  --line:         #e3d6c2;   /* hairline borders */

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --wrap: 1150px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(42, 33, 27, .07);
  --shadow-md: 0 14px 34px rgba(42, 33, 27, .12);
  --gap: clamp(1rem, 3vw, 2rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { max-width: 100%; display: block; }

a { color: var(--tomato); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.1; margin: 0 0 .4em; font-weight: 600; }

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--ink);          /* visible on light backgrounds */
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(255, 248, 240, .75); /* light halo: visible on dark */
  border-radius: 4px;
}

/* ---------- Shared section bits ---------- */
.section__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--amber-deep);
  margin: 0 0 .6rem;
}

.section__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--ink);
  max-width: 18ch;
}

.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head .section__title { margin-inline: auto; }
.section__sub { color: var(--ink-soft); max-width: 50ch; margin-inline: auto; }

.link-arrow {
  font-weight: 600;
  display: inline-block;
  margin-top: .4rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.link-arrow:hover { text-decoration: none; border-color: var(--tomato); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--tomato);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn--primary { --btn-bg: var(--tomato); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--small { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--nav { --btn-bg: var(--tomato); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar {
  background: var(--tomato-deep);
  color: #f6e6cf;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: .5rem;
  text-align: center;
}
.topbar__sep { opacity: .5; }
.topbar__link { color: #fff; font-weight: 600; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--tomato); }
.brand:hover { text-decoration: none; }
.brand__logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand__kicker {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  margin-top: .2rem;
}

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}
.nav__links a:not(.btn):hover { color: var(--tomato); text-decoration: none; }
.nav__links a.is-current {
  color: var(--tomato);
  position: relative;
}
.nav__links a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2.5px;
  background: var(--amber-deep);
  border-radius: 2px;
}
.nav__links a.btn { color: #fff; }
.nav__links a.btn:hover { color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(207,138,44,.35), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(93,107,58,.45), transparent 50%),
    linear-gradient(155deg, #6d1d16 0%, #8f241b 45%, #a32b22 100%);
}
/* subtle "deli paper" texture via repeating gradient */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px);
  mix-blend-mode: overlay;
}

.hero__inner {
  padding-block: clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__copy { max-width: 640px; }

.hero__figure {
  margin: 0;
  position: relative;
  justify-self: center;
}
.hero__figure img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  border: 7px solid #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .4);
  transform: rotate(-2.5deg);
}
.hero__figure figcaption {
  position: absolute;
  bottom: -.85rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2.5deg);
  background: var(--amber);
  color: #2a211b;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem;
  padding: .35rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 700;
  color: #f3d6a6;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.7rem, 8vw, 5rem);
  margin: 0 0 1.1rem;
  color: #fff;
  letter-spacing: -.01em;
}
.hero__title-accent {
  color: #f3c777;
  font-style: italic;
  font-weight: 500;
}
.hero__lede {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 46ch;
  color: #fbeede;
  margin-bottom: 1.6rem;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  margin: 0 0 1.6rem;
  backdrop-filter: blur(4px);
}
.hero__status .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #aaa;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
}
.hero__status[data-state="open"] .dot {
  background: #57d06a;
  animation: pulse 2s infinite;
}
.hero__status[data-state="closed"] .dot { background: #ef6b5e; }
.hero__status[data-state="closing-soon"] {
  background: rgba(207, 138, 44, .28);
  border-color: rgba(207, 138, 44, .65);
  color: #ffe7b8;
  font-weight: 700;
}
.hero__status[data-state="closing-soon"] .dot {
  background: #f3c777;
  animation: pulse-amber 1.4s infinite;
}
@keyframes pulse-amber {
  0%   { box-shadow: 0 0 0 0 rgba(243, 199, 119, .65); }
  70%  { box-shadow: 0 0 0 11px rgba(243, 199, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 199, 119, 0); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(87,208,106,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(87,208,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(87,208,106,0); }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--tomato); }

.hero__award {
  font-size: .95rem;
  color: #fbeede;
  margin: 0;
}
.hero__award strong { color: #f3c777; }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.strip { background: var(--ink); color: var(--cream); }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  padding-block: 1.6rem;
}
.strip__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 600;
  font-size: .96rem;
}
.strip__icon {
  display: inline-flex;
  flex: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #f3c777;          /* warm amber on the dark strip */
}
.strip__icon svg { width: 100%; height: 100%; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: clamp(3.5rem, 8vw, 6rem); }
.about__inner {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
.about__text p { color: var(--ink-soft); max-width: 56ch; }
.about__text .section__title { color: var(--ink); }

.about__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--amber), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.about__card-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--amber-deep);
}
.about__card-title { font-size: 1.8rem; color: var(--tomato); margin-bottom: .5rem; }
.about__card-desc { color: var(--ink-soft); margin-bottom: 1rem; }
.about__card-price { font-weight: 700; color: var(--ink); margin: 0; }

/* ============================================================
   MENU
   ============================================================ */
.menu {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background:
    linear-gradient(var(--cream-deep), var(--cream-deep)) ,
    var(--cream-deep);
}

/* Filter tabs */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .18s ease;
}
.filter:hover { border-color: var(--amber); color: var(--ink); }
.filter.is-active {
  background: var(--tomato);
  border-color: var(--tomato);
  color: #fff;
}

.menu-group { margin-bottom: 3.2rem; }
.menu-group[hidden] { display: none; }
.menu-group__title {
  font-size: 1.6rem;
  color: var(--ink);
  padding-bottom: .5rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.menu-group__title::before {
  content: "";
  width: 26px; height: 4px; border-radius: 2px;
  background: var(--amber);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.item {
  scroll-margin-top: 30px; /* adds to html scroll-padding-top:90 so deep links clear the nav + sticky filter bar (~120px) */
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.item[hidden] { display: none; }
.item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .25rem;
}
.item h4 { font-size: 1.18rem; margin: 0; color: var(--ink); }
.item p { margin: 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.5; }
.item em { color: var(--tomato); font-style: italic; }

.price {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--tomato);
  white-space: nowrap;
  font-size: .98rem;
}
.price .half {
  display: inline-block;
  font-size: .7rem;
  background: var(--amber);
  color: #fff;
  border-radius: 6px;
  padding: 0 .35rem;
  margin-left: .15rem;
  vertical-align: middle;
}

.menu-note {
  margin-top: 1.2rem;
  font-size: .9rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--cream); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__credit {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: .9rem;
}

/* ============================================================
   CATERING
   ============================================================ */
.catering {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--cream);
}
.catering__inner { display: grid; gap: var(--gap); align-items: start; }
.catering__intro .section__title { color: #fff; }
.catering__intro p { color: #d9ccbd; max-width: 48ch; margin-bottom: 1.5rem; }

.catering__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
}
.catering__grid li {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font-size: .96rem;
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.catering__grid li span { line-height: 1.4; }
.catering__grid .cat-icon {
  flex: none;
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-top: .12rem;       /* nudge to sit on the first line's cap height */
  color: #f3c777;            /* warm amber — same as feature-strip icons */
}
.catering__grid .cat-icon svg { width: 100%; height: 100%; }

/* ============================================================
   VISIT
   ============================================================ */
.visit { padding-block: clamp(3.5rem, 8vw, 6rem); }
.visit__inner { display: grid; gap: var(--gap); align-items: start; }
.visit__block { margin-bottom: 1.8rem; }
.visit__block h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber-deep);
  margin-bottom: .5rem;
}
.visit__block p { color: var(--ink-soft); margin-bottom: .4rem; }

.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td {
  text-align: left;
  padding: .45rem .25rem;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours th { font-weight: 600; color: var(--ink); }
.hours td { color: var(--ink-soft); text-align: right; }

.socials { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.socials a { font-weight: 600; }

.visit__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.visit__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--tomato-deep); color: #f4e4cd; padding-top: 3rem; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer__logo {
  width: 60px; height: 60px;
  border-radius: 12px;
  margin-bottom: .8rem;
  box-shadow: var(--shadow-sm);
}
.footer__brand .brand__name { color: #fff; font-size: 1.6rem; display: block; }
.footer__brand p { color: #e8d4ba; max-width: 32ch; }
.footer__col h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  color: #f3c777;
  margin-bottom: .6rem;
}
.footer__col p { color: #f4e4cd; font-size: .95rem; }
.footer a { color: #fff; }
.footer a:hover { color: #f3c777; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-block: 1.2rem;
}
.footer__bottom p { margin: 0; font-size: .85rem; color: #e8d4ba; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .strip__inner { grid-template-columns: repeat(4, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .catering__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .about__inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .catering__inner { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .visit__inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem 1.1rem 1.2rem;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .28s ease, opacity .2s ease;
  }
  .nav__links.is-open {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a.btn {
    margin-top: .8rem;
    border-bottom: 2px solid var(--tomato);
    justify-content: center;
  }
}

/* ============================================================
   PRINT-ONLY HEADER (iteration 06) — visible only when printing
   ============================================================ */
.print-header { display: none; }
.btn--menu-print { background: var(--ink); border-color: var(--ink); }

/* ----------- Scroll-reveal (iteration 05) ----------
   Sections fade + lift as they enter the viewport. JS adds .reveal,
   IntersectionObserver flips .is-revealed when ≥12% visible. Sections
   already in view at load get both classes at once (no paint flash).
*/
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s cubic-bezier(.22,.61,.36,1),
    transform .65s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   IMPROVEMENT PASS — reviews, sticky CTA, search, dietary
   tags, favorites, catering form
   ============================================================ */

/* Catering eyebrow sits on a DARK section — keep it bright amber */
.catering .section__eyebrow { color: var(--amber); }

/* ---- Mobile sticky "Call to Order" bar (#4) ---- */
.call-fab {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--tomato);
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(42, 33, 27, .25);
  transform: translateY(110%);
  transition: transform .25s ease;
  text-decoration: none;
}
.call-fab.is-visible { transform: translateY(0); }
@media (max-width: 820px) {
  .call-fab { display: block; }
  body { padding-bottom: 72px; }   /* room so the bar never hides the footer */
}

/* ---- Reviews / trust strip (#9) ---- */
.proof { background: var(--cream); padding-block: clamp(2rem, 5vw, 3rem); }
.proof .wrap { text-align: center; }
.proof__lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--ink);
  margin: 0 0 1.3rem;
}
.proof__lead strong { color: var(--tomato); }
.proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
}
.proof__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.proof__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber-deep); text-decoration: none; }
.proof__stars { color: #e0982e; letter-spacing: .08em; font-size: 1.05rem; }
.proof__rating { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.proof__outof { font-size: .9rem; color: var(--ink-soft); font-weight: 400; }
.proof__meta { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.proof__card--cta .proof__rating { font-size: 1.4rem; color: var(--tomato); }
@media (min-width: 620px) {
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Menu controls: search + call (#7, #17) ---- */
.menu-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  max-width: 640px;
  margin: 0 auto 1.2rem;
  align-items: center;
}
.menu-search-wrap {
  position: relative;
  flex: 1 1 240px;
  display: flex;
}
.menu-search {
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: 1rem;
  padding: .7rem 2.4rem .7rem 1rem;     /* room for the / hint on the right */
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.menu-search-key {
  position: absolute;
  right: .55rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .05rem .45rem;
  line-height: 1.3;
  transition: opacity .15s ease;
}
/* Hide the hint once the search has focus or text */
.menu-search-wrap:focus-within .menu-search-key,
.menu-search:not(:placeholder-shown) + .menu-search-key { opacity: 0; }
@media (hover: none) { .menu-search-key { display: none; } } /* don't show on touch devices */
.menu-search:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(152, 95, 18, .18); }
.btn--menu-call { white-space: nowrap; }

/* ---- Sticky, swipeable filters (#10) + dietary toggles (#13) ---- */
.filters {
  position: sticky;
  top: 62px;                 /* just under the sticky nav */
  z-index: 40;
  background: var(--cream-deep);
  padding-block: .6rem;
  margin-bottom: .5rem;
}
.filter[aria-pressed] { cursor: pointer; }
.filter__sep { width: 1px; align-self: stretch; background: var(--line); margin-inline: .2rem; }
.filter--diet.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.menu-status {
  text-align: center;
  min-height: 1.2em;
  margin: 0 0 1.5rem;
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 600px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { scroll-snap-align: start; flex: 0 0 auto; }
  .filter__sep { display: none; }
}

/* ---- Dietary tag pills on items (#13) ---- */
.item__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .55rem 0 0; padding: 0; }
.tag { font-size: .68rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; }
.tag--veggie { background: #e7ecd9; color: #3c461f; }
.tag--spicy  { background: #f6dcd8; color: #8a2018; }

/* ---- Fan Favorites shelf (#14) ---- */
.favorites { margin-bottom: 2.6rem; }
.favorites .menu-group__title::before { background: var(--amber-deep); }

/* ---- Closing menu call-to-action (#7) ---- */
.menu-cta {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-top: 2.5rem;
}
.menu-cta__text { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0 0 1rem; }
.menu-cta__hours { display: block; margin-top: .8rem; font-size: .85rem; color: var(--ink-soft); }

/* ---- Catering request form (#15) ---- */
.cater-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin: 1.5rem 0 1rem;
  display: grid;
  gap: .9rem;
}
.cater-form > label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; color: #f0e6d8; }
.cater-form__row { display: grid; gap: .9rem; }
.cater-form__row label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; color: #f0e6d8; }
.cater-form input, .cater-form textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: .6rem .7rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  color: #fff;
}
.cater-form input::placeholder, .cater-form textarea::placeholder { color: #cdbfae; }
.cater-form input:focus, .cater-form textarea:focus { outline: none; border-color: var(--amber); background: rgba(0, 0, 0, .3); }
.cater-form__opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .9rem; }
.cater-form__opts legend { font-size: .85rem; font-weight: 600; color: #f0e6d8; margin-bottom: .4rem; padding: 0; }
.cater-form__opts label { display: flex; flex-direction: row; align-items: center; gap: .45rem; font-weight: 500; color: #e6dccd; font-size: .9rem; }
.cater-form button[type="submit"] { justify-self: start; }
.cater-form__alt { font-size: .9rem; color: #d9ccbd; }
.cater-form__alt a { color: #f3c777; font-weight: 600; }
@media (min-width: 560px) {
  .cater-form__row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FAQ (iteration 01)
   Native <details>/<summary> for accessibility — keyboard- and
   screen-reader-friendly without any JS.
   ============================================================ */
.faq { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--cream); }
.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: .75rem;
}
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] {
  border-color: var(--amber-deep);
  box-shadow: var(--shadow-sm);
}
.faq__item > summary {
  list-style: none;                                  /* remove native triangle (Firefox) */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.faq__item > summary::-webkit-details-marker { display: none; } /* Safari/Chrome */
.faq__item > summary:hover { background: rgba(207, 138, 44, .06); }
.faq__q { flex: 1; }
.faq__chev {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream-deep);
  position: relative;
  transition: background .2s;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
}
.faq__chev::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq__chev::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq__item[open] .faq__chev { background: var(--amber-deep); }
.faq__item[open] .faq__chev::before { background: #fff; }
.faq__item[open] .faq__chev::after  { background: #fff; transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.faq__a p { margin: 0; }
.faq__a strong { color: var(--ink); }
.faq__a a { font-weight: 600; }

/* ============================================================
   PULL-QUOTES "Word from the Counter" (iteration 02)
   Real customer review excerpts — texture on top of the
   trust strip's numbers.
   ============================================================ */
.words { padding-block: clamp(3rem, 7vw, 5rem); background: var(--cream-deep); }
.words .section__head { margin-bottom: 2.5rem; }
.words__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
}
.quote {
  position: relative;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .18s ease, box-shadow .2s ease;
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote__mark {
  position: absolute;
  top: -.15em;
  left: 1rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--amber-deep);
  opacity: .35;
  pointer-events: none;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
  position: relative; z-index: 1;
}
.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
}
.quote__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote__src {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--cream-deep);
  color: var(--ink-soft);
  padding: .15rem .55rem;
  border-radius: 999px;
}
.words__cta { text-align: center; margin-top: 1.8rem; }
.words__cta a {
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.words__cta a:hover { text-decoration: none; border-color: var(--tomato); }

@media (min-width: 720px) {
  .words__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ============================================================
   404 page (iteration 04)
   "That page is a fugazi" — brand-voice recovery moment.
   ============================================================ */
body.is-404 { background: #6d1d16; min-height: 100vh; display: flex; flex-direction: column; }
.is-404 main { flex: 1; }
.lost {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}
.lost__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(207, 138, 44, .35), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(93, 107, 58, .35), transparent 50%),
    linear-gradient(155deg, #6d1d16 0%, #8f241b 45%, #a32b22 100%);
}
.lost__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px);
  mix-blend-mode: overlay;
}
.lost__inner {
  padding-block: clamp(2rem, 6vw, 4rem);
  max-width: 760px;
  position: relative;
  text-align: left;
}
.lost__eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 700;
  color: #f3d6a6;
  margin: 0 0 .5rem;
}
.lost__big {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(7rem, 22vw, 13rem);
  line-height: .9;
  margin: 0 0 .2em;
  color: #f3c777;
  letter-spacing: -.03em;
  opacity: .92;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, .18);
}
.lost__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
}
.lost__italic {
  font-style: italic;
  font-weight: 500;
  color: #f3c777;
}
.lost__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 48ch;
  color: #fbeede;
  margin: 0 0 1.8rem;
}
.lost__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.lost__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
.lost__cta .btn--ghost:hover { background: #fff; color: var(--tomato); }
.lost__sig {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
  color: #f0d8b3;
  letter-spacing: .02em;
}

/* ============================================================
   PRINT STYLESHEET (iteration 06)
   Strip the page to just the menu. Black on white. Optimized for
   8.5×11 paper. Avoids breaking items across pages.
   ============================================================ */
@media print {
  @page { margin: 0.5in; }

  /* Reset background + color across the entire page so nothing prints
     dark gradients or filled CTAs. */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  body { background: #fff !important; padding: 0 !important; font: 11pt/1.4 Georgia, "Times New Roman", serif; }

  /* Hide everything that isn't the menu */
  .topbar, .nav, .hero, .strip, .proof, .words, .about, .gallery,
  .catering, .faq, .visit, .footer, .call-fab,
  .menu-controls, .filters, .menu-status, .favorites, .menu-cta,
  .item__tags, .menu-note + p, .gallery__credit {
    display: none !important;
  }

  /* Show the print-only header */
  .print-header {
    display: block;
    border-bottom: 2px solid #000;
    padding-bottom: .35in;
    margin-bottom: .35in;
    text-align: center;
  }
  .print-header h1 {
    font-family: "Times New Roman", serif;
    font-size: 22pt;
    font-weight: 700;
    margin: 0 0 .12in;
    letter-spacing: .02em;
  }
  .print-header p { font-size: 10pt; margin: .04in 0; color: #222 !important; }

  /* Menu container becomes the whole page */
  .menu { padding: 0 !important; }
  .menu .wrap { padding: 0 !important; max-width: none; }
  .menu .section__head { display: none; }

  /* Sections */
  .menu-group {
    page-break-inside: avoid;
    break-inside: avoid-page;
    margin-bottom: .35in;
  }
  .menu-group__title {
    font-size: 14pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-bottom: 1px solid #000 !important;
    padding-bottom: .04in;
    margin: 0 0 .12in;
    page-break-after: avoid;
  }
  .menu-group__title::before { display: none; }

  /* Items: clean rows, item name + price aligned, tight description */
  .menu-grid {
    display: block !important;
    grid-template-columns: none !important;
  }
  .item {
    page-break-inside: avoid;
    break-inside: avoid-page;
    border: 0 !important;
    border-bottom: 1px dotted #999 !important;
    padding: .07in 0 !important;
    margin: 0 !important;
    background: none !important;
  }
  .item:last-child { border-bottom: 0 !important; }
  .item__head {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 1em;
    margin-bottom: .03in;
  }
  .item h4 {
    font-family: "Times New Roman", serif;
    font-size: 11.5pt;
    font-weight: 700;
    margin: 0;
  }
  .item h4::after { display: none; } /* hide the "★ Favorite" pill */
  .item p {
    font-size: 9.5pt;
    line-height: 1.35;
    margin: 0;
    color: #444 !important;
  }
  .item em { font-style: italic; }
  .price { font-family: "Times New Roman", serif; font-size: 10pt; font-weight: 700; white-space: nowrap; }
  .price .half { display: none; } /* legacy: no longer rendered, but defensive */

  .menu-note {
    font-size: 8.5pt;
    font-style: italic;
    margin-top: .08in;
    border: 0 !important;
    background: none !important;
    padding: 0 !important;
  }

  /* Hide URLs in links */
  a[href]::after { content: ""; }

  /* Reveal-class safety net for print */
  .reveal { opacity: 1 !important; transform: none !important; }
}
