/* Bridgeton Market Deli — site styles
   Tokens mirror the design canvas (oklch values kept, hex fallbacks first). */

:root {
  --ink: #141312;
  --paper: #fbfaf7;
  --paper-2: #f2efe9;
  --sand: #e8e5df;
  --text: #3c3833;
  --muted: #5a544c;
  --muted-2: #6b655c;
  --faint: #8b857b;

  --accent: #c8331a;
  --accent: oklch(0.55 0.19 32);
  --accent-hover: #9e2610;
  --accent-hover: oklch(0.45 0.17 32);
  --accent-light: #fc765d;
  --accent-light: oklch(0.72 0.17 32);
  --open: #4cc157;
  --open: oklch(0.72 0.18 145);

  --line: rgba(0, 0, 0, .10);
  --line-soft: rgba(0, 0, 0, .07);
  --on-dark: #f7f5f1;
  --on-dark-dim: rgba(247, 245, 241, .72);
  --on-dark-faint: rgba(247, 245, 241, .60);

  --pad: clamp(18px, 3.4vw, 34px);
  --max: 1240px;
  --radius: 8px;
  --placeholder: repeating-linear-gradient(135deg, #eceae4 0 9px, #e3e0d8 9px 18px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { letter-spacing: -.02em; color: var(--ink); margin: 0; }

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

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

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 4px; font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: var(--paper); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 15px/1 Archivo, system-ui, sans-serif;
  padding: 15px 26px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost-dark { border-color: rgba(247, 245, 241, .35); color: var(--on-dark); font-weight: 600; }
.btn--ghost-dark:hover { background: rgba(247, 245, 241, .10); color: var(--on-dark); }
.btn--ink { background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; padding: 13px 22px; }
.btn--ink:hover { background: #2a2724; color: var(--paper); }
.btn--sm { font-size: 13px; padding: 10px 18px; }

/* ----------------------------------------------------------------- topbar */

.topbar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--accent-light); }

.narrow-only { display: none; }

.status { display: inline-flex; align-items: center; gap: 9px; }
.status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--faint); flex: none;
}
.status[data-open="true"] .status__dot { background: var(--open); }
.status[data-open="false"] .status__dot { background: var(--accent-light); }

/* ----------------------------------------------------------------- header */

.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 20px;
}
.logo { display: flex; align-items: center; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__img { height: 38px; width: auto; }
.logo__text { display: flex; align-items: baseline; gap: 11px; }
.logo__text[hidden] { display: none; } /* class would otherwise beat the UA [hidden] rule */
.logo__word { font-weight: 900; font-size: 21px; letter-spacing: -.02em; }
.logo__tag {
  font-weight: 800; font-size: 12px; letter-spacing: .22em;
  background: var(--ink); color: var(--paper);
  padding: 5px 9px; border-radius: 3px; white-space: nowrap;
}

.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--text); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.header__actions { display: flex; gap: 10px; align-items: center; }
.header__phone { font-size: 14px; font-weight: 700; color: var(--ink); }
.header__phone:hover { color: var(--accent); }

.burger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ------------------------------------------------------------ mobile menu */

.drawer {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.drawer[data-open="true"] { display: block; }
.drawer nav { display: flex; flex-direction: column; padding-block: 8px; }
.drawer nav a {
  padding: 14px 0; font-size: 17px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.drawer nav a:last-child { border-bottom: 0; }
.drawer__call { margin: 14px 0 20px; width: 100%; }

/* ------------------------------------------------------------------- hero */

.hero { background: var(--ink); color: var(--on-dark); }
.hero h1, .hero h2, .hero h3 { color: inherit; }
.hero__inner { padding-block: clamp(38px, 6vw, 64px) clamp(32px, 5vw, 54px); }
.eyebrow {
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: .24em; font-weight: 700;
  color: var(--accent-light);
  margin-bottom: clamp(16px, 2vw, 22px);
}
.hero__title {
  font-family: "Archivo Narrow", Archivo, sans-serif;
  font-weight: 700;
  font-size: clamp(76px, 12vw, 150px);
  line-height: .85; letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0;
}
.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 60px; margin-top: 34px;
}
.hero__lede {
  max-width: 520px; margin: 0;
  font-size: 17px; line-height: 1.55;
  color: var(--on-dark-dim);
  text-wrap: pretty;
}
.hero__cta { display: flex; gap: 12px; flex: none; }

/* ------------------------------------------------------------- stats band */

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
}
.stat { background: var(--paper); padding: 34px 30px; }
.stat__label {
  font-size: 11px; letter-spacing: .18em; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
}
.stat__price {
  font-size: 27px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 8px;
}
.stat p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------- sections */

.section { padding-block: clamp(30px, 4.5vw, 52px); }
.section--line { border-top: 1px solid var(--line); }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 26px;
}
.section__head h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.section__more { font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------- favourites */

.favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fav {
  border: 1px solid rgba(0, 0, 0, .11);
  border-radius: var(--radius);
  overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.fav__media {
  height: 170px; background: var(--placeholder);
  position: relative; overflow: hidden; flex: none;
}
.fav__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.fav__body { padding: 15px 15px 17px; }
.fav__name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.fav__desc { font-size: 13px; color: var(--muted-2); line-height: 1.4; margin-bottom: 9px; }
.fav__price { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ----------------------------------------------------------- photo band   */

.band {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2px;
  background: var(--line); border-top: 1px solid var(--line);
}
.band__tile {
  position: relative; margin: 0; overflow: hidden;
  height: 300px; background: var(--placeholder);
}
.band__tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.band__tile--pudding img { object-position: center 32%; }
.band__tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.band__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.band__meta { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------- two-up   */

.split {
  display: grid; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--even { grid-template-columns: 1fr 1fr; }
.split > * { padding: 44px var(--pad); }
.split__panel { background: var(--paper); }
.split__panel--alt { background: var(--paper-2); }
.split__panel--dark { background: var(--ink); color: var(--on-dark); }
.split__panel--dark h1, .split__panel--dark h2, .split__panel--dark h3 { color: var(--on-dark); }
.split h3 { font-size: 24px; font-weight: 800; }

.split-outer { max-width: var(--max); margin: 0 auto; }

.split__lede { margin: 0 0 20px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.split__title { margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  border: 1px solid rgba(0, 0, 0, .16); border-radius: 100px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text);
}

.pair { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- footer */

.footer {
  background: var(--ink); color: var(--on-dark-faint);
  font-size: 13px;
}
.footer__inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px;
}
.footer a { color: var(--on-dark-faint); }
.footer a:hover { color: var(--accent-light); }

/* ------------------------------------------------------------- menu page  */

.page-head { padding-block: 38px 0; }
.page-head h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.page-head p { margin: 0 0 24px; font-size: 15px; color: var(--muted-2); }

.tabs-rail {
  position: sticky; top: var(--header-h, 0px); z-index: 30;
  background: var(--paper);
}
.tabs {
  display: flex; gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 12px 20px; font: 700 15px/1.2 Archivo, system-ui, sans-serif;
  cursor: pointer; border: 0; border-radius: 6px 6px 0 0;
  background: transparent; color: var(--muted-2);
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.menu-body { padding-block: 30px 44px; }
.menu-panel[hidden] { display: none; }

.menu-section { margin-bottom: 38px; }
.menu-section:last-child { margin-bottom: 0; }
.menu-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px;
}
.menu-section__head h2 {
  margin: 0; font-size: 15px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.cols {
  display: grid; grid-template-columns: repeat(3, 96px);
  text-align: right; flex: none;
}
.menu-section__head .cols {
  font-size: 10.5px; letter-spacing: .12em; font-weight: 700; color: var(--faint);
  line-height: 1.3; align-items: end;
}
.menu-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.menu-row__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.menu-row__note { font-weight: 400; font-size: 13px; color: var(--faint); }
.menu-row .cols { font-size: 14px; font-weight: 600; color: var(--text); }
.menu-section__note { margin: 10px 0 0; font-size: 12.5px; color: var(--faint); font-style: italic; }

/* ------------------------------------------------------------- catering   */

.tray-card {
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.tray-card__media {
  aspect-ratio: 4 / 3; background: var(--placeholder);
  position: relative; overflow: hidden;
}
.tray-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tray-card__body { padding: 22px; }
.tray-card__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 8px;
}
.tray-card__row h2 { font-size: 22px; font-weight: 800; }
.tray-card__price { font-size: 22px; font-weight: 800; color: var(--accent); }
.tray-card p { margin: 0 0 6px; font-size: 15px; color: var(--text); line-height: 1.5; }
.tray-card p:last-child { margin: 0; font-size: 13px; color: var(--faint); }

.price-list h2 {
  margin: 0 0 4px; font-size: 15px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px;
}
.price-list__title--photos { margin-bottom: 14px !important; }
.torta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px;
}
.torta-grid__cell {
  position: relative; height: 130px; overflow: hidden;
  border-radius: 6px; background: var(--placeholder);
}
.torta-grid__cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.price-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.price-row__name { font-weight: 600; color: var(--ink); }
.price-row__note { font-weight: 400; font-size: 13px; color: var(--faint); }
.price-row__price { font-weight: 600; color: var(--text); }

.callout {
  margin-top: 30px; padding: 20px;
  border: 1px dashed rgba(0, 0, 0, .25); border-radius: var(--radius);
}
.callout__title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.callout p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.hero--catering h1 { font-size: clamp(38px, 5.5vw, 56px); line-height: .95; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.hero--catering p { margin: 0 0 26px; font-size: 16px; line-height: 1.55; color: var(--on-dark-dim); max-width: 420px; }

/* ---------------------------------------------------------------- about   */

.about {
  padding-block: 54px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.about h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 52px); line-height: .98;
  font-weight: 800; letter-spacing: -.03em;
}
.about p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.about p:last-of-type { margin-bottom: 0; }
.about .chips { margin-top: 26px; }
.about .chip { padding: 9px 15px; }

.info-card { border: 1px solid rgba(0, 0, 0, .12); border-radius: var(--radius); overflow: hidden; }
.info-card__map {
  height: 260px; background: var(--placeholder);
  position: relative; overflow: hidden;
}
.info-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-card__body { padding: 24px; }
.info-card__label {
  font-size: 11px; letter-spacing: .16em; font-weight: 700;
  color: var(--faint); margin-bottom: 10px;
}
.hours-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; font-size: 16px;
}
.hours-row + .hours-row { border-top: 1px solid rgba(0, 0, 0, .08); }
.hours-row dt { font-weight: 600; color: var(--ink); }
.hours-row dd { margin: 0; color: var(--text); }
.info-card__address {
  margin-top: 22px; font-size: 16px; line-height: 1.6;
  color: var(--text); font-style: normal;
}
.info-card__address strong { color: var(--ink); }

.hours-block { background: var(--paper-2); border-top: 1px solid var(--line); }
.hours-block h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.hours-block__times { font-size: 15px; color: var(--text); line-height: 1.7; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero__foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero__cta { flex-wrap: wrap; }
  .favs { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 34px; }
  .band { grid-template-columns: 1fr 1fr; }
  .band__tile:last-child { grid-column: span 2; }
  .band__tile { height: 240px; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .split--wide-left, .split--even { grid-template-columns: 1fr; }
  .split > * { padding: 30px var(--pad); }
  .topbar__inner > :nth-child(3) { display: none; }
  .footer__inner { flex-direction: column; gap: 8px; }
  .cols { grid-template-columns: repeat(3, 58px); }
  .menu-section__head .cols { font-size: 9px; letter-spacing: .06em; }
  .menu-row .cols { font-size: 12.5px; }
  .menu-row__name { font-size: 14px; }
  .menu-row__note { font-size: 11.5px; }
  .tabs-rail {
    background: var(--paper-2);
    border-block: 1px solid var(--line);
  }
  .tabs { gap: 7px; border-bottom: 0; padding-block: 12px; }
  .tab {
    padding: 9px 14px; font-size: 13px; border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, .18); color: var(--text);
  }
  .tab[aria-selected="true"] { border-color: var(--ink); }
  .page-head { padding-bottom: 0; }
}

@media (max-width: 620px) {
  .topbar { font-size: 11px; letter-spacing: .05em; }
  .topbar__inner { padding-block: 11px; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .topbar__addr { order: 2; }
  .topbar .status { order: 1; }
  .header__inner { padding-block: 15px; }
  .logo__img { height: 28px; }
  .logo__word { font-size: 16px; }
  .logo__tag { font-size: 10px; letter-spacing: .18em; padding: 4px 7px; }
  .header__actions .btn { display: none; }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; font-size: 16px; padding: 16px; }
  .hero__lede { font-size: 15px; }

  .favs { grid-template-columns: 1fr; gap: 12px; }
  .fav { flex-direction: row; align-items: center; gap: 13px; padding: 11px; }
  .fav__media { width: 78px; height: 78px; flex: none; border-radius: 5px; }
  .fav__body { padding: 0; }
  .fav__desc { margin: 3px 0 5px; line-height: 1.35; }

  .band { grid-template-columns: 1fr; }
  .band__tile, .band__tile:last-child { grid-column: auto; height: auto; aspect-ratio: 1 / 1; }
  .band__tile--pudding img { object-position: center 38%; }

  .torta-grid__cell { height: 96px; }

  .pair .btn { flex: 1; }
  .section__head { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* ------------------------------------------------------------------ print */

@media print {
  .topbar, .header, .drawer, .tabs, .hero__cta, .skip-link { display: none !important; }
  .menu-panel[hidden] { display: block !important; }
  body { background: #fff; font-size: 11pt; }
  .menu-section { break-inside: avoid; }
  .footer { background: none; color: #000; border-top: 1px solid #000; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
