/* =====================================================================
   Mintza website — desktop styles
   Extends shared/tokens.css with site-level layout, nav, footer.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ===== Layout ===== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* ===== Top nav ===== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-nav.is-dark {
  background: rgba(20, 12, 12, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--paper);
}
.site-nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
@media (max-width: 720px) { .site-nav .inner { padding: 0 20px; height: 60px; } }

.brand-lockup {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 2px; line-height: 1; transform: rotate(-2deg); transform-origin: left center;
  text-decoration: none;
}
.brand-lockup .plate {
  background: var(--mintza-maroon); color: #fff;
  border-radius: 6px; padding: 5px 12px 3px;
  font-family: var(--font-script);
  font-size: 26px; line-height: 0.95;
  box-shadow: 0 4px 10px -3px rgba(92,15,26,0.30);
}
.brand-lockup .sub {
  background: #fff; color: var(--mintza-maroon);
  border-radius: 999px; padding: 2px 8px 1px;
  font-weight: 700; font-size: 9px; letter-spacing: 0.04em;
  border: 1px solid var(--hairline-soft);
  white-space: nowrap;
}
.site-nav.is-dark .brand-lockup .sub { border-color: transparent; }

/* Hide mobile-only nav elements on desktop */
.site-nav .nav-loc,
.site-nav .nav-profile,
.site-nav .nav-spacer { display: none; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 10px 16px; border-radius: 999px;
  color: inherit; opacity: 0.85;
  transition: all 220ms var(--ease-out);
  position: relative;
}
.nav-links a:hover { opacity: 1; background: rgba(0,0,0,0.04); }
.site-nav.is-dark .nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-links a.is-active {
  color: var(--mintza-maroon);
  background: var(--mintza-maroon-tint);
  opacity: 1;
}
.site-nav.is-dark .nav-links a.is-active {
  color: #fff; background: rgba(255,255,255,0.16);
}
.site-nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 8px; border: none; cursor: pointer;
  background: var(--coconut-cream); color: var(--mintza-maroon);
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.18);
  border: 1px solid rgba(92,15,26,0.12);
  transition: transform 180ms var(--ease-out), background 180ms, color 180ms;
  opacity: 1;
}
.site-nav .nav-cta:hover { background: #fff; color: var(--mintza-maroon-deep); transform: translateY(-1px); }
.site-nav .nav-cta:active { transform: scale(0.98); }
.site-nav.is-dark .nav-cta {
  background: var(--coconut-cream); color: var(--mintza-maroon);
  border-color: transparent;
}
.site-nav.is-dark .nav-cta:hover { background: #fff; color: var(--mintza-maroon-deep); }
.nav-burger { display: none; }

/* =====================================================================
   ===== HORIZONTAL CAROUSEL + MODAL =====
   Reusable horizontal scroll-snap carousel with desktop arrow buttons,
   and a centered modal for "View details" drawers.
   ===================================================================== */
.mz-carousel-host {
  position: relative;
  margin: 0 calc(-1 * var(--carousel-bleed, 18px));
}
.mz-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--carousel-bleed, 18px);
  scroll-padding-right: var(--carousel-bleed, 18px);
  padding: 6px var(--carousel-bleed, 18px) 26px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.mz-carousel::-webkit-scrollbar { display: none; }
.mz-carousel > * {
  flex: 0 0 var(--carousel-card-w, 260px);
  max-width: var(--carousel-card-w, 260px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.mz-carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px;
  background: #fff; color: var(--mintza-maroon);
  border: 1px solid rgba(92,15,26,0.15);
  cursor: pointer; padding: 0;
  z-index: 5;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(24,17,17,0.30);
  transition: transform 200ms var(--ease-out),
              background 200ms,
              color 200ms,
              opacity 220ms;
}
.mz-carousel-arrow:hover {
  background: var(--mintza-maroon); color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.mz-carousel-arrow:active { transform: translateY(-50%) scale(0.96); }
.mz-carousel-arrow.is-disabled { opacity: 0; pointer-events: none; }
.mz-carousel-arrow.prev { left: 4px; }
.mz-carousel-arrow.next { right: 4px; }
@media (min-width: 880px) {
  .mz-carousel-arrow { display: inline-flex; }
}

/* Modal */
.mz-modal-host {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
.mz-modal-host.is-open { display: block; opacity: 1; }
.mz-modal-scrim {
  position: absolute; inset: 0;
  background: rgba(20, 12, 12, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mz-modal {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  width: min(640px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  background: #fff; color: var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px -10px rgba(0,0,0,0.55);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 320ms var(--ease-out);
}
.mz-modal-host.is-open .mz-modal {
  transform: translate(-50%, -50%) translateY(0);
}
.mz-modal-body {
  overflow-y: auto;
  padding: 32px;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 720px) {
  .mz-modal {
    width: calc(100vw - 16px);
    border-radius: var(--radius-lg);
    max-height: 88vh;
  }
  .mz-modal-body { padding: 24px 22px 28px; }
}
.mz-modal-close {
  position: absolute; right: 14px; top: 14px;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--hairline);
  background: #fff; color: var(--ink);
  cursor: pointer; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 180ms, transform 180ms;
}
.mz-modal-close:hover { background: var(--mintza-maroon); color: #fff; border-color: transparent; }

/* =====================================================================
   ===== MORE DRAWER (mobile "You" / profile button) =====
   Slides up from the bottom on mobile, contains secondary nav.
   ===================================================================== */
.more-drawer {
  position: fixed; inset: 0;
  z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity 280ms var(--ease-out);
}
.more-drawer.is-open { opacity: 1; pointer-events: auto; }
.more-drawer .more-scrim {
  position: absolute; inset: 0;
  background: rgba(20, 12, 12, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.more-drawer .more-panel {
  position: absolute;
  left: 14px; right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  max-height: 80vh;
  background: var(--canvas);
  border-radius: 28px;
  border: 1px solid rgba(92, 15, 26, 0.08);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.55);
  padding: 20px 18px 18px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 360ms var(--ease-out);
}
.more-drawer.is-open .more-panel { transform: translateY(0); }
@media (min-width: 720px) {
  .more-drawer .more-panel {
    left: 50%; right: auto;
    bottom: 50%;
    transform: translate(-50%, 50%) translateY(12px);
    width: min(440px, calc(100vw - 32px));
  }
  .more-drawer.is-open .more-panel {
    transform: translate(-50%, 50%);
  }
}
.more-drawer header {
  position: relative;
  padding: 4px 6px 18px;
}
.more-drawer header .eb {
  font-size: 10px; font-weight: 800; letter-spacing: 0.22em;
  color: var(--mintza-maroon); text-transform: uppercase;
}
.more-drawer header .hd {
  font-family: var(--font-display); font-weight: 500;
  font-size: 26px; line-height: 1.05;
  letter-spacing: -0.018em;
  margin-top: 6px; color: var(--ink);
}
.more-drawer header .hd em { font-style: italic; }
.more-drawer .more-close {
  position: absolute; right: 0; top: 0;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(92, 15, 26, 0.08);
  border: 0; color: var(--mintza-maroon);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 180ms;
}
.more-drawer .more-close:hover { background: var(--mintza-maroon); color: #fff; }

.more-drawer .m-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 18px;
  color: var(--ink); text-decoration: none;
  transition: background 180ms var(--ease-out);
}
.more-drawer .m-link:hover,
.more-drawer .m-link:active { background: var(--coconut-cream); }
.more-drawer .m-link .mi {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--mintza-maroon-tint); color: var(--mintza-maroon);
  display: inline-flex; align-items: center; justify-content: center;
}
.more-drawer .m-link .ml { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.more-drawer .m-link .mt {
  font-family: var(--font-display); font-weight: 500;
  font-size: 19px; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink);
}
.more-drawer .m-link .mt .badge-n {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mintza-maroon); color: #fff;
  font-family: var(--font-body); font-weight: 800;
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  margin-left: 6px; line-height: 1.2;
}
.more-drawer .m-link .ms {
  font-size: 12.5px; color: var(--ink-muted); line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.more-drawer .m-link .mar {
  font-size: 20px; color: var(--ink-muted);
  transition: transform 180ms, color 180ms;
}
.more-drawer .m-link:hover .mar { color: var(--mintza-maroon); transform: translateX(3px); }
.more-drawer footer {
  margin-top: 14px;
  padding: 16px 14px;
  background: var(--coconut-cream);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.more-drawer .ft-row {
  display: flex; justify-content: space-between; align-items: center;
}
.more-drawer .ft-lbl {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--ink-muted); text-transform: uppercase;
}
.more-drawer .ft-val {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 16px; color: var(--mintza-maroon);
  text-decoration: none;
}

/* ===== Pickup Status Card (mobile homepage) ===== */
.mobile-only { display: none; }
.pickup-status {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 18px 0;
  padding: 14px 16px;
  background: var(--coconut-cream);
  border-radius: 18px;
  border: 1px solid rgba(92, 15, 26, 0.08);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 20px -8px rgba(24, 17, 17, 0.18);
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms;
}
.pickup-status:active { transform: scale(0.99); }
.pickup-status .ps-icon {
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(47, 82, 51, 0.10);
  color: var(--kerala-leaf);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pickup-status .ps-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.pickup-status .ps-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px; color: var(--ink); line-height: 1.2;
  display: flex; align-items: center; gap: 8px;
}
.pickup-status .ps-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--kerala-leaf);
  box-shadow: 0 0 0 3px rgba(47, 82, 51, 0.16);
}
.pickup-status .ps-sub {
  font-size: 12px; color: var(--ink-muted); line-height: 1.35;
}
.pickup-status .ps-arrow {
  font-size: 22px; color: var(--ink-muted);
  font-family: var(--font-body); font-weight: 300;
  transition: transform 200ms, color 200ms;
}
.pickup-status:hover .ps-arrow { transform: translateX(2px); color: var(--mintza-maroon); }

@media (max-width: 880px) {
  .mobile-only { display: flex; }
  /* On mobile, hide the secondary hero CTA — the bottom Cart tab covers Order */
  .hero-cta-secondary,
  .cat-hero .cta-row .btn:nth-child(2) { /* keep both on catering; only hide on home */ }
}

/* Mobile bottom tab bar (cream w/ maroon icons) */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--coconut-cream);
  border-top: 1px solid rgba(92,15,26,0.14);
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,0.10);
}
.mobile-tabbar .tabs {
  display: flex;
  gap: 2px;
  max-width: 540px;
  margin: 0 auto;
}
.mobile-tabbar .tab {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  padding: 8px 2px 6px;
  color: var(--mintza-maroon);
  text-decoration: none;
  border-radius: 14px;
  transition: background 200ms var(--ease-out), color 200ms;
  min-height: 52px;
}
.mobile-tabbar .tab:active { background: rgba(92,15,26,0.10); }
.mobile-tabbar .tab.is-active { background: var(--mintza-maroon); color: #fff; }
.mobile-tabbar .tab .ic { display: flex; align-items: center; justify-content: center; }
.mobile-tabbar .tab svg {
  width: 22px; height: 22px;
}
.mobile-tabbar .tab .lbl {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ===== Mobile floating header + nav (≤ 880px) ===== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .mobile-tabbar { display: block; }

  /* ── Floating glass top header: 3-column layout
        [Devon Ave pill]   [Mintza brand]   [profile]
     ────────────────────────────────────── */
  .site-nav {
    position: fixed;
    top: max(28px, calc(env(safe-area-inset-top) + 14px));
    left: 14px; right: 14px;
    height: 60px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border: 1px solid rgba(92, 15, 26, 0.08);
    box-shadow:
      0 1px 0 0 rgba(255, 255, 255, 0.70) inset,
      0 14px 36px -10px rgba(24, 17, 17, 0.22);
  }
  .site-nav.is-dark {
    background: rgba(20, 12, 12, 0.55);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
      0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
      0 16px 38px -12px rgba(0, 0, 0, 0.50);
  }
  .site-nav .inner {
    height: 60px;
    padding: 0 10px;
    /* Mobile: 3-col grid so brand stays perfectly centered. Both side
       columns are empty spacers (Devon Ave pill is hidden on mobile). */
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }
  .site-nav .inner > .nav-spacer { order: 1; justify-self: start; min-width: 30px; }
  .site-nav .inner > .brand-lockup { order: 2; justify-self: center; }
  /* Devon Ave pill hidden on mobile — brand sits dead-center */
  .site-nav .nav-loc { display: none !important; }
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    max-width: none;
  }

  /* Left: location pill */
  .site-nav .nav-loc {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 10px 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(92, 15, 26, 0.10);
    color: var(--ink);
    font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
    text-decoration: none;
    justify-self: start;
    transition: background 200ms, transform 180ms;
  }
  .site-nav .nav-loc:hover { background: #fff; }
  .site-nav .nav-loc svg { color: var(--mintza-maroon); }
  .site-nav.is-dark .nav-loc {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--paper);
  }
  .site-nav.is-dark .nav-loc svg { color: var(--spice-saffron); }

  /* Center: brand (compact, no rotation on mobile) */
  .brand-lockup {
    transform: none;
    align-items: center;
    gap: 3px;
    justify-self: center;
  }
  .brand-lockup .plate {
    font-size: 20px; padding: 3px 12px 2px;
    box-shadow: 0 3px 8px -2px rgba(92, 15, 26, 0.35);
  }
  .brand-lockup .sub {
    font-size: 8.5px; padding: 1px 8px 0;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.96);
  }
  .site-nav.is-dark .brand-lockup .sub {
    background: #fff;
  }

  /* Right: profile button */
  .site-nav .nav-profile {
    width: 38px; height: 38px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(92, 15, 26, 0.10);
    color: var(--ink);
    cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    justify-self: end;
    position: relative;
    transition: background 200ms, transform 180ms;
  }
  .site-nav .nav-profile:hover { background: #fff; transform: scale(1.04); }
  .site-nav.is-dark .nav-profile {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
  .site-nav .nav-profile-badge {
    position: absolute; top: -2px; right: -2px;
    min-width: 17px; height: 17px; border-radius: 999px;
    background: var(--mintza-maroon); color: #fff;
    font-size: 9px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #fff;
  }

  /* Right: empty spacer to balance the grid (profile removed per request) */
  .site-nav .nav-spacer {
    display: block;
    justify-self: end;
    width: 38px; height: 1px;
  }

  /* Hide the desktop Order pickup CTA on mobile (cart lives in bottom tab bar) */
  .site-nav .nav-cta { display: none; }

  /* ── Floating glass bottom tab bar ───────────────────────────── */
  .mobile-tabbar {
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px; right: 14px;
    background: rgba(251, 246, 238, 0.94);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-radius: 30px;
    border: 1px solid rgba(92, 15, 26, 0.10);
    padding: 8px;
    box-shadow:
      0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
      0 18px 36px -12px rgba(24, 17, 17, 0.28);
  }
  .mobile-tabbar .tabs {
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
  }
  .mobile-tabbar .tab {
    border-radius: 22px;
    padding: 9px 2px 7px;
    transition: background 200ms var(--ease-out),
                color 200ms,
                transform 280ms var(--ease-out),
                box-shadow 280ms;
    position: relative;
  }
  .mobile-tabbar .tab.is-active {
    background: var(--mintza-maroon);
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 10px 20px -4px rgba(92, 15, 26, 0.45);
  }
  .mobile-tabbar .tab.is-active .lbl { color: #fff; }
  .mobile-tabbar .tab .tab-badge {
    position: absolute; top: -2px; right: 22%;
    min-width: 16px; height: 16px; border-radius: 999px;
    background: var(--spice-saffron); color: #fff;
    font-size: 9px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 1.5px solid var(--coconut-cream);
  }

  /* Body breathing room for the floating bars */
  body { padding-bottom: 100px; }
}

@media (max-width: 360px) {
  .mobile-tabbar .tab .lbl { font-size: 8.5px; letter-spacing: 0.02em; }
  .mobile-tabbar .tab svg { width: 20px; height: 20px; }
  .site-nav .nav-cta { padding: 8px 12px; font-size: 11px; }
  .site-nav .nav-cta span[aria-hidden] { display: none; }
  .site-nav .inner { gap: 8px; padding: 0 8px; }
  /* Compact pieces — but keep "South Indian & Kerala Cuisine" subtitle visible */
  .brand-lockup .plate { font-size: 17px; padding: 2px 9px 1px; }
  .brand-lockup .sub {
    display: inline-block;
    font-size: 7.5px; padding: 1px 6px 0;
    letter-spacing: 0.01em;
  }
  /* Devon Ave: hide text, keep pin icon */
  .site-nav .nav-loc { padding: 6px 8px; }
  .site-nav .nav-loc span { display: none; }
  /* Spacer matches the location-pill icon-only width for symmetry */
  .site-nav .nav-spacer { width: 30px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  padding: 15px 24px; border-radius: 999px;
  transition: all 220ms var(--ease-out);
}
.btn-primary {
  background: var(--mintza-maroon); color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--mintza-maroon-deep); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost-light {
  background: #fff; color: var(--ink);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.30);
}
.btn-ghost-light:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(0,0,0,0.40); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--hairline-strong);
}
.btn-outline:hover { border-color: var(--ink); background: rgba(0,0,0,0.02); }

.chev::after {
  content: '→'; font-size: 16px; transition: transform 220ms var(--ease-out);
}
.btn:hover .chev::after, .btn.chev:hover::after { transform: translateX(3px); }

/* Premium "pill + circular chevron" button variant */
.btn.btn-pillchev {
  position: relative;
  padding: 14px 16px 14px 22px;
  gap: 14px;
  justify-content: space-between;
}
.btn.btn-pillchev .chev-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.10);
  font-size: 13px; font-weight: 600;
  transition: transform 220ms var(--ease-out), background 220ms;
  flex-shrink: 0;
}
.btn-primary.btn-pillchev .chev-circle {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn-ghost-light.btn-pillchev .chev-circle {
  background: rgba(92, 15, 26, 0.10);
  color: var(--mintza-maroon);
}
.btn.btn-pillchev:hover .chev-circle { transform: translateX(3px); }

/* ===== Eyebrow + section headings ===== */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mintza-maroon);
}
.eyebrow.on-dark { color: var(--spice-saffron); }

h1.display, .h-display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
h1.display em, .h-display em { font-style: italic; font-weight: 500; }

h2.section, .h-section {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.018em;
  margin: 8px 0 0; text-wrap: balance;
}
h2.section em { font-style: italic; }

.lede {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: var(--ink-body); text-wrap: pretty;
}

.script-flourish {
  font-family: var(--font-script);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.9; color: var(--mintza-maroon);
}

/* ===== Card primitives ===== */
.card {
  background: var(--canvas); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lifted); }

/* ===== Chips ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.02em; line-height: 1;
}
.chip-veg { background: var(--kerala-leaf-soft); color: var(--kerala-leaf); }
.chip-halal { background: var(--kerala-leaf); color: #fff; }
.chip-chef { background: var(--mintza-maroon-tint); color: var(--mintza-maroon); }
.chip-spicy { background: var(--spice-saffron-soft); color: #7E4A06; }
.chip-new { background: var(--mintza-maroon); color: #fff;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 10px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--mintza-maroon); color: #fff;
  padding: 80px 0 56px;
}
.site-footer .inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 880px) {
  .site-footer .inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 20px; }
}
.site-footer h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; font-size: 14px; opacity: 0.9; }
.site-footer ul a:hover { opacity: 1; text-decoration: underline; }
.site-footer .wordmark {
  font-family: var(--font-script); font-size: 72px; line-height: 0.9; margin-bottom: 6px;
}
.site-footer .desc-pill {
  display: inline-block; background: #fff; color: var(--mintza-maroon);
  padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 11px;
}
.site-footer .tracked {
  font-weight: 600; letter-spacing: 0.2em; font-size: 11px;
  margin-top: 14px; opacity: 0.85;
}
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 56px; padding: 24px 32px 0; max-width: 1280px;
  margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; opacity: 0.6;
}
@media (max-width: 720px) { .site-footer .legal { padding: 24px 20px 0; flex-direction: column; gap: 8px; } }

/* ===== Bands ===== */
.band-cream { background: var(--coconut-cream); }
.band-dark { background: var(--surface-ink); color: var(--paper); }
.band-dark .lede { color: rgba(251,246,238,0.78); }

/* Ensure body text is readable on every dark section, even when scoped CSS
   forgot to override .lede / p / .body. Forces cream over the dark warm-ink
   background. */
.about-kerala .lede,
.about-kerala p:not([class]),
.j-featured .body,
.j-featured .body p,
.cta-band p,
.inquiry .lede,
.inquiry p:not([class]),
.j-sign p {
  color: rgba(251, 246, 238, 0.86);
}
.about-kerala h2,
.about-kerala .section,
.j-featured h2,
.cta-band h2,
.inquiry h2,
.j-sign h2 { color: #fff; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease-cinema), transform 700ms var(--ease-cinema); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Toast (engagement feedback) ===== */
.toast-stack {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink); color: var(--paper);
  padding: 14px 18px; border-radius: 14px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,0.40);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in 320ms var(--ease-out);
  max-width: 320px;
}
.toast .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--spice-saffron); }
.toast.is-out { animation: toast-out 280ms var(--ease-in-out) forwards; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px) scale(0.96); }
}

/* ===== Save (heart) button ===== */
.save-btn {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(24,17,17,0.30);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms var(--ease-out);
}
.save-btn:hover { transform: scale(1.05); }
.save-btn.is-saved { background: var(--mintza-maroon); border-color: transparent; }
.save-btn.is-saved svg { fill: #fff; }
.save-btn.pulse { animation: heart-pulse 520ms var(--ease-out); }
@keyframes heart-pulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.30); }
  100% { transform: scale(1); }
}

/* ===== Spice meter ===== */
.spice {
  display: inline-flex; align-items: center; gap: 3px;
}
.spice i {
  width: 9px; height: 11px; display: block;
  clip-path: polygon(50% 0, 100% 60%, 80% 100%, 20% 100%, 0 60%);
  background: rgba(0,0,0,0.10);
}
.spice i.on { background: var(--spice-saffron); }
.spice.lvl-4 i.on:last-child { background: var(--mintza-maroon); }

/* ===== Tickers / live counter ===== */
.live-strip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(47,82,51,0.12); color: var(--kerala-leaf);
  font-weight: 700; font-size: 12px;
}
.live-strip .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--kerala-leaf);
  position: relative;
}
.live-strip .pulse::after {
  content: ''; position: absolute; inset: -3px; border-radius: 999px;
  border: 2px solid var(--kerala-leaf); opacity: 0.5;
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Subtle photo zoom on hover ===== */
.photo-zoom { overflow: hidden; }
.photo-zoom img,
.photo-zoom .bg {
  transition: transform 900ms var(--ease-cinema);
}
.photo-zoom:hover img,
.photo-zoom:hover .bg {
  transform: scale(1.05);
}

/* ===== 3D tilt (mouse-driven on dish cards) ===== */
.tilt {
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out);
  will-change: transform;
}
.tilt .tilt-layer {
  transform: translateZ(40px);
  transition: transform 220ms var(--ease-out);
}
.tilt .tilt-deep {
  transform: translateZ(70px);
  transition: transform 220ms var(--ease-out);
}
.tilt .tilt-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%),
              rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 36%);
  mix-blend-mode: screen; opacity: 0;
  transition: opacity 280ms var(--ease-out);
  border-radius: inherit;
}
.tilt:hover .tilt-shine { opacity: 1; }

/* ===== Parallax bands ===== */
.parallax-host {
  position: relative; overflow: hidden;
  perspective: 1200px;
}
.parallax-bg {
  position: absolute; inset: -10% -2%;
  background-size: cover; background-position: center;
  will-change: transform;
  transform: translate3d(0, var(--p-y, 0px), 0) scale(1.08);
}
.parallax-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20,12,12,0.55) 0%, rgba(20,12,12,0.15) 30%,
    rgba(20,12,12,0.25) 60%, rgba(20,12,12,0.88) 100%);
}
.parallax-scrim.cream {
  background: linear-gradient(180deg,
    rgba(251,246,238,0.0) 0%, rgba(251,246,238,0.20) 70%,
    rgba(251,246,238,0.85) 100%);
}

/* ===== 3D hero stack ===== */
.hero-stack {
  position: relative; perspective: 1600px;
  height: 100vh; min-height: 720px;
}
.hero-stack .layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}

/* ===== Marquee (running spice list) ===== */
.marquee {
  display: flex; overflow: hidden; gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
}
.marquee.dark { border-color: rgba(255,255,255,0.10); }
.marquee-track {
  display: inline-flex; gap: 56px; align-items: center;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
  flex-shrink: 0;
  padding-right: 56px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.marquee-item {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(28px, 3.4vw, 48px);
  color: var(--ink); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee.dark .marquee-item { color: var(--paper); }
.marquee-item .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--spice-saffron);
}

/* ===== Photo plates (rounded image hero crops) ===== */
.plate {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lifted);
  position: relative;
}
.plate img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1100ms var(--ease-cinema);
}
.plate:hover img { transform: scale(1.06); }

/* ===== Floating tile (cinematic) ===== */
.float-card {
  position: absolute; background: var(--canvas);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lifted);
  padding: 14px 16px;
  font-family: var(--font-body);
  animation: float-y 6s ease-in-out infinite;
}
.float-card.delay-1 { animation-delay: -2s; }
.float-card.delay-2 { animation-delay: -4s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Big number stat ===== */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95; letter-spacing: -0.025em;
  font-weight: 500; color: var(--mintza-maroon);
}
.stat-num em { font-style: italic; }
.stat-label {
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-top: 6px;
}

/* ===== Tag rail (chip row, scroll) ===== */
.tag-rail {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 6px 0 14px; scrollbar-width: none;
}
.tag-rail::-webkit-scrollbar { display: none; }

/* ===== Animated underline on text links ===== */
.uline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 320ms var(--ease-out);
  padding-bottom: 3px;
}
.uline:hover { background-size: 100% 1.5px; }

/* ===== Confetti container ===== */
.confetti-host { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti-host span {
  position: absolute; width: 8px; height: 8px;
  border-radius: 2px;
  animation: confetti-fall 1400ms ease-out forwards;
}
@keyframes confetti-fall {
  0% { transform: translate3d(0,0,0) rotate(0); opacity: 1; }
  100% { transform: translate3d(var(--dx,0), var(--dy, 280px), 0) rotate(720deg); opacity: 0; }
}

/* =====================================================================
   ===== MOBILE RESPONSIVE OVERRIDES (≤ 720px) =====
   Tightens hero typography, stacks layouts, and ensures comfortable
   touch targets on phones. Append-only to maintain cascade priority.
   ===================================================================== */
@media (max-width: 720px) {
  /* Spacing — generous breathing room from edges */
  .wrap, .wrap-narrow { padding: 0 22px; }

  /* Section padding tighter (each section gets close to one screen) */
  section { padding-left: 0; padding-right: 0; }

  /* === Heroes: fit in a single screen ============================== */
  .hero { height: 100vh !important; min-height: 600px; max-height: 760px; }
  .cat-hero, .story-hero, .visit-hero, .order-hero, .menu-hero {
    height: 100vh !important; min-height: 580px; max-height: 760px;
  }
  .j-hero { padding-top: 96px !important; padding-bottom: 32px !important; }

  /* Hero typography clamps were sized for 1280px screens; bring them down */
  .hero .heading,
  .hero h1 {
    font-size: clamp(40px, 11vw, 64px) !important;
    line-height: 0.98 !important;
  }
  .hero .lede { font-size: 15px !important; }
  .hero .badge-row { gap: 8px; }
  .hero .badge-row span { font-size: 10px; letter-spacing: 0.14em; }
  .hero .bottom-row {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding-bottom: 32px !important;
  }
  .hero .content {
    padding-top: 100px !important;
  }
  .hero .cta-row {
    width: 100%; gap: 10px;
    flex-wrap: nowrap;
  }
  .hero .cta-row .btn {
    flex: 1; min-width: 0;
    justify-content: space-between;
    padding: 13px 14px; font-size: 12.5px;
    gap: 8px;
  }
  .hero .cta-row .btn-pillchev .chev-circle {
    width: 24px; height: 24px; font-size: 11px;
  }

  /* Catering / story / visit / blog hero h1's */
  .cat-hero h1, .story-hero h1, .visit-hero h1, .order-hero h1, .menu-hero h1, .j-hero h1 {
    font-size: clamp(38px, 11vw, 60px) !important;
    line-height: 1 !important;
  }
  .cat-hero .script { font-size: 26px !important; }
  .cat-hero .top { padding-top: 90px !important; }
  .cat-hero .bottom { gap: 22px; padding-bottom: 28px !important; }
  .cat-hero .quick-stats { padding: 16px 18px; }
  .cat-hero .quick-stats .n { font-size: 22px !important; }
  .cat-hero .quick-stats .l { font-size: 9.5px; letter-spacing: 0.1em; }
  .cat-hero .cta-row {
    width: 100%; gap: 10px;
    flex-wrap: nowrap;
  }
  .cat-hero .cta-row .btn {
    flex: 1; min-width: 0;
    justify-content: space-between;
    padding: 13px 14px; font-size: 12.5px;
    gap: 8px;
  }
  .cat-hero .cta-row .btn-pillchev .chev-circle {
    width: 24px; height: 24px; font-size: 11px;
  }

  .j-hero { padding-top: 110px !important; padding-bottom: 40px !important; }
  .j-hero .eb { font-size: 28px !important; }

  /* Long lede paragraphs: clamp to short on mobile so sections fit fold */
  .about-kerala .lede,
  .j-featured .body,
  .cta-band p,
  .inquiry .lede,
  .j-sign p,
  .hero .lede,
  .cat-hero .lede,
  .story-hero .lede {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }

  /* Section header rows that pair an h2 with a right-aligned lede */
  .featured .head,
  .tiers .head,
  .j-stories .head,
  .events .reveal + .events-grid,
  .voices .reveal {
    text-align: left;
  }
  .featured .head .lede,
  .tiers .head .lede,
  .j-stories .head .lede {
    text-align: left !important;
    margin-top: 12px;
  }

  /* Bigger touch buttons */
  .btn { padding: 14px 20px; font-size: 13.5px; }

  /* Cards */
  .dish-card .name { font-size: 20px; }
  .dish-card .add { width: 36px; height: 36px; font-size: 19px; }
  .dish-card .badge { font-size: 9.5px; padding: 4px 9px; }

  /* About Kerala section */
  .about-kerala { padding: 64px 0 !important; }
  .about-kerala .grid { gap: 36px; }
  .about-kerala .photo-stack { max-width: 420px; margin: 0 auto; }
  .about-kerala .fact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact-card { padding: 16px 14px; }
  .fact-card .ti { font-size: 18px; }
  .fact-card .bd { font-size: 12.5px; }

  /* Stats band */
  .stats-band { padding: 48px 0 !important; }
  .stat-num { font-size: clamp(36px, 11vw, 56px) !important; }

  /* Voices */
  .voices { padding: 56px 0 !important; }
  .voice { padding: 22px; }
  .voice blockquote { font-size: 18px; }

  /* CTA band */
  .cta-band { padding: 64px 0 !important; }
  .cta-band h2 { font-size: clamp(32px, 9vw, 48px) !important; }
  .cta-band p { font-size: 14.5px; }
  .cta-band .cta-actions .btn { padding: 14px 20px; font-size: 13.5px; }

  /* Catering page */
  .tiers { padding: 56px 0 !important; }
  .tier { transform: none !important; }
  .tier.featured { transform: none !important; margin-top: 0; }
  .tier h3 { font-size: 30px; }
  .tier .price { font-size: 40px; }
  .how { padding: 56px 0 !important; }
  .step-grid { gap: 14px; }
  .step { padding: 22px 20px; }
  .events { padding: 56px 0 !important; }
  .inquiry { padding: 64px 0 !important; }
  .inquiry-card { padding: 24px; }
  .inquiry-card h3 { font-size: 28px; }
  .inquiry .contact-direct .row a { font-size: 20px; }
  .testimonials { padding: 56px 0 !important; }
  .testimonial { padding: 28px; }
  .testimonial::before { font-size: 200px; top: -20px; }
  .faq-cat { padding: 48px 0 !important; }

  /* Catering teaser on home */
  .cat-teaser { padding: 56px 0 !important; }
  .cat-teaser .grid { gap: 28px; }
  .cat-teaser .tier-strip .col { padding: 16px 14px; }
  .cat-teaser .tier-strip .col .nm { font-size: 22px; }
  .cat-teaser .tier-strip .col .pr { font-size: 18px; }
  .cat-teaser .cta-row .btn { flex: 1; justify-content: center; }

  /* Blog page */
  .j-marquee-track span { font-size: 26px; padding-right: 18px; gap: 18px; }
  .j-marquee-track span::after { font-size: 0.8em; }
  .j-featured { padding: 64px 0 !important; }
  .j-featured h2 { font-size: clamp(28px, 8vw, 40px); }
  .j-featured .body { font-size: 15px; }
  .j-featured .photo { transform: none; }
  .j-featured .counter-card { max-width: 100%; }
  .j-featured .counter-card .col { padding: 12px 12px; }
  .j-featured .counter-card .num { font-size: 28px; }
  .j-stories { padding: 56px 0 !important; }
  .j-grid { gap: 18px; }
  .story h3 { font-size: 22px !important; }
  .story.size-3 h3, .story.size-4 h3 { font-size: 24px !important; }
  .story .dek { font-size: 13.5px; }
  .j-sign { padding: 56px 0 !important; }
  .j-sign h2 { font-size: clamp(28px, 9vw, 44px) !important; }

  /* Hero floating ribbons hidden on small screens (set in original CSS at 880px) */
  /* but ensure pickup pill doesn't collide on mobile */
  .hero .pickup-pill { display: none; }

  /* Footer mobile */
  .site-footer { padding: 56px 0 32px; }
  .site-footer .inner { grid-template-columns: 1fr !important; gap: 28px; }
  .site-footer .wordmark { font-size: 56px; }

  /* Marquee — sits between hero ribbon and "From our kitchen".
     Generous symmetrical vertical padding centers it visually
     between the two; larger type so it reads on phones. */
  .marquee { padding: 38px 0; margin: 0; }
  .marquee-item { font-size: 22px; }
  .marquee-track { gap: 36px; padding-right: 36px; }

  /* Toasts stay in top corner on mobile to avoid covering CTAs */
  .toast-stack { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }

  /* Section headings tighter */
  h1.display, .h-display { font-size: clamp(36px, 10vw, 56px); }
  h2.section, .h-section { font-size: clamp(26px, 7.5vw, 40px); }
}

@media (max-width: 420px) {
  .hero .floats { display: none; }
  .hero .heading,
  .hero h1 { font-size: 36px !important; }
  .cat-hero h1, .story-hero h1, .visit-hero h1, .order-hero h1, .menu-hero h1, .j-hero h1 {
    font-size: 36px !important;
  }
  .inquiry-card .field-grid { grid-template-columns: 1fr; }
  .pkg-row { grid-template-columns: 1fr; }
  .wrap, .wrap-narrow { padding: 0 14px; }
}

/* Samsung Fold (inner ~280–344px) — extreme narrow */
@media (max-width: 360px) {
  .wrap, .wrap-narrow { padding: 0 12px; }
  .hero .heading, .hero h1,
  .cat-hero h1, .story-hero h1, .visit-hero h1, .order-hero h1, .menu-hero h1, .j-hero h1 {
    font-size: 30px !important;
    line-height: 1.02 !important;
  }
  h2.section, .h-section { font-size: clamp(22px, 7vw, 30px) !important; }
  .cta-band h2 { font-size: clamp(26px, 8vw, 34px) !important; }
  .j-sign h2 { font-size: clamp(26px, 8vw, 34px) !important; }
  .tier h3 { font-size: 26px !important; }
  .tier .price { font-size: 34px !important; }
  /* Quick-stats 3-up gets too tight — drop to 1 row of 3 small */
  .cat-hero .quick-stats { padding: 14px 14px; gap: 12px; }
  .cat-hero .quick-stats .n { font-size: 18px !important; }
  .cat-hero .quick-stats .l { font-size: 9px; letter-spacing: 0.06em; }
  /* Stats band */
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 16px; }
  /* Counter card in journal */
  .j-featured .counter-card .num { font-size: 24px !important; }
  .j-featured .counter-card .lbl { font-size: 9px; letter-spacing: 0.08em; }
  /* Mobile tabbar very small */
  .mobile-tabbar .tab { padding: 6px 1px 4px; gap: 2px; min-height: 48px; }
  .mobile-tabbar .tab svg { width: 18px; height: 18px; }
  .mobile-tabbar .tab .lbl { font-size: 8px; }
  /* CTA button text shorter */
  .hero .cta-row .btn,
  .cat-hero .cta-row .btn { font-size: 11.5px; padding: 12px 10px; gap: 6px; }
  /* Footer */
  .site-footer .wordmark { font-size: 44px; }
}

/* ============================================================
   Mobile content top-offset — push every page's first section
   far enough down that nothing crowds the floating logo bar.
   Logo bar sits at top:28px, height:60px → bottom edge ≈ 88px.
   We want the first content (e.g. badge row) to start near 130px.
   ============================================================ */
@media (max-width: 880px) {
  /* Home: padding-top lives on .content */
  .hero .content {
    padding-top: calc(env(safe-area-inset-top, 0px) + 178px) !important;
  }
  /* Pages whose hero <section> owns the padding directly */
  .story-hero  { padding-top: calc(env(safe-area-inset-top, 0px) + 140px) !important; }
  .order-hero  { padding-top: calc(env(safe-area-inset-top, 0px) + 178px) !important; }
  .menu-hero   { padding-top: calc(env(safe-area-inset-top, 0px) + 150px) !important; }
  .visit-hero  { padding-top: calc(env(safe-area-inset-top, 0px) + 150px) !important; }
  .cat-hero .top { padding-top: calc(env(safe-area-inset-top, 0px) + 130px) !important; }
  .j-hero      { padding-top: calc(env(safe-area-inset-top, 0px) + 140px) !important; }
}

/* ============================================================
   Mobile horizontal gutters — equal, small breathing room on
   both sides across every page so content never touches edges.
   ============================================================ */
@media (max-width: 880px) {
  .wrap, .wrap-narrow,
  .hero .content,
  .story-hero .content,
  .order-hero > .wrap,
  .menu-hero .content,
  .visit-hero .content,
  .cat-hero .content,
  .j-hero .grid,
  .filter-rail .inner,
  .cta-band .inner,
  .site-footer .inner,
  .pickup-details .wrap,
  .order-body > .wrap {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}
@media (max-width: 380px) {
  .wrap, .wrap-narrow,
  .hero .content,
  .story-hero .content,
  .order-hero > .wrap,
  .menu-hero .content,
  .visit-hero .content,
  .cat-hero .content,
  .j-hero .grid,
  .filter-rail .inner,
  .cta-band .inner,
  .site-footer .inner,
  .pickup-details .wrap,
  .order-body > .wrap {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
