/* ============================================================
   Smoke N' Bones — Memphis BBQ food truck
   Design tokens: "low & slow" smokehouse
   ============================================================ */

:root {
  /* color */
  --char:      #12141A;   /* charcoal base                   */
  --char-2:    #1A1E26;   /* raised panels                   */
  --char-3:    #222833;   /* cards / tickets                 */
  --bone:      #E8E4DA;   /* primary text on dark            */
  --bone-dim:  #A0A4AC;   /* muted text                      */
  --ember:     #E0A33C;   /* gold — primary accent           */
  --ember-2:   #F0B857;   /* gold — hover                    */
  --maroon:    #1E4C5E;   /* deep steel-blue band            */
  --rub:       #5FA8C4;   /* steel blue — used sparingly     */
  --line:      rgba(232, 228, 218, 0.14);

  /* type */
  --display: "Alfa Slab One", Georgia, "Times New Roman", serif;
  --body:    "Archivo", system-ui, -apple-system, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--char);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.eyebrow {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rub);
  margin: 0 0 18px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.98; }

.section { padding: clamp(56px, 9vw, 108px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-title { font-size: clamp(30px, 5.5vw, 52px); margin: 0 0 8px; }
.section-lede { color: var(--bone-dim); max-width: 54ch; margin: 0 0 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 22px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--fire   { background: var(--ember); color: #1a0f08; border-color: var(--ember); font-weight: 700; }
.btn--fire:hover { background: var(--ember-2); border-color: var(--ember-2); }
.btn--ghost  { background: transparent; color: var(--bone); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); }
.btn--block  { display: flex; justify-content: center; width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 19, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand {
  font-family: var(--display); font-size: 21px; letter-spacing: 0.02em;
  color: var(--bone); text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px;
}
.brand .spark { color: var(--ember); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--bone-dim);
}
.nav-links a:hover { color: var(--bone); }
.nav-links .btn { padding: 10px 16px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--bone); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--char-2); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .22s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::after {   /* ember coals glow */
  content: ""; position: absolute; left: 50%; bottom: -40%;
  width: 130%; height: 90%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(95,168,196,0.30), rgba(95,168,196,0) 62%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding: clamp(56px, 11vw, 128px) 0 clamp(40px, 7vw, 84px); max-width: 20ch; }
.hero h1 { font-size: clamp(52px, 12vw, 128px); color: var(--bone); margin: 0; }
.hero h1 .fire { color: var(--ember); }
.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--bone-dim); max-width: 40ch; margin: 26px 0 34px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.badge-901 {
  position: absolute; right: var(--gutter); top: clamp(60px, 12vw, 130px);
  width: clamp(88px, 13vw, 132px); height: clamp(88px, 13vw, 132px);
  border: 2px solid var(--rub); border-radius: 50%;
  display: grid; place-content: center; text-align: center; z-index: 1;
  transform: rotate(-8deg);
}
.badge-901 b { font-family: var(--display); font-size: clamp(26px, 4.5vw, 40px); color: var(--rub); line-height: 1; }
.badge-901 span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--bone-dim); display: block; margin-top: 4px; }
@media (max-width: 620px) { .badge-901 { display: none; } }

/* ---------- ticker ---------- */
.ticker { background: var(--maroon); border-top: 2px solid var(--ember); border-bottom: 2px solid var(--ember); overflow: hidden; }
.ticker-track {
  display: inline-flex; white-space: nowrap; gap: 0;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bone); padding: 12px 0; animation: scroll 32s linear infinite;
}
.ticker-track span { padding: 0 28px; }
.ticker-track span::before { content: "•"; color: var(--ember); margin-right: 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- the board (menu preview) ---------- */
.board-list { border-top: 1px solid var(--line); }
.board-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.board-row h3 { font-family: var(--body); font-weight: 700; font-size: 20px; color: var(--bone); margin: 0; }
.board-row p { margin: 4px 0 0; color: var(--bone-dim); font-size: 15px; }
.board-row .price { font-family: var(--mono); color: var(--rub); font-size: 16px; white-space: nowrap; }

/* ---------- ticket (signature) ---------- */
.ticket {
  background: var(--char-3);
  border: 1px solid var(--line);
  padding: 26px clamp(20px, 4vw, 36px) 30px;
  position: relative;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);
}
.ticket::before, .ticket::after {  /* perforated tear guides */
  content: ""; position: absolute; left: 14px; right: 14px; height: 0;
  border-top: 2px dashed rgba(232,228,218,0.26);
}
.ticket::before { top: 12px; }
.ticket::after  { bottom: 12px; }
.ticket-head {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-dim); text-align: center; margin: 10px 0 20px;
}
.ticket-rows { font-family: var(--mono); font-size: 15px; }
.ticket-rows .t-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ticket-rows .t-row:last-child { border-bottom: 0; }
.ticket-rows .t-day  { color: var(--ember); font-weight: 700; }
.ticket-rows .t-loc  { color: var(--bone); }
.ticket-rows .t-time { color: var(--bone-dim); white-space: nowrap; }
.ticket-note { text-align: center; color: var(--bone-dim); font-size: 13px; margin: 18px 0 6px; }

.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
@media (max-width: 780px) { .ticket-grid { grid-template-columns: 1fr; } }

/* text-in big number */
.text-in { text-align: center; padding: 4px 0 8px; }
.text-in .kw {
  font-family: var(--display); color: var(--bone);
  font-size: clamp(30px, 6vw, 48px); line-height: 1.05; margin: 6px 0 2px;
}
.text-in .kw b { color: var(--ember); }
.text-in .num { font-family: var(--mono); font-size: clamp(18px, 3vw, 24px); color: var(--rub); letter-spacing: 0.04em; }
.text-in .to { color: var(--bone-dim); font-family: var(--mono); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }

/* ---------- opt-in form ---------- */
.optin { display: grid; gap: 14px; }
.optin label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.optin input[type="text"], .optin input[type="tel"], .optin input[type="email"] {
  width: 100%; padding: 13px 14px; background: var(--char); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--bone); font-family: var(--body); font-size: 16px;
}
.optin input:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ember); flex: none; }
.consent span { font-size: 13px; color: var(--bone-dim); line-height: 1.5; }
.form-msg { font-family: var(--mono); font-size: 14px; color: var(--rub); min-height: 1.2em; }

/* fine print / legal */
.fine { font-size: 13.5px; color: var(--bone-dim); line-height: 1.65; }
.fine a { color: var(--rub); }

/* ---------- prose (terms / privacy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--body); font-weight: 700; font-size: 22px; color: var(--bone); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--bone-dim); }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--bone); }
.prose a { color: var(--rub); }
.updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); }

/* ---------- menu page ---------- */
.menu-group { margin-top: 52px; }
.menu-group > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 38px); color: var(--ember); margin: 0 0 4px; }
.menu-group > .hint { color: var(--bone-dim); font-size: 14px; margin: 0 0 18px; }

/* ---------- callout band ---------- */
.band { background: var(--char-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(26px, 4.5vw, 40px); color: var(--bone); margin: 0; max-width: 18ch; }

/* ---------- footer ---------- */
.site-footer { background: #100D0A; border-top: 2px solid var(--ember); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand { font-size: 26px; }
.foot-tag { color: var(--bone-dim); margin: 12px 0 0; max-width: 34ch; font-size: 15px; }
.foot-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rub); margin: 0 0 14px; }
.foot-col a, .foot-col p { display: block; text-decoration: none; color: var(--bone-dim); font-size: 15px; margin: 0 0 10px; }
.foot-col a:hover { color: var(--ember); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--bone-dim);
}
.foot-bottom a { color: var(--bone-dim); }
.foot-bottom a:hover { color: var(--ember); }

/* page hero (interior) */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 8vw, 76px); color: var(--bone); }
.page-hero p { color: var(--bone-dim); max-width: 56ch; margin: 16px 0 0; }

.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ember); color:#1a0f08; padding: 10px 16px; border-radius: 4px; }


/* ---- signup form states ---- */
.optin-wrap{max-width:560px;margin:0 auto;}
.form-msg.ok{color:#7FD1A0;}
.form-msg.err{color:#F0692F;}
.done{display:none;text-align:center;padding:10px 0;}
.done.show{display:block;}
.done .big{font-family:var(--display);font-size:clamp(26px,5vw,40px);color:var(--ember);margin:0 0 10px;}
.done p{color:var(--bone-dim);margin:0;}
.optin.hide{display:none;}
