/* =====================================================================
   LocalLoom Base CSS
   Shared design tokens + components for ALL LocalLoom client surfaces.
   Per localloom-ui-design-system skill.

   Loaded BEFORE the per-client brand overlay. The brand overlay
   redefines :root color and font variables but uses these tokens'
   spacing, type scale, and component selectors.
   ===================================================================== */

/* ---------- Tokens (client-agnostic) ---------- */
:root {
  /* spacing scale (rem-based) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* type scale (clamp for fluid responsive) */
  --t-display: clamp(2.6rem, 7.5vw, 5.5rem);
  --t-h1:      clamp(1.9rem, 4vw, 2.8rem);
  --t-h2:      clamp(1.3rem, 2.5vw, 1.7rem);
  --t-h3:      1.15rem;
  --t-body:    1rem;
  --t-small:   0.875rem;
  --t-tiny:    0.75rem;

  /* Color fallbacks — brand overlay should override all of these */
  --paper:        #FAFAF7;
  --paper-deep:   #F0EFE9;
  --paper-rule:   #E0DDD2;
  --ink:          #1A1815;
  --ink-soft:     #3A3631;
  --ink-muted:    #6B6660;
  --primary:      #0E0F0E;
  --primary-deep: #050605;
  --accent:       #2BD673;
  --accent-deep:  #1FA757;
  --accent-soft:  rgba(43, 214, 115, 0.10);

  --font-body: -apple-system, "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* ============ BRAND AREA — 3 columns: nav left, logo center, info right ============ */
/* All on Cashmere cream. No green strip below. */
.brand-area {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-4) var(--s-5) var(--s-3);
}
.brand-area__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-7);
}
.brand-area__inner > .brand { flex: 0 1 auto; }
.brand-area__inner > .brand-nav,
.brand-area__inner > .brand-info { flex: 0 0 auto; }

/* Left column: vertical nav */
.brand-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: start;
}
.brand-nav__link {
  font-size: 1.5rem;          /* ~24px — present, readable, not competing with the 380px logo */
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: var(--s-1) 0;
  transition: color 140ms ease;
  line-height: 1;
}
.brand-nav__link:hover { color: var(--accent); }
.brand-nav__link--active { color: var(--accent); }
.brand-nav__link--active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Center column: the logo itself */
.brand { display: flex; justify-content: center; }
.brand__logo {
  height: 380px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 280ms ease;
}
.brand__logo:hover { transform: scale(1.015); }

/* Right column: utility info, vertically stacked */
.brand-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: end;
  text-align: right;
}
.brand-info__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}
.brand-info__item--status {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.brand-info__item--closed { color: var(--accent-deep); }
.brand-info__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6FBF6F;
  box-shadow: 0 0 0 2px rgba(111, 191, 111, 0.25);
}
.brand-info__dot--closed {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(212, 104, 60, 0.25);
}
.brand-info__phone {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color 120ms ease;
}
.brand-info__phone:hover { color: var(--accent); }

/* ============ FLOATING CART BUBBLE ============ */
/* Fixed-position bubble in bottom-right of viewport. Hidden by default; appears when body.is-scrolled. */
.cart-bubble {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 100;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 104, 60, 0.35), 0 2px 8px rgba(27, 39, 23, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 240ms ease, visibility 240ms;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
}
body.is-scrolled .cart-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.cart-bubble:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(212, 104, 60, 0.45), 0 3px 10px rgba(27, 39, 23, 0.18);
}
.cart-bubble__icon { flex-shrink: 0; }
.cart-bubble__count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--paper);
  color: var(--accent-deep);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--accent);
}
.cart-bubble--has-items {
  animation: cart-bubble-pulse 1.8s ease-in-out 2;
}
@keyframes cart-bubble-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 32px rgba(212, 104, 60, 0.55); }
}

/* ============ Legacy classes (kept for any places still referencing them) ============ */
.util, .util__inner, .util__left, .util__item, .util__sep, .util__phone, .util__dot, .util__cart, .util__cart-count,
.header, .header__inner, .nav, .nav__link,
.brand-band, .navbar, .navbar__inner, .navbar__nav, .navbar__link, .navbar__util, .navbar__util-item, .navbar__dot, .navbar__sep, .navbar__phone,
.cart-btn, .cart-btn--brand, .cart-btn--navbar, .cart-btn__icon, .cart-btn__label, .cart-btn__count, .cart-btn--has-items {
  /* Old layout classes — present in case any legacy markup still references them, otherwise no-op */
}

/* ============ HERO ============ */
.hero {
  padding: var(--s-4) 0 var(--s-7);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(212, 104, 60, 0.06), transparent 50%),
    var(--paper);
}
.hero__inner {
  /* Full-width single column, centered. Hero is now landscape-flow, all content axis-aligned. */
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.hero__eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero__title {
  /* Single-line landscape title. nowrap + inline-block prevents flex-column compression. */
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--s-4);
  color: var(--ink);
  white-space: nowrap;
  overflow: visible;
  display: inline-block;
  flex-shrink: 0;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero__sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: var(--s-5);
  line-height: 1.5;
  font-weight: 400;
}
.hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  font-size: var(--t-body);
  font-weight: 700;
  border-radius: 4px;
  transition: transform 120ms ease, background 140ms ease, color 140ms ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn--primary { background: var(--accent); color: var(--paper); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--paper); }

/* Legacy hero classes — no-op stubs in case anything references them */
.hero__grid, .hero__meta { /* deprecated — hero is now single-column .hero__inner */ }
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: var(--s-2);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.10);
}

/* ============ WEDGE STRIP ============ */
.wedges {
  background: var(--primary);
  color: var(--paper);
  padding: var(--s-8) 0;
  position: relative;
}
.wedges__head { margin-bottom: var(--s-6); max-width: 720px; }
.wedges__eyebrow {
  font-size: var(--t-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.wedges__title {
  font-size: var(--t-h1);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.wedges__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
.wedge { position: relative; padding-top: var(--s-4); border-top: 2px solid var(--accent); }
.wedge__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
}
.wedge__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--s-3);
  line-height: 1.15;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.wedge__body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 400;
}

/* ============ MENU ============ */
.menu { padding: var(--s-9) 0 var(--s-8); }
.menu__head {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 2px solid var(--primary);
}
.menu__title {
  font-size: var(--t-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.menu__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.menu__updated {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-tiny);
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: default;
  /* Lift slightly so it sits beside the title baseline cleanly */
  align-self: center;
}
.menu__updated--stale { color: var(--accent-deep); }
.menu__updated-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6FBF6F;            /* fresh = green */
  box-shadow: 0 0 0 2px rgba(111, 191, 111, 0.20);
}
.menu__updated-dot--stale {
  background: var(--accent);      /* stale = brand accent (Acorn) */
  box-shadow: 0 0 0 2px rgba(212, 104, 60, 0.20);
}

/* Stale banner — shows above menu when sync >24h old AND items exist */
.menu__stale-banner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding: var(--s-3) var(--s-4);
  background: rgba(212, 104, 60, 0.10);
  border-left: 3px solid var(--accent);
  color: var(--accent-deep);
  font-size: var(--t-small);
  font-weight: 500;
  border-radius: 3px;
}
.menu__stale-banner-icon { flex-shrink: 0; color: var(--accent); }

/* Empty state — shows when no menu data is loaded */
.menu__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-9) var(--s-5);
  margin: var(--s-6) 0;
  background: var(--paper-deep);
  border-radius: 8px;
}
.menu__empty-icon {
  color: var(--accent);
  margin-bottom: var(--s-4);
  opacity: 0.7;
}
.menu__empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.menu__empty-body {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto var(--s-5);
}
.menu__empty-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}

.menu__nav {
  position: sticky;
  top: 0;          /* no sticky bar above on desktop — anchor right at top */
  background: var(--paper);
  padding: var(--s-3) 0;
  margin: 0 calc(-1 * var(--s-5));
  padding-left: var(--s-5);
  padding-right: var(--s-5);
  border-bottom: 1px solid var(--paper-rule);
  z-index: 40;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.menu__nav::-webkit-scrollbar { display: none; }
.menu__nav-inner { display: inline-flex; gap: var(--s-2); }
.menu__nav-link {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 140ms ease;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}
.menu__nav-link:hover { color: var(--primary); background: var(--paper-deep); }
.menu__nav-link--active { background: var(--primary); color: var(--paper); }
.menu__section { padding: var(--s-7) 0 var(--s-6); scroll-margin-top: 240px; }
.menu__section-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--paper-rule);
}
.menu__section-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.menu__section-title {
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.menu__section-sub {
  font-size: var(--t-small);
  color: var(--ink-muted);
  margin-left: auto;
  font-style: italic;
  font-weight: 400;
}
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }

/* Item card — top-level container */
.item {
  position: relative;
  background: var(--paper-deep);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}
.item:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }
.item--signature { border-left: 3px solid var(--accent); }

/* Head row — always visible, contains name/desc/tags on left, price/Add on right */
.item__head {
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  align-items: start;
}
.item__head-left { min-width: 0; }   /* let text wrap inside the grid cell */

.item__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--s-2);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.item__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: var(--s-3);
  font-weight: 400;
}
.item__tags { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* Expand hint — shown on tappable cards, indicates "tap for more" */
.item__expand-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-3);
  font-size: var(--t-tiny);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 140ms ease;
}
.item:hover .item__expand-hint { color: var(--accent); }
.item__chevron { transition: transform 220ms ease; }
.item--expanded .item__chevron { transform: rotate(180deg); }
.item--expanded .item__expand-hint { color: var(--accent); }

/* Tag styles */
.tag {
  display: inline-block;
  font-size: var(--t-tiny);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag--fire { background: var(--accent); color: var(--paper); }
.tag--spicy { background: var(--accent-soft); color: var(--accent-deep); border: 1px solid var(--accent); }
.tag--protein { background: var(--ink); color: var(--paper); }
.tag--veg { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.tag--signature {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* Item right column (price + Add button, always visible) */
.item__right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-3);
  height: 100%;
}
.item__price {
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.add-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--paper);
  padding: var(--s-2) var(--s-4);
  border-radius: 4px;
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 140ms ease;
  cursor: pointer;
}
.add-btn:hover { background: var(--accent); }
.add-btn--disabled { opacity: 0.4; cursor: not-allowed; }
.add-btn--disabled:hover { background: var(--primary); }

/* ============ ACCORDION DETAIL PANEL ============ */
.item__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 240ms ease 80ms;
  opacity: 0;
}
.item--expanded .item__detail {
  max-height: 1200px;     /* generous; transition smoothly even for tall content */
  opacity: 1;
}
.item__detail-inner {
  padding: 0 var(--s-5) var(--s-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  border-top: 1px solid var(--paper-rule);
  padding-top: var(--s-4);
  margin-top: var(--s-2);
}
.item--has-image .item__detail-inner {
  grid-template-columns: 1fr 1.4fr;     /* photo left, body right when image exists */
}
.item__photo {
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item__detail-body { display: flex; flex-direction: column; gap: var(--s-4); }
.item__detail-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.item__detail-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: auto;
}
.item__detail-add {
  flex: 1 1 auto;
  min-width: 180px;
  padding: var(--s-3) var(--s-5);
  font-size: var(--t-small);
}

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  background: var(--paper);
  border-radius: 4px;
  padding: 2px;
  border: 1px solid var(--paper-rule);
}
.qty-stepper__btn {
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 140ms ease;
  cursor: pointer;
}
.qty-stepper__btn:hover { background: var(--paper-deep); }
.qty-stepper__count {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ============ CATERING RAIL ============ */
.catering-rail { background: var(--accent); color: var(--paper); padding: var(--s-7) 0; }
.catering-rail__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.catering-rail__copy h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--s-2);
  letter-spacing: -0.015em;
}
.catering-rail__copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--t-small);
  max-width: 52ch;
  font-weight: 400;
}
.catering-rail .btn--ghost { color: var(--paper); border-color: var(--paper); }
.catering-rail .btn--ghost:hover { background: var(--paper); color: var(--accent); }

/* ============ PHOTOS ============ */
.photos { background: var(--ink); color: var(--paper); padding: var(--s-8) 0; }
.photos__head { margin-bottom: var(--s-6); max-width: 720px; }
.photos__eyebrow {
  font-size: var(--t-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.photos__title {
  font-size: var(--t-h1);
  font-weight: 700;
  max-width: 20ch;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.photos__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: var(--s-3);
}
.photo {
  background: var(--primary);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.photo:nth-child(1) { grid-row: 1 / 3; }

/* ============ CONTACT ============ */
.contact { padding: var(--s-9) 0 var(--s-8); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.contact__eyebrow {
  font-size: var(--t-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.contact__title {
  font-size: var(--t-h1);
  font-weight: 800;
  margin-bottom: var(--s-5);
  max-width: 16ch;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.contact__title em { color: var(--accent); font-style: italic; font-weight: 400; }
.contact__address {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--s-5);
  color: var(--ink);
}
.contact__address small {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: var(--s-2);
}
.contact__list { list-style: none; padding: 0; margin: 0; }
.contact__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--paper-rule);
  font-size: var(--t-small);
}
.contact__list li:last-child { border-bottom: none; }
.contact__list dt {
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--t-tiny);
  font-weight: 700;
}
.contact__list dd {
  margin: 0;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.contact__map {
  background: var(--paper-deep);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.9rem;
}
.closed-flag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 2px 8px;
  font-size: var(--t-tiny);
  font-weight: 700;
  border-radius: 3px;
  margin-left: var(--s-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: var(--s-8) 0 var(--s-5);
  font-size: var(--t-small);
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--s-4);
}
.footer__logo { height: 80px; width: auto; }
.footer__nav { display: flex; gap: var(--s-6); }
.footer__nav a {
  font-size: var(--t-small);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 120ms ease;
}
.footer__nav a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--t-tiny);
  letter-spacing: 0.04em;
}
.footer__bottom a { color: rgba(255, 255, 255, 0.45); }
.footer__bottom a:hover { color: var(--paper); }

/* ============ MOBILE ============ */
@media (max-width: 720px) {
  /* Mobile: stack the 3 columns vertically — nav above logo above info */
  .brand-area { padding: var(--s-3) var(--s-3) var(--s-3); }
  .brand-area__inner {
    grid-template-columns: 1fr;
    gap: var(--s-3);
    text-align: center;
  }
  .brand-nav {
    flex-direction: row;
    justify-content: center;
    gap: var(--s-4);
    order: 1;
  }
  .brand-nav__link {
    font-size: 1rem;          /* mobile: ~16px in the horizontal row */
    letter-spacing: 0.06em;
  }
  .brand-nav__link--active::before {
    display: none;   /* hide the side dash on mobile horizontal nav */
  }
  .brand { order: 2; }
  .brand__logo { height: 220px; }
  .brand-info {
    align-items: center;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-3);
    font-size: 0.75rem;
    order: 3;
  }
  .brand-info__item { font-size: 0.75rem; }
  .brand-info__item br { display: none; }   /* "545 Lakeland Plaza<br>Cumming, GA" → one line on mobile */

  /* Floating cart bubble — slightly smaller on mobile */
  .cart-bubble {
    bottom: var(--s-3);
    right: var(--s-3);
    width: 56px;
    height: 56px;
  }

  .hero { padding: var(--s-5) 0 var(--s-6); }
  .hero__title {
    font-size: 2.2rem;
    max-width: none;
    white-space: normal;  /* allow wrap on mobile — single line only desktop */
  }
  .hero__sub { font-size: 1rem; }
  .wedges__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .items { grid-template-columns: 1fr; }
  .photos__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .photos__grid .photo:nth-child(1) { grid-row: 1 / 2; grid-column: 1 / 3; }
  .contact__grid { grid-template-columns: 1fr; }
  .menu__nav { top: 0; }            /* no sticky bar above it anymore */
  .menu__title { font-size: 2rem; gap: var(--s-2); }
  .menu__updated { font-size: 0.65rem; }
  .menu__section-head { flex-wrap: wrap; }
  .menu__section-sub { margin-left: 0; width: 100%; }
  .menu__section { scroll-margin-top: 80px; }
  .menu__empty { padding: var(--s-7) var(--s-4); }
  .menu__empty-title { font-size: 1.2rem; }

  /* Mobile: accordion detail stacks photo above body */
  .item--has-image .item__detail-inner {
    grid-template-columns: 1fr;
  }
  .item__photo {
    aspect-ratio: 16 / 9;   /* wider on mobile, fits better stacked */
  }
  .item__detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .item__detail-add {
    width: 100%;
  }
}

/* ---------- subtle entrance ---------- */
.hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .hero__meta {
  opacity: 0;
  transform: translateY(8px);
  animation: rise 600ms ease forwards;
}
.hero__title { animation-delay: 80ms; }
.hero__sub { animation-delay: 160ms; }
.hero__actions { animation-delay: 240ms; }
.hero__meta { animation-delay: 320ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }


/* Soft-launch banner — appears between hero and menu items.
   Remove when full ordering is live (Square Online Ordering + Uber Eats). */
.soft-launch-banner {
  background: var(--primary, #c83434);
  color: var(--paper, #fff);
  padding: 12px 16px;
}
.soft-launch-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.soft-launch-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
}
.soft-launch-banner__cta {
  display: inline-block;
  background: var(--paper, #fff);
  color: var(--primary, #c83434);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .soft-launch-banner__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: left;
  }
}


/* Top-level Order CTA — single order entry point per Path 2 strategy.
   loom entry_2026_06_08_002. Next week (Square Online Ordering activation):
   button text becomes "Order Online →", href becomes Square URL. */
.order-cta {
  max-width: 720px;
  margin: 24px auto 32px;
  padding: 24px 20px;
  text-align: center;
  background: var(--paper, #faf7f2);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
}
.order-cta__title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink, #1d1a17);
}
.order-cta__sub {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--ink-soft, #5a544d);
  line-height: 1.45;
}
.order-cta__button {
  display: inline-block;
  background: var(--primary, #c83434);
  color: var(--paper, #fff);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.02rem;
}

/* Sold-out indicator (no longer a button, just a label) */
.item__soldout {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft, #8a847c);
  font-style: italic;
}
