/* ============================================
   Darlise Cafe, Dark Retheme
   Deep navy-charcoal + warm cream + one terracotta accent
   (retheme of the Rustico Kitchen dark base, class vocabulary preserved)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand (navy, verbatim) + accent (terracotta, verbatim) */
  --color-brand:        #ED3237;   /* nav bar, footer, page-hero band, solid brand buttons */
  --color-brand-dark:   #DE1319;   /* deeper navy panel (mobile drawer) */
  --color-brand-light:  #DA6C6F;   /* navy family as TEXT/icon color on the dark page (AA-safe) */
  --color-accent:       #FCB900;   /* CTA fills, active tab fill, borders/underlines (decorative) */
  --color-accent-light: #FFC526;   /* accent hover; small accent text directly on the dark page (AA-safe) */
  --color-accent-dim:   #D39B00;
  --color-accent-ink:   #E3C36B;   /* terracotta as small TEXT on the dark page/cards (AA-safe) */

  /* Surfaces, dark retheme: rich navy-charcoal, never pure black */
  --color-bg:      #280F0D;  /* page base */
  --color-bg-warm: #311614;  /* alt band, slightly lighter (info bar, reviews, alternating sections) */
  --color-bg-card: #401C1A;  /* elevated surface: cards, menu rows, forms (always lighter than the section behind it) */
  --color-surface: #401C1A;

  /* Text */
  --color-text:      #EDE7D9;  /* warm cream body text/headings on dark (never pure white) */
  --color-text-dim:  rgba(237,231,217,0.7);  /* secondary / captions, >= /65 for AA */
  --color-cream:     #FDFBF7;  /* brightest cream, nav/footer wordmark + hero */
  --color-cream-dim: rgba(253,251,247,0.78); /* secondary on nav/footer/hero, >= /65 for AA */

  --color-overlay: rgba(26, 11, 10, 0.72);   /* deepened navy-charcoal hero overlay for legibility */
  --color-border:       rgba(253,251,247,0.09);
  --color-border-hover: rgba(193,80,46,0.4);

  /* Dark-theme depth: near-black shadows (a warm-charcoal shadow would vanish on a dark page) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 28px -14px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,0.65);

  /* Typography: Plus Jakarta Sans display, DM Sans body, Caveat script accent (no Fraunces) */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-light); }
button { cursor: pointer; font-family: var(--font-body); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--color-text); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.2; }

.font-script { font-family: var(--font-script); font-weight: 400; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent-ink);
}

/* Centered section labels */
.menu-header .section-label,
.testimonials .section-label,
#promotions .section-label,
#contact .section-label,
[style*="text-align:center"] .section-label,
[style*="text-align: center"] .section-label {
  justify-content: center;
}
.menu-header .section-label::before,
.testimonials .section-label::before,
#promotions .section-label::before,
#contact .section-label::before,
[style*="text-align:center"] .section-label::before,
[style*="text-align: center"] .section-label::before {
  display: none;
}

/* Left-aligned labels */
.events-section .section-label,
.about-text .section-label {
  justify-content: flex-start;
}

/* Dark page: section titles are cream-on-dark everywhere (nav/photo bands
   already used cream for this role, so this now matches throughout). */
.section-title {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193, 80, 46, 0.28);
}

/* Dark-theme default: cream border + cream text (used off the hero, over the dark page) */
.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(253, 251, 247, 0.32);
}
.btn-outline:hover {
  border-color: var(--color-cream);
  background: rgba(253, 251, 247, 0.08);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* Hero-only variant: stays white/cream for legibility over the photo + overlay */
.hero .btn-outline {
  background: rgba(19, 44, 76, 0.35);
  backdrop-filter: blur(4px);
  color: var(--color-cream);
  border: 1.5px solid var(--color-cream-dim);
}
.hero .btn-outline:hover {
  border-color: var(--color-cream);
  background: rgba(19, 44, 76, 0.5);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-brand);
  color: var(--color-cream);
  border: 1px solid var(--color-brand);
}
.btn-dark:hover {
  background: var(--color-brand-dark);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* --- Navigation --- */
/* Solid navy bar throughout (not a transparent-over-hero scrim); no backdrop-filter
   on this ancestor so the fixed mobile drawer never inherits a containing block
   from a blurred parent. */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: var(--color-brand);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  padding: 0.65rem 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Wordmark: "Darlise" in Jakarta 800 cream + "Cafe" in Caveat script terracotta.
   (Text-lockup brand mark, exempt from body-text contrast per WCAG 1.4.3.) */
.nav-logo,
.footer-brand .wordmark {
  display: inline-flex;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  line-height: 1;
  transition: font-size 0.25s;
}
.nav.scrolled .wordmark { font-size: 1.35rem; }
.wordmark .wordmark-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.35em;
  color: var(--color-accent);
  line-height: 1;
}

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

.nav-links a {
  color: var(--color-cream-dim);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--color-cream); }

/* Phone number, desktop-only, visible beside the CTA */
.nav-phone {
  display: none;
  color: var(--color-cream-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--color-cream); }

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--color-accent-light);
  color: #fff !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* Groups the cart button, Call Us CTA and hamburger toggle so the cart sits
   before Call Us and both stay visible even when the mobile drawer is closed. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Nav cart button + count badge */
.nav-cart {
  position: relative;
  background: none;
  border: none;
  color: var(--color-cream);
  padding: 0.25rem;
}
.nav-cart svg { width: 20px; height: 20px; }
.nav-cart:hover { color: var(--color-accent-light); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge:empty { display: none; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-cream);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, var(--color-overlay) 0%, rgba(10,16,26,0.5) 50%, var(--color-overlay) 100%),
    url('../img/hero-breakfast-grill.jpg') center/cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 var(--space-md) 0 clamp(var(--space-md), 8vw, 6rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* Light on the navy overlay: raw terracotta text here would fail AA (~1.75:1
     against the navy scrim), so the badge text stays cream and terracotta is
     used only for the small decorative bar. */
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.hero-badge::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-accent);
}

.hero h1 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero h1 em,
.hero h1 .font-script {
  font-style: normal;
  font-family: var(--font-script);
  color: var(--color-accent-light);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-cream-dim);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
.hero-actions .btn {
  padding: 0.85rem 1.75rem;
  white-space: nowrap;
}

/* --- Info Bar --- */
.info-bar {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.info-bar-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  font-size: 0.85rem;
}
.info-item a { color: var(--color-text); }
.info-item a:hover { color: var(--color-accent-ink); }

.info-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
}

/* --- Sections --- */
section {
  padding: 3.75rem 0;
  position: relative;
  scroll-margin-top: 64px; /* fixed nav height: anchor jumps land below the bar */
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
  margin-top: var(--space-lg);
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The About photo is a tall portrait whose lower third is a foreground plant;
   bias the crop upward so the fireplace + dining tables stay in frame. */
#about .about-img img { object-position: center 22%; }

.about-text .section-label {
  justify-content: flex-start;
}

.about-text p {
  color: var(--color-text-dim);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  line-height: 1.75;
}

/* Proof points render as short labeled rows, not a grid of identical cards. */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.9rem var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border-left: 2px solid var(--color-accent-ink);
  box-shadow: var(--shadow-sm);
}

.about-feature svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* --- Chef section (reuses the #events DOM slot) --- */
.events-section {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-lg);
}

.events-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.events-photos img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Single chef portrait framing (the section's primary photo slot) */
.events-info .about-img,
.events-grid > .about-img {
  box-shadow: var(--shadow-md);
}

.events-info h3 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}
.events-info p {
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.75;
}

/* Verbatim pull-quote styling, used for the Chef section and anywhere a
   direct quote needs emphasis without inventing a new voice. */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.5;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
}

.event-types {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.event-type {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border-left: 2px solid var(--color-accent-ink);
  box-shadow: var(--shadow-sm);
}

.event-type-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(111, 160, 216, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-type-icon svg { width: 18px; height: 18px; color: var(--color-brand-light); }

.event-type h4 {
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.event-type p {
  color: var(--color-text-dim);
  font-size: 0.82rem;
  margin: 0;
}

/* --- Menu Preview --- */
.menu-section {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.menu-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.menu-header .section-desc {
  margin: 0 auto;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.menu-tab {
  padding: 0.55rem 1.4rem;
  background: transparent;
  color: var(--color-text-dim);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.menu-tab:hover {
  color: var(--color-cream);
}
.menu-tab.active {
  background: var(--color-accent);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.menu-category { display: none; }
.menu-category.active { display: grid; }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.menu-item:hover {
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.menu-item-info { min-width: 0; }

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.menu-item-tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

/* Dietary tags stay navy-toned; terracotta is reserved for CTAs/eyebrows/active
   states only. */
.menu-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: rgba(111, 160, 216, 0.14);
  color: var(--color-brand-light);
}

.menu-item-price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Add to cart button on menu items, an obvious "+ Add" pill */
.menu-item-add {
  height: 34px;
  padding: 0 0.9rem;
  gap: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  transition: all 0.2s;
}
.menu-item-add::after { content: 'Add'; }
.menu-item-add:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.menu-cta {
  text-align: center;
  margin-top: var(--space-lg);
}
.menu-note {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

/* --- Full Menu Page --- */
/* Navy page-hero band (menu.html) */
.page-hero {
  padding: calc(3.25rem + var(--space-md)) 0 var(--space-md);
  text-align: center;
  background: var(--color-brand);
  border-bottom: 1px solid var(--color-border);
}
/* Terracotta text is too low-contrast directly on the solid navy band, so the
   label itself stays cream; the decorative rule keeps the terracotta accent. */
.page-hero .section-label { justify-content: center; color: var(--color-cream); }
.page-hero .section-label::before { background: var(--color-accent-light); }
.page-hero .section-title,
.page-hero h1 { color: var(--color-cream); }
.page-hero .section-desc { color: var(--color-cream-dim); }

.full-menu-section {
  padding: var(--space-lg) 0;
}

.full-menu-category {
  margin-bottom: var(--space-xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
}

.category-header h3 {
  color: var(--color-cream);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-header .line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* --- Gallery (reuses the #promotions DOM slot) --- */
.promos-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Retheme of the legacy promo-card, kept in case it is reused as a gallery tile */
.promo-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* --- Testimonials / Reviews --- */
.testimonials {
  text-align: center;
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.rating-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}
.rating-score {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
}
.rating-stars {
  color: var(--color-accent-ink);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.testimonial-card {
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 3px);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  text-align: left;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(193, 80, 46, 0.12);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-stars {
  color: var(--color-accent-ink);
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.1em;
}

.testimonial-card blockquote {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: normal;
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-cream);
}

.testimonial-source {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

/* --- Visit / Contact + Map --- */
#contact .section-label { justify-content: center; }

/* Combine contact details + map into one cohesive block */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border-left: 2px solid var(--color-accent-ink);
  box-shadow: var(--shadow-sm);
}
.visit-detail svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.visit-detail strong {
  display: block;
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.visit-detail span,
.visit-detail p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-container {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lightweight, honest pre-order / message form (no cart, no checkout) */
.lead-form {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 6rem;
}
.lead-form h3 {
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}
.lead-form .section-desc {
  margin-bottom: var(--space-md);
}

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

/* --- Forms (shared: lead-form) --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

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

.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.form-submit {
  width: 100%;
  margin-top: var(--space-xs);
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: var(--color-brand);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .wordmark { margin-bottom: var(--space-sm); }
.footer-brand p {
  color: var(--color-cream-dim);
  font-size: 0.85rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /* Terracotta text fails AA directly on the solid navy footer; cream carries
     the label, terracotta is kept on the icons below via a lighter tint. */
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; font-size: 0.85rem; color: var(--color-cream-dim); }
.footer-col a {
  color: var(--color-cream-dim);
  font-size: 0.85rem;
}
.footer-col a:hover { color: var(--color-cream); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact li svg { width: 15px; height: 15px; flex: none; margin-top: 0.18rem; color: var(--color-cream); }

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--color-cream-dim);
}
.footer-hours-row span:first-child { color: var(--color-cream); font-weight: 600; }
/* Values form one aligned right column ("Closed" lines up with the hours). */
.footer-hours-row span:last-child { text-align: right; white-space: nowrap; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(253,251,247,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-cream-dim);
}

/* --- Cart Drawer --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: transparent; /* no page dim, drawer slides in over the page */
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.cart-header h3 {
  color: var(--color-cream);
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-close {
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: 1.4rem;
  padding: 0.25rem;
}
.cart-close:hover { color: var(--color-cream); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm) var(--space-md);
}

.cart-empty {
  text-align: center;
  color: var(--color-text-dim);
  padding: var(--space-lg) 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-info h4 {
  color: var(--color-cream);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-cream);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { border-color: var(--color-accent); color: var(--color-accent-ink); }

.cart-item-price {
  color: var(--color-accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}
.cart-total span:first-child {
  color: var(--color-cream);
  font-weight: 600;
  font-size: 0.9rem;
}
.cart-total span:last-child {
  color: var(--color-accent-ink);
  font-family: var(--font-body);          /* sans = decimals like .29 read cleanly */
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Compact checkout fields inside the drawer footer */
.cart-checkout-fields {
  margin-bottom: var(--space-sm);
}
.cart-checkout-fields .form-group { margin-bottom: 0.6rem; }
.cart-checkout-fields label { font-size: 0.68rem; }
.cart-checkout-fields input { padding: 0.6rem 0.75rem; }

.cart-checkout { width: 100%; justify-content: center; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-accent);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Success Modal (may be reused for the pre-order form confirmation) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,34,56,0.55);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 420px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(111, 160, 216, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}
.modal-icon svg { width: 28px; height: 28px; color: var(--color-brand-light); }

.modal h3 {
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}
.modal p {
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Responsive --- */
/* lg breakpoint for the nav: wordmark + phone + CTA are wide, switch to the
   hamburger earlier than the content-stacking breakpoints below. */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-brand-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--space-lg) var(--space-lg);
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }

  .nav-phone { display: none !important; }
}

@media (min-width: 1025px) {
  .nav-phone { display: inline-block; }
}

@media (max-width: 968px) {
  .hero-bg {
    background:
      linear-gradient(180deg, var(--color-overlay) 0%, rgba(10,16,26,0.58) 40%, var(--color-overlay) 100%),
      url('../img/hero-breakfast-grill.jpg') center/cover;
  }

  .hero-content {
    padding: 0 var(--space-md);
    text-align: center;
  }
  .hero-badge { justify-content: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .about-grid,
  .events-grid { grid-template-columns: 1fr; }

  .menu-grid { grid-template-columns: 1fr; }

  .promos-grid,
  .gallery-grid,
  .testimonial-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  /* Keep the H1 + both CTAs comfortably above the fold at 375px wide. */
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  .hero-sub { margin-bottom: var(--space-md); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .info-bar-inner { flex-direction: column; align-items: center; gap: var(--space-xs); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(193, 80, 46, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}
.back-to-top svg { width: 20px; height: 20px; }

/* --- Animations --- */
/* Progressive enhancement: content is visible by default; the hidden initial
   state only applies once JS tags <html class="js-anim"> (and JS also carries a
   failsafe reveal). Without JS or IntersectionObserver, nothing stays blank. */
html.js-anim .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js-anim .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .btn-primary:hover, .btn-outline:hover, .back-to-top:hover { transform: none; }
}

/* --- Assembly reconciliation (orchestrator): replaces builder inline styles --- */
.about-text .res-details { margin-top: var(--space-lg); }
.section-head-center { text-align: center; }
.section-head-center .section-label { justify-content: center; }
#visit .section-head-center { margin-bottom: var(--space-lg); }
#reviews.testimonials { background: var(--color-bg-warm); }
#visit .hero-actions { margin-top: var(--space-lg); flex-wrap: wrap; }
#visit .map-container { height: 100%; min-height: 320px; }
.visit-note {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  max-width: 640px;
  margin: var(--space-xl) auto 0;
}
.page-hero .section-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.page-hero .section-desc { margin: 0 auto; max-width: 560px; }
.menu-cta { padding-bottom: var(--space-lg); }
.menu-cta .section-desc { margin: 0 auto var(--space-sm); text-align: center; }
.menu-cta .section-desc + .section-desc { margin-bottom: var(--space-md); }
.visit-section { background: var(--color-bg); }
.about-text .visit-details { margin-top: var(--space-lg); }

/* Non-impersonation disclosure (required on every preview) + conversion CTA */
.preview-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2000;
  display: inline-flex;
  align-items: stretch;
  background: rgba(12, 16, 24, 0.85);
  font-size: 0.72rem;
  line-height: 1;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.92;
}
.preview-badge:hover, .preview-badge:focus-within { opacity: 1; }
.preview-badge a {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.preview-badge a:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: -2px;
}
.preview-badge-info, .preview-badge-info:hover { color: #fff; }
.preview-badge-cta {
  background: var(--color-accent);
  color: var(--color-cream);
  font-weight: 600;
}
.preview-badge-cta:hover { background: var(--color-accent-light); color: var(--color-cream); }

/* --- Order Ahead section (real channels only: phone + pre-order request) --- */
.order-section {
  background: var(--color-bg-warm);
  text-align: center;
}
.order-header { margin-bottom: var(--space-lg); }
.order-header .section-label { justify-content: center; }
.order-header .section-label::before { display: none; }
.order-header .section-desc { margin: 0 auto; }
.order-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: var(--max-width);
  margin: 0 auto;
}
.order-card {
  padding: var(--space-md) var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.order-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.order-card-icon {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-card-icon .brand-logo { height: 30px; width: auto; max-width: 170px; display: block; }
.order-card-icon svg { width: 30px; height: 30px; color: var(--color-accent-light); }
.order-card h3 { color: var(--color-cream); font-size: 1.1rem; font-weight: 500; }
.order-card p { color: var(--color-text-dim); font-size: 0.82rem; line-height: 1.5; }
.order-card .btn { margin-top: auto; }
@media (max-width: 968px) {
  .order-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .order-options { grid-template-columns: 1fr; }
}

/* Ordering instruction pill (Rustico pattern, Darlise's real flow) */
.order-hint {
  margin-top: 0.85rem;
  display: inline-block;
  background: rgba(193, 80, 46, 0.14);
  border: 1px solid var(--color-border-hover);
  color: var(--color-cream);
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.order-hint strong { color: var(--color-accent-light); }
.order-hint a { color: var(--color-cream); text-decoration: underline; text-underline-offset: 3px; }
.order-hint a:hover { color: var(--color-accent-light); }

/* "Order Online" pill next to Call Us (desktop); the mobile drawer already
   carries an Order link, so hide the pill where the bar gets tight. */
.nav-order {
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--color-cream-dim);
  color: var(--color-cream);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.nav-order:hover {
  border-color: var(--color-cream);
  background: rgba(253, 251, 247, 0.08);
  color: var(--color-cream);
}
.nav-order .nav-order-short { display: none; }
/* Mobile: keep the Order pill visible (operator), compact both pills so the
   bar fits wordmark + cart + Order + Call + hamburger at 375px. */
@media (max-width: 968px) {
  .nav-order,
  .nav-cta { padding: 0.45rem 0.85rem !important; font-size: 0.8rem; }
  .nav-order .nav-order-full { display: none; }
  .nav-order .nav-order-short { display: inline; }
  .nav-actions { gap: 0.5rem; }
}
/* Smallest screens: the bar can't fit both pills + cart + hamburger. Order wins
   (operator); Call stays one tap away in the hero CTA, info bar and footer. */
@media (max-width: 480px) {
  .nav-cta { display: none !important; }
}
