/* ============================================================
   TONY'S HIBACHI — Japanese & Sushi Grill
   Premium design system — black, ember red, gold accent
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #0a0908;
  --bg-1: #111110;
  --bg-2: #181715;
  --bg-3: #232120;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --ink: #f5f1ea;
  --ink-dim: #b8b1a6;
  --ink-mute: #7a7368;

  --red: #d22b1f;        /* the apostrophe red */
  --red-soft: #ef3b2d;
  --ember: #ff6a3d;
  --gold: #c9a96a;
  --gold-soft: #e3c98e;

  --shadow-deep: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);

  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-thin: "Cormorant", "Playfair Display", Georgia, serif;
  --font-jp: "Noto Serif JP", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-0);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

h1.display { font-size: clamp(48px, 8vw, 124px); }
h2.display { font-size: clamp(40px, 6vw, 84px); margin: 0; }
h3.display { font-size: clamp(28px, 3.4vw, 44px); margin: 0; }

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 56ch;
}

.kanji {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--gold);
  opacity: 0.55;
}

.red-dot { color: var(--red); }

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

.section {
  position: relative;
  padding-block: clamp(80px, 12vw, 160px);
}
.section--tight { padding-block: clamp(60px, 8vw, 100px); }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 720px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* Info cards trio (Pickup / Payment / Need Help on order page).
   3-up on desktop, stacks to a single column on mobile. */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .info-cards { grid-template-columns: 1fr; }
}

/* Search highlight inside menu items (data-driven menu page) */
.menu-item mark {
  background: rgba(201, 169, 106, 0.22);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 rgba(201, 169, 106, 0.5);
}
:root[data-theme="light"] .menu-item mark {
  background: rgba(184, 36, 26, 0.10);
  box-shadow: inset 0 -1px 0 rgba(184, 36, 26, 0.35);
}

/* Live availability pill on data-driven menu category headings */
.cat-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 106, 0.4);
  border-radius: 999px;
  align-self: start;
  font-family: var(--font-body);
  font-weight: 500;
}
.cat-availability::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg-0);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out),
              color .35s var(--ease-out), border-color .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(255, 255, 255, 0.25);
}
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform .35s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  --btn-bd: var(--ink);
  --btn-bg: rgba(255, 255, 255, 0.06);
}

.btn--ember {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bd: var(--red);
  box-shadow: 0 10px 30px -10px rgba(210, 43, 31, 0.5);
}
.btn--ember:hover {
  --btn-bg: var(--red-soft);
  --btn-bd: var(--red-soft);
}

.btn--gold {
  --btn-bg: transparent;
  --btn-fg: var(--gold);
  --btn-bd: var(--gold);
}
.btn--gold:hover {
  --btn-bg: var(--gold);
  --btn-fg: var(--bg-0);
}

/* ---------- Split CTA (Call | Order) ----------
   Single pill split into two halves so the header carries both primary
   actions without taking extra space. */
.btn-split {
  display: inline-flex;
  align-items: stretch;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(210, 43, 31, 0.5);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out),
              background .35s var(--ease-out), border-color .35s var(--ease-out);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.btn-split:hover {
  background: var(--red-soft);
  border-color: var(--red-soft);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -14px rgba(210, 43, 31, 0.6);
}
.btn-split > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s var(--ease-out);
}
.btn-split > a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-split > a:hover {
  background: rgba(0, 0, 0, 0.18);
}
.btn-split svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-split .arrow { transition: transform .3s var(--ease-out); }
.btn-split > a:hover .arrow { transform: translateX(3px); }

/* On phones we hide the whole .header-cta CTAs (split + standalone) and
   surface them inside the mobile drawer instead. */

/* ---------- Top bar (announcement) ---------- */
.topbar {
  background: var(--bg-1);
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
  min-height: 38px;
}
.topbar a { color: var(--ink); transition: color .25s; }
.topbar a:hover { color: var(--red-soft); }
.topbar__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__msg .dot {
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@media (max-width: 720px) {
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s, padding .35s;
}
.site-header.is-scrolled {
  background: rgba(10, 9, 8, 0.92);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  transition: padding .35s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { padding-block: 12px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
  transition: height .35s var(--ease-out);
}
.site-header.is-scrolled .brand img { height: 36px; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav a:hover, .nav a.is-active {
  color: var(--ink);
}
.nav a:hover::after, .nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.menu-toggle .bars {
  width: 18px; height: 10px;
  position: relative;
}
.menu-toggle .bars span {
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.menu-toggle .bars span:first-child { top: 0; }
.menu-toggle .bars span:last-child { bottom: 0; }
body.menu-open .menu-toggle .bars span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle .bars span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header-cta .btn, .header-cta .btn-split { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg-0);
  padding: 96px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-in-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
body.menu-open .mobile-drawer { transform: translateY(0); }
.mobile-drawer .nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer .nav-mobile a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 38px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer .nav-mobile a .num {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-right: 18px;
  vertical-align: middle;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-0);
}
.hero__bg {
  position: absolute;
  inset: -5%;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.85) 60%, rgba(10,9,8,0.98) 100%),
    url("https://images.unsplash.com/photo-1665484575539-7c6147b348fa?auto=format&fit=crop&w=2400&q=85");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  animation: heroZoom 22s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% 90%, rgba(255, 106, 61, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 20%, rgba(210, 43, 31, 0.12), transparent 60%);
  mix-blend-mode: screen;
}

.hero__content {
  width: 100%;
  padding-block: 120px 90px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.hero__kanji {
  position: absolute;
  right: 0;
  top: -10px;
  font-family: var(--font-jp);
  font-size: clamp(110px, 18vw, 240px);
  line-height: 0.9;
  color: rgba(210, 43, 31, 0.10);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: -1;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--red); }
.hero h1 small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.hero__lead { max-width: 460px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero action cards ----------
   A 4-up grid of richer CTAs (icon + title + hint + arrow) that
   replaces the old plain pill buttons. Each variant gets its own
   accent color so the four actions read as distinct rather than
   competing — and the gift-card slot earns its place visually.
   On phones we collapse to a single column for tap-friendliness. */
.hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 28px;
}
@media (min-width: 1100px) {
  .hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero__actions { grid-template-columns: 1fr; gap: 10px; }
}

.hero-action {
  --acc: var(--ink);
  --acc-soft: rgba(255, 255, 255, 0.06);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.78), rgba(14, 12, 11, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform .35s var(--ease-out),
    border-color .25s ease,
    box-shadow .35s var(--ease-out),
    background .3s ease;
  overflow: hidden;
  isolation: isolate;
}
/* Inner glow that fades in on hover, tinted by the variant accent. */
.hero-action::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, var(--acc-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: -1;
}
.hero-action:hover {
  transform: translateY(-3px);
  border-color: var(--acc);
  box-shadow: 0 22px 50px -22px var(--acc-soft), 0 0 0 1px var(--acc) inset;
}
.hero-action:hover::before { opacity: 1; }

.hero-action__icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--acc);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.hero-action__icon svg { width: 20px; height: 20px; }
.hero-action:hover .hero-action__icon {
  background: var(--acc);
  border-color: var(--acc);
  color: #0c0a09;
}

.hero-action__copy {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.hero-action__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-action__hint {
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-action__arrow {
  width: 16px; height: 16px;
  color: var(--ink-soft);
  transition: transform .35s var(--ease-out), color .25s ease;
  flex-shrink: 0;
}
.hero-action:hover .hero-action__arrow {
  transform: translateX(4px);
  color: var(--acc);
}

/* Variant colors — same card geometry, different personality */
.hero-action--ember {
  --acc: var(--red, #d22b1f);
  --acc-soft: rgba(210, 43, 31, 0.22);
}
.hero-action--gold {
  --acc: var(--gold, #c9a86a);
  --acc-soft: rgba(201, 168, 106, 0.22);
}
.hero-action--gift {
  --acc: #e8c884;
  --acc-soft: rgba(232, 200, 132, 0.22);
}
/* The Call CTA used to inherit a translucent cream `--acc` which made
   the phone icon's stroke vanish against the icon's near-transparent
   background (worst on light theme, where cream-on-cream had near-zero
   contrast). Give it its own confident accent — a warm cinnabar-tinged
   gold that still feels quieter than the ember CTA but is clearly
   visible in both themes — so the phone icon reads as cleanly as
   the Order / Reserve / Gift icons next to it. */
.hero-action--ghost {
  --acc: #e6d4a6;
  --acc-soft: rgba(230, 212, 166, 0.18);
}
:root[data-theme="light"] .hero-action--ghost {
  --acc: #8a6d2e;
  --acc-soft: rgba(138, 109, 46, 0.14);
}

/* Light theme tweaks so the cards still pop on the lighter palette */
:root[data-theme="light"] .hero-action {
  background: linear-gradient(180deg, rgba(245, 237, 224, 0.92), rgba(230, 220, 200, 0.94));
  border-color: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .hero-action__icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}
:root[data-theme="light"] .hero-action__hint { color: rgba(20, 18, 16, 0.65); }
:root[data-theme="light"] .hero-action__arrow { color: rgba(20, 18, 16, 0.55); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.hero__scroll .line {
  width: 60px; height: 1px; background: var(--ink-mute); position: relative; overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  animation: scrollLine 2.6s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 64px;
  padding: 22px 0;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--ink);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee__track .dot { color: var(--red); }
.marquee__track .jp { font-family: var(--font-jp); font-style: normal; color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Story split ---------- */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.story__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.story__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.story__media:hover img { transform: scale(1.05); }
.story__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.story__badge {
  position: absolute;
  bottom: 28px; left: 28px;
  padding: 14px 18px;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 14px;
  z-index: 1;
}
.story__badge .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: var(--red);
  line-height: 1;
}
.story__badge .label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim);
}

.story__copy { display: grid; gap: 22px; }
.story__copy p { color: var(--ink-dim); margin: 0; font-size: 17px; }
.story__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--ink);
  margin-top: 8px;
}
.story__sig small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
}

/* ---------- Experience cards ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.exp-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  cursor: pointer;
}
.exp-card__media {
  position: absolute; inset: 0; z-index: -1;
  transition: transform 1.2s var(--ease-out);
}
.exp-card:hover .exp-card__media { transform: scale(1.06); }
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.05) 0%, rgba(10,9,8,0.4) 50%, rgba(10,9,8,0.95) 100%);
  z-index: 0;
}
.exp-card__body {
  position: relative; z-index: 1;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.exp-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.exp-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--ink);
  line-height: 1;
  margin: 0 0 10px;
}
.exp-card__desc {
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 32ch;
  margin: 0 0 18px;
}
.exp-card__more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
}
.exp-card__more .arrow { transition: transform .4s var(--ease-out); width: 18px; }
.exp-card:hover .exp-card__more .arrow { transform: translateX(4px); }
@media (max-width: 880px) {
  .experience-grid { grid-template-columns: 1fr; }
  .exp-card { aspect-ratio: 16/11; }
}

/* ---------- Menu showcase ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px clamp(40px, 6vw, 96px);
}
.menu-col h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin: 0 0 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.menu-col h3 .ja {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 20px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.menu-item:last-child { border-bottom: 0; }

/* Items with an image add a square thumbnail to the left of the name +
   price. Layout becomes [thumb | name+desc | price]. The thumb spans
   both rows so the description wraps next to it cleanly. Items without
   imageUrl render in the classic text-only style with no layout shift. */
.menu-item--has-media {
  grid-template-columns: 84px 1fr auto;
  gap: 14px 18px;
  align-items: start;
}
.menu-item__media {
  grid-row: span 2;
  width: 84px; height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.menu-item__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease-out);
}
.menu-item--has-media:hover .menu-item__media img { transform: scale(1.05); }
.menu-item--has-media .menu-item__desc { grid-column: 2 / -1; }
@media (max-width: 480px) {
  .menu-item--has-media {
    grid-template-columns: 64px 1fr auto;
    gap: 12px 14px;
  }
  .menu-item--has-media .menu-item__media { width: 64px; height: 64px; }
}
.menu-item__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
.menu-item__price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
}
.menu-item__desc {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 60ch;
}
.menu-item__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  padding-left: 12px;
  position: relative;
  vertical-align: middle;
}
.menu-item__tag::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (max-width: 760px) {
  .menu-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Loading skeleton for the home-page menu preview while the SenseBS API
   resolves. Uses a subtle two-tone shimmer that doesn't fight the brand. */
.menu-item.is-skeleton .menu-item__name,
.menu-item.is-skeleton .menu-item__price,
.menu-item.is-skeleton .menu-item__desc {
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  border-radius: 4px;
  animation: home-menu-shimmer 1.4s ease-in-out infinite;
}
.menu-item.is-skeleton .menu-item__name  { width: 60%; height: 24px; }
.menu-item.is-skeleton .menu-item__price { width: 48px; height: 16px; }
.menu-item.is-skeleton .menu-item__desc  { width: 88%; height: 30px; margin-top: 4px; }
@keyframes home-menu-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
:root[data-theme="light"] .menu-item.is-skeleton .menu-item__name,
:root[data-theme="light"] .menu-item.is-skeleton .menu-item__price,
:root[data-theme="light"] .menu-item.is-skeleton .menu-item__desc {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0.04) 100%
  );
  background-size: 200% 100%;
}
.menu-grid[data-state="ready"] .menu-item.is-skeleton { display: none; }

/* ---------- Reserve CTA strip ---------- */
.reserve-strip {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,9,8,0.55), rgba(10,9,8,0.85)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 860px) { .reserve-strip { background-attachment: scroll; } }
.reserve-strip__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(80px, 10vw, 140px);
}
.reserve-strip__cta { display: grid; gap: 14px; justify-items: end; }
.reserve-strip__cta .phone {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(38px, 5vw, 64px);
  color: var(--gold);
  line-height: 1;
}
.reserve-strip__cta small {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
@media (max-width: 860px) {
  .reserve-strip__inner { grid-template-columns: 1fr; }
  .reserve-strip__cta { justify-items: start; }
}

/* ---------- Visit / Hours ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.visit-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
}
.visit-card h3 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  color: var(--ink);
}
.hours { display: grid; gap: 0; }
.hours__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.hours__row:last-child { border-bottom: 0; }
.hours__row .day { color: var(--ink); letter-spacing: 0.06em; }
.hours__row .time { color: var(--ink-dim); font-family: var(--font-mono); font-size: 15px; }
.hours__row.is-today .day { color: var(--red); }
.hours__row.is-today .time { color: var(--gold); }
.hours__note {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Footer hours block ---------------------------------------
   Used on every page footer (rendered by main.js renderFooterHours).
   Gives the guest a status pill at the top — Open now / Last call /
   Closed — and a tidy two-column day/time grid with today's row
   highlighted in gold. Designed to read cleanly at every footer width
   from desktop columns down to a single mobile stack. */
.footer-hours {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.footer-hours__status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .footer-hours__status {
  background: rgba(10, 9, 8, 0.04);
  border-color: rgba(10, 9, 8, 0.08);
}
.footer-hours__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-dim);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.footer-hours__status-text {
  display: grid;
  gap: 2px;
  line-height: 1.25;
  min-width: 0;
}
.footer-hours__status-text strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-hours__status-text span {
  color: var(--ink-dim);
  font-size: 12px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.footer-hours__status.is-open .footer-hours__dot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: footerHoursPulse 2.4s ease-in-out infinite;
}
.footer-hours__status.is-open .footer-hours__status-text strong {
  color: #4ade80;
}
.footer-hours__status.is-last-call .footer-hours__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  animation: footerHoursPulse 1.6s ease-in-out infinite;
}
.footer-hours__status.is-last-call .footer-hours__status-text strong {
  color: var(--gold);
}
.footer-hours__status.is-closed .footer-hours__dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 52, 52, 0.16);
}
.footer-hours__status.is-closed .footer-hours__status-text strong {
  color: var(--red);
}
@keyframes footerHoursPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.05); }
}
.footer-hours__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.footer-hours__row {
  display: grid;
  grid-template-columns: minmax(48px, max-content) 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .footer-hours__row {
  border-bottom-color: rgba(10, 9, 8, 0.08);
}
.footer-hours__row:first-child { padding-top: 4px; }
.footer-hours__row:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-hours__day {
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-hours__time {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.footer-hours__row.is-today .footer-hours__day {
  color: var(--gold);
}
.footer-hours__row.is-today .footer-hours__time {
  color: var(--gold);
  font-weight: 600;
}
.footer-hours__row.is-today .footer-hours__day::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.visit-info { display: grid; gap: 22px; }
.visit-info__line {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.visit-info__line:last-child { border-bottom: 0; padding-bottom: 0; }
.visit-info__line .ico {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--red);
}
.visit-info__line .label {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 6px;
}
.visit-info__line .val {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}
.visit-info__line a.val:hover { color: var(--red); }

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

/* ---------- Order online callout (the checkout provider prep) ---------- */
.order-callout {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(210, 43, 31, 0.18), transparent 60%),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.order-callout::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1579871494447-9811cf80d66c?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: right center;
  opacity: 0.10;
  z-index: -1;
  mix-blend-mode: lighten;
}
.order-callout h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--ink);
}
.order-callout p { color: var(--ink-dim); margin: 0 0 24px; max-width: 50ch; }
.order-callout__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.order-callout__badge .pulse {
  width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(201, 169, 106, 0.8);
  animation: glow 1.8s ease-out infinite;
}
@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 106, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(201, 169, 106, 0); }
}
.order-callout__visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.order-callout__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .order-callout { grid-template-columns: 1fr; }
}

/* ---------- Gallery (uniform 4:3 tiles, 3 cols desktop / 2 cols mobile)
   Same width AND same height for every tile — clean editorial grid that
   never goes lopsided when the owner adds or removes a photo. Videos
   share the exact same shape so a mixed gallery still looks even. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
}
.gallery img,
.gallery video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.gallery figure:hover img,
.gallery figure:hover video { transform: scale(1.06); }
/* Video badge — small play glyph in the corner of any tile that holds
   a video, plus a subtle dark gradient so the icon always reads. */
.gallery figure[data-kind="video"]::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.gallery figure[data-kind="video"] .play-badge {
  position: absolute; bottom: 12px; left: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(8,7,6,.78);
  display: flex; align-items: center; justify-content: center;
  color: #fff; pointer-events: none;
  backdrop-filter: blur(4px);
}
.gallery figure[data-kind="video"] .play-badge svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.review__stars { color: var(--gold); font-size: 14px; letter-spacing: 0.2em; }
.review__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.review__quote::before {
  content: "“"; color: var(--red); font-size: 56px; line-height: 0; vertical-align: -22px; margin-right: 6px;
}
.review__author {
  display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.review__author .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-3); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 18px;
}
.review__author .name { font-size: 16px; color: var(--ink); display: block; }
.review__author .meta { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #060504;
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-grid ul { display: grid; gap: 12px; }
.footer-grid a { color: var(--ink-dim); transition: color .25s; font-size: 16px; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-mute); margin: 0; font-size: 16px; max-width: 36ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink-dim); transition: all .3s;
}
.socials a:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

.footer-bottom {
  padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; font-size: 14px; color: var(--ink-mute); letter-spacing: 0.1em; }
.footer-bottom .by { color: var(--ink-mute); }
.footer-bottom .by a { color: var(--gold); }

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(120px, 18vw, 200px) 0 clamp(60px, 9vw, 110px);
  background:
    linear-gradient(180deg, rgba(10,9,8,0.65) 0%, rgba(10,9,8,0.95) 100%),
    var(--bg-1);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero[data-img="menu"] {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.65) 0%, rgba(10,9,8,0.95) 100%),
    url("https://images.unsplash.com/photo-1582450871972-ab5ca641643d?auto=format&fit=crop&w=2400&q=85");
  background-position: center 30%;
}
.page-hero[data-img="reserve"] {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.95) 100%),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2400&q=85");
}
.page-hero[data-img="experience"] {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.95) 100%),
    url("https://images.unsplash.com/photo-1617196034796-73dfa7b1fd56?auto=format&fit=crop&w=2400&q=85");
}
.page-hero[data-img="visit"] {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.95) 100%),
    url("https://images.unsplash.com/photo-1526318896980-cf78c088247c?auto=format&fit=crop&w=2400&q=85");
}
.page-hero[data-img="order"] {
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.7) 0%, rgba(10,9,8,0.95) 100%),
    url("https://images.unsplash.com/photo-1553621042-f6e147245754?auto=format&fit=crop&w=2400&q=85");
  background-position: center 35%;
}
.page-hero__crumbs {
  display: flex;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.page-hero__crumbs a { color: var(--ink-dim); }
.page-hero__crumbs a:hover { color: var(--ink); }
.page-hero__crumbs .sep { color: var(--ink-mute); }
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  color: var(--ink);
}
.page-hero__lead { margin-top: 22px; max-width: 640px; }

.page-hero__kanji {
  position: absolute;
  right: var(--gutter); bottom: -50px;
  font-family: var(--font-jp);
  font-size: clamp(140px, 22vw, 320px);
  color: rgba(210, 43, 31, 0.06);
  line-height: 0.85;
  pointer-events: none; user-select: none;
  z-index: -1;
}

/* ---------- Reservation form ---------- */
.reserve-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
}
.reserve-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.reserve-form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 17px;
  transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-3);
}
.field textarea { min-height: 100px; resize: vertical; }
.field .helper {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  line-height: 1.45;
}
.field select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.field option:disabled { color: var(--ink-mute); }
@media (max-width: 640px) { .reserve-form { grid-template-columns: 1fr; } }

/* ---------- Live availability pill (reservations form header) ---------- */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 106, 0.4);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
}
.live-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0); }
}

/* ---------- Reservation status / confirmation card ---------- */
#reserve-status:empty { display: none; }
.reserve-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.reserve-status.warn {
  background: rgba(196, 69, 31, 0.10);
  border: 1px solid rgba(196, 69, 31, 0.4);
  color: var(--ember);
}
.reserve-status.closed {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.reserve-status.ok {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 28px;
}

.reserve-success {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
}
.reserve-success__check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
  margin: 0 auto 18px;
}
.reserve-success__check svg { width: 28px; height: 28px; }
.reserve-success h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.reserve-success__num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}
.reserve-success__num strong { color: var(--ink); font-weight: 500; }
.reserve-success__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 24px;
  margin: 0 auto 24px;
  text-align: left;
  max-width: 460px;
}
.reserve-success__details > div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.reserve-success__details dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.reserve-success__details dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}
.reserve-success__msg {
  color: var(--ink-dim);
  margin: 0 auto 24px;
  max-width: 48ch;
  font-size: 15px;
}
.reserve-success__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.reserve-card-msg {
  text-align: center;
  padding: 12px;
}
.reserve-card-msg h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
}
.reserve-card-msg a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ---------- Map ---------- */
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) contrast(0.95);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Misc ---------- */
::selection { background: var(--red); color: #fff; }

.divider-orn {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold); margin: 40px auto;
}
.divider-orn .l { width: 60px; height: 1px; background: var(--line-strong); }
.divider-orn .glyph { font-size: 18px; }

/* ============================================================
   ORDER PAGE — live the checkout provider integration
   ============================================================ */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* Sticky search bar (sits below header) */
.search-row {
  position: sticky;
  top: 80px;
  z-index: 35;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.search-row__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
}
.search-row__field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-row .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 56px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: border-color .25s, background .25s;
}
.search-input::placeholder {
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
}
.search-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}
/* hide native browser clear/cancel button on type="search" */
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1;
  transition: all .2s;
}
.search-clear:hover { background: var(--red); color: #fff; }
.search-row.has-query .search-clear { display: grid; }
.search-meta {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: none;
}
.search-row.has-query .search-meta { display: block; }

/* Live business-time chip — sits beside the search input */
.biz-clock {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
  white-space: nowrap;
  transition: border-color .25s, background .25s;
}
.biz-clock:empty { display: none; }
.biz-clock .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-mute);
  flex-shrink: 0;
}
.biz-clock.is-open .dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: glow-green 1.8s ease-out infinite;
}
.biz-clock.is-closed .dot {
  background: var(--red);
}
.biz-clock.is-last-call .dot {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: glow-amber 1.6s ease-out infinite;
}
.biz-clock.is-last-call {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), var(--bg-2));
}
.biz-clock.is-closed {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.06), var(--bg-2));
}
.biz-clock .last-order {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
}
.biz-clock.is-last-call .last-order { color: #f59e0b; font-weight: 600; }
.biz-clock.is-closed .last-order    { color: var(--ink); font-weight: 500; }
@keyframes glow-amber {
  0%   { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0   rgba(245, 158, 11, 0); }
}
.biz-clock .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.biz-clock .time {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.biz-clock .tz {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-left: -4px;
}
@keyframes glow-green {
  0%   { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0); }
}
@media (max-width: 760px) {
  .search-row__inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .search-row__field { flex-basis: 100%; }
  .biz-clock {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    gap: 10px;
  }
  .biz-clock .label { font-size: 10px; letter-spacing: 0.18em; }
  .biz-clock .time { font-size: 14px; }
  .biz-clock .tz  { font-size: 10px; }
}

/* Sticky horizontal category nav (under search bar) */
.cat-nav {
  position: sticky;
  top: 162px; /* below header (~80) + search row (~82) */
  z-index: 30;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.cat-nav__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
}
.cat-nav__inner::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  /* search row wraps to ~140px on mobile, so push cat-nav down */
  .cat-nav { top: 220px; }
}
.cat-nav a {
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
}
.cat-nav a:hover { color: var(--ink); border-color: var(--line-strong); }
.cat-nav a.is-active {
  color: var(--bg-0);
  background: var(--ink);
  border-color: var(--ink);
}

/* Category block */
.cat-block + .cat-block { margin-top: clamp(48px, 6vw, 80px); }
.cat-block__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.cat-block__title {
  display: grid;
  gap: 6px;
}
.cat-block__title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--ink);
}
.cat-block__title p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 14px;
}
.cat-block__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  white-space: nowrap;
}
.cat-block__hours.is-open { border-color: var(--gold); color: var(--gold); }
.cat-block__hours.is-pre { border-color: var(--red); color: var(--red); }
.cat-block__hours .pip {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Closed-window advertisement card. Replaces the items grid when a
   category has an availableHours window and we're outside it. The
   card calls out exactly when the menu is back so a diner browsing
   at 7 PM sees "Lunch · Mon–Fri · 11:30am–3pm" and remembers it for
   tomorrow, instead of just seeing nothing or hidden items. */
.cat-block__advert {
  grid-column: 1 / -1;
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(201, 168, 106, 0.08), rgba(201, 168, 106, 0.02)),
    var(--bg-2);
  color: var(--ink);
  overflow: hidden;
  text-align: center;
}
.cat-block__advert::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.6;
}
.cat-block__advert-head {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  color: var(--gold);
}
.cat-block__advert-head svg { flex: 0 0 22px; }
.cat-block__advert-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.cat-block__advert-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
}
.cat-block__advert-when {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.cat-block__advert-sub {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.cat-block--closed .cat-block__head { opacity: 0.92; }

/* Cat-nav entries for closed categories: muted color + an inline
   "Mon–Fri · 11:30am–3pm" badge so the diner sees from the top of
   the page that lunch exists and when it's back, even if they're
   browsing at 8 PM. Tap still scrolls to the section's advert card. */
.cat-nav a.is-later {
  opacity: 0.78;
  color: var(--ink-mute);
}
.cat-nav a.is-later:hover { opacity: 1; color: var(--gold); }
.cat-nav__when {
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
  white-space: nowrap;
  vertical-align: middle;
}

.menu-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.menu-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  padding: 22px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .3s var(--ease-out), background .3s, transform .3s;
}
.menu-card.has-img {
  grid-template-columns: 96px 1fr auto;
}
.menu-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
}
.menu-card.is-out { opacity: 0.45; }
.menu-card__img {
  grid-row: span 3;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-3);
}
.menu-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
.menu-card__price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--gold);
  white-space: nowrap;
  align-self: start;
  padding-top: 6px;
}
.menu-card__desc {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--ink-mute);
  font-size: 16px;
  line-height: 1.55;
}
.menu-card.has-img .menu-card__desc { grid-column: 2 / -1; }
.menu-card:not(.has-img) .menu-card__desc { grid-column: 1 / -1; }
.menu-card__actions {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.menu-card.has-img .menu-card__actions { grid-column: 2 / -1; }
.menu-card:not(.has-img) .menu-card__actions { grid-column: 1 / -1; }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all .25s var(--ease-out);
}
.add-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(210, 43, 31, 0.5);
}
.add-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: transparent;
  color: var(--ink-mute);
  border-color: var(--line);
}
.add-btn[disabled]:hover { background: transparent; color: var(--ink-mute); border-color: var(--line); }
/* "Available Mon–Fri · 11:30am–3pm" — out-of-window CTA: amber tint
   so it reads as informational rather than just disabled, with the
   timing letter-spacing relaxed so the long copy stays readable. */
.add-btn--window {
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: none;
  color: var(--gold) !important;
  border-color: rgba(201, 168, 106, 0.45) !important;
  opacity: 0.85 !important;
}
.add-btn--window:hover { background: transparent !important; color: var(--gold) !important; }
.menu-card.is-window-closed { opacity: 0.78; }
.menu-card.is-window-closed .menu-card__price { color: var(--ink-mute); }
.add-btn .qty {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--gold);
  margin-left: -4px;
}

/* Cart panel (desktop sticky / mobile drawer) */
.cart-panel {
  position: sticky;
  /* Just clear the site header (~80px). The search row + category nav
     are tall enough that the previous 244px offset left the cart with
     barely any vertical room — the foot (subtotal, promo card, CTA)
     was getting clipped. Sitting closer to the viewport top gives the
     cart room to breathe and removes the need to scroll the menu just
     to see the Continue button. */
  top: 96px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
  min-height: 0;
}
.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-panel__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
}
.cart-panel__count {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.cart-panel__body {
  padding: 16px 24px;
  /* min-height:0 is the magic that lets a flex child actually shrink
     below its content's intrinsic size — without it the body refuses
     to give up space to the foot, and the Continue button gets
     pushed off the bottom of the sticky panel. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.cart-empty {
  padding: 32px 8px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
}
.cart-empty .glyph {
  font-family: var(--font-jp);
  display: block;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.25;
}
.cart-line__price {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  white-space: nowrap;
}
.cart-line__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .2s;
  font-size: 18px;
  font-weight: 300;
}
.qty-stepper button:hover { background: var(--bg-3); }
.qty-stepper .v {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
}
.cart-line__remove {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.cart-line__remove:hover { color: var(--red); }
.cart-line__remove-x { display: none; font-size: 18px; line-height: 1; }
.cart-line__note-toggle {
  display: none; /* mobile drawer doesn't need this — notes are always visible */
}
.cart-line__notes {
  grid-column: 1 / -1;
  margin-top: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  width: 100%;
  resize: vertical;
  min-height: 42px;
}
.cart-line__notes:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   COMPACT DESKTOP SIDEBAR CART LINES
   The mobile drawer keeps the chunky layout (each item gets its own
   tile with stepper + notes textarea + Remove word). On the desktop
   sidebar the same look made the cart 10+ items deep and overwhelming —
   so here we collapse each line to a tight one-row layout: name +
   price on row 1, stepper + tiny "Note" toggle + × remove on row 2.
   The notes textarea is hidden by default and only revealed when the
   line carries .has-notes (set when notes already exist or when the
   customer clicks the pencil button).
   ============================================================ */
.cart-panel .cart-line {
  padding: 10px 0;
  gap: 4px 12px;
}
.cart-panel .cart-line__name {
  font-size: 15px;
  font-style: normal;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}
.cart-panel .cart-line__price {
  font-size: 14px;
  align-self: center;
}
.cart-panel .cart-line__controls {
  margin-top: 2px;
  gap: 6px;
}
.cart-panel .qty-stepper { transform: scale(0.82); transform-origin: left center; }
.cart-panel .cart-line__note-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin-left: -8px; /* nudge closer to the (scaled-down) stepper */
  transition: border-color .2s, color .2s;
}
.cart-panel .cart-line__note-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cart-panel .cart-line.has-notes .cart-line__note-toggle {
  border-color: var(--gold);
  color: var(--gold);
}
.cart-panel .cart-line__remove {
  font-size: 0; /* hide the "Remove" word */
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
  transition: background .2s, color .2s;
}
.cart-panel .cart-line__remove-x { display: inline; font-size: 20px; }
.cart-panel .cart-line__remove-word { display: none; }
.cart-panel .cart-line__remove:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.cart-panel .cart-line__notes {
  display: none;
  font-size: 13px;
  min-height: 36px;
  padding: 8px 10px;
}
.cart-panel .cart-line.has-notes .cart-line__notes { display: block; }

.cart-panel__foot {
  padding: 16px 24px 18px;
  border-top: 1px solid var(--line);
  /* Foot is non-shrinkable so totals + CTA stay visible while the
     cart body scrolls. If the foot itself ever exceeds the available
     room (very tall promo card etc.), it can scroll internally rather
     than push the CTA off the bottom of the panel. */
  flex: 0 0 auto;
  max-height: 60%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cart-totals {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.cart-totals .row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--ink-dim);
}
.cart-totals .row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.cart-totals .row.total .v {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
}
.cart-panel__foot .btn { width: 100%; }

/* Promo row inside the totals (between Tax and Total) — gold-tinted so
   it reads as "good news pending" without committing to a number we
   can't verify client-side. */
.cart-totals .row.row--promo {
  color: var(--gold);
  font-size: 14px;
}
.cart-totals .row.row--promo .v {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Promo affirmation card sits between the totals and the Continue
   button. Three pieces: an icon + label, the promo code (mono), and a
   small remove button so the customer can opt out. */
.cart-promo {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 168, 106, 0.45);
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.08), rgba(201, 168, 106, 0.04));
  border-radius: 10px;
  display: grid;
  gap: 4px;
}
.cart-promo__head {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
}
.cart-promo__title { flex: 1; }
.cart-promo__remove {
  background: transparent; border: 0;
  color: var(--ink-soft);
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer; line-height: 1;
  font-size: 18px;
  transition: background .2s ease, color .2s ease;
}
.cart-promo__remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}
.cart-promo__body {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  padding-left: 22px;
}
.cart-promo__code {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(201, 168, 106, 0.18);
  color: var(--gold);
  letter-spacing: 0.06em;
}
.cart-promo__hint {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* "We're closed" notice that replaces the Continue-to-Checkout button
   when the kitchen isn't accepting orders. Same visual weight as the
   promo card so the cart still feels balanced; muted red accent
   distinguishes it from the gold promo banner. */
.cart-closed-note {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.08), rgba(220, 38, 38, 0.03));
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.cart-closed-note svg { flex: 0 0 auto; color: #ef4444; }
body.store-closed .cta-checkout[disabled] {
  background: var(--bg-2) !important;
  color: var(--ink-mute) !important;
  border-color: var(--line) !important;
  cursor: not-allowed;
  opacity: 0.85;
}
body.store-closed #cart-bar[disabled],
body.store-closed #cart-bar[disabled]:hover {
  background: var(--bg-2) !important;
  color: var(--ink-mute) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  pointer-events: auto; /* keep tooltip / cursor feedback */
  opacity: 0.85;
}

/* Mobile cart bar + drawer */
.cart-bar {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 50;
  padding: 16px 22px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(210, 43, 31, 0.6);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform .25s var(--ease-out);
}
.cart-bar .v { font-family: var(--font-mono); letter-spacing: 0; }

/* Bump animation triggered when an item is added to the cart. Uses
   a keyframe (rather than an inline transform) so it composes
   correctly with the desktop translateX(-50%) centering. */
@keyframes cartBarBumpMobile {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes cartBarBumpDesktop {
  0%   { transform: translateX(-50%) scale(1); }
  40%  { transform: translateX(-50%) scale(1.06); }
  100% { transform: translateX(-50%) scale(1); }
}
.cart-bar.is-bumped { animation: cartBarBumpMobile .28s ease-out; }
@media (min-width: 981px) {
  .cart-bar.is-bumped { animation: cartBarBumpDesktop .28s ease-out; }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-0, #0a0908);
  display: none;
  align-items: stretch;
  justify-content: stretch;
}
.cart-drawer.is-open { display: flex; }
.cart-drawer__panel {
  width: 100%;
  height: 100dvh;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  animation: drawerUp .32s var(--ease-out);
  overflow: hidden;
}
@keyframes drawerUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Desktop / wide viewport: same drawer flow but presented as a centered
   modal card with a backdrop, instead of swallowing the whole screen.
   The two-step slider, header, and form-step layout are all reused. */
@media (min-width: 981px) {
  .cart-drawer {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 32px;
  }
  .cart-drawer__panel {
    width: min(720px, 100%);
    height: min(820px, calc(100vh - 64px));
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    animation: drawerPop .32s cubic-bezier(.2,.9,.3,1.1);
  }
  @keyframes drawerPop {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: none; }
  }
}

/* Two-step slider: cart on the left, checkout form on the right.
   Translates the inner track when [data-step="form"] is set on the
   parent .cart-drawer. Each step occupies the full panel width and
   scrolls internally so the page never jumps. */
.cart-drawer__steps {
  display: flex;
  flex: 1 1 auto;
  width: 200%;
  min-height: 0;
  transform: translateX(0);
  transition: transform .35s var(--ease-out);
  will-change: transform;
}
.cart-drawer[data-step="form"] .cart-drawer__steps { transform: translateX(-50%); }
.cart-drawer__step {
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.cart-drawer__step .cart-panel__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cart-drawer__step .cart-panel__foot { flex: 0 0 auto; }

/* Form-step gets a single scroll container so the submit button can
   sit at the bottom of the viewport without overlapping inputs. */
.cart-drawer__step--form { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 18px 28px; }
.cart-drawer__step--form .reserve-card,
.cart-drawer__step--form .checkout-form { width: 100%; max-width: none; }
.cart-drawer__step--form .checkout-form { display: grid; gap: 16px; }
.cart-drawer__step--form .step-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin: 0 0 6px;
}
.cart-drawer__step--form .step-title {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; line-height: 1.1; margin: 0 0 6px; text-align: center;
}
.cart-drawer__step--form .step-lead {
  font-size: 14px; color: var(--ink-dim); text-align: center;
  margin: 0 0 22px;
}

/* Header: back arrow appears only on form step. Title swaps too. */
.cart-drawer__back {
  background: transparent; border: 0;
  color: var(--ink); padding: 6px;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 8px;
  margin-right: 8px;
  transition: background .2s ease;
}
.cart-drawer__back:hover { background: rgba(255,255,255,0.06); }
.cart-drawer[data-step="form"] .cart-drawer__back { display: inline-flex; }
.cart-drawer__title { flex: 1; }

/* The in-page #checkout-section is now a hidden DOM source for the
   checkout form. The form lives there at rest, gets relocated into the
   drawer when the customer taps "Continue to Checkout", and is moved
   back when the drawer closes. We no longer render a second "Last step"
   form on the page itself — the drawer is the single source of truth
   for that flow on every viewport. */
#checkout-section { display: none !important; }

/* Single-column on every viewport — the desktop right-sidebar cart was
   pulling the eye away from the menu (a 10-item cart became a wall of
   editable rows competing with the dish list). We now show only the
   bottom cart pill on every screen size and route every checkout
   action through the same drawer flow as mobile. One UX, end to end. */
.order-layout { grid-template-columns: 1fr; }
.cart-panel { display: none !important; }
body.has-cart .cart-bar { display: inline-flex; }

/* Bottom cart pill on desktop: re-center it at the bottom and cap
   width so it doesn't span the entire viewport. The mobile look
   (edge-to-edge with 16px insets) is preserved on small screens. */
@media (min-width: 981px) {
  .cart-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 28px;
    min-width: 360px;
    max-width: 520px;
    padding: 18px 28px;
    font-size: 15px;
  }
  .cart-bar:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 22px 50px -10px rgba(210, 43, 31, 0.65);
  }
}

/* Checkout form (inline below cart on desktop, in drawer on mobile) */
.checkout-form {
  display: grid;
  gap: 14px;
}
.checkout-form .field input,
.checkout-form .field textarea {
  width: 100%;
}
.checkout-form .row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.checkout-form .helper {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: -4px;
}

/* Submit confirmation */
.confirm-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.confirm-card .num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.confirm-card .order-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--ink);
  margin: 4px 0 6px;
  word-break: break-all;
}
.confirm-card .msg {
  color: var(--ink-dim);
  margin: 0;
  max-width: 40ch;
}
.confirm-card .total {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.04em;
}
.confirm-card .actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}

/* Loading + error states */
.menu-loading {
  padding: 80px 0;
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu-loading .spin {
  display: inline-block;
  width: 24px; height: 24px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.menu-error {
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--red);
  border-radius: var(--radius-md);
  background: rgba(210, 43, 31, 0.08);
  color: var(--ink);
}
.menu-error .glyph { color: var(--red); font-size: 24px; margin-bottom: 8px; }

/* Field error */
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red);
}
.field-error {
  font-size: 14px; color: var(--red); margin-top: 6px;
}

/* Payment method picker */
.pay-method {
  display: grid;
  gap: 12px;
}
.pay-method__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.pay-method__head label {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.pay-method__head .secure {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); display: inline-flex; align-items: center; gap: 6px;
}
.pay-method__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pay-option {
  position: relative;
  padding: 18px 18px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s var(--ease-out);
  display: grid;
  gap: 4px;
}
.pay-option:hover { border-color: var(--line-strong); background: var(--bg-3); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
.pay-option__title .check {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  transition: all .2s;
}
.pay-option__title .check::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); transform: scale(0); transition: transform .2s var(--ease-out);
}
.pay-option__desc {
  margin: 0; font-size: 15px; color: var(--ink-mute); line-height: 1.5;
  padding-left: 30px;
}
.pay-option input:checked + .pay-option__title .check {
  border-color: var(--red);
}
.pay-option input:checked + .pay-option__title .check::after {
  transform: scale(1);
}
.pay-option:has(input:checked) {
  border-color: var(--red);
  background: linear-gradient(160deg, rgba(210,43,31,0.06), rgba(210,43,31,0.02));
}
@media (max-width: 640px) {
  .pay-method__options { grid-template-columns: 1fr; }
}

/* Trust panel under the picker — appears when "Pay Now" is selected */
.pay-trust {
  margin-top: 4px;
  padding: 16px 18px;
  background: linear-gradient(160deg, rgba(99, 91, 255, 0.08), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(99, 91, 255, 0.28);
  border-radius: var(--radius-md);
  display: grid;
  gap: 10px;
}
.pay-trust__head {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.pay-trust__head svg { flex-shrink: 0; margin-top: 3px; }

/* In-page checkout modal (iframes the the checkout provider deep link) */
body.checkout-modal-open { overflow: hidden; }
.checkout-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: clamp(8px, 2vw, 32px);
  animation: fadein .2s var(--ease-out);
}
.checkout-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 4, 3, 0.78);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
.checkout-modal__panel {
  position: relative;
  width: min(640px, 100%);
  height: min(820px, 92vh);
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
}
.checkout-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.checkout-modal__title {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.checkout-modal__title svg { color: #22c55e; }
.checkout-modal__title .stripe-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: rgba(99, 91, 255, 0.16);
  color: #a5a0ff;
  border-radius: 999px;
  margin-left: 4px;
}
.checkout-modal__close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg-3);
  color: var(--ink-dim);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: all .2s;
}
.checkout-modal__close:hover { background: var(--red); color: #fff; }
.checkout-modal__trust {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(160deg, rgba(99, 91, 255, 0.08), transparent);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.checkout-modal__trust svg { flex-shrink: 0; margin-top: 3px; }

.checkout-modal__body {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.checkout-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}
.checkout-modal__loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  gap: 14px;
  background: var(--bg-1);
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  transition: opacity .25s;
  z-index: 1;
}
.checkout-modal__loading .spin {
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
.checkout-modal__foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.checkout-modal__foot strong { font-weight: 500; }
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 640px) {
  .checkout-modal { padding: 0; }
  .checkout-modal__panel {
    width: 100%; height: 100%;
    max-height: none;
    border-radius: 0;
    border: 0;
  }
}

/* ============================================================
   LIGHT THEME — opt-in for accessibility / older guests
   Activated by data-theme="light" on <html>. The dark theme
   stays the default for everyone else.
   ============================================================ */
:root[data-theme="light"] {
  --bg-0: #faf8f3;
  --bg-1: #f3efe6;
  --bg-2: #ebe5d6;
  --bg-3: #ddd4c0;
  --line: rgba(20, 18, 15, 0.10);
  --line-strong: rgba(20, 18, 15, 0.24);

  --ink: #1a1814;
  --ink-dim: #4a463e;
  --ink-mute: #6f685c;

  /* Brand reds keep their identity, but we use slightly deeper variants
     for AA contrast on cream backgrounds. */
  --red: #b8241a;
  --red-soft: #d22b1f;
  --ember: #c4451f;
  --gold: #8a6e2e;
  --gold-soft: #a8853a;

  --shadow-deep: 0 30px 80px -20px rgba(80, 60, 30, 0.18);
  --shadow-soft: 0 10px 40px -10px rgba(80, 60, 30, 0.12);

  color-scheme: light;
}

/* The browser-chrome theme color follows the active theme. */
:root[data-theme="light"] body { background: var(--bg-0); color: var(--ink); }

/* Sticky header / topbar / mobile drawer used hard-coded near-black rgbas;
   replace them with cream translucents so the bar reads in light mode. */
:root[data-theme="light"] .topbar { background: rgba(245, 240, 230, 0.96); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .site-header { background: rgba(250, 248, 243, 0.78); }
:root[data-theme="light"] .site-header.is-scrolled { background: rgba(250, 248, 243, 0.94); border-bottom-color: var(--line); }
:root[data-theme="light"] .mobile-drawer { background: rgba(250, 248, 243, 0.97); }

/* "Photo + dark gradient + light text" components stay dark in light mode
   too — the photograph dictates the contrast, so we pin all overlaid
   text to the dark-theme cream palette regardless of the page theme.
   Components covered: .hero, .page-hero, .exp-card, .reserve-strip,
   and .story__badge (translucent dark badge over the story photo). */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .hero h1 small,
:root[data-theme="light"] .hero__row,
:root[data-theme="light"] .page-hero,
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .exp-card,
:root[data-theme="light"] .exp-card h3,
:root[data-theme="light"] .exp-card__title,
:root[data-theme="light"] .exp-card__more,
:root[data-theme="light"] .exp-card .eyebrow,
:root[data-theme="light"] .reserve-strip,
:root[data-theme="light"] .reserve-strip h2,
:root[data-theme="light"] .story__badge,
:root[data-theme="light"] .story__badge .num { color: #f5f1ea; }
:root[data-theme="light"] .hero p,
:root[data-theme="light"] .page-hero p,
:root[data-theme="light"] .page-hero__lead,
:root[data-theme="light"] .exp-card p,
:root[data-theme="light"] .exp-card__body p,
:root[data-theme="light"] .exp-card__desc,
:root[data-theme="light"] .reserve-strip p,
:root[data-theme="light"] .reserve-strip__copy p,
:root[data-theme="light"] .story__badge .label { color: #b8b1a6; }
:root[data-theme="light"] .page-hero__crumbs a { color: #b8b1a6; }
:root[data-theme="light"] .page-hero__crumbs a:hover { color: #f5f1ea; }
:root[data-theme="light"] .page-hero__crumbs .sep { color: #7a7368; }
/* Eyebrows, monos, and gold accents over the dark photo overlay use
   the brighter dark-theme gold so they pop, not the deeper light-theme
   gold which would disappear into the photo. */
:root[data-theme="light"] .hero .eyebrow,
:root[data-theme="light"] .page-hero .eyebrow,
:root[data-theme="light"] .exp-card .eyebrow,
:root[data-theme="light"] .exp-card__num,
:root[data-theme="light"] .reserve-strip .eyebrow,
:root[data-theme="light"] .reserve-strip__cta .phone { color: #c9a96a; }
:root[data-theme="light"] .reserve-strip__cta small { color: #b8b1a6; }
:root[data-theme="light"] .hero .eyebrow::before,
:root[data-theme="light"] .page-hero .eyebrow::before,
:root[data-theme="light"] .exp-card .eyebrow::before,
:root[data-theme="light"] .reserve-strip .eyebrow::before { background: #c9a96a; }
/* Ghost button (border outline + ink text) over a dark photo: in light
   mode the ink becomes dark + invisible. Force outline-cream when the
   ghost button sits on a dark-photo container. */
:root[data-theme="light"] .reserve-strip .btn--ghost,
:root[data-theme="light"] .exp-card .btn--ghost {
  --btn-fg: #f5f1ea;
  --btn-bd: rgba(255, 255, 255, 0.35);
}
:root[data-theme="light"] .reserve-strip .btn--ghost:hover,
:root[data-theme="light"] .exp-card .btn--ghost:hover {
  --btn-bd: #f5f1ea;
  --btn-bg: rgba(255, 255, 255, 0.06);
}

/* Footer was hard-coded #060504 — give it a warm cream surface that
   matches the rest of the page in light mode. */
:root[data-theme="light"] .site-footer { background: var(--bg-1); border-top: 1px solid var(--line); color: var(--ink); }
:root[data-theme="light"] .site-footer a { color: var(--ink); }

/* Modal backdrop & in-page overlays */
:root[data-theme="light"] .checkout-modal__backdrop { background: rgba(40, 30, 18, 0.45); }
:root[data-theme="light"] .menu-card__img-wrap::after { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18)); }

/* Search clear button hover stays red — already uses var(--red). Good. */

/* Light-mode tweaks for menu cards, totals, and inputs so they don't
   swallow text into the cream background. */
:root[data-theme="light"] .menu-card { box-shadow: 0 2px 8px -2px rgba(80, 60, 30, 0.08); }
:root[data-theme="light"] .menu-card:hover { box-shadow: 0 12px 32px -8px rgba(80, 60, 30, 0.18); }
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea { background: #fff; border-color: var(--line-strong); color: var(--ink); }
:root[data-theme="light"] .field input::placeholder,
:root[data-theme="light"] .field textarea::placeholder { color: var(--ink-mute); }
:root[data-theme="light"] .search-input { background: #fff; color: var(--ink); }
:root[data-theme="light"] .search-row { background: rgba(245, 240, 230, 0.96); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .cat-nav { background: rgba(245, 240, 230, 0.96); }

/* Cart panel + pay-method block read well by default but the inner
   subgrid needs a subtle border so it stays visually grouped. */
:root[data-theme="light"] .cart-panel,
:root[data-theme="light"] .pay-method,
:root[data-theme="light"] .pay-trust { border-color: var(--line-strong); }

/* Confirmation card */
:root[data-theme="light"] .confirm-card { background: var(--bg-1); border-color: var(--line-strong); }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
  flex-shrink: 0;
  margin-right: 4px;
}
.theme-toggle:hover { background: var(--bg-3); border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; color: var(--gold); }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* On phones the header is dense — keep the toggle visible but slightly smaller. */
@media (max-width: 760px) {
  .theme-toggle { width: 36px; height: 36px; }
  .theme-toggle svg { width: 16px; height: 16px; }
}

/* ============================================================
   ORDER FLOW — Modifier modal, Upsell modal, Tip picker, Cart
   modifier-line styles, Confirmation totals
   ============================================================
   These power the native /order checkout (no SenseBS iframe for
   the happy path). The visual language follows the existing
   .checkout-modal: dark overlay with blurred backdrop, off-black
   panel, gold accents on focus / hover, ember red for the primary
   CTAs, and a clean amber gating cue when something is required. */

/* ---------- Cart-line modifier sub-list ---------- */
.cart-line__mods {
  grid-column: 1 / -1;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}
.cart-line__mods li {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.cart-line__mod-group  { color: var(--ink-soft); }
.cart-line__mod-sep    { opacity: 0.4; }
.cart-line__mod-option { color: var(--ink); }
.cart-line__mod-up {
  color: var(--gold);
  font-weight: 500;
}
.cart-panel .cart-line__mods { font-size: 10.5px; }

/* ---------- Modal shell shared by mod + upsell ---------- */
body.mod-modal-open,
body.upsell-modal-open { overflow: hidden; }

.mod-modal,
.upsell-modal {
  position: fixed; inset: 0;
  z-index: 1100;
  display: flex; align-items: flex-end; justify-content: center;
  isolation: isolate;
}
.mod-modal__backdrop,
.upsell-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 7, 6, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modBackdrop .25s var(--ease-out);
}
@keyframes modBackdrop { from { opacity: 0; } to { opacity: 1; } }

.mod-modal__panel,
.upsell-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 92dvh;
  background: var(--bg-1);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modSlideUp .32s var(--ease-out);
}
@keyframes modSlideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 720px) {
  .mod-modal,
  .upsell-modal { align-items: center; }
  .mod-modal__panel,
  .upsell-modal__panel {
    max-height: 86dvh;
    border-radius: 16px;
    animation: modPopIn .28s var(--ease-out);
  }
}
@keyframes modPopIn { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Modifier modal head/body/foot ---------- */
.mod-modal__head {
  position: relative;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}
.mod-modal__title { display: flex; align-items: baseline; gap: 14px; }
.mod-modal__title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
}
.mod-modal__base-price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
}
.mod-modal__desc {
  margin: 8px 0 0;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.5;
}
.mod-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.mod-modal__close:hover { background: var(--bg-2); border-color: var(--gold); color: var(--gold); }

.mod-modal__body {
  padding: 18px 24px 8px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.mod-group {
  border: none;
  margin: 0 0 22px;
  padding: 0;
}
.mod-group__legend {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
}
.mod-group__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.mod-group__name .req { color: var(--red, #d4524d); }
.mod-group__hint {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mod-group__options {
  display: flex; flex-direction: column;
  gap: 6px;
}
.mod-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out);
}
.mod-opt:hover { border-color: var(--gold); }
.mod-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mod-opt__check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  flex: 0 0 18px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out);
}
.mod-opt input[type="checkbox"] + .mod-opt__check { border-radius: 4px; }
.mod-opt input:checked + .mod-opt__check {
  background: var(--gold);
  border-color: var(--gold);
}
.mod-opt input:checked + .mod-opt__check::after {
  content: ""; width: 8px; height: 8px;
  background: var(--bg-1); border-radius: inherit;
}
.mod-opt__name { flex: 1; font-size: 15px; color: var(--ink); }
.mod-opt__price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.mod-opt input:checked ~ * { font-weight: 500; }
.mod-opt:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.08);
}
.mod-group__error {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(212, 82, 77, 0.12);
  border: 1px solid rgba(212, 82, 77, 0.35);
  color: var(--red, #d4524d);
  font-size: 12px;
}
.mod-modal__empty {
  padding: 24px;
  text-align: center;
  color: var(--ink-mute);
}

.mod-modal__foot {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.mod-modal__qty {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mod-modal__qty-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mod-modal__add {
  width: 100%;
  justify-content: center;
}
.mod-modal__add[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Upsell modal ---------- */
.upsell-modal__head {
  position: relative;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.upsell-modal__head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
}
.upsell-modal__head p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.5;
}
.upsell-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.upsell-modal__close:hover { background: var(--bg-2); border-color: var(--gold); color: var(--gold); }
.upsell-modal__grid {
  padding: 18px 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.upsell-tile {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.upsell-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.upsell-tile__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.upsell-tile__name {
  padding: 12px 14px 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.2;
}
.upsell-tile__price {
  padding: 0 14px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}
.upsell-tile__actions {
  display: flex; align-items: center; gap: 8px;
  margin: 0 12px 12px;
}
.upsell-tile__add {
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex: 1;
}
.upsell-tile__remove {
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-color: var(--line);
}
.upsell-tile__remove:hover {
  color: #e05c5c;
  border-color: #e05c5c;
  background: rgba(224, 92, 92, 0.08);
}
.upsell-tile.is-added {
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.06);
}
.upsell-tile__badge {
  display: inline-block;
  margin: 0 14px 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(201, 168, 106, 0.16);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.upsell-tile__body {
  display: flex; flex-direction: column; flex: 1; min-width: 0;
}

/* Mobile: compact horizontal cards instead of big square image tiles */
@media (max-width: 600px) {
  .upsell-modal__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
  }
  .upsell-tile {
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
  }
  .upsell-tile__img {
    width: 68px; min-width: 68px; height: 68px;
    aspect-ratio: auto;
    border-radius: 8px;
    margin: 8px 0 8px 8px;
  }
  .upsell-tile__name {
    padding: 6px 10px 2px;
    font-size: 14px;
  }
  .upsell-tile__price {
    padding: 0 10px 4px;
    font-size: 12px;
  }
  .upsell-tile__badge {
    margin: 0 10px 4px;
    font-size: 10px;
    padding: 2px 8px;
  }
  .upsell-tile__actions {
    margin: 0 8px 6px 10px;
    gap: 6px;
  }
  .upsell-tile__add,
  .upsell-tile__remove {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .upsell-modal__head {
    padding: 16px 16px 10px;
  }
  .upsell-modal__head h3 { font-size: 20px; }
  .upsell-modal__foot { padding: 10px 16px 16px; }
}
.upsell-modal__foot {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

/* ---------- Tip picker ---------- */
.tip-picker {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bg-2);
}
.tip-picker[data-state="pending"] {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15) inset;
}
.tip-picker__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}
.tip-picker__head label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.tip-picker__req { color: var(--red, #d4524d); margin-left: 4px; }
.tip-picker__hint {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.tip-picker__opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}
.tip-opt {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 10px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out), transform .18s var(--ease-out);
  min-height: 60px;
}
.tip-opt:hover { border-color: var(--gold); }
.tip-opt.is-active {
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.12);
  transform: translateY(-1px);
}
.tip-opt__label {
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.tip-opt__amount {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}
.tip-opt--zero .tip-opt__amount { color: var(--ink-mute); }
.tip-picker__custom {
  margin-top: 10px;
  display: flex; align-items: center;
  gap: 8px;
}
.tip-picker__custom-prefix {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 16px;
}
.tip-picker__custom input {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
}
.tip-picker__custom input:focus {
  border-color: var(--gold);
  outline: none;
}
.tip-picker__custom-apply {
  padding: 10px 14px;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--bg-1);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
}
.tip-picker__selected {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.tip-picker[data-state="picked"] .tip-picker__selected { color: var(--ink); }

/* ---------- Confirmation totals breakdown ---------- */
.confirm-card__totals {
  margin: 18px auto 22px;
  max-width: 380px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
}
.confirm-card__totals .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-mute);
}
.confirm-card__totals .row.total {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.confirm-card__totals .row > span:last-child {
  font-family: var(--font-mono);
  color: var(--ink);
}

/* ---------- Light-mode overrides ---------- */
:root[data-theme="light"] .mod-modal__backdrop,
:root[data-theme="light"] .upsell-modal__backdrop {
  background: rgba(245, 240, 230, 0.78);
}
:root[data-theme="light"] .mod-opt input:checked + .mod-opt__check::after {
  background: #fff;
}
