/* ============================================================
   The Back 40 Smoke Box — site styles
   Original clean-room build, November 2026.
   Palette: cream #F3EAD8 · charcoal #26221C · burnt orange #C2521D
   ============================================================ */

:root {
  --cream: #F3EAD8;
  --cream-light: #FAF5EA;
  --cream-dark: #E7DCC3;
  --charcoal: #26221C;
  --charcoal-soft: #3B362D;
  --ink: #2E2A23;
  --orange: #C2521D;
  --orange-dark: #9A3E13;
  --orange-soft: #E8A87C;
  --brown: #5A4028;
  --line: #D8C9A8;
  --soldout: #7A2E1D;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(38, 34, 28, 0.14);
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-dark); }
a:hover { color: var(--orange); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream-light);
  border-bottom: 3px solid var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand { flex: 0 0 auto; }
.brand img { width: 268px; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 9px 13px;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 6px;
}
.main-nav a:hover { background: var(--cream-dark); color: var(--orange-dark); }
.main-nav a[aria-current="page"] { color: var(--orange-dark); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 6px 6px 0 0; }

.header-call {
  flex: 0 0 auto;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-call:hover { background: var(--orange-dark); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--charcoal);
  color: var(--cream);
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.btn[disabled] {
  background: #B9AC93;
  border-color: #B9AC93;
  color: #F5EFE0;
  cursor: not-allowed;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(38, 34, 28, 0.55), rgba(38, 34, 28, 0.55)),
    var(--charcoal);
  color: var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
}
.hero h1 { color: var(--cream); }
.hero .lede { font-size: 1.15rem; color: #EDE4CF; }
.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid rgba(243, 234, 216, 0.25);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .btn-outline { color: var(--cream); border-color: var(--cream); }
.hero .btn-outline:hover { background: var(--cream); color: var(--charcoal); }

.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 46px 0 40px;
}
.page-hero h1 { color: var(--cream); margin-bottom: 0.3em; }
.page-hero p { color: #E4D9BE; max-width: 46em; margin: 0; }
.page-hero .eyebrow { color: var(--orange-soft); }

/* ---------- Sections ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--cream-light); }
.section-dark { background: var(--charcoal); color: #EDE4CF; }
.section-dark h2, .section-dark h3 { color: var(--cream); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.sketch-big { width: 100%; height: auto; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }

.wide-photo { margin: 34px 0 0; }
.wide-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.wide-photo figcaption { font-size: 0.88rem; color: var(--charcoal-soft); margin-top: 8px; }

/* ---------- Awards band ---------- */
.awards-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.awards-list li {
  border-left: 4px solid var(--orange);
  background: rgba(243, 234, 216, 0.06);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
}
.awards-list strong { display: block; color: var(--cream); font-family: var(--font-display); font-size: 1.08rem; }

/* ---------- Shop ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.product {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-art {
  padding: 26px 0 6px;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(38,34,28,0.20), rgba(38,34,28,0) 55%),
    linear-gradient(var(--cream-dark), var(--cream));
}
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 0.2em; }
.product .heat {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.7em;
}
.product .desc { flex: 1; }
.product .buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}
.price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--charcoal); }
.price small { font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; color: var(--charcoal-soft); display: block; }

.sold-out-badge {
  position: absolute;
  top: 16px;
  right: -38px;
  transform: rotate(38deg);
  background: var(--soldout);
  color: #FFF4E4;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  padding: 7px 46px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.product.is-soldout .product-art svg { opacity: 0.45; filter: grayscale(0.35); }
.product.is-soldout .product-art img { opacity: 0.45; filter: grayscale(0.35); }

/* Real product photography (white-background bottle shots) */
.product-art:has(.bottle-photo) { background: #FFFFFF; padding: 22px 0 12px; }
.bottle-photo { height: 252px; width: auto; max-width: 82%; object-fit: contain; }

/* Bottle illustration (original inline SVG, tinted per sauce) */
.bottle { width: 86px; height: auto; }

/* ---------- The makers (sketch artwork) ---------- */
.makers { text-align: center; }
.makers-copy { max-width: 640px; margin: 0 auto 30px; }
.makers-figs { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.makers-figs figure { margin: 0; }
.makers-figs img { height: 340px; width: auto; max-width: 100%; }
.makers-figs figcaption { margin-top: 10px; font-family: Georgia, serif; font-style: italic; color: var(--brown, #5A4028); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: #FFF6E8;
  padding: 44px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40em; margin: 0 auto 20px; }
.cta-band .btn { background: var(--charcoal); border-color: var(--charcoal); }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .big-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 14px;
}
.cta-band .big-phone:hover { text-decoration: underline; }

/* ---------- Facts strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.fact {
  text-align: center;
  padding: 20px 14px;
  background: var(--cream-light);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
}
.fact strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--charcoal); }

/* ---------- Catering packages & menu ---------- */
.package-card {
  background: var(--charcoal);
  color: #EDE4CF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px 24px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 48px;
  align-items: center;
}
.package-price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.05;
}
.package-price .from {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 4px;
}
.package-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #E4D9BE;
  margin-top: 4px;
}
.package-includes { list-style: none; margin: 0; padding: 0; }
.package-includes li {
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px dashed rgba(243, 234, 216, 0.25);
}
.package-includes li:last-child { border-bottom: 0; }
.package-includes li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--orange-soft);
}
.package-card .fine-print {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: #CFC4A8;
  margin: 12px 0 0;
}

/* Two named packages, side by side */
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}
.package-grid .package-card {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  align-content: start;
  padding: 0 28px 22px;
  overflow: hidden;
  position: relative;
}
.package-photo { margin: 0 -28px 8px; }
.package-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.package-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.package-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin: 6px 0 0;
}
.package-grid .package-price { font-size: clamp(2.2rem, 4vw, 3rem); }
.rate-note {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  max-width: 52em;
}
.packages-fine-print {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-top: 0;
}

/* Compact package presentation (home page) */
.mini-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.mini-package {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--cream-light);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  padding: 14px 18px 14px 14px;
}
.mini-package img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
}
.mini-package h3 { margin: 0 0 2px; font-size: 1.08rem; }
.mini-package .mini-price { color: var(--orange-dark); white-space: nowrap; }
.mini-package p { margin: 0; font-size: 0.92rem; }

@media (max-width: 860px) {
  .package-grid, .mini-packages { grid-template-columns: 1fr; }
}

.menu-rule {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.8em;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.menu-list li:first-child { padding-top: 0; }
.menu-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.menu-list .dish-note { display: block; font-size: 0.9rem; color: var(--charcoal-soft); }

@media (max-width: 860px) {
  .package-card { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #CFC4A8;
  padding: 46px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}
.site-footer h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.6em; }
.site-footer a { color: #EDE4CF; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 7px; }
.footer-logo { width: 228px; margin-bottom: 14px; filter: drop-shadow(0 0 0 transparent); }
.footer-bottom {
  border-top: 1px solid #474138;
  margin-top: 34px;
  padding-top: 18px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 40px 0; }
  .brand img { width: 198px; }
  .header-call { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    border-bottom: 3px solid var(--charcoal);
    padding: 10px 20px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .site-header { position: relative; }
  .section { padding: 42px 0; }
}
