/* PV Deli by Chef Jason — site styles */
:root {
  --ink: #0E2A38;
  --ink-2: #1B3B4B;
  --steel: #E4E8E8;
  --steel-2: #CBD2D3;
  --mustard: #E9A820;
  --mustard-dark: #C88A0A;
  --pickle: #4F7A28;
  --white: #FFFFFF;
  --text: #15222B;
  --muted: #4A5B64;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--mustard-dark); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 8vw, 6.25rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mustard); color: var(--ink); padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 58px; height: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 4px; }
.nav a:hover { color: var(--mustard); }
.nav a[aria-current="page"] { color: var(--mustard); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--steel-2); color: var(--white); padding: 10px 12px; border-radius: 4px; cursor: pointer; line-height: 0; }
.menu-toggle svg { width: 22px; height: 18px; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--ink-2); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--ink-2); }
  .nav .btn { margin: 14px 0 0; text-align: center; border-bottom: 0; }
  .brand span { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 700 1.05rem/1 var(--body);
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-order { background: var(--mustard); color: var(--ink); }
.btn-order:hover { background: #F5BA3A; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { color: var(--mustard); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Open-now status ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.status::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--steel-2); flex: none; }
.status.is-open::before { background: #7DC24B; box-shadow: 0 0 0 4px rgba(125, 194, 75, 0.22); }
.status.is-closed::before { background: #D9534F; }

/* ---------- Home hero ---------- */
.hero { background: var(--ink); color: var(--white); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(78vh, 720px); }
.hero-copy { padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: var(--white); text-transform: uppercase; font-size: clamp(3rem, 5.4vw, 5.25rem); overflow-wrap: anywhere; }
.hero p.lede { font-size: 1.2rem; color: #D6DFE2; max-width: 34ch; }
.hero .status { margin: 4px 0 28px; color: var(--white); }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 3 / 2; }
  .hero-copy { padding: 32px var(--gutter) 44px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-steel { background: var(--steel); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

/* ---------- Menu board ---------- */
.board { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.board li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 20px 0 22px; border-bottom: 1px solid var(--steel-2); }
.board .name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1; color: var(--ink); margin: 0; letter-spacing: 0.01em; }
.board .price { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.board .desc { grid-column: 1 / -1; margin: 0; color: var(--muted); max-width: 70ch; }
.board.compact .name { font-size: 1.6rem; }
.board.compact .price { font-size: 1.45rem; }
.board.compact li { padding: 14px 0 16px; }

/* Board with photos (menu page sandwiches) */
.board.pics li { grid-template-columns: 168px 1fr auto; align-items: start; }
.board.pics .thumb { grid-row: 1 / span 2; width: 168px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: var(--steel); }
.board.pics .desc { grid-column: 2 / -1; }
@media (max-width: 640px) {
  .board.pics li { grid-template-columns: 96px 1fr auto; gap: 4px 14px; }
  .board.pics .thumb { width: 96px; }
  .board.pics .name { font-size: 1.7rem; }
  .board.pics .desc { grid-column: 1 / -1; }
}

/* Favorites on home: big photo grid with board-style captions */
.faves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.fave img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 3px; background: var(--steel-2); }
.fave .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.fave h3 { margin: 0; text-transform: uppercase; font-size: 1.9rem; }
.fave .price { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.fave p { margin: 8px 0 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .faves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .faves { grid-template-columns: 1fr; } }

/* Menu page jump nav */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; }
.jump a:hover { background: var(--ink); color: var(--white); }
.menu-group { padding-top: 48px; scroll-margin-top: 80px; }
.menu-group > h2 { margin-bottom: 12px; }
.menu-note { color: var(--muted); margin-bottom: 18px; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: var(--ink); color: var(--white); padding: clamp(44px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); }
.page-head h1 { color: var(--white); text-transform: uppercase; }
.page-head p { color: #D6DFE2; font-size: 1.15rem; max-width: 52ch; }
.page-head .actions { margin-top: 24px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.reviews blockquote { margin: 0; }
.reviews blockquote p { font-size: 1.2rem; line-height: 1.5; color: var(--white); }
.reviews cite { font-style: normal; font-weight: 700; color: var(--mustard); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Visit / info blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--steel-2); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: var(--muted); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 3px; background: var(--steel); }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { padding: 8px 0; }
.info-list strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--ink); line-height: 1.1; }

/* ---------- Catering ---------- */
.tray { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.tray img { border-radius: 3px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .tray { grid-template-columns: 1fr; } }
.steps { padding-left: 1.3em; margin: 0 0 24px; }
.steps li { margin-bottom: 10px; padding-left: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D3D7; padding: 56px 0 32px; font-size: 0.98rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--mustard); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-base { border-top: 1px solid var(--ink-2); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky order bar */
.order-bar { display: none; }
@media (max-width: 640px) {
  .order-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -2px 12px rgba(14, 42, 56, 0.25); }
  .order-bar .btn { flex: 1; padding: 14px 10px; }
  body { padding-bottom: 76px; }
}

/* Each menu row links to that item in the online store */
.board .name a { color: inherit; text-decoration: none; }
.board .item-link::after { content: ""; position: absolute; inset: 0; }
.board .price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.order-pill { font: 700 0.85rem/1 var(--body); color: var(--ink); background: var(--mustard); padding: 7px 12px; border-radius: 999px; }
.board li:hover .name, .board li:focus-within .name { color: var(--mustard-dark); }
.board li:hover .order-pill { background: #F5BA3A; }
.board .item-link:focus-visible { outline: none; }
.board li:focus-within { outline: 3px solid var(--mustard); outline-offset: 4px; }
.fave h3 a { color: inherit; text-decoration: none; }
.fave h3 a:hover { color: var(--mustard-dark); }
.order-link { display: inline-block; margin-top: 10px; font-weight: 700; }
