/* ============================================================
   Smoke & Soul BBQ — Shared Stylesheet
   smokeandsoulbbq.com
   ============================================================ */

/* --- Google Fonts (fallback import) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --black: #0a0804;
  --deep: #110e09;
  --coal: #1c1610;
  --ember: #c94a12;
  --fire: #e8621a;
  --glow: #f4862a;
  --gold: #d4952a;
  --red: #8b1a1a;
  --cream: #e8d5b0;
  --ash: #6b5f52;
  --smoke: #3a3028;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-label: 'Bebas Neue', sans-serif;
  --font-body: 'Crimson Pro', Georgia, serif;

  --nav-height: 70px;
  --section-pad: 6rem 2rem;
  --max-width: 1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--cream);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }

em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: linear-gradient(to bottom, rgba(10,8,4,0.95) 0%, rgba(10,8,4,0) 100%);
  transition: background 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 8, 4, 0.97);
  border-bottom: 1px solid rgba(201, 74, 18, 0.15);
}

.nav-logo {
  font-family: var(--font-label);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-logo span {
  color: var(--ember);
}

.nav-logo:hover {
  color: var(--glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--glow);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-mobile-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-mobile-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--deep);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(201, 74, 18, 0.2);
  }

  .nav-links li {
    border-top: 1px solid rgba(201, 74, 18, 0.1);
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  nav.nav-open .nav-links {
    display: flex;
  }

  nav {
    padding: 0 1.5rem;
  }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
  padding: var(--section-pad);
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--ember);
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.15rem;
  color: rgba(232, 213, 176, 0.7);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ============================================================
   FIRE DIVIDER
   ============================================================ */
.fire-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ember), var(--gold), var(--ember), transparent);
  opacity: 0.3;
  border: none;
  margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-outline {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ember);
  color: var(--cream);
  border: none;
}

.btn-primary:hover {
  background: var(--fire);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 213, 176, 0.4);
}

.btn-outline:hover {
  border-color: var(--glow);
  color: var(--glow);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(139, 26, 26, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(201, 74, 18, 0.2) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--ember);
  display: block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title .line-gold {
  color: var(--gold);
  font-style: italic;
  display: block;
}

.hero-mantra {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(232, 213, 176, 0.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (inner pages — no particles) */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  text-align: center;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ember), var(--gold), var(--ember), transparent);
  opacity: 0.3;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(201, 74, 18, 0.12) 0%, transparent 70%);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(232, 213, 176, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--ash);
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ember), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   EMBER PARTICLE CANVAS
   ============================================================ */
#ember-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--glow);
}

.breadcrumb span {
  color: var(--ember);
}

.breadcrumb .sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

/* ============================================================
   BACK LINK
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--ash);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--glow);
}

/* ============================================================
   FADE-IN ANIMATION (Intersection Observer)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CARDS — RECIPE
   ============================================================ */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.recipe-card {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.15);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ember), var(--gold));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.recipe-card:hover {
  border-color: rgba(201, 74, 18, 0.4);
  transform: translateY(-3px);
}

.recipe-card:hover::before {
  opacity: 1;
}

.recipe-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recipe-card-img-placeholder {
  font-size: 3rem;
  opacity: 0.3;
}

.recipe-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-card-category {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ember);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.recipe-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.recipe-card-desc {
  font-size: 0.95rem;
  color: rgba(232, 213, 176, 0.65);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.recipe-card-meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 74, 18, 0.1);
}

.recipe-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.recipe-meta-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}

.recipe-meta-value {
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 300;
}

/* ============================================================
   CARDS — BLOG / JOURNAL
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.15);
  padding: 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ember), var(--gold));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(201, 74, 18, 0.4);
  transform: translateY(-3px);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-date {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: rgba(232, 213, 176, 0.65);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-read-more {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--ember);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-read-more {
  color: var(--glow);
}

/* Featured blog card */
.blog-card-featured {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.2);
  padding: 2.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
  position: relative;
}

.blog-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--ember), var(--gold));
}

.blog-card-featured:hover {
  border-color: rgba(201, 74, 18, 0.5);
}

.blog-card-featured .blog-card-title {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.blog-card-featured .blog-card-excerpt {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   CATEGORY FILTER
   ============================================================ */
.category-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.25rem;
  color: var(--ash);
  border: 1px solid rgba(107, 95, 82, 0.4);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ember);
  color: var(--cream);
  border-color: var(--ember);
}

/* ============================================================
   RECIPE DETAIL STYLES
   ============================================================ */
.recipe-meta-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.2);
  margin-bottom: 3rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
}

.ingredients-list {
  list-style: none;
  padding: 0;
}

.ingredients-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(201, 74, 18, 0.1);
  color: rgba(232, 213, 176, 0.85);
  font-size: 1.05rem;
}

.ingredients-list li::before {
  content: "— ";
  color: var(--ember);
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ember);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.step-content {
  padding-top: 0.3rem;
}

.step-content p {
  color: rgba(232, 213, 176, 0.85);
  font-size: 1.05rem;
}

.step-content strong {
  color: var(--cream);
}

.recipe-category-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ember);
  border: 1px solid rgba(201, 74, 18, 0.35);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.pitmaster-notes {
  background: var(--coal);
  border-left: 3px solid var(--ember);
  padding: 1.75rem 2rem;
  margin-top: 3rem;
}

.pitmaster-notes h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pitmaster-notes p,
.pitmaster-notes li {
  color: rgba(232, 213, 176, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pitmaster-notes ul {
  padding-left: 1.5rem;
  list-style: none;
}

.pitmaster-notes ul li::before {
  content: "— ";
  color: var(--ember);
}

/* ============================================================
   ARTICLE / BLOG POST STYLES
   ============================================================ */
.article-body {
  max-width: 720px;
  font-size: 1.15rem;
  line-height: 1.8;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cream);
  margin: 3rem 0 1rem;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--glow);
  margin: 2rem 0 0.8rem;
}

.article-body p {
  color: rgba(232, 213, 176, 0.85);
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  color: rgba(232, 213, 176, 0.85);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--cream);
}

.article-body blockquote {
  border-left: 3px solid var(--ember);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--gold);
  margin: 2rem 0;
  font-size: 1.2rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201, 74, 18, 0.15);
}

.post-date {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}

.post-reading-time {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--ash);
}

/* ============================================================
   RELATED POSTS / RECIPES
   ============================================================ */
.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(201, 74, 18, 0.15);
}

.related-section h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(232, 213, 176, 0.75);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 74, 18, 0.08);
}

.related-link::before {
  content: '→';
  color: var(--ember);
  flex-shrink: 0;
}

.related-link:hover {
  color: var(--cream);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--smoke);
  border: 1px solid rgba(107, 95, 82, 0.4);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--ember);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ash);
  opacity: 0.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5f52' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--coal);
  color: var(--cream);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 74, 18, 0.15);
  border: 1px solid rgba(201, 74, 18, 0.15);
  margin-top: 3rem;
}

.stat-card {
  background: var(--coal);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ash);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EVENT TYPE CARDS (Catering)
   ============================================================ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.15);
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.event-card:hover {
  border-color: rgba(201, 74, 18, 0.4);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.event-card p {
  font-size: 0.95rem;
  color: rgba(232, 213, 176, 0.65);
  line-height: 1.65;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ember);
  font-size: 1.5rem;
  opacity: 0.4;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ember);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  color: rgba(232, 213, 176, 0.65);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step:not(:last-child)::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -1.25rem;
    transform: translateX(50%);
  }
}

/* ============================================================
   TWO COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col,
  .two-col-3-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--deep);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(201, 74, 18, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(232, 213, 176, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   INLINE TEXT LINK
   ============================================================ */
.text-link {
  color: var(--ember);
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--glow);
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--ember);
  text-decoration: none;
  margin-top: 2rem;
  transition: color 0.2s ease, gap 0.2s ease;
  text-transform: uppercase;
}

.section-more-link:hover {
  color: var(--glow);
  gap: 0.75rem;
}

/* ============================================================
   PILLAR CARDS (About page)
   ============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.15);
  padding: 2rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.975rem;
  color: rgba(232, 213, 176, 0.75);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(201, 74, 18, 0.15);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: var(--font-label);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-brand-name span {
  color: var(--ember);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(232, 213, 176, 0.5);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(232, 213, 176, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--glow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 74, 18, 0.1);
  font-size: 0.8rem;
  color: rgba(232, 213, 176, 0.35);
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   PHILOSOPHY SECTION (About)
   ============================================================ */
.setup-block {
  background: var(--coal);
  border: 1px solid rgba(201, 74, 18, 0.15);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.setup-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--glow);
  margin-bottom: 0.75rem;
}

.setup-block p {
  color: rgba(232, 213, 176, 0.8);
  line-height: 1.75;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-ember { color: var(--ember); }
.text-gold { color: var(--gold); }
.text-ash { color: var(--ash); }
.text-cream { color: var(--cream); }
.text-glow { color: var(--glow); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.text-center { text-align: center; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 1.5rem;
  }

  h1 { font-size: clamp(2rem, 7vw, 3rem); }

  .recipe-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .recipe-meta-bar {
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--coal);
  border: 1px solid var(--ember);
  color: var(--cream);
  padding: 1rem 1.5rem;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-width: 320px;
  line-height: 1.5;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── NAV ACTIVE STATE ── */
.nav-links a.nav-active {
  color: var(--glow) !important;
  opacity: 1 !important;
}

.nav-links a.nav-active::after {
  transform: scaleX(1) !important;
}

/* ── DROPDOWN NAV ── */
.nav-dropdown {
  position: relative;
}

.nav-caret {
  font-size: 0.58em;
  margin-left: 0.25em;
  opacity: 0.55;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  vertical-align: middle;
  line-height: 1;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: rgba(14, 11, 7, 0.98);
  border: 1px solid rgba(201, 74, 18, 0.22);
  border-top: 2px solid var(--ember);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  list-style: none;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu li a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(232, 213, 176, 0.72);
  display: block;
  padding: 0.55rem 1.3rem;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown-menu li a::after {
  display: none !important;
}

.nav-dropdown-menu li a:hover {
  color: var(--glow);
  background: rgba(201, 74, 18, 0.08);
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(201, 74, 18, 0.15);
  margin: 0.35rem 0;
  list-style: none;
  pointer-events: none;
}

.nav-dropdown-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--ember);
  padding: 0.5rem 1.3rem 0.15rem;
  opacity: 0.8;
  list-style: none;
  pointer-events: none;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    left: auto;
    min-width: 100%;
    border: none;
    border-top: none;
    border-left: 2px solid rgba(201, 74, 18, 0.28);
    background: rgba(28, 22, 16, 0.6);
    padding: 0 0 0.25rem;
    margin-left: 2rem;
    margin-bottom: 0.25rem;
    display: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu li a {
    font-size: 0.82rem;
    padding: 0.65rem 1.25rem;
    color: rgba(232, 213, 176, 0.65);
  }

  .nav-dropdown-divider,
  .nav-dropdown-label {
    display: none;
  }

  .nav-caret {
    float: right;
    margin-top: 0.1em;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 3rem 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .category-filters {
    gap: 0.5rem;
  }
}

/* ============================================================
   PRINT STYLES — Recipe Pages
   ============================================================ */
@media print {
  /* Reset to white background, black text */
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
  }

  /* Hide non-recipe elements */
  #main-nav,
  .nav-mobile-btn,
  footer,
  .page-hero-bg,
  .back-link,
  .breadcrumb,
  .related-section,
  .fire-divider,
  .print-btn,
  .hero-cta-group,
  .category-filters,
  noscript,
  script { display: none !important; }

  /* Single-column layout */
  .two-col-3-2 {
    display: block !important;
  }

  /* Remove dark backgrounds */
  section,
  .page-hero,
  .pitmaster-notes,
  .step,
  [style*="background:var(--coal)"],
  [style*="background: var(--coal)"],
  [style*="background:var(--deep)"],
  [style*="background: var(--deep)"],
  [style*="background:var(--black)"],
  [style*="background: var(--black)"] {
    background: #fff !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Fix text colors for print */
  h1, h2, h3, h4, p, li, span, strong, em, div {
    color: #111 !important;
  }

  .recipe-category-tag {
    color: #555 !important;
    border-color: #999 !important;
    clip-path: none !important;
  }

  .recipe-meta-bar {
    border-color: #ccc !important;
    background: #f5f5f5 !important;
  }

  .meta-label {
    color: #666 !important;
  }

  .step-number {
    background: #f0f0f0 !important;
    color: #333 !important;
    border-color: #ccc !important;
  }

  .pitmaster-notes {
    border-left-color: #999 !important;
    background: #f9f9f9 !important;
    page-break-inside: avoid;
  }

  .ingredients-list li::before {
    color: #666 !important;
  }

  /* Clean step formatting */
  .step {
    page-break-inside: avoid;
  }

  /* Remove decorative borders */
  [style*="border-left:3px solid var(--ember)"],
  [style*="border-left:2px solid var(--ember)"] {
    border-left-color: #999 !important;
  }

  /* Print header branding */
  section:first-of-type::before {
    content: "smokeandsoulbbq.com";
    display: block;
    font-family: sans-serif;
    font-size: 9pt;
    color: #999;
    margin-bottom: 0.5rem;
  }

  /* Remove sticky positioning */
  [style*="position:sticky"] {
    position: static !important;
  }

  /* Page margins */
  @page {
    margin: 0.75in;
  }

  /* Keep ingredients and steps together */
  .ingredients-list {
    page-break-inside: avoid;
  }

  /* Links — don't show URL in print */
  a {
    color: #111 !important;
    text-decoration: none !important;
  }
}
