/* =============================================================
   BAYOU SMOKEHOUSE — FOUNDATIONAL STYLESHEET
   Plain hand-written CSS. No preprocessor, no framework, no build
   step. Written for a server-rendered Express/EJS site.

   Brand: Southern Smokehouse meets Colorado. Weathered wood,
   smoke, fire, cast iron, vintage Southern signage. Warm, rustic,
   smoky, fun, handmade — never corporate or overly polished.

   Fonts required in <head> (see views/partials/head.ejs):

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Rye&family=Droid+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;600;700&display=swap" rel="stylesheet">

   Table of contents:
     1. Color Palette
     2. Typography Variables & Spacing/Sizing Scale
     3. Reset
     4. Base Typography
     5. Layout & Container
     6. Utilities
     7. Buttons
     8. Menu List (accordion)
     9. Forms
    10. Header & Nav
    11. Hero
    12. Event Marquee
    13. Page Sections (page-header / content / intro)
    14. Schedule
    15. Footer
   ============================================================= */

/* ===== 1. Color Palette ===== */
:root {
  /* --- Wood & neutrals --- */
  --color-cream: #EDD69D;         /* brand cream/tan — signature color */
  --color-parchment: #FBF3E3;     /* warm off-white, page background / text-on-dark */
  --color-parchment-dim: #F1E4C8; /* slightly deeper parchment for alt sections/stripes */
  --color-wood-light: #8B5E3C;    /* weathered lighter wood — borders, secondary accents */
  --color-wood: #6B4423;          /* medium wood brown — secondary buttons, nav hover */
  --color-wood-dark: #3E2517;     /* dark aged wood / espresso brown — deep backgrounds */
  --color-charcoal: #1E1712;      /* near-black warm charcoal — header/footer/dark sections */
  --color-charcoal-soft: #2B2119; /* lighter charcoal — cards/elevated panels on dark bg */

  /* --- Fire & accent --- */
  --color-ember: #D9481C;         /* ember orange-red — primary CTA / links / highlights */
  --color-ember-dark: #A8360F;    /* deep ember — hover/active states */
  --color-fire-gold: #E8A33D;     /* warm gold/mustard — secondary accent, badges */
  --color-cast-iron: #4A4744;     /* muted cast-iron gray — dividers, muted text on light bg */

  /* --- Status accents --- */
  --color-swamp-green: #5C7A4A;   /* muted bayou green — "open/on" indicator */
  --color-off: #8A8078;           /* warm muted gray — "off/closed" state */

  /* --- Semantic text/background aliases --- */
  --color-bg: var(--color-parchment);
  --color-bg-alt: var(--color-cream);
  --color-bg-dark: var(--color-charcoal);
  --color-text: var(--color-charcoal);
  --color-text-muted: var(--color-cast-iron);
  --color-text-inverse: var(--color-parchment);
  --color-text-inverse-muted: var(--color-cream);
  --color-border: rgba(30, 23, 18, 0.15);
  --color-border-dark: rgba(251, 243, 227, 0.15);
  --color-focus-ring: var(--color-ember);
}

/* ===== 2. Typography Variables & Spacing/Sizing Scale ===== */
:root {
  /* Fonts — see <link> tags in file header comment */
  --font-heading: 'Rye', 'Georgia', serif;          /* rustic Western/signage display face */
  --font-body: 'Droid Serif', Georgia, 'Times New Roman', serif; /* readable serif body */
  --font-script: 'Caveat', cursive;                 /* handwritten accent — use sparingly */

  /* Type scale */
  --fs-sm: 0.875rem;
  --fs-base: 1.125rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --line-height-base: 1.6;
  --line-height-tight: 1.2;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  /* Shape / effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(30, 23, 18, 0.18);
  --shadow-md: 0 6px 18px rgba(30, 23, 18, 0.28);
  --shadow-inset: inset 0 1px 3px rgba(30, 23, 18, 0.25);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Layout */
  --container-width: 1200px;
  --container-padding: var(--space-4);
}

/* Breakpoints used throughout this file (mobile-first, min-width).
   CSS custom properties can't be referenced inside @media conditions,
   so these values are written out at each usage site — keep them
   consistent with the list below if you add new rules.
     sm: 480px  — large phones
     md: 768px  — tablets
     lg: 1024px — small desktops
     xl: 1280px — large desktops                                    */

/* ===== 3. Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[class], ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

table {
  border-collapse: collapse;
  width: 100%;
}

/* ===== 4. Base Typography ===== */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url('/images/site/website-background-tile.jpg');
  background-repeat: repeat;
  background-blend-mode: multiply;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: var(--line-height-tight);
  color: var(--color-wood-dark);
  letter-spacing: 0.01em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); margin-top: var(--space-6); }
h3 { font-size: var(--fs-xl); margin-top: var(--space-5); }
h4 { font-size: var(--fs-lg); }

h1 + p, h2 + p, h3 + p {
  margin-top: var(--space-3);
}

p + p,
p + h2,
p + h3 {
  margin-top: var(--space-4);
}

p {
  max-width: 68ch;
}

strong { font-weight: 700; }

a {
  color: var(--color-ember);
  transition: color var(--transition-fast);
}

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

/* Consistent, visible focus state everywhere (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

/* A little handmade flourish — use sparingly for notes/callouts */
.text-script {
  font-family: var(--font-script);
  font-size: var(--fs-lg);
  color: var(--color-ember-dark);
}

/* ===== 5. Layout & Container ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

main {
  display: block;
}

@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-6);
  }
}

/* ===== 6. Utilities ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background-color: var(--color-fire-gold);
  color: var(--color-charcoal);
}

.badge--ember {
  background-color: var(--color-ember);
  color: var(--color-parchment);
}

/* ===== 7. Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-inset);
}

.btn--primary {
  background-color: var(--color-ember);
  color: var(--color-parchment);
  border-color: var(--color-ember-dark);
}

.btn--primary:hover {
  background-color: var(--color-ember-dark);
  color: var(--color-parchment);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-wood-dark);
  border-color: var(--color-wood-dark);
}

.btn--secondary:hover {
  background-color: var(--color-wood-dark);
  color: var(--color-parchment);
}

.btn--large {
  padding: var(--space-4) var(--space-7);
  font-size: var(--fs-lg);
}

.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
}

/* ===== 8. Menu List (accordion) ===== */
/* Name + price row per item; click/tap to expand into photo +
   description. Native <details>/<summary> — no JS needed, and
   unlike an accordion `name` group, each item opens independently. */
.menu-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-4);
  margin-bottom: var(--space-7);
}

.menu-item {
  border-bottom: 1px solid var(--color-border);
}

.menu-item__summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  cursor: pointer;
  list-style: none;
}

.menu-item__summary::-webkit-details-marker {
  display: none;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-wood-dark);
}

.menu-item__price {
  font-family: var(--font-heading);
  color: var(--color-ember);
  margin-left: auto;
}

.menu-item__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-ember);
  border-radius: 50%;
  position: relative;
  transition: transform var(--transition-fast);
}

.menu-item__toggle::before,
.menu-item__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-ember);
  transform: translate(-50%, -50%);
}

.menu-item__toggle::before {
  width: 12px;
  height: 2px;
}

.menu-item__toggle::after {
  width: 2px;
  height: 12px;
}

.menu-item[open] .menu-item__toggle {
  transform: rotate(45deg);
}

.menu-item__panel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
}

.menu-item__image {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.menu-item__description {
  flex: 1;
  min-width: 220px;
  color: var(--color-text-muted);
}

/* ===== 9. Forms ===== */
.form-message {
  max-width: 42rem;
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.form-message--success {
  background-color: rgba(92, 122, 74, 0.15);
  color: var(--color-swamp-green);
}

.form-message--error {
  background-color: rgba(217, 72, 28, 0.1);
  color: var(--color-ember-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 42rem;
  margin-top: var(--space-5);
}

/* Centers a form (or any narrow content block) within the wider
   .container — used where a lone form would otherwise look lost
   flush-left in the full container width, e.g. the Contact page. */
.centered-form {
  max-width: 42rem;
  margin-inline: auto;
}

.centered-form__heading,
.centered-form__intro {
  text-align: center;
}

.centered-form__intro {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.centered-form__intro a {
  color: var(--color-ember);
  font-weight: 700;
}

.contact-form label {
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-wood-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--space-3);
  margin-top: var(--space-1);
  background-color: var(--color-parchment);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

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

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

/* The text-field rule above matches input[type=checkbox] too, which
   forces it to the same full-width, padded, bordered box meant for
   text fields -- a checkbox needs its native small square back. */
.contact-form input[type='checkbox'] {
  width: auto;
  margin-top: 0;
  padding: 0;
  border: none;
  background-color: transparent;
}

/* A checkbox's own label, e.g. "Town of Berthoud (municipality)" next
   to its checkbox -- reads as a sentence, not a shouty uppercase field
   label like .contact-form label above, and lays the box and text out
   side by side instead of stacking (the default block flow once the
   checkbox stopped being forced to its own full-width line). */
.checkbox-field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-1) 0;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}

/* Two (or three) fields sharing one row, e.g. event date + start/end
   time — collapses to a single column on narrow screens. */
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-4);
}

.contact-form__categories {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-form__categories legend {
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-wood-dark);
  padding: 0;
  margin-bottom: var(--space-1);
}

.contact-form__radio {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-text);
  cursor: pointer;
}

.contact-form__radio input {
  width: auto;
  margin-top: 0;
  accent-color: var(--color-ember);
}

.contact-form button {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Required-field marker — used next to any label (or fieldset legend)
   whose input has the `required` attribute. Kept consistent site-wide
   rather than styled per-form. */
.required-mark {
  color: var(--color-ember);
  margin-left: 0.2em;
}

.form-required-note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}

/* Admin message list/detail action buttons */
.admin-actions {
  display: flex;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
}

/* Admin category filter links */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}

.admin-filters a {
  font-weight: 700;
  color: var(--color-text-muted);
}

.admin-filters a:hover,
.admin-filters__active {
  color: var(--color-ember);
}

/* Admin sales report tables — wrapped in .table-scroll so a wide table
   scrolls horizontally on narrow screens instead of breaking layout. */
.table-scroll {
  overflow-x: auto;
  margin-top: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  border-collapse: collapse;
  width: 100%;
}

.admin-table th,
.admin-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.admin-table thead th {
  background-color: var(--color-wood-dark);
  color: var(--color-parchment);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: normal;
}

.admin-table thead th.is-sortable {
  cursor: pointer;
  user-select: none;
}

.admin-table thead th.is-sortable:hover,
.admin-table thead th.is-sortable:focus-visible {
  background-color: var(--color-wood);
}

.admin-table thead th.is-sortable::after {
  content: '⇅';
  display: inline-block;
  margin-left: var(--space-1);
  opacity: 0.5;
  font-size: 0.85em;
}

.admin-table thead th.sorted-asc::after {
  content: '▲';
  opacity: 1;
  color: var(--color-fire-gold);
}

.admin-table thead th.sorted-desc::after {
  content: '▼';
  opacity: 1;
  color: var(--color-fire-gold);
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.admin-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-alt);
}

.admin-table tbody tr:hover {
  background-color: rgba(217, 72, 28, 0.08);
}

.admin-table tfoot td {
  border-top: 2px solid var(--color-ember);
  font-weight: 700;
  color: var(--color-wood-dark);
  background-color: var(--color-cream);
}

/* Weekly Totals report — a month divider row and a per-month totals
   row, both within the month's own tbody (a table may only have one
   tfoot, so a running per-section total can't use it). */
.admin-table tr.admin-table__section td {
  background-color: var(--color-wood-dark);
  color: var(--color-parchment);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-table tr.admin-table__totals td {
  border-top: 2px solid var(--color-ember);
  border-bottom: 2px solid var(--color-ember);
  font-weight: 700;
  color: var(--color-wood-dark);
  background-color: var(--color-cream);
}

/* Edit/Delete/Merge controls packed into one admin-table cell, e.g.
   Manage Locations — each is its own small <form>, so this just lines
   them up instead of letting them stack or wrap awkwardly. */
.admin-table__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* The merge target <select> inside .admin-table__actions sits in a
   plain <form>, not a .contact-form, so without this it's a bare
   unstyled native dropdown next to the styled Edit/Delete/Merge
   buttons. Sized and bordered to match those buttons' height. */
.select--inline {
  width: auto;
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-parchment);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--color-wood-dark);
}

.select--inline:focus {
  border-color: var(--color-ember);
}

/* ===== 10. Header & Nav ===== */
.site-header {
  background-color: var(--color-charcoal);
  background-image:
    radial-gradient(ellipse at top, rgba(217, 72, 28, 0.12), transparent 60%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px);
  border-bottom: 4px solid var(--color-ember);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "nav logo actions";
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.site-logo {
  grid-area: logo;
  justify-self: center;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.site-logo:hover {
  color: var(--color-fire-gold);
}

.site-logo__image {
  display: block;
  height: 68px;
  width: auto;
}

/* Nav — plain, wrapping row on mobile; no JS required.
   If a hamburger toggle is added later, wire it to these hooks:
     <button class="nav-toggle" aria-expanded="false" aria-controls="primary-nav">
       <span class="nav-toggle__bar"></span>
       <span class="nav-toggle__bar"></span>
       <span class="nav-toggle__bar"></span>
     </button>
   Toggling adds/removes `.site-nav--open` on the <nav>, and JS should
   flip `.nav-toggle--active` + aria-expanded on the button. */
.site-nav {
  grid-area: nav;
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-parchment);
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-fire-gold);
  border-bottom-color: var(--color-fire-gold);
}

/* Admin nav dropdown (e.g. "Sales") — toggled via a small script in
   public/js/nav.js, closes on an outside click. */
.dropdown {
  position: relative;
}

.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-parchment);
  background: none;
  border: none;
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.dropdown__toggle::after {
  content: '▾';
  font-size: 0.7em;
}

.dropdown__toggle:hover,
.dropdown__toggle:focus-visible,
.dropdown--open .dropdown__toggle {
  color: var(--color-fire-gold);
  border-bottom-color: var(--color-fire-gold);
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: var(--space-2);
  min-width: 12rem;
  flex-direction: column;
  background-color: var(--color-charcoal-soft);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  z-index: 10;
}

.dropdown--open .dropdown__menu {
  display: flex;
}

.dropdown__menu a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-parchment);
  white-space: nowrap;
}

.dropdown__menu a:hover,
.dropdown__menu a:focus-visible {
  background-color: var(--color-charcoal);
  color: var(--color-fire-gold);
}

.site-header__actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-social__link {
  display: inline-flex;
  color: var(--color-parchment);
  transition: color var(--transition-fast);
}

.header-social__link:hover,
.header-social__link:focus-visible {
  color: var(--color-fire-gold);
}

.header-social__link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-parchment);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle--active .nav-toggle__bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle--active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "actions"
      "nav";
  }

  .site-logo {
    justify-self: center;
  }

  .site-header__actions {
    justify-self: center;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    background-color: var(--color-charcoal-soft);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    margin-top: var(--space-3);
  }

  .site-nav a {
    width: 100%;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border-dark);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

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

/* ===== 11. Hero ===== */
.hero {
  background-color: var(--color-wood-dark);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(232, 163, 61, 0.18), transparent 55%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 4px);
  color: var(--color-parchment);
  padding-block: var(--space-8);
  text-align: center;
}

/* Full-bleed photo hero — one large image instead of a flat color
   block, with a dark gradient overlay so text stays legible.
   --hero-image is overridden per page via a modifier class below;
   it defaults to the main brand hero shot. Same height on every
   page so the site reads as one consistent layout, not a home
   page with bolted-on interior pages. */
.hero--photo {
  --hero-image: url('/images/site/hero-image-main.jpg');
  --divider-color: var(--color-parchment);
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(30, 23, 18, 0.55), rgba(30, 23, 18, 0.75)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 46vh;
  display: flex;
  align-items: center;
}

/* Torn-paper seam where the hero photo meets the section below —
   filled with whatever color that next section is, so the tear
   reads as paper ripped away to reveal the page underneath. */
.hero--photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  background-color: var(--divider-color);
  clip-path: polygon(
    0% 100%, 0% 55%, 4% 20%, 8% 48%, 12% 10%, 16% 42%, 20% 15%, 24% 50%,
    28% 8%, 32% 38%, 36% 18%, 40% 52%, 44% 5%, 48% 35%, 52% 55%, 56% 22%,
    60% 48%, 64% 12%, 68% 40%, 72% 18%, 76% 50%, 80% 8%, 84% 45%, 88% 15%,
    92% 55%, 96% 20%, 100% 45%, 100% 100%
  );
}

.hero--home {
  --divider-color: var(--color-charcoal);
}

.hero--menu {
  --hero-image: url('/images/site/menu-image-main.jpg');
}

.hero--catering {
  --hero-image: url('/images/site/catering-image-main.jpg');
}

.hero--about {
  --hero-image: url('/images/truck/truck-exterior-side.jpg');
}

.hero--photo .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  color: var(--color-cream);
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.05;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  max-width: 48ch;
  margin: var(--space-4) auto var(--space-6);
  font-size: var(--fs-md);
  color: var(--color-text-inverse-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

/* Outlined so it reads against the dark hero photo — the standard
   .btn--secondary (wood-dark on transparent) is unreadable there. */
.hero .btn--secondary {
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.hero .btn--secondary:hover {
  background-color: var(--color-cream);
  color: var(--color-wood-dark);
}

/* ===== 12. Event Marquee ===== */
/* Continuous scrolling banner of event types, home page only —
   sits directly under the hero's torn edge. The track's content is
   duplicated once in the markup and animated -50% for a seamless
   loop; prefers-reduced-motion turns the scroll off entirely. */
.marquee {
  background-color: var(--color-ember);
  overflow: hidden;
  padding-block: var(--space-3);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  color: var(--color-parchment);
  text-decoration: none;
}

.marquee__item--link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.marquee__item--link:hover,
.marquee__item--link:focus-visible {
  color: var(--color-cream);
}

.marquee__sep {
  font-size: var(--fs-sm);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
  }
}

/* ===== 13. Page Sections ===== */
/* Shared wrapper used for interior pages (menu, about, catering,
   contact, 404) plus the home page's intro block. */
.page-header {
  background-color: var(--color-wood);
  color: var(--color-parchment);
  padding-block: var(--space-6);
}

.page-header h1 {
  color: var(--color-cream);
  margin: 0;
}

.content {
  padding-block: var(--space-7);
}

.content h2:first-child {
  margin-top: 0;
}

/* Larger, centered intro copy directly under a page's hero image. */
.lede {
  max-width: 46rem;
  margin-inline: auto;
  margin-block: var(--space-7);
  font-size: var(--fs-md);
}

.lede p {
  margin-block: var(--space-4);
}

/* A short standalone closing line, set off from the surrounding
   body copy in the display face — smaller than a heading. The
   .lede .tagline pairing outweighs .lede p's margin so no
   !important is needed to bump the top spacing. */
.tagline,
.lede .tagline {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-wood-dark);
  margin-top: var(--space-5);
}

.content-image {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-block: var(--space-5);
}

.content-image--menu {
  max-width: 800px;
}

/* Newspaper-style layout — a floated image with body copy wrapping
   around it. Un-floats to a stacked layout on narrow screens, where
   wrapping text around a small image reads poorly. */
.article-wrap {
  max-width: 46rem;
  margin-inline: auto;
}

.article-wrap::after {
  content: "";
  display: block;
  clear: both;
}

.article-wrap__image {
  float: left;
  width: 320px;
  max-width: 45%;
  margin: var(--space-1) var(--space-6) var(--space-4) 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .article-wrap__image {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 var(--space-4);
  }
}

/* Slow-scrolling strip of food photos — same continuous-scroll
   mechanic as the home page's event marquee (marquee-scroll
   keyframes), just slower and carrying images instead of text. */
.photo-carousel {
  overflow: hidden;
  margin-block: var(--space-7);
}

.photo-carousel__track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}

.photo-carousel__group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.photo-carousel img {
  height: 220px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
  .photo-carousel__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
}

/* Full-bleed photo band introducing Chef Johnny, echoing the hero's
   dark-gradient-over-photo treatment at a smaller scale. */
.chef-band {
  background-image:
    linear-gradient(180deg, rgba(30, 23, 18, 0.78), rgba(30, 23, 18, 0.88)),
    url('/images/truck/truck-menu-window.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-parchment);
  padding-block: var(--space-8);
}

.chef-band__content {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  text-align: left;
}

.chef-band h2 {
  color: var(--color-cream);
}

.chef-band__photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 4px solid var(--color-cream);
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .chef-band__content {
    flex-direction: column;
    text-align: center;
  }
}

.intro {
  background-color: var(--color-bg-alt);
  background-image: url('/images/site/website-background-tile.jpg');
  background-repeat: repeat;
  background-blend-mode: multiply;
  padding-block: var(--space-7);
  text-align: center;
}

.intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.intro h2 {
  margin-top: 0;
}

/* Numbered step columns (e.g. catering's "How It Works") — stacks to
   one column on narrow screens. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-6);
  margin-block: var(--space-6);
}

.steps__step {
  text-align: center;
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-ember);
  color: var(--color-parchment);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}

.steps__step p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Request form paired with a supporting note off to the side, in the
   style of Kogi's catering request layout — stacks on narrow screens. */
.form-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-7);
  align-items: start;
  margin-top: var(--space-5);
}

.form-columns .contact-form {
  margin-top: 0;
  max-width: none;
}

.form-columns__note {
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.form-columns__note p:first-child {
  margin-top: 0;
}

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

/* ===== 14. Schedule ===== */
/* Weekly schedule — clean, scannable day rows in Bayou's rustic
   palette (layout inspired by simple day-by-day schedule lists,
   restyled entirely with our own textures/colors). */
.schedule {
  background-color: var(--color-charcoal);
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px);
  color: var(--color-parchment);
  padding-block: var(--space-7);
}

.schedule h2 {
  color: var(--color-cream);
  margin-top: 0;
}

/* Side-by-side on wide screens: intro/CTA on the left, the week's
   listing on the right. Stacks on mobile. */
.schedule__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .schedule__layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .schedule__intro {
    flex: 0 0 260px;
  }

  .schedule__listing {
    flex: 1;
    min-width: 0;
  }
}

.schedule__intro-text {
  color: var(--color-text-inverse-muted);
  margin-top: var(--space-3);
  max-width: 40ch;
}

.schedule__intro .btn {
  margin-top: var(--space-5);
}

.schedule__range {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-cream);
  margin-bottom: var(--space-4);
}

.schedule__note {
  color: var(--color-text-inverse-muted);
  margin-top: var(--space-2);
  max-width: 60ch;
}

.schedule__week {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* One day, one row. Sometimes a plain <div> (no description to
   expand), sometimes a <details> (description available) — the row
   layout applies to whichever element actually holds the row content. */
.schedule-day {
  background-color: var(--color-charcoal-soft);
  border-left: 4px solid var(--color-ember);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.schedule-day:not(details),
.schedule-day__summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
}

.schedule-day__summary {
  cursor: pointer;
  list-style: none;
}

.schedule-day__summary::-webkit-details-marker {
  display: none;
}

.schedule-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.schedule-day__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-ember);
  border-radius: 50%;
  position: relative;
  transition: transform var(--transition-fast);
}

.schedule-day__toggle::before,
.schedule-day__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-ember);
  transform: translate(-50%, -50%);
}

.schedule-day__toggle::before {
  width: 12px;
  height: 2px;
}

.schedule-day__toggle::after {
  width: 2px;
  height: 12px;
}

.schedule-day[open] .schedule-day__toggle {
  transform: rotate(45deg);
}

.schedule-day__panel {
  padding: 0 var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.schedule-day__address a {
  color: var(--color-fire-gold);
  font-weight: 700;
}

.schedule-day__address a:hover {
  color: var(--color-ember);
}

.schedule-day__description {
  color: var(--color-text-inverse-muted);
}

.schedule-day__name {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--color-cream);
  min-width: 8ch;
}

.schedule-day__date {
  font-size: var(--fs-sm);
  color: var(--color-text-inverse-muted);
}

/* Wraps location/time details when present. */
.schedule-day__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-4);
  color: var(--color-parchment);
}

.schedule-day__location {
  font-weight: 700;
}

.schedule-day__time {
  color: var(--color-text-inverse-muted);
  font-size: var(--fs-sm);
}

@media (min-width: 768px) {
  .schedule-day:not(details),
  .schedule-day__summary {
    padding: var(--space-4) var(--space-6);
  }

  .schedule-day__panel {
    padding: 0 var(--space-6) var(--space-4);
  }

  .schedule-day__name {
    min-width: 10ch;
  }
}

/* ===== 15. Footer ===== */
.site-footer {
  background-color: var(--color-wood-dark);
  color: var(--color-text-inverse-muted);
  padding-block: var(--space-6);
  text-align: center;
  border-top: 4px solid var(--color-ember);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.site-footer p {
  font-size: var(--fs-sm);
  margin: 0;
}

.site-footer p:first-child {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  color: var(--color-cream);
}

/* Optional footer nav/social hooks, ready if added later. */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.footer-nav a:hover {
  color: var(--color-fire-gold);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--color-charcoal-soft);
  color: var(--color-parchment);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background-color: var(--color-ember);
  color: var(--color-parchment);
}

.footer-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
}
