/* ==========================================================================
   SIPS AND BITES — REDESIGN PREVIEW
   Layout language after kissthecookcatering.com: monochrome, one geometric
   sans (Jost), square corners, 1px ink borders, cream sections, a black band.
   The only colour on the page comes from the food photography and the logo.
   ========================================================================== */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --cream: #f4efe4;
  --rule: #e3dccd;
  --muted: #57534c;
  --soft: #8a857c;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: #34312c;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: block; }
/* Any framed image: the wrapper must fill the frame or object-fit has nothing to cover. */
.dish-img picture, .mcard-img picture, .gallery picture, .band-img picture { width: 100%; height: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.32rem; line-height: 1.25; }

p { margin: 0; }
.muted { color: var(--muted); }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-dark  { background: var(--ink); color: #fff; }
.btn-dark:hover  { background: #333; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.more .arr { width: 14px; height: 14px; transition: transform .2s; }
.more:hover .arr { transform: translateX(3px); }

/* ------------------------------------------------------------ utility bar */
.util { background: var(--ink); color: #fff; font-size: 0.82rem; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.util-r { display: flex; gap: 26px; }
.util a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util .ico { width: 14px; height: 14px; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule);
}
.nav-in { display: flex; align-items: center; gap: 32px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span {
  font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
  border-bottom: 2px solid var(--ink); line-height: 1.1; padding-bottom: 1px;
}
.links { display: flex; gap: 34px; margin-left: auto; }
.links a { font-size: 0.95rem; text-decoration: none; color: var(--ink); }
.links a:hover, .links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

.mnav { display: none; margin-left: auto; position: relative; }
.mnav summary { list-style: none; cursor: pointer; padding: 12px 4px; display: grid; gap: 5px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
.mnav nav {
  position: absolute; right: 0; top: 100%; width: min(86vw, 300px);
  background: #fff; border: 1px solid var(--ink); padding: 18px; display: grid; gap: 14px;
}
.mnav nav a { text-decoration: none; color: var(--ink); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: #222; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.12) 78%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.45) 100%);
}
.hero h1, .hero-in > p { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero-in { position: relative; color: #fff; padding-block: 140px 64px; width: 100%; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero-in > p { margin-top: 20px; max-width: 54ch; font-size: 1.15rem; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ----------------------------------------------------------- proof strip */
.proof { background: var(--cream); border-bottom: 1px solid var(--rule); }
.proof-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-block: 30px; }
.proof-i { text-align: center; }
.proof-i strong { display: block; margin-top: 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); }

/* ---------------------------------------------------------- black band */
.band { background: #000; padding-block: clamp(48px, 7vw, 80px); }
.band-in { display: grid; grid-template-columns: 1.5fr 1fr; }
.band-img picture, .band-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.band-card { background: #fff; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.band-card p:not(.label) { color: var(--muted); }

/* --------------------------------------------------------------- cream */
.cream { background: var(--cream); padding-block: clamp(56px, 8vw, 96px); }
.white { background: var(--paper); padding-block: clamp(56px, 8vw, 96px); }

.intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.intro h2 { max-width: 16ch; }
.intro div p + p { margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(40px, 6vw, 64px); }
.card {
  border: 1px solid var(--ink);
  padding: 32px 32px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.card .ico { width: 26px; height: 26px; color: var(--ink); }
.card p { color: var(--muted); flex: 1; }
.card .more { margin-top: 10px; }

/* ------------------------------------------------------------ dishes */
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; margin-top: 36px; }
.dish { text-decoration: none; display: block; }
.dish-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover .dish-img img { transform: scale(1.04); }
.dish h3 { font-size: 1.08rem; margin-top: 14px; }
.dish .meta { margin-top: 4px; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }

/* ----------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); }
.gallery figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 6vw, 90px); }
.faq h2 { margin-top: 10px; }
.faq .muted { margin-top: 16px; }
.qa { border-top: 1px solid var(--ink); }
.qa:last-child { border-bottom: 1px solid var(--ink); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-weight: 500; color: var(--ink); font-size: 1.05rem;
}
.qa summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 14px; height: 14px; margin-top: 6px; }
.plus::before, .plus::after { content: ''; position: absolute; background: var(--ink); left: 0; top: 6px; width: 14px; height: 2px; transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
.qa[open] .plus::after { transform: rotate(0); }
.qa p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------- CTA */
.cta { background: #000; color: #fff; padding-block: clamp(56px, 8vw, 90px); text-align: center; }
.cta h2 { color: #fff; }
.cta-in > p { margin: 14px auto 0; max-width: 52ch; color: rgba(255,255,255,.78); }
.cta .hero-cta { justify-content: center; }

/* -------------------------------------------------------------- footer */
.foot { background: var(--cream); padding-top: 64px; border-top: 1px solid var(--rule); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot address { font-style: normal; margin-top: 18px; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--soft); }

/* =========================================================== MENU PAGE */
.page-head h1 { margin-top: 10px; }
.page-head p:not(.label) { margin-top: 16px; max-width: 60ch; color: var(--muted); }
.menu-wrap { padding-block: clamp(40px, 6vw, 72px); }
.msec + .msec { margin-top: clamp(48px, 7vw, 80px); }
.msec .head-row { border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.mcard { border: 1px solid var(--ink); display: flex; flex-direction: column; background: #fff; }
.mcard-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--ink); }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; }
.mcard-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mcard-body > p { color: var(--muted); font-size: 0.95rem; }
.allergens { font-size: 0.85rem; }
.allergens .label { margin-right: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--ink); }
.tag-yes { background: var(--ink); color: #fff; }
.tag-no { color: var(--soft); border-color: #c9c3b8; text-decoration: line-through; }
.tag-unk { border-style: dashed; color: var(--muted); border-color: var(--soft); }
.price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.price strong { font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.price small { font-size: 0.75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-left: 6px; }
.price span { font-size: 0.85rem; color: var(--muted); }

.note { margin-top: clamp(48px, 7vw, 80px); background: var(--cream); padding: clamp(24px, 4vw, 40px); }
.note h2 { font-size: 1.5rem; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.note-grid p { color: var(--muted); }
.note-grid .tag { margin-bottom: 8px; display: inline-block; }

/* =========================================================== RESPONSIVE */
@media (max-width: 1024px) {
  .links, .nav-cta { display: none; }
  .mnav { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .proof-in { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .util-in > p:first-child { display: none; }
  .util-in { justify-content: center; }
  .band-in, .intro, .faq, .foot-in, .note-grid { grid-template-columns: 1fr; }
  .band-img picture, .band-img img { min-height: 260px; }
  .cards, .mgrid { grid-template-columns: 1fr; }
  .proof-in { grid-template-columns: repeat(2, 1fr); }
  .proof-i:last-child { grid-column: 1 / -1; }
  .hero-in { padding-block: 120px 44px; }
  .foot-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   SITE ADDITIONS — pieces the live pages need that the two-page preview did
   not: breadcrumbs, split page heads, worked-example cost tables, step lists,
   the menu's headcount bar and dietary filter chips, and a square-corner
   override so the Tailwind-built quote form matches the rest of the site.
   ========================================================================== */
.foot address strong { color: var(--ink); font-weight: 600; }
.font-mono { font-family: var(--font) !important; font-variant-numeric: tabular-nums; }
.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; }

.crumbs { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split h1 { margin-top: 14px; }
.split .lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.split .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.split .frame picture, .split .frame img { width: 100%; height: 100%; object-fit: cover; }
.dark-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.sec-head { margin-bottom: 28px; }
.sec-head h2 { margin-top: 8px; }
.sec-head p { margin-top: 12px; color: var(--muted); max-width: 62ch; }

.ledger { border: 1px solid var(--ink); background: #fff; }
.ledger-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--ink); background: var(--cream); }
.ledger-cap strong { color: var(--ink); font-weight: 600; }
.ledger-scroll { overflow-x: auto; }
.ledger table { width: 100%; border-collapse: collapse; min-width: 30rem; font-size: .95rem; }
.ledger th, .ledger td { padding: 13px 20px; text-align: left; border-top: 1px solid var(--rule); vertical-align: top; }
.ledger thead th { border-top: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.ledger .sub { display: block; font-size: .85rem; color: var(--soft); }
.ledger tfoot td { border-top: 1px solid var(--ink); font-weight: 600; color: var(--ink); }
.ledger tfoot .big { font-size: 1.35rem; }
.ledger-note { padding: 12px 20px; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--muted); }

.spec { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.spec li { padding: 14px 0; border-bottom: 1px solid var(--rule); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.trio picture, .trio img { width: 100%; height: 100%; object-fit: cover; }

.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ggrid figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.ggrid picture, .ggrid img { width: 100%; height: 100%; object-fit: cover; }

.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-weight: 600; color: var(--soft); font-size: .85rem; letter-spacing: .1em; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 6px; color: var(--muted); }

/* Menu: headcount bar + filters (the calculator's JS hooks live in the markup) */
.hc { position: sticky; top: 82px; z-index: 40; background: rgba(255,255,255,.97); border-block: 1px solid var(--rule); }
.hc-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 14px; }
.hc-n { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.stepper { display: flex; align-items: center; border: 1px solid var(--ink); background: #fff; }
.stepper button { width: 40px; height: 40px; border: 0; background: #fff; font: inherit; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--cream); }
.stepper input { width: 58px; height: 40px; border: 0; border-inline: 1px solid var(--ink); text-align: center; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hc-note { padding-bottom: 12px; font-size: .88rem; color: var(--muted); }
.empty-state { border: 1px dashed var(--soft); padding: 28px; text-align: center; margin-top: 28px; }
.calc { display: block; font-size: .85rem; color: var(--ink); background: var(--cream); padding: 6px 10px; margin-top: 8px; }
.calc-total { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Tailwind-built quote form and thanks page: square corners like everything else */
.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-full { border-radius: 0 !important; }

@media (max-width: 1024px) {
  .ggrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .split, .trio { grid-template-columns: 1fr; }
  .ggrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hc { position: static; }
}

/* hidden must beat component display rules (menu filter hides cards/sections) */
[hidden] { display: none !important; }

/* Port fixes: classes the live pages use that the preview did not */
.price .calc { display: block; font-size: .85rem; color: var(--ink); background: var(--cream); padding: 6px 10px; margin-top: 10px; }
.price .calc span, .price .calc-total span { font-size: inherit; color: inherit; }
.price .calc-total { display: block; margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.price strong, .proof-i strong, .num, .dish .meta { font-variant-numeric: tabular-nums; }
.mcard-img { display: flex; align-items: center; justify-content: center; }
.mcard-none { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.mcard { scroll-margin-top: 170px; }
.msec { scroll-margin-top: 170px; }
.proof-4 .proof-in { grid-template-columns: repeat(4, 1fr); }
.page-head p:not(.label):not(.lead) a, .faq .muted a { color: var(--ink); font-weight: 600; }
.sec-lead { color: var(--muted); max-width: 62ch; margin: -8px 0 28px; }
.white + .white { padding-top: 0; }
.cta-fine { margin-top: 26px !important; font-size: .82rem; color: rgba(255,255,255,.6) !important; }
.ggrid figcaption { padding: 10px 2px 0; font-size: .88rem; color: var(--muted); }
.ggrid figure:has(figcaption) { aspect-ratio: auto; }
.ggrid figure:has(figcaption) picture { aspect-ratio: 4 / 3; overflow: hidden; }
.note .dark-cta { margin-top: 22px; }
.empty-state h2 { font-size: 1.3rem; }
.empty-state p { margin-top: 8px; }
.ledger td strong { font-weight: 600; color: var(--ink); }
.ledger td.label { white-space: nowrap; }
code { font-size: .9em; background: var(--cream); padding: 1px 5px; }

@media (max-width: 1024px) {
  .proof-4 .proof-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .proof-4 .proof-i:last-child { grid-column: auto; }
  .mcard, .msec { scroll-margin-top: 100px; }
}
#q-count:empty { display: none; }
.page-head + .proof { margin-top: -40px; }
.price strong span, .price small span { font-size: inherit; color: inherit; margin: 0; }
