/* Smoke It Out BBQ. Black and red from his logo, ember orange only for heat. */
:root {
  --black: #0a0a0a;
  --ink: #121010;
  --ink-2: #1a1515;
  --line: #3a2a28;
  --paper: #f6efe6;
  --mute: #c2b5aa;
  --red: #d20d0e;        /* the logo's title red */
  --red-hi: #e21011;
  --red-deep: #8c0405;
  --ember: #ea7136;      /* the logo's flame, prices and heat accents only */
  --display: 'Alfa Slab One', 'Rockwell Extra Bold', 'Georgia', serif;
  --label: 'Oswald', 'Arial Narrow', 'Barlow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--paper);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--black); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.static .snd { display: none; }

.kicker { font: 600 14px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin: 0 0 14px; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-right: 10px; background: var(--red); vertical-align: .3em; }

/* buttons: white on the logo red is 5.5:1 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 2px solid var(--red); border-radius: 4px;
  background: var(--red); color: #fff; font: 600 16px/1.2 var(--label);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  text-align: center; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 18px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; flex-shrink: 0; }
.btn-ghost { background: rgba(10,10,10,.55); color: var(--paper); border-color: rgba(246,239,230,.6); }
.btn-ghost:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }

/* ---- header ---- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(10,10,10,.7), rgba(10,10,10,0)); }
.bar.stuck { background: rgba(10,10,10,.95); border-color: var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar-in { max-width: var(--max); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 400 21px/1 var(--display); white-space: nowrap; }
.brand b { font-weight: 400; color: #ff3b30; }  /* the logo red, lifted to 5.6:1 on black for text this small */
@media (max-width: 420px) {
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 18px; }
  .bar .btn-sm { min-height: 40px; padding: 8px 11px; font-size: 13px; letter-spacing: .06em; }
}
@media (max-width: 370px) {
  .bar-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 16px; }
}
@media (max-width: 340px) {
  .brand img { width: 28px; height: 28px; }
  .brand span { font-size: 14px; }
  .bar .btn-sm { padding: 7px 9px; font-size: 12px; letter-spacing: .04em; }
}

/* ---- hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-v { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.1) 16%, rgba(10,10,10,.55) 34%, rgba(10,10,10,.9) 58%, var(--black) 100%);
}
.hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gut) 36px; }
.hero h1 { font-size: clamp(2.4rem, 10.4vw, 5.6rem); max-width: 11em; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); max-width: 32em; color: #efe6db; }
.hero .kicker { display: inline-block; background: rgba(10,10,10,.85); padding: 6px 10px 6px 8px; margin-left: -8px; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 521px) {
  /* a pair of CTAs is always the same width */
  .cta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
  .cta-row .btn { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 521px) and (max-width: 640px) {
  /* two columns are narrow here: CALL (601) 966-8271 must stay on one line */
  .cta-row .btn-lg { font-size: 16px; letter-spacing: .04em; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 520px) {
  .cta-row .btn { width: 100%; }
  .btn-lg { padding: 16px 16px; font-size: 17px; letter-spacing: .06em; }
}
@media (max-width: 340px) { .btn-lg { padding: 16px 10px; font-size: 16px; letter-spacing: .04em; } }

.facts { list-style: none; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(246,239,230,.22); display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 16px; }
.facts li { white-space: nowrap; }
.f-k { display: block; font: 600 12px/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.facts a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-media { left: auto; right: 0; width: 50%; }
  .hero-media::after { background: linear-gradient(90deg, var(--black) 0%, rgba(10,10,10,.5) 18%, rgba(10,10,10,0) 45%), linear-gradient(0deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 28%), linear-gradient(180deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,0) 16%); }
  .hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 18% 60%, rgba(140,4,5,.32), rgba(10,10,10,0) 70%); }
  .hero-in { padding-top: 110px; padding-bottom: 72px; }
  .hero-in > * { max-width: 640px; }
  .hero h1 { font-size: clamp(3.2rem, 4.3vw, 4.6rem); max-width: min(700px, 48vw); }
}

/* ---- section heads ---- */
.sec-head { max-width: var(--max); margin: 0 auto 30px; }
.sec-head h2 { font-size: clamp(2.1rem, 6.4vw, 4rem); margin-bottom: 14px; }
.sec-head > p:last-child { max-width: 38em; color: #e3d9ce; }

/* ---- feed ---- */
.work { padding: clamp(64px, 9vw, 112px) var(--gut); background: var(--ink); border-top: 4px solid var(--red); }
.feed { max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.tile { background: var(--black); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.tile-media { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.tile-media video { width: 100%; height: 100%; object-fit: cover; }
.snd {
  position: absolute; right: 10px; bottom: 10px; min-height: 40px; padding: 8px 12px;
  background: rgba(10,10,10,.84); color: var(--paper); border: 1px solid rgba(246,239,230,.45); border-radius: 4px;
  font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
}
.snd::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--mute); vertical-align: 1px; }
.snd[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.snd[aria-pressed="true"]::before { background: #fff; }
.tile-body { padding: 16px 18px 20px; }
.tile h3 { font-size: 1.45rem; margin-bottom: 6px; }
.tile-body p { margin: 0; font-size: 15px; line-height: 1.55; color: #ddd2c6; }

/* ---- menu ---- */
.menu { padding: clamp(64px, 9vw, 112px) var(--gut); background: radial-gradient(80% 60% at 50% 0%, rgba(140,4,5,.22), rgba(10,10,10,0) 70%), var(--black); }
.m-grid { max-width: var(--max); margin: 0 auto; columns: 3 320px; column-gap: 22px; }
.m-card { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 22px; padding: 0 0 18px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.m-h { font-size: 1.5rem; color: #fff; background: var(--red-deep); padding: 12px 18px 11px; border-bottom: 3px solid var(--red); }
.m-note { margin: 12px 18px 0; font-size: 15px; color: var(--mute); }
.m-foot { margin-top: 10px; }
.m-list { list-style: none; margin: 10px 0 0; padding: 0 18px; }
.m-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(246,239,230,.08); }
.m-row:last-child { border-bottom: 0; }
.m-name { font-weight: 600; font-size: 17px; min-width: 0; }
.m-sub { display: block; font-weight: 400; font-size: 14px; color: var(--mute); }
.m-dots { flex: 1; min-width: 12px; border-bottom: 2px dotted rgba(246,239,230,.25); transform: translateY(-4px); }
.m-price { font: 700 18px/1 var(--label); color: var(--ember); white-space: nowrap; letter-spacing: .02em; }
.unit { font: 500 13px/1 var(--body); color: var(--mute); letter-spacing: 0; }
.m-sides { width: calc(100% - 36px); margin: 8px 18px 0; border-collapse: collapse; }
.m-sides th, .m-sides td { padding: 7px 0; border-bottom: 1px solid rgba(246,239,230,.08); text-align: left; }
.m-sides tbody tr:last-child th, .m-sides tbody tr:last-child td { border-bottom: 0; }
.m-sides tbody th { font-weight: 600; font-size: 17px; }
.m-sides td { width: 58px; text-align: right; font: 700 18px/1 var(--label); color: var(--ember); white-space: nowrap; }
.m-sides thead th { padding: 0 0 2px; border-bottom: 0; text-align: right; font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.m-sides thead th:first-child { text-align: left; }
.m-choose { margin: 14px 18px 4px; padding: 12px 14px; border: 2px solid var(--ember); border-radius: 6px; }
.m-choose h4 { font: 600 14px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 9px; background: rgba(246,239,230,.08); border-radius: 3px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.m-cta { max-width: var(--max); margin: 18px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.pay { margin: 0; color: var(--mute); }
@media (max-width: 520px) { .m-cta .btn { width: 100%; } }

/* ---- the chef ---- */
.chef { padding: clamp(64px, 9vw, 112px) var(--gut); background: var(--ink); border-top: 1px solid var(--line); }
.chef-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.chef-logo { margin: 0; }
.chef-logo img { width: 100%; max-width: 560px; margin: 0 auto; }
.chef h2 { font-size: clamp(2.1rem, 6.4vw, 3.8rem); margin-bottom: 18px; }
.chef-copy > p { max-width: 36em; color: #e3d9ce; }
.socials { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(246,239,230,.4); border-radius: 4px; text-decoration: none; font: 600 15px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.socials a:hover { border-color: var(--paper); background: var(--paper); color: var(--black); }
@media (min-width: 900px) { .chef-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }

/* ---- catering ---- */
.cater { padding: clamp(64px, 9vw, 112px) var(--gut); background: var(--black); border-top: 4px solid var(--red); }
.cater-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.cater h2 { font-size: clamp(2.1rem, 6.4vw, 3.8rem); margin-bottom: 16px; }
.cater-copy > p { max-width: 32em; color: #e3d9ce; }
.cater-call a { color: var(--paper); font-weight: 700; text-underline-offset: 3px; }
.form-wrap { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 3vw, 32px); }
.lead { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld-wide { grid-column: 1 / -1; }
.fld label { font-weight: 600; font-size: 15px; }
.fld input, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--black); color: var(--paper);
  border: 1px solid #6a5a55; border-radius: 4px; font: 400 16px/1.4 var(--body);
}
.fld input[type="date"] { -webkit-appearance: none; appearance: none; color-scheme: dark; min-width: 0; }
.fld textarea::placeholder { color: #9c8f86; }
.fld input:focus, .fld textarea:focus { border-color: var(--ember); outline: 2px solid var(--ember); outline-offset: 0; }
.lead .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 520px) { .lead .btn { width: 100%; } }
@media (min-width: 900px) { .cater-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }

/* ---- hours and location ---- */
.visit { padding: clamp(64px, 9vw, 112px) var(--gut); background: radial-gradient(70% 90% at 85% 100%, rgba(234,113,54,.16), rgba(10,10,10,0) 60%), var(--ink); border-top: 1px solid var(--line); }
.visit-in { max-width: var(--max); margin: 0 auto; }
.visit h2 { font-size: clamp(2.1rem, 6.4vw, 4rem); margin-bottom: 18px; max-width: 14em; }
.visit address { font-style: normal; font-weight: 700; font-size: clamp(20px, 3vw, 26px); line-height: 1.35; margin-bottom: 10px; }
.visit p { color: #e3d9ce; }

/* ---- footer ---- */
.foot { background: var(--black); border-top: 1px solid var(--line); padding: 56px var(--gut) calc(28px + env(safe-area-inset-bottom)); }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.foot-brand img { width: 56px; height: 56px; margin-bottom: 12px; }
.foot-name { font: 400 1.5rem/1 var(--display); margin: 0 0 6px; }
.foot-brand p:last-child { color: var(--mute); font-size: 15px; }
.foot h2 { font: 600 13px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.foot-col p { color: #e3d9ce; font-size: 15px; }
.foot a { color: var(--paper); text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot-social { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.9; }
.foot-base { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 14px; color: var(--mute); }
.foot-base p { margin: 0; }
.noscript { margin-top: 16px; color: var(--paper); }
.noscript a { color: var(--ember); }
.legal { display: flex; gap: 18px; flex-wrap: wrap; }
.legal a, .credit a { color: var(--mute); }
.credit { margin-left: auto !important; }

/* ---- phone order dock ---- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,10,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.dock.up { transform: none; }
.dock .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
/* the dock's order button is the deep red, so it never reads as a copy of the hero button */
.dock .btn:not(.btn-ghost) { background: var(--red-deep); border-color: var(--red); }
@media (max-width: 859px) { body.has-dock .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 860px) { .dock { display: none; } }

/* ---- legal pages ---- */
/* scripts/legal.mjs writes these pages from this page's shell: a
   <main id="main"> whose first child is <section class="section">, and no
   body class to hook. Select on that structure, so the pages pass whether
   build_legal.mjs or the engine wrote them (Stryv, PR #390). */
body:has(main > .section:first-child) .bar { background: rgba(10,10,10,.96); border-color: var(--line); }
main:has(> .section:first-child) { margin-top: 64px; }
main > .section:first-child { padding: 56px var(--gut) 64px !important; max-width: 820px; margin: 0 auto; }
main:has(> .section:first-child) h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: 24px; }
main:has(> .section:first-child) h2 { font-size: 1.6rem; margin: 1.4em 0 .5em; }
main:has(> .section:first-child) a { color: var(--ember); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock, .bar, .btn { transition: none; }
}
