/* =====================================================================
   Smokehauz ni Mang Kulas — design system
   Palette pulled from the brand mark: charcoal smoker, crimson bandana,
   warm cream, tan skin-tone, smoke-gray.
   ===================================================================== */

:root {
  --color-charcoal: #1a1a1a;
  --color-charcoal-soft: #2b2b2b;
  --color-crimson: #b5222a;
  --color-crimson-dark: #8f1b21;
  --color-cream: #faf6ee;
  --color-cream-dim: #f1ead9;
  --color-tan: #f2c9a0;
  --color-tan-dark: #e0ac74;
  --color-smoke: #b8b8b8;
  --color-smoke-light: #e5e5e5;
  --color-ink: #201c18;
  --color-white: #ffffff;

  --font-display: "Oswald", "Rockwell", "Bitter", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px rgba(26, 26, 26, 0.12);
  --shadow-card-hover: 0 16px 40px rgba(26, 26, 26, 0.18);

  --container-width: 1180px;
}

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-crimson);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section--dark {
  background: var(--color-charcoal);
  color: var(--color-cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-cream);
}

.section--tan {
  background: var(--color-cream-dim);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-crimson);
  margin-bottom: 0.6rem;
}

.section-header {
  max-width: 640px;
  margin: 0 0 2rem;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-muted {
  color: #6b645c;
}

.section--dark .text-muted {
  color: var(--color-smoke);
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-crimson);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--color-crimson-dark);
  box-shadow: var(--shadow-card-hover);
  color: var(--color-white);
}

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

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

.section--dark .btn-outline {
  border-color: var(--color-cream);
  color: var(--color-cream);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------------------------------------------------------------------
   Navbar
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-charcoal);
  border-bottom: 3px solid var(--color-crimson);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand:hover {
  text-decoration: none;
  color: var(--color-tan);
}

.brand img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: var(--color-cream);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration: none;
  color: var(--color-tan);
  border-bottom-color: var(--color-crimson);
}

@media (min-width: 981px) {
  .navbar {
    gap: 2.5rem;
  }

  /* Keep each link on one line so a two-word label can't wrap and leave a gap. */
  .nav-links a {
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .nav-links {
    gap: 1.1rem;
  }
}

/* ---------------------------------------------------------------------
   Phone navigation
   - In the browser: the ☰ button opens a dropdown (default on phones).
   - In the installed app (html.is-standalone, set in App.razor): an app-style
     bottom tab bar replaces it, so it never stacks with the browser's own toolbar.
   --------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-md);
  color: var(--color-cream);
  padding: 0.4rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

/* "Get the App" is phone-only, and pointless inside the installed app. */
@media (min-width: 981px) {
  .nav-links li.nav-install {
    display: none;
  }
}

html.is-standalone .nav-links li.nav-install,
html.is-standalone .more-sheet__install {
  display: none;
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-charcoal);
    border-bottom: 3px solid var(--color-crimson);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 620px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  }

  /* "Get the App": last item in the dropdown, shown as a button. */
  .nav-links li.nav-install {
    padding: 0.85rem 1.25rem 1rem;
  }

  .nav-links li.nav-install a {
    width: auto;
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: var(--color-crimson);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
  }

  .nav-links li.nav-install a:hover,
  .nav-links li.nav-install a.active {
    background: var(--color-crimson-dark);
    color: #fff;
  }

  /* ---- Installed app: bottom tab bar instead of the dropdown ---- */
  html.is-standalone .nav-toggle,
  html.is-standalone .nav-links {
    display: none;
  }

  html.is-standalone .mobile-nav {
    display: block;
  }

  /* Leave room so the fixed tab bar never covers page content. */
  html.is-standalone body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    background: var(--color-charcoal);
    border-top: 3px solid var(--color-crimson);
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  }

  .tab {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    height: 58px;
    padding: 0.25rem 0;
    background: transparent;
    border: 0;
    color: var(--color-smoke);
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .tab svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tab:hover {
    text-decoration: none;
    color: var(--color-cream);
  }

  .tab.active {
    color: var(--color-crimson);
  }

  .tab.active span {
    font-weight: 700;
  }

  .more-backdrop {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(0, 0, 0, 0.45);
  }

  .more-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(61px + env(safe-area-inset-bottom, 0px));
    z-index: 850;
    background: var(--color-charcoal);
    border-radius: 16px 16px 0 0;
    padding: 0.5rem 0 0.75rem;
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
  }

  .more-sheet.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.22s ease;
  }

  .more-sheet ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .more-sheet a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: var(--color-cream);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  }

  .more-sheet a:hover,
  .more-sheet a.active {
    text-decoration: none;
    color: var(--color-tan);
  }

  .more-sheet li:last-child a {
    border-bottom: 0;
  }

  /* Keep other floating messages above the tab bar. */
  html.is-standalone .pwa-banner {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  html.is-standalone #blazor-error-ui {
    bottom: calc(61px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------------------------------------------------------------------
   Smoke-wisp divider motif
   --------------------------------------------------------------------- */
.smoke-divider {
  width: 100%;
  height: 48px;
  display: block;
  color: var(--color-smoke);
  opacity: 0.55;
}

.smoke-divider--dark {
  color: var(--color-charcoal-soft);
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, #2c2c2c 0%, var(--color-charcoal) 55%);
  color: var(--color-cream);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--color-tan);
}

.hero-copy h1 {
  color: var(--color-cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  max-width: 340px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }
}

/* ---------------------------------------------------------------------
   Cards / grids
   --------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-photo {
  aspect-ratio: 4 / 3;
  background: var(--color-tan) linear-gradient(160deg, var(--color-tan), var(--color-tan-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 26, 26, 0.35);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.card-title-row h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card-price {
  font-family: var(--font-display);
  color: var(--color-crimson);
  font-size: 1.05rem;
  white-space: nowrap;
}

.card-desc {
  color: #5c554d;
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--color-tan);
  color: var(--color-charcoal);
  width: fit-content;
}

.badge--crimson {
  background: var(--color-crimson);
  color: var(--color-white);
}

.badge--muted {
  background: var(--color-smoke-light);
  color: #555;
}

/* ---------------------------------------------------------------------
   Category filter chips
   --------------------------------------------------------------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.chip {
  border: 2px solid var(--color-charcoal);
  background: transparent;
  color: var(--color-charcoal);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip.active,
.chip:hover {
  background: var(--color-charcoal);
  color: var(--color-cream);
}

.search-input {
  width: 100%;
  max-width: 360px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-smoke-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  background: var(--color-white);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-crimson);
}

/* Menu page: sticky category bar + one section per category */
.menu-nav {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 30;
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0.7rem 0;
  overflow-x: auto;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-smoke-light);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.menu-nav::-webkit-scrollbar {
  display: none;
}

.menu-nav .chip {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Anchor targets that the sticky header would otherwise cover (Franchise "Inquire Now", event "Register"). */
#inquiry,
#register {
  scroll-margin-top: calc(var(--header-h, 64px) + 1rem);
}

.menu-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--header-h, 64px) + 4.5rem);
}

.menu-section-title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------------------
   Branch / schedule tables
   --------------------------------------------------------------------- */
.branch-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.branch-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.branch-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.branch-status--open {
  background: #e4f3e1;
  color: #256b1f;
}

.branch-status--closed {
  background: #f5e2e2;
  color: var(--color-crimson-dark);
}

.branch-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-smoke-light);
}

.hours-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #6b645c;
}

.hours-table tr.today {
  background: var(--color-cream-dim);
  font-weight: 600;
}

.hours-table .closed {
  color: var(--color-crimson);
}

/* ---------------------------------------------------------------------
   Food truck schedule
   --------------------------------------------------------------------- */
.truck-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.truck-day-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  border-top: 4px solid var(--color-crimson);
}

.truck-day-card.today {
  border-top-color: var(--color-tan-dark);
  background: var(--color-cream-dim);
}

.truck-day-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-crimson);
  margin-bottom: 0.5rem;
}

.truck-day-card.today .truck-day-name {
  color: var(--color-charcoal);
}

.truck-empty {
  color: #8a8378;
  font-style: italic;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.1rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-charcoal);
  cursor: pointer;
}

.faq-question .icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--color-crimson);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.35rem;
  color: #5c554d;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.35rem 1.25rem;
}

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

/* Two fields side by side across the full width of the grid (stacks when the row is narrow). */
.form-row-2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-smoke-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
  color: var(--color-ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-crimson);
}

.rating-select {
  display: flex;
  gap: 0.4rem;
}

.rating-star {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-smoke-light);
  background: none;
  border: none;
  padding: 0;
}

.rating-star.filled {
  color: var(--color-tan-dark);
}

.form-alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.form-alert--success {
  background: #e4f3e1;
  color: #256b1f;
}

.form-alert--error {
  background: #f5e2e2;
  color: var(--color-crimson-dark);
}

.validation-message {
  color: var(--color-crimson);
  font-size: 0.82rem;
}

/* ---------------------------------------------------------------------
   Photo gallery / testimonials
   --------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

.gallery-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.gallery-photos img {
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.stars {
  color: var(--color-tan-dark);
  letter-spacing: 0.1em;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------------
   Admin / moderation
   --------------------------------------------------------------------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-smoke-light);
  vertical-align: top;
}

.admin-table th {
  background: var(--color-charcoal);
  color: var(--color-cream);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.admin-login-box {
  max-width: 380px;
  margin: 4rem auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-smoke);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--color-cream);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid a {
  color: var(--color-smoke);
}

.footer-grid a:hover {
  color: var(--color-tan);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 0.9rem;
}

/* ---------------------------------------------------------------------
   Misc utility
   --------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.stat {
  font-family: var(--font-display);
}

.stat .value {
  font-size: 2rem;
  color: var(--color-crimson);
  display: block;
}

.section--dark .stat .value {
  color: var(--color-tan);
}

.stat .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-smoke);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #8a8378;
}

.empty-state img {
  max-width: 160px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.not-found {
  text-align: center;
  padding: 5rem 1.25rem;
}

.not-found img {
  max-width: 220px;
  margin: 0 auto 1.5rem;
}

/* ---------------------------------------------------------------------
   Small phones
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero .container {
    gap: 1.75rem;
  }

  .hero-art img {
    max-width: 220px;
  }

  .brand {
    font-size: 0.9rem;
    gap: 0.5rem;
    line-height: 1.15;
  }

  .brand img {
    height: 34px;
    width: 34px;
  }

  .grid-2 {
    gap: 1.5rem;
  }

  .stat-row {
    gap: 1.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .truck-schedule-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
  }

  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .branch-card,
  .gallery-card {
    padding: 1.1rem;
  }
}

/* ---------------------------------------------------------------------
   Franchise packages / contact details
   --------------------------------------------------------------------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
  align-items: start;
}

.package-card .card-body {
  gap: 0.75rem;
}

.package-card h4 {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-price {
  display: flex;
  flex-direction: column;
}

.package-price__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b645c;
}

.package-price .card-price {
  font-size: 1.6rem;
}

.package-price__old {
  margin-left: 0.5rem;
  font-size: 0.95rem;
  color: #8a8279;
}

.package-costs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.package-costs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.package-estimate,
.package-ideal,
.package-note {
  margin: 0;
  font-size: 0.9rem;
}

.package-note {
  font-size: 0.82rem;
}

.package-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-crimson);
}

.check-list,
.cross-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.check-list li,
.cross-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-crimson);
  font-weight: 700;
}

.cross-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: #8a8279;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-details strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b645c;
}
.equipment-package {
  margin-top: 3rem;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem 2rem;
  margin: 0.5rem 0;
}

.equipment-grid h4,
.equipment-package h4 {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section--dark .form-field label {
  color: var(--color-cream);
}

/* PWA install banner (created by js/pwa.js) */
.pwa-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: min(92vw, 460px);
  padding: .75rem .9rem;
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  font-size: .92rem;
}

.pwa-banner__text { flex: 1; }

.pwa-banner__action {
  background: var(--color-crimson);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: .5rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pwa-banner__close {
  background: transparent;
  color: var(--color-smoke);
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* Install page */
.install-page { max-width: 640px; }
.install-card { text-align: center; }
.install-steps { text-align: left; margin: 1rem auto; padding-left: 1.25rem; max-width: 30rem; }
.install-steps li { margin-bottom: .75rem; }
.install-glyph { display: inline-block; padding: 0 .35rem; border: 1px solid var(--color-smoke); border-radius: 4px; }
.install-qr { display: block; margin: 1rem auto 0; max-width: 100%; height: auto; }

/* Event page (/bbq-class) and payment page */
.event-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.event-hero__poster img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.event-facts {
  padding-left: 1.2rem;
  margin: 1rem 0 1.5rem;
}

.event-facts li { margin-bottom: 0.4rem; }

.event-steps-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.event-steps { padding-left: 1.2rem; }
.event-steps li { margin-bottom: 0.75rem; }
.event-refunds { padding-left: 1.2rem; margin: 0.5rem 0 0; }
.event-refunds li { margin-bottom: 0.5rem; }

.choice-group {
  border: 0;
  padding: 0;
  margin: 1.5rem 0 0;
  min-width: 0;
}

.choice-group legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  padding: 0;
}

.choice-group legend span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-ink);
  opacity: 0.65;
}

.choice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  background: var(--color-white);
  border: 2px solid var(--color-smoke-light);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.choice.selected {
  border-color: var(--color-crimson);
  box-shadow: 0 0 0 1px var(--color-crimson);
}

.choice input {
  margin-top: 0.3rem;
  accent-color: var(--color-crimson);
  flex: none;
}

.choice__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.choice__body em { font-style: normal; color: var(--color-crimson); font-weight: 600; }
.choice__body small { color: var(--color-ink); opacity: 0.75; line-height: 1.4; }

.total-bar {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-charcoal);
  color: var(--color-cream);
  border-radius: var(--radius-md);
}

.total-bar ul { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.total-bar li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.total-bar__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(250, 246, 238, 0.25); padding-top: 0.6rem; }
.total-bar__total strong { font-size: 1.6rem; color: var(--color-tan); }
.total-bar .text-muted { color: var(--color-smoke); }

.pay-ref-label { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.pay-ref { margin: 0.1rem 0 0.75rem; font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.08em; color: var(--color-crimson); }
.pay-amount strong { font-size: 1.4rem; }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.pay-card .card-body { text-align: center; }
.pay-card img { width: 100%; max-width: 320px; height: auto; border-radius: 8px; margin: 0.5rem auto 1rem; display: block; }

@media (max-width: 800px) {
  .event-hero,
  .event-steps-wrap {
    grid-template-columns: 1fr;
  }

  .event-hero__poster { order: -1; max-width: 420px; margin: 0 auto; }
}

/* RC package panel: the Mudace logo and the package as one feature, in the same green as the Home promo. */
.rc-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 17rem 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-lg, 1.25rem);
  color: var(--color-cream);
  background:
    radial-gradient(34rem 20rem at 8% 50%, rgba(181, 34, 42, 0.38), transparent 65%),
    linear-gradient(160deg, #15291f 0%, #0d1a13 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

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

.rc-panel__logo img {
  width: 100%;
  max-width: 15rem;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(242, 201, 160, 0.35)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s ease;
}

.rc-panel:hover .rc-panel__logo img { transform: rotate(-4deg) scale(1.03); }

.rc-panel__eyebrow {
  display: inline-block;
  color: var(--color-tan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rc-panel h1,
.rc-panel h3 {
  margin: 0.3rem 0 0.5rem;
  color: var(--color-cream);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  text-transform: uppercase;
}

.rc-panel__date {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--color-crimson);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rc-panel__times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0 0 0.9rem;
  color: var(--color-cream);
  font-size: 0.95rem;
}

.rc-panel__times strong { color: var(--color-tan); }

.rc-panel__lead { margin: 0 0 0.75rem; color: rgba(250, 246, 238, 0.85); }

.rc-panel__perks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.45rem; }

.rc-panel__perks li {
  position: relative;
  padding-left: 1.8rem;
}

.rc-panel__perks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-crimson);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-panel__perks strong { color: var(--color-tan); }

.rc-panel__more {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--color-tan);
  border-radius: var(--radius-md);
  color: rgba(250, 246, 238, 0.9);
  font-size: 0.9rem;
}

.rc-panel__more strong { color: var(--color-tan); }

.rc-panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

.rc-panel__price span { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--color-tan); }
.rc-panel__price small { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: rgba(250, 246, 238, 0.7); }

@media (max-width: 800px) {
  .rc-panel { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 1.4rem; text-align: left; }
  .rc-panel__logo img { max-width: 11rem; }
}


.rc-panel__where { margin: 1.1rem 0 0; font-size: 0.85rem; color: rgba(250, 246, 238, 0.65); }

.rc-panel--page .rc-panel__logo img { max-width: 17rem; }

/* Teaser on the BBQ page that sends people to the separate RC page. */
.rc-teaser {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg, 1.25rem);
  color: var(--color-cream);
  text-decoration: none;
  background:
    radial-gradient(24rem 14rem at 6% 50%, rgba(181, 34, 42, 0.38), transparent 65%),
    linear-gradient(160deg, #15291f 0%, #0d1a13 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rc-teaser:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.rc-teaser img { width: 6rem; height: 6rem; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)); }
.rc-teaser__body { display: grid; gap: 0.3rem; }
.rc-teaser__body strong { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; }
.rc-teaser__body span { color: rgba(250, 246, 238, 0.85); font-size: 0.95rem; }
.rc-teaser__cta { color: var(--color-tan); font-weight: 700; white-space: nowrap; }

@media (max-width: 800px) {
  .rc-teaser { grid-template-columns: 4.5rem 1fr; padding: 1.1rem; }
  .rc-teaser img { width: 4.5rem; height: 4.5rem; }
  .rc-teaser__cta { grid-column: 1 / -1; }
}

/* Home page event promo: dark forest green with the poster's red and cream, poster on the left (stacks, poster first, on phones); no diagonal stripe texture (removed at the user's request). */
.event-hero__poster { display: block; }

.event-promo {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  color: var(--color-cream);
  background:
    radial-gradient(60rem 28rem at 12% 30%, rgba(181, 34, 42, 0.38), transparent 62%),
    radial-gradient(40rem 24rem at 95% 90%, rgba(242, 201, 160, 0.12), transparent 60%),
    linear-gradient(160deg, #15291f 0%, #0d1a13 100%);
}

.event-promo__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 4rem;
  align-items: center;
}

.event-promo__poster-wrap { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }

.event-promo__poster {
  display: block;
  transform: rotate(-2.5deg);
  transition: transform 0.25s ease;
}

.event-promo__poster:hover { transform: rotate(0deg) scale(1.02); }

.event-promo__poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 4px solid var(--color-cream);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 60px rgba(181, 34, 42, 0.35);
}

.event-promo__badge {
  position: absolute;
  top: -1.6rem;
  right: -2.4rem;
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 50%;
  background: var(--color-crimson);
  color: #fff;
  border: 3px solid var(--color-cream);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
  line-height: 1;
}

.event-promo__badge strong { font-size: 2.1rem; font-family: var(--font-display, inherit); }
.event-promo__badge span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }

.event-promo__pill {
  display: inline-block;
  background: var(--color-crimson);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.event-promo__when {
  margin: 1rem 0 0.25rem;
  color: var(--color-tan);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.event-promo h2 {
  margin: 0 0 0.4rem;
  color: var(--color-cream);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.event-promo h2 span { color: var(--color-crimson); }

.event-promo__tag {
  margin: 0 0 1rem;
  color: var(--color-tan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.event-promo__text { max-width: 36rem; color: rgba(250, 246, 238, 0.88); }

.event-promo__prices {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 36rem;
}

.event-promo__prices li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 201, 160, 0.28);
  border-radius: var(--radius-md);
}

.event-promo__prices span { font-size: 0.85rem; color: rgba(250, 246, 238, 0.8); }
.event-promo__prices strong { font-size: 1.5rem; color: var(--color-tan); line-height: 1.1; }

.event-promo__perk {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px dashed var(--color-tan);
  border-radius: 999px;
  color: var(--color-tan);
  font-size: 0.9rem;
  font-weight: 600;
}

.event-promo__cta {
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  box-shadow: 0 10px 26px rgba(181, 34, 42, 0.5);
}

.event-promo__where { margin: 1rem 0 0; font-size: 0.85rem; color: rgba(250, 246, 238, 0.65); }
.event-promo__where a { color: var(--color-tan); text-decoration: underline; }

@media (max-width: 800px) {
  .event-promo { padding: 3.5rem 0 4rem; }
  .event-promo__inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .event-promo__poster-wrap { max-width: 340px; }
  .event-promo__badge { top: -1.5rem; right: -0.5rem; width: 5.2rem; height: 5.2rem; }
  .event-promo__badge strong { font-size: 1.7rem; }
}

/* One-day truck pop-ups on /food-truck-schedule: poster on the left, details on the right (stacks on phones). */
.popup-heading { margin: 0 0 1rem; }

.popup {
  display: grid;
  grid-template-columns: minmax(0, 26rem) 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.popup__poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.popup__count {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--color-crimson);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup__body h3 { margin: 0.8rem 0 0.4rem; font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
.popup__date { margin: 0 0 0.25rem; font-size: 1.15rem; font-weight: 700; color: var(--color-crimson); }
.popup__place { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.popup__tag { margin: 0 0 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink); }

@media (max-width: 800px) {
  .popup { grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem; }
}


/* Compact pop-up card on the Home page (the whole card links to the schedule page). */
a.popup { color: inherit; text-decoration: none; }
.popup--compact { grid-template-columns: minmax(0, 14rem) 1fr; gap: 1.75rem; margin: 1.25rem 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.popup--compact:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); }
.popup--compact .popup__body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0.6rem 0 0.3rem; }
.popup--compact .popup__place { font-size: 1.25rem; }
.popup--compact .popup__tag { margin-bottom: 0; }

@media (max-width: 800px) {
  .popup--compact { grid-template-columns: 7.5rem 1fr; gap: 1rem; }
}

/* Notice that replaces the event pages after the event was cancelled. */
.event-cancelled { max-width: 42rem; margin: 0 auto; text-align: center; padding: 1rem 0 2rem; }
.event-cancelled__tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--color-crimson);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.event-cancelled h1 { margin: 1rem 0 0.4rem; }
.event-cancelled__when { color: var(--color-crimson); font-weight: 700; margin-bottom: 1.5rem; }
.event-cancelled p { margin: 0 0 1rem; }
.event-cancelled__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* Keep side-by-side form fields level: selects and inputs share one height. */
.form-field select,
.form-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  min-height: 3rem;
  box-sizing: border-box;
}

/* Two equal columns that stack on phones (used by the event forms). */
.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 600px) {
  .form-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Observer pass section stays visible but greyed out when it doesn't apply. */
.choice-group--off .choice {
  opacity: 0.5;
  cursor: not-allowed;
}

.choice-note {
  margin: 0 0 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--color-cream-dim);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

/* Seat availability tags */
.seat-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--color-tan);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.seat-tag--full {
  background: var(--color-crimson);
  color: #fff;
}

.choice--full {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Receipt image on the confirm page */
.proof-img {
  display: block;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  border: 1px solid var(--color-smoke-light);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}
