/* KBBQ To Go — shared styles */
:root {
  --bg: #101010;
  --bg-soft: #171717;
  --bg-card: #1c1c1c;
  --red: #e03e1a;
  --red-dark: #b83012;
  --cream: #f5f0e8;
  --muted: #a8a094;
  --line: #2a2a2a;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-transform: uppercase;
}

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

a { color: var(--cream); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

section[id] { scroll-margin-top: 84px; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 44px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 16, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--cream);
}
.logo span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--red); background: transparent; }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 96px;
  background: url('assets/hero.jpg') center 35% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
}
.hero-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero h1 { font-size: clamp(44px, 7.5vw, 96px); max-width: 14ch; margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero p.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--cream); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; color: var(--muted); font-size: 14px; letter-spacing: 0.06em; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
}
.step-num {
  font-family: 'Anton', sans-serif;
  font-size: 44px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Meal cards ---------- */
.meal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.meal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.meal-card:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.meal-card .photo { aspect-ratio: 3 / 2; overflow: hidden; }
.meal-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.meal-card .body { padding: 22px 22px 24px; }
.meal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; min-height: 26px; }
.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: #262626;
  color: var(--muted);
}
.tag.hot { background: rgba(224, 62, 26, 0.16); color: #ff7a52; }
.tag.fav { background: rgba(245, 240, 232, 0.1); color: var(--cream); }
.meal-card h3 { font-size: 21px; margin-bottom: 8px; }
.meal-card .desc { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.macros { display: flex; gap: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.macro .val { font-family: 'Anton', sans-serif; font-size: 20px; }
.macro .val small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--muted); font-weight: 600; }
.macro .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.macro-note { color: var(--muted); font-size: 13px; margin-top: 26px; }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { color: var(--cream); border-color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.meal-card.hidden { display: none; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured { border: 2px solid var(--red); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan-card h3 { font-size: 26px; margin-bottom: 6px; }
.plan-card .per-week { color: var(--muted); margin-bottom: 20px; }
.plan-price { font-family: 'Anton', sans-serif; font-size: 52px; line-height: 1; margin-bottom: 4px; }
.plan-card .per-meal { color: var(--red); font-weight: 700; margin-bottom: 24px; }
.plan-card ul { list-style: none; margin-bottom: 32px; flex: 1; }
.plan-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.plan-card li::before { content: "— "; color: var(--red); }
.plan-card .btn { text-align: center; }
.plan-fine { color: var(--muted); font-size: 14px; margin-top: 28px; max-width: 720px; }

/* ---------- Why / feature band ---------- */
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 8px 0; }
.feature h3 { font-size: 22px; margin-bottom: 10px; color: var(--cream); }
.feature p { color: var(--muted); font-size: 16px; }

/* ---------- Specials strip ---------- */
.specials {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.specials h3 { font-size: 26px; margin-bottom: 8px; }
.specials p { color: var(--muted); max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  padding: 24px 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus { color: var(--red); font-size: 26px; font-weight: 400; line-height: 1; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { color: var(--muted); padding: 0 8px 28px; max-width: 68ch; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .plus { transform: rotate(45deg); }

/* ---------- Launch list ---------- */
.launch { background: var(--bg-soft); border-top: 1px solid var(--line); }
.launch-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.launch-box .section-sub { margin-left: auto; margin-right: auto; }
.launch-form { display: grid; gap: 14px; text-align: left; margin-top: 36px; }
.launch-form label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.launch-form input, .launch-form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 15px 18px;
  border-radius: 10px;
}
.launch-form input:focus, .launch-form select:focus { outline: none; border-color: var(--red); }
.launch-form .btn { width: 100%; margin-top: 6px; }
.form-error { color: #ff7a52; font-size: 14px; min-height: 20px; }
.launch-success {
  background: var(--bg-card);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 48px 36px;
  margin-top: 36px;
}
.launch-success h3 { font-size: 28px; margin-bottom: 10px; color: var(--cream); }
.launch-success p { color: var(--muted); }

/* ---------- Pickup strip ---------- */
.pickup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pickup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--bg-card);
}
.pickup-card h3 { font-size: 20px; margin-bottom: 8px; }
.pickup-card p { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 44ch; margin-top: 12px; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-nav a { display: block; color: var(--cream); text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-nav a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- Cart ---------- */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cart-btn:hover { border-color: var(--red); }
.cart-count {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: #141414;
  border-left: 1px solid var(--line);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 24px; }
.cart-close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.cart-close:hover { color: var(--cream); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { color: var(--muted); text-align: center; padding: 48px 0; }
.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cart-item .ci-name { font-weight: 700; font-size: 15px; }
.cart-item .ci-macros { color: var(--muted); font-size: 12px; margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qty button {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--cream);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.qty button:hover { border-color: var(--red); }
.qty span { font-weight: 700; min-width: 18px; text-align: center; }
.cart-options { padding: 20px 24px; border-top: 1px solid var(--line); }
.cart-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.radio {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 15px;
}
.radio:has(input:checked) { border-color: var(--red); }
.radio input { margin-top: 4px; accent-color: var(--red); flex-shrink: 0; }
.radio .muted { color: var(--muted); font-size: 13px; }
.cart-plans { margin-top: 4px; }
.cart-plans[hidden] { display: none; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 6px; }
.cart-total-row strong { font-family: 'Anton', sans-serif; font-size: 26px; font-weight: 400; }
.cart-hint { color: #ff7a52; font-size: 14px; min-height: 20px; margin-bottom: 10px; }
.cart-foot .btn { width: 100%; }
.cart-foot .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.cart-note { color: var(--muted); font-size: 12px; margin-top: 12px; text-align: center; }
.add-btn {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.add-btn:hover { background: var(--red); border-color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps, .feature-list, .pickup-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card.featured { order: -1; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #141414;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; width: 100%; }
  .nav-links .btn { margin-top: 12px; }
  section { padding: 64px 0; }
  .hero { min-height: 78vh; padding-bottom: 72px; }
}
