/* =========================================================
   COLOUR SYSTEM

   The site is LIGHT by default and goes dark only where it earns
   it: the hero, the photo gallery, the footer and the lightboxes.
   Light where you read, dark where you look.

   How it works: every rule below uses semantic tokens (--ink,
   --surface, --accent) rather than literal colours. Those tokens
   are defined once for the light ground here, and redefined inside
   the dark-region block further down. A component therefore needs
   no knowledge of which ground it is sitting on.

   WHY --accent EXISTS SEPARATELY FROM --apricot
   Apricot #ED9E58 measures 2.18:1 against a light ground, so it
   cannot legally carry text there. --accent is apricot darkened to
   #9A5112 for text, links and prices on light; inside a
   dark region it reverts to true apricot. Apricot itself is still
   used at full strength wherever it is a FILL behind dark text,
   which is where the gold actually reads as gold.
   ========================================================= */
:root {
  /* ---- Brand constants: identical on any ground ---- */
  --apricot: #ED9E58;
  --apricot-light: #F7C08A;
  --apricot-deep: #D97E33;
  --black: #000000;
  --near-black: #1A1613;
  --gold-ink: #1A1208;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1240px;
  --radius: 14px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root,
[data-theme="light"] {
  /* ---- Light ground (the default) ---- */
  --ground: #FBF7F1;
  --ground-2: #F3EADD;
  --surface: #FFFFFF;
  --ink-strong: #140E09;
  --ink: #2A1E15;
  --ink-muted: #6B5B4E;
  --line: rgba(36, 26, 18, 0.18);
  --fill-subtle: rgba(36, 26, 18, 0.04);
  --dot-idle: rgba(36, 26, 18, 0.20);
  /* Apricot cannot carry text on light (2.18:1). These are the darkest-
     ground-safe substitutes: --accent clears 4.95:1 even on --ground-2,
     which is the tightest case on the site. */
  --accent: #9A5112;
  --accent-soft: #8A4A0F;
  --shadow-card: 0 1px 2px rgba(36,26,18,.05), 0 10px 26px rgba(36,26,18,.07);
}

[data-theme="dark"] {
  --ground: #000000;
  --ground-2: #1A1613;
  --surface: #241D18;
  --ink-strong: #FFFFFF;
  --ink: #E8E8E8;
  --ink-muted: #9A9A9A;
  --line: rgba(237, 158, 88, 0.28);
  --fill-subtle: var(--line);
  --dot-idle: rgba(255, 255, 255, 0.20);
  --accent: var(--apricot);
  --accent-soft: var(--apricot-light);
  --shadow-card: 0 10px 30px rgba(0,0,0,.45);
}

/* ---- Dark regions -------------------------------------------
   Tokens only. Each region paints its own background, because some
   carry a photo, a gradient or a backdrop blur that must not be
   flattened by a solid fill. ------------------------------------ */
.on-dark,
.site-header,
.hero,
.page-hero,
.section--dark,
.site-footer,
.lightbox,
.mgal-lb,
.subnav-bar,
.event-card {
  --ground: var(--black);
  --ground-2: var(--near-black);
  --surface: #241D18;
  --ink-strong: #FFFFFF;
  --ink: #E8E8E8;
  --ink-muted: #9A9A9A;
  --line: rgba(237, 158, 88, 0.28);
  --fill-subtle: var(--line);
  --dot-idle: rgba(255, 255, 255, 0.20);
  --accent: var(--apricot);
  --accent-soft: var(--apricot-light);
  --shadow-card: 0 10px 30px rgba(0,0,0,.45);
  color: var(--ink);
}
/* .event-card carries its dark ground in a ::after scrim over the photo,
   so it must NOT also paint a solid background over its own image. */
.event-card { background: transparent; }

/* A full-bleed dark band. Used for the homepage photo gallery, where
   a dark ground makes the food read far better than cream does. */
.section--dark { background: var(--black); }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink-strong); font-weight: 600; line-height: 1.12; }

/* ---------- Accessibility: focus ---------- */
:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--apricot); color: #1a1207; padding: .7rem 1.2rem;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--near { background: var(--ground-2); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--accent);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after { content: "*"; color: var(--accent); font-size: .7em; }
.eyebrow--plain::before, .eyebrow--plain::after { content: none; }

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  margin-bottom: 1rem;
  letter-spacing: .5px;
}
.section-lead { max-width: 60ch; color: var(--ink-muted); margin-inline: auto; }

.diamond-sep { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --glow: rgba(237, 158, 88, 0.55);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .92rem;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  will-change: transform, box-shadow;
}
.btn--primary {
  background: linear-gradient(135deg, var(--apricot-light), var(--apricot) 45%, var(--apricot-deep));
  color: #1a1207;
  box-shadow: 0 6px 20px rgba(217, 126, 51, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  animation: flameGlow 1.6s var(--ease) infinite;
  background: linear-gradient(135deg, var(--apricot), var(--apricot-deep) 60%, var(--apricot-deep));
}
.btn--ghost {
  background: transparent;
  color: var(--ink-strong);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(237, 158, 88, 0.25);
}
.btn--block { width: 100%; }

@keyframes flameGlow {
  0%   { box-shadow: 0 0 0 0 var(--glow), 0 6px 18px rgba(217,126,51,.3); }
  50%  { box-shadow: 0 0 26px 4px var(--glow), 0 10px 26px rgba(217,126,51,.45); }
  100% { box-shadow: 0 0 0 0 var(--glow), 0 6px 18px rgba(217,126,51,.3); }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink-strong);
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 1.6rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: .35rem 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--apricot);
  transition: width .28s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Cart */
.cart-btn { position: relative; display: inline-flex; padding: .4rem; color: var(--ink-strong); }
.cart-btn:hover { color: var(--accent); }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--apricot);
  color: #1a1207;
  font-size: .7rem; font-weight: 700;
  border-radius: 20px;
  display: grid; place-items: center;
  line-height: 1;
}
.cart-badge.pop { animation: pop .4s var(--ease); }
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--ink-strong);
  background: rgba(255,255,255,.03);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--fill-subtle);
  transform: translateY(-1px);
}
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.theme-toggle .theme-moon,
[data-theme="dark"] .theme-toggle .theme-sun {
  opacity: 0;
  transform: scale(.72) rotate(-16deg);
}
[data-theme="dark"] .theme-toggle .theme-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: .5rem;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--ink-strong);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: calc((100vw - 100%) + 1px); z-index: 950;
    height: 100dvh; width: min(82vw, 340px);
    background: var(--near-black);
    border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 90px 0 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(16px);
    transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .35s var(--ease);
    overflow-y: auto;
    margin-left: 0;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateX(0); }
  .nav-links a {
    padding: 1.05rem var(--gutter);
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
  }
  .nav-links a::after { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
}

/* =========================================================
   HERO + EMBERS
   ========================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid; align-items: center;
  overflow: hidden;
  isolation: isolate;
  /* Explicit, not inherited. The body is cream now, so a hero photo that
     fails to load must not leave white text on a light ground. */
  background: var(--black);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  object-fit: cover; width: 100%; height: 100%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(217,126,51,0.20), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.92));
}
#ember-canvas {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none;
}
.hero__inner { max-width: 60ch; padding-block: 5rem; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 1.3rem;
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--ink); max-width: 46ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =========================================================
   ABOUT STRIP
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-grid img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.stat-row { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); display: block; }
.stat span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

/* =========================================================
   FEATURED DISHES
   ========================================================= */
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.dish-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.dish-card:hover { transform: translateY(-6px); border-color: var(--line); }
.dish-card img { width: 100%; height: 210px; object-fit: cover; }
.dish-card__body { padding: 1.3rem 1.4rem 1.6rem; }
.dish-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.dish-card .price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.dish-card p { color: var(--ink-muted); font-size: .9rem; margin-top: .5rem; }

/* =========================================================
   BLOG / RECENT UPDATES CARDS (arched)
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card { display: flex; flex-direction: column; }
.post-card__media {
  border-radius: 180px 180px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  margin-bottom: 1.2rem;
}
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-meta { display: flex; gap: .8rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.post-meta .cat { color: var(--accent); font-weight: 600; }
.post-meta .date { color: var(--ink-muted); }
.post-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-muted); font-size: .92rem; }
.read-more { color: var(--accent); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .8rem; display: inline-block; font-weight: 600; }

/* =========================================================
   MENU PAGE
   ========================================================= */
.menu-tabs {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: .4rem 1rem;
  margin-bottom: 3rem;
}
.menu-tab {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: .04em;
  padding: .3rem .2rem;
  position: relative;
  transition: color .25s var(--ease);
}
.menu-tab[aria-selected="true"] { color: var(--accent); }
.menu-tab:hover { color: var(--accent-soft); }
.menu-tab::after {
  content: "*"; color: var(--accent);
  font-size: .6em; margin-left: 1rem;
}
.menu-tab:last-child::after { content: none; }

.menu-panel { display: none; }
.menu-panel.active { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.menu-list { display: flex; flex-direction: column; gap: 1.8rem; }
.menu-item { display: grid; grid-template-columns: 66px 1fr; gap: 1.1rem; align-items: start; }
.menu-item__thumb { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.menu-item__head { display: flex; align-items: baseline; gap: .6rem; }
.menu-item__name {
  font-family: var(--serif); font-size: 1.12rem; color: var(--ink-strong);
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.menu-item__leader { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.menu-item__price { color: var(--accent); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.menu-item__desc { color: var(--ink-muted); font-size: .88rem; margin-top: .35rem; max-width: 46ch; }
.badge-new {
  background: var(--apricot); color: #1a1207;
  font-size: .6rem; font-weight: 700; letter-spacing: .08em;
  padding: .15rem .45rem; border-radius: 20px; text-transform: uppercase;
}
.menu-photo { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; position: sticky; top: 100px; aspect-ratio: 3/4; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.shop-bar .results { color: var(--ink-muted); font-size: .9rem; }
.sort-select {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 40px;
  padding: .6rem 1.1rem;
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.1rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line); }
.sale-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--apricot); color: #1a1207;
  font-weight: 700; font-size: .72rem; letter-spacing: .05em;
  padding: .3rem .7rem; border-radius: 20px;
}
.product-card__media { border-radius: 10px; overflow: hidden; margin-bottom: 1rem; aspect-ratio: 1/1; background: #000; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.product-card .divider { border-bottom: 1.5px dotted var(--line); margin: .6rem 0 .9rem; }
.price-row { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; }
.price-old { color: var(--ink-muted); text-decoration: line-through; font-size: .9rem; }
.price-new { color: var(--ink-strong); font-weight: 700; font-size: 1.2rem; }
.product-actions { margin-top: auto; display: grid; gap: .65rem; }
.product-actions .btn { margin-top: 0; }
.btn--express { font-size: .82rem; padding-block: .7rem; }
.shop-pay-note {
  max-width: 54ch;
  color: var(--ink-muted);
  font-size: .88rem;
  margin: -1.1rem 0 1.8rem;
}
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0,0,0,.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100vh;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  background:
    linear-gradient(135deg, rgba(237,158,88,.12), transparent 42%),
    var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  gap: 1rem;
  overflow: auto;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.cart-drawer__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.cart-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--ink-strong);
  background: var(--fill-subtle);
  flex: 0 0 auto;
}
.cart-drawer__close:hover { color: var(--accent); border-color: var(--accent); }
.cart-items { display: grid; gap: .8rem; }
.cart-empty {
  color: var(--ink-muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__main { grid-column: 1 / -1; min-width: 0; }
.cart-line h3 { font-size: 1rem; margin: 0 0 .2rem; }
.cart-line p { color: var(--ink-muted); font-size: .86rem; margin: 0; }
.cart-line__price {
  color: var(--ink-strong);
  font-weight: 700;
  font-size: .9rem;
  text-align: right;
}
.cart-line__remove {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--ink-muted);
  font-size: .8rem;
  text-decoration: underline;
}
.cart-line__remove:hover { color: var(--accent); }
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem;
}
.cart-qty button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(237,158,88,.12);
  color: var(--accent);
  font-weight: 700;
}
.cart-qty span {
  min-width: 1.8rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink-strong);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0 .8rem;
  color: var(--ink-muted);
}
.cart-total strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cart-note {
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}
.checkout-success {
  margin-bottom: 1.2rem;
}

/* =========================================================
   RESERVATION PAGE
   ========================================================= */
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.reserve-photo { border-radius: var(--radius); overflow: hidden; min-height: 100%; }
.reserve-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.reserve-lead { color: var(--ink-muted); margin-bottom: 2rem; }
.reserve-lead a { color: var(--accent); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-strong);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(237,158,88,0.18);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-status { grid-column: 1/-1; border-radius: 10px; padding: .9rem 1rem; font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(237,158,88,0.14); border: 1px solid var(--apricot); color: var(--accent-soft); }
.form-status.error { background: rgba(200,60,60,0.14); border: 1px solid #c85050; color: #f0a0a0; }

/* Calendar */
.calendar { max-width: 520px; margin-top: 3rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--apricot), var(--apricot-deep));
  color: #1a1207; padding: .9rem 1.2rem;
  font-family: var(--serif); font-size: 1.2rem;
}
.cal-nav { background: rgba(0,0,0,0.15); color: #1a1207; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; transition: background .25s var(--ease); }
.cal-nav:hover { background: rgba(0,0,0,0.3); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); background: rgba(237,158,88,0.15); }
.cal-weekdays span { text-align: center; padding: .6rem 0; font-size: .72rem; letter-spacing: .06em; color: var(--accent); font-weight: 600; }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); background: var(--surface); }
.cal-days button {
  aspect-ratio: 1/1; color: var(--ink); font-size: .9rem;
  border: 1px solid var(--line);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cal-days button:hover:not(:disabled) { background: rgba(237,158,88,0.18); color: var(--ink-strong); }
.cal-days button.empty { pointer-events: none; background: transparent; border: none; }
.cal-days button.today { background: var(--apricot); color: #1a1207; font-weight: 700; }
.cal-days button.selected { outline: 2px solid var(--apricot); outline-offset: -2px; color: var(--accent); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info li { display: flex; gap: 1rem; margin-bottom: 1.6rem; align-items: flex-start; }
.contact-info .ico { color: var(--accent); font-size: 1.3rem; line-height: 1.4; }
.contact-info b { color: var(--ink-strong); display: block; font-family: var(--serif); font-size: 1.05rem; }
.contact-info span { color: var(--ink-muted); font-size: .92rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* =========================================================
   BLOG POST expanded
   ========================================================= */
.post-full { max-width: 760px; margin-inline: auto; display: none; }
.post-full.active { display: block; animation: fadeIn .4s var(--ease); }
.post-full img { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; max-height: 420px; object-fit: cover; }
.post-full h2 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 1rem; }
.post-full p { margin-bottom: 1.1rem; }
.back-link { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem; display: inline-block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--near-black); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; margin-bottom: 2.5rem; }
.footer-grid h4 { color: var(--ink-strong); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-brand .brand { font-size: 1.6rem; display: inline-block; margin-bottom: 1rem; }
.footer-grid p, .footer-grid li { color: var(--ink-muted); font-size: .9rem; margin-bottom: .55rem; }
.footer-grid a:hover { color: var(--accent); }
.socials { display: flex; gap: .8rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--accent); transition: background .25s var(--ease), color .25s var(--ease);
}
.socials a:hover { background: var(--apricot); color: #1a1207; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; text-align: center; color: var(--ink-muted); font-size: .82rem; }
.footer-bottom a { color: var(--accent); }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; overflow: hidden; isolation: isolate; background: var(--black); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 50% -10%, rgba(217,126,51,0.18), transparent 60%);
}
.page-hero--photo {
  min-height: clamp(300px, 46vw, 520px);
  display: grid;
  place-items: center;
}
.page-hero--photo > img {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero--photo::before {
  z-index: -2;
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(217,126,51,0.28), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,0.46), rgba(0,0,0,0.72));
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.breadcrumb { color: var(--ink-muted); font-size: .85rem; margin-top: .7rem; letter-spacing: .05em; }
.breadcrumb .sep { color: var(--accent); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero h1 {
  max-width: 760px;
  margin-inline: auto;
}
.about-intro-grid,
.about-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-story p {
  color: var(--ink);
  margin-bottom: 1rem;
}
.about-story strong { color: var(--accent-soft); }
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.35rem);
  max-width: 760px;
  justify-self: center;
  width: 100%;
}
.founder-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.founder-card img {
  width: 100%;
  height: clamp(240px, 28vw, 340px);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.founder-card div { padding: .9rem; }
.founder-card h3 { font-size: clamp(1.05rem, 2.8vw, 1.25rem); margin-bottom: .2rem; }
.founder-card p {
  color: var(--accent);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.about-photo-stack {
  display: grid;
  gap: 1rem;
}
.about-photo-stack img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 360px;
}
.about-visit {
  max-width: 760px;
  text-align: center;
}
.about-visit p {
  color: var(--ink);
  margin-bottom: 1rem;
}
.about-visit a:not(.btn) { color: var(--accent); }
.about-visit .hero__cta { justify-content: center; margin-top: 1.6rem; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .dish-grid, .blog-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .reserve-grid, .contact-grid, .about-intro-grid, .about-detail-grid { grid-template-columns: 1fr; }
  .menu-panel.active { grid-template-columns: 1fr; }
  .menu-photo { position: static; max-width: 480px; margin-inline: auto; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .dish-grid, .blog-grid, .product-grid { grid-template-columns: 1fr; }
  .shop-bar { align-items: stretch; }
  .sort-select { width: 100%; }
  .cart-drawer__head,
  .cart-line,
  .cart-total {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .cart-line { gap: .7rem; }
  .cart-qty { width: max-content; }
  .cart-line__price { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 100%; }
  .founder-card div { padding: .7rem; }
  .founder-card h3 { font-size: .95rem; }
  .founder-card p { font-size: .68rem; }
  .stat-row { gap: 1.5rem; }
  .menu-item { grid-template-columns: 54px 1fr; }
  .menu-item__thumb { width: 54px; height: 54px; }
  .menu-item__head { flex-wrap: wrap; }
}

/* =========================================================
   MENU OF THE DAY
   ========================================================= */
.mod-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.mod-media { position: relative; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/4.4; }
.mod-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.mod-media img.swap { opacity: 0; transform: scale(1.05); }
.mod-today {
  position: absolute; top: 1.2rem; left: 50%; z-index: 2;
  transform: translateX(-50%);
  background: var(--apricot); color: #1a1207;
  max-width: calc(100% - 2rem); text-align: center; white-space: nowrap;
  font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 30px;
}
.mod-body { animation: fadeIn .5s var(--ease); }
.mod-body.swap { animation: modFlip .55s var(--ease); }
@keyframes modFlip {
  0% { opacity: 0; transform: translateY(14px) rotateX(8deg); }
  100% { opacity: 1; transform: none; }
}
.mod-day { color: var(--accent); font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; font-weight: 600; }
.mod-name { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .5rem 0 .8rem; }
.mod-desc { color: var(--ink); max-width: 46ch; margin-bottom: 1.2rem; }
.mod-price { color: var(--accent); font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.mod-price small { color: var(--ink-muted); font-family: var(--sans); font-size: .8rem; font-weight: 400; text-decoration: line-through; margin-left: .6rem; }
.mod-dots { display: flex; gap: .5rem; margin-top: 1.6rem; }
.mod-dots button { width: 30px; height: 5px; border-radius: 4px; background: var(--dot-idle); transition: background .25s var(--ease); }
.mod-dots button.active { background: var(--apricot); }

/* =========================================================
   LIVE MUSIC / SPECIAL GUEST EVENTS
   ========================================================= */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.event-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.event-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.92)); }
.event-card:hover img { transform: scale(1.06); }
.event-card__body { padding: 1.5rem; }
.event-when {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--apricot); color: #1a1207;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 30px; margin-bottom: .9rem;
}
.event-card h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.event-genre { color: var(--accent-soft); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.event-card .btn { align-self: flex-start; }

/* =========================================================
   GALLERY + LIGHTBOX
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery button {
  border-radius: var(--radius); overflow: hidden; position: relative; padding: 0;
  transition: transform .35s var(--ease);
}
.gallery button:hover { transform: scale(0.98); }
.gallery button::after {
  content: ">"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.45); color: var(--accent); font-size: 1.6rem;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none; place-items: center; padding: 2rem;
}
.lightbox.open { display: grid; animation: fadeIn .3s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(237,158,88,0.15); color: var(--accent);
  border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.4rem; display: grid; place-items: center; transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--apricot); color: #1a1207; }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* =========================================================
   TESTIMONIAL SLIDER
   ========================================================= */
.slider { position: relative; max-width: 760px; margin-inline: auto; }
.slider__track { position: relative; min-height: 260px; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease);
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; visibility: visible; position: relative; }
.slide .stars { color: var(--accent); letter-spacing: .2em; margin-bottom: 1.2rem; font-size: 1.1rem; }
.slide blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--ink-strong); font-style: italic; line-height: 1.5; max-width: 55ch; margin-bottom: 1.4rem; }
.slide .who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin: 0 auto .7rem; border: 2px solid var(--apricot); }
.slide .who b { color: var(--accent); display: block; font-family: var(--serif); }
.slide .who span { color: var(--ink-muted); font-size: .85rem; }
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.slider__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); font-size: 1.3rem; display: grid; place-items: center; transition: background .25s var(--ease), color .25s var(--ease); }
.slider__arrow:hover { background: var(--apricot); color: #1a1207; }
.slider__dots { display: flex; gap: .5rem; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--dot-idle); transition: background .25s var(--ease), transform .25s var(--ease); }
.slider__dots button.active { background: var(--apricot); transform: scale(1.3); }

/* =========================================================
   RESERVATION CTA BANNER
   ========================================================= */
/* The only apricot-filled section on the site. It works precisely because
   it is the only one: after a page of warm blacks the gold lands as an
   arrival rather than as decoration. Everything inside it inverts to dark
   ink, so apricot keeps meaning "act on this" everywhere else. */
.cta-banner {
  position: relative; text-align: center; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(150deg, var(--apricot-light), var(--apricot) 42%, var(--apricot-deep));
  /* A third ground, alongside light and dark: gold. The accent collapses
     into the ink here, because gold text on a gold fill cannot be read. */
  --ink: rgba(26, 18, 8, 0.82);
  --ink-strong: var(--gold-ink);
  --ink-muted: rgba(26, 18, 8, 0.66);
  --accent: var(--gold-ink);
  --accent-soft: var(--gold-ink);
  --line: rgba(26, 18, 8, 0.22);
  color: var(--ink);
}
/* The manager can still choose a photo in the dashboard; it is laid in as a
   faint texture rather than a backdrop, so the band stays gold whatever
   they pick and the text contrast never depends on the image. */
.cta-banner img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: .14; mix-blend-mode: soft-light;
}
.cta-banner::after { content: none; }
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-banner p { color: var(--ink); max-width: 50ch; margin: 0 auto 2rem; }
/* A dark button on gold: the inverse of the same button on black. */
.cta-banner .btn--primary {
  background: var(--gold-ink);
  color: var(--apricot-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.cta-banner .btn--primary:hover {
  background: #000;
  animation: none;
  transform: translateY(-2px);
}

/* Responsive for new sections */
@media (max-width: 992px) {
  .mod-grid { grid-template-columns: 1fr; }
  .mod-media { max-width: 460px; margin-inline: auto; order: -1; }
  .mod-body { text-align: center; }
  .mod-desc { margin-inline: auto; }
  .mod-dots { justify-content: center; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 620px) {
  .events-grid { grid-template-columns: 1fr; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
}

/* =========================================================
   MENU PAGE SUB-NAV (Gallery / Menu / Reservation)
   ========================================================= */
.subnav-bar {
  position: sticky; top: 74px; z-index: 800;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(.45rem, 2vw, 1.1rem);
  padding: .7rem 0;
  flex-wrap: nowrap;
}
.subnav-tab {
  font-family: var(--serif);
  font-size: clamp(.98rem, 3.1vw, 1.35rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: .3rem .15rem .45rem;
  position: relative;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.subnav-tab:hover { color: var(--accent-soft); }
.subnav-tab.active { color: var(--accent); }
.subnav-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--apricot); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.subnav-tab.active::after { transform: scaleX(1); }
.subnav-sep { color: var(--accent); font-size: .68em; opacity: .9; }

@media (max-width: 400px) {
  .subnav { gap: .4rem; }
  .subnav-tab { font-size: .92rem; padding: .3rem .1rem .4rem; }
}

/* Sub-view switching (fade + slide) */
.subview { display: none; }
.subview.active { display: block; animation: subviewIn .45s var(--ease); }
@keyframes subviewIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   MOSAIC GALLERY
   ========================================================= */
.mgal-stage {
  display: flex; align-items: center;
  gap: clamp(.5rem, 1.6vw, 1.1rem);
}
.mgal-grid {
  flex: 1 1 auto; min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--mgal-cols, 4), 1fr);
  grid-auto-rows: var(--mgal-row, 200px);
  grid-auto-flow: dense;
  gap: 7px;
}
.mgal-tile {
  position: relative; overflow: hidden; padding: 0;
  border-radius: 10px;
  background: var(--surface);
  opacity: 0; transform: translateY(18px) scale(.96);
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease);
  will-change: transform, opacity;
}
.mgal-tile.in { opacity: 1; transform: none; }
.mgal-tile.leaving {
  opacity: 0; transform: scale(.92);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.mgal-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.mgal-tile.span-wide { grid-column: span 2; }
.mgal-tile.span-tall { grid-row: span 2; }

@media (hover: hover) {
  .mgal-tile:hover {
    box-shadow: 0 0 0 2px var(--apricot), 0 10px 30px rgba(237,158,88,.35);
    z-index: 2;
  }
  .mgal-tile:hover img { transform: scale(1.08); }
}
.mgal-tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--apricot), 0 10px 30px rgba(237,158,88,.35);
  z-index: 2;
}

/* Pagination arrows */
.mgal-arrow {
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1;
  color: #1a1207;
  background: linear-gradient(135deg, var(--apricot-light), var(--apricot) 55%, var(--apricot-deep));
  box-shadow: 0 6px 18px rgba(217,126,51,.3);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), opacity .25s var(--ease);
}
.mgal-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(237,158,88,.5), 0 8px 22px rgba(217,126,51,.4);
}
.mgal-arrow:disabled { opacity: .28; cursor: default; box-shadow: none; }

/* Page dots */
.mgal-dots {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-top: 1.6rem;
}
.mgal-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(237,158,88,.28);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.mgal-dot.active { background: var(--apricot); transform: scale(1.35); }

/* Mobile: arrows drop below the grid, centered */
@media (max-width: 620px) {
  .mgal-stage { flex-wrap: wrap; justify-content: center; gap: .9rem; }
  .mgal-grid { flex: 0 0 100%; order: -1; gap: 6px; }
}

/* =========================================================
   MOSAIC GALLERY LIGHTBOX
   ========================================================= */
.mgal-lb {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: none; place-items: center; padding: 2rem;
}
.mgal-lb.open { display: grid; animation: fadeIn .3s var(--ease); }
.mgal-lb__figure {
  margin: 0; max-width: 92vw;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.mgal-lb__img {
  max-width: 92vw; max-height: 82vh;
  border-radius: var(--radius); object-fit: contain;
}
.mgal-lb__count {
  color: var(--accent); font-family: var(--sans);
  letter-spacing: .18em; font-size: .9rem; font-weight: 600;
}
.mgal-lb__close, .mgal-lb__nav {
  position: absolute; background: rgba(237,158,88,0.15); color: var(--accent);
  border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.4rem; display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.mgal-lb__close:hover, .mgal-lb__nav:hover { background: var(--apricot); color: #1a1207; }
.mgal-lb__close { top: 1.5rem; right: 1.5rem; }
.mgal-lb__nav.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.mgal-lb__nav.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .mgal-lb { padding: 1rem; }
  .mgal-lb__close, .mgal-lb__nav { width: 42px; height: 42px; font-size: 1.2rem; }
  .mgal-lb__nav.prev { left: .5rem; }
  .mgal-lb__nav.next { right: .5rem; }
  .mgal-lb__close { top: .8rem; right: .8rem; }
}

/* =========================================================
   MENU - SUB-CATEGORY PILLS (2nd level)
   ========================================================= */
.subcat-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: .6rem; margin: -1.4rem 0 2.4rem;
}
.subcat-pill {
  border: 1px solid var(--line); color: var(--ink);
  padding: .42rem 1.1rem; border-radius: 40px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.subcat-pill:hover { border-color: var(--accent); color: var(--accent-soft); }
.subcat-pill.active { background: var(--apricot); color: #1a1207; border-color: var(--accent); font-weight: 600; }
@media (max-width: 620px) {
  .subcat-row {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem; scrollbar-width: none;
  }
  .subcat-row::-webkit-scrollbar { display: none; }
  .subcat-pill { flex: 0 0 auto; }
}

/* Placeholder food thumbnail (apricot) when no photo matches */
.menu-item__thumb--ph {
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, var(--apricot-light), var(--apricot-deep));
  color: #1a1207;
}
.menu-item__thumb--ph svg { width: 30px; height: 30px; }

.menu-list { animation: fadeIn .4s var(--ease); }

.menu-board-section { padding-top: clamp(2rem, 5vw, 4rem); }
.menu-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.6rem);
}
.menu-board-card {
  display: block;
  border: 1px solid rgba(237,158,88,.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.menu-board-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(237,158,88,.16);
}
.menu-board-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   ORDER SECTION
   ========================================================= */
.order-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.order-group { margin-bottom: 2.2rem; }
.order-group__title {
  font-family: var(--serif); color: var(--ink-strong); font-size: 1.4rem;
  margin-bottom: .3rem; letter-spacing: .02em;
}
.order-group__sub {
  color: var(--accent); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .14em; margin: 1.2rem 0 .5rem; font-weight: 600;
  border-bottom: 1px solid var(--line); padding-bottom: .4rem;
}
.order-dish {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
.order-dish__label { flex: 1; display: flex; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; min-width: 0; cursor: pointer; }
.order-dish__name { color: var(--ink-strong); font-weight: 500; }
.order-dish__desc { color: var(--ink-muted); font-size: .8rem; }
.order-dish__price { color: var(--accent); font-weight: 700; white-space: nowrap; }
.order-dish__vary { color: var(--ink-muted); font-size: .78rem; font-style: italic; white-space: nowrap; }

/* Apricot radio */
.order-radio {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--line); flex: 0 0 auto; position: relative;
  cursor: pointer; transition: border-color .2s var(--ease); margin: 0;
}
.order-radio:checked { border-color: var(--accent); }
.order-radio:checked::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--apricot); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; flex: 0 0 auto; }
.qty[hidden] { display: none; }
.qty button { width: 30px; height: 30px; color: var(--accent); font-size: 1.1rem; display: grid; place-items: center; transition: background .2s var(--ease); }
.qty button:hover { background: rgba(237,158,88,.15); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--ink-strong); }

/* Add-on cards (checkboxes) */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
.addon-card {
  display: flex; align-items: center; gap: .6rem;
  border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem;
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.addon-card:hover { border-color: var(--accent); }
.addon-card.checked { border-color: var(--accent); background: rgba(237,158,88,.08); }
.addon-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.addon-card__box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: 0 0 auto; display: grid; place-items: center; color: #1a1207; transition: background .2s var(--ease), border-color .2s var(--ease); }
.addon-card.checked .addon-card__box { background: var(--apricot); border-color: var(--accent); }
.addon-card.checked .addon-card__box::after { content: "x"; font-size: .8rem; font-weight: 700; }
.addon-card__name { flex: 1; font-size: .85rem; color: var(--ink-strong); }
.addon-card__price { color: var(--accent); font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* Your Order summary */
.order-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 150px; }
.order-summary h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1rem; }
.order-lines { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1rem; min-height: 40px; }
.order-line { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .7rem; align-items: baseline; font-size: .88rem; }
.order-line__rm { color: var(--ink-muted); font-size: 1rem; line-height: 1; align-self: center; }
.order-line__rm:hover { color: var(--accent); }
.order-line__name { color: var(--ink); min-width: 0; }
.order-line__name b { color: var(--accent); font-weight: 700; }
.order-line__tot { color: var(--ink-strong); font-weight: 600; white-space: nowrap; }
.order-line__meta { grid-column: 2 / -1; color: var(--ink-muted); font-size: .74rem; }
.order-empty { color: var(--ink-muted); font-size: .88rem; font-style: italic; }
.order-total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .3rem; }
.order-total-row > span:first-child { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--ink-muted); }
.order-total { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--accent); }
.order-clear { color: var(--ink-muted); font-size: .8rem; text-decoration: underline; margin-top: .7rem; }
.order-clear:hover { color: var(--accent); }
.order-note { color: var(--ink-muted); font-size: .74rem; margin-top: .5rem; line-height: 1.4; }
.order-actions {
  display: grid;
  gap: .65rem;
}
.order-actions .btn[hidden] {
  display: none;
}

/* Fulfilment radios (pickup/delivery) */
.pill-radios { display: flex; gap: .6rem; }
.pill-radio { position: relative; flex: 1; }
.pill-radio input { position: absolute; opacity: 0; }
.pill-radio span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 30px; padding: .6rem; font-size: .85rem; cursor: pointer; transition: all .2s var(--ease); }
.pill-radio input:checked + span { background: var(--apricot); color: #1a1207; border-color: var(--accent); font-weight: 600; }

/* Field errors (apricot hints) */
.field__err { color: var(--accent-soft); font-size: .74rem; display: none; }
.field.invalid .field__err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--apricot-deep); box-shadow: 0 0 0 3px rgba(237,158,88,0.16); }

/* Success recap */
.order-recap { margin-top: 1rem; border-radius: 10px; padding: 1rem 1.1rem; background: rgba(237,158,88,0.12); border: 1px solid var(--apricot); color: var(--accent-soft); font-size: .88rem; display: none; white-space: pre-wrap; }
.order-recap.show { display: block; }

@media (max-width: 992px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .menu-board-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  #ember-canvas { display: none; }
  .btn--primary:hover { animation: none; }
  .slide { transition: none; }
  /* Mosaic: no stagger/scale - simple instant swap (crossfade handled by JS state) */
  .mgal-tile, .mgal-tile.in, .mgal-tile.leaving { opacity: 1; transform: none; }
}

/* =========================================================
   CONTENT-DRIVEN ADDITIONS
   Styles for the states that only exist now that the site is
   rendered from content/ — sold-out items, honest form
   warnings, initials instead of stock avatars, and the draft
   preview bar. See js/site-render.js and js/content.js.
   ========================================================= */

/* A section with nothing to show hides itself (no upcoming events,
   no guest reviews yet). Needs !important because .section sets
   display explicitly. */
[hidden] { display: none !important; }

/* ---- Honest form state -------------------------------------
   Used when no Web3Forms key is configured: the form tells the
   guest it is not connected instead of faking a confirmation. */
.form-status.warn {
  border: 1px solid var(--apricot);
  background: rgba(237, 158, 88, 0.10);
  color: var(--accent-soft);
}

/* ---- Sold out ---------------------------------------------- */
.product-card.is-sold-out .product-card__media { opacity: 0.45; filter: grayscale(0.6); }
.product-card.is-sold-out h3 { color: var(--ink-muted); }
.sale-badge--out { background: var(--ink-muted); color: var(--ground); }
.product-note { color: var(--ink-muted); font-size: 0.85rem; margin: 0.15rem 0 0.4rem; }

/* ---- Placeholder art where no photo has been chosen -------- */
.product-card__ph,
.post-card__ph,
.dish-card__ph,
.event-card__ph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--ground-2), var(--surface));
  border-bottom: 1px solid var(--line);
  color: rgba(237, 158, 88, 0.45);
}
.product-card__ph svg,
.post-card__ph svg,
.dish-card__ph svg,
.event-card__ph svg { width: 34px; height: 34px; }

/* ---- Guest reviews: initials instead of a stranger's photo -- */
.who__initials {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(237, 158, 88, 0.14);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.03em;
  flex: 0 0 auto;
}

/* ---- Small notes ------------------------------------------- */
.site-footer .footer-note { color: var(--accent); font-size: 0.8rem; margin-top: 0.5rem; }
.empty-note { color: var(--ink-muted); text-align: center; padding: 2.5rem 0; }

/* ---- Calendar: days the restaurant is closed ---------------- */
.cal-days button.closed { text-decoration: line-through; cursor: not-allowed; }

/* ---- Draft preview bar (only ever shown with ?preview=1) ---- */
.sw-preview-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.2rem;
  padding: 0.7rem var(--gutter);
  background: var(--apricot);
  color: #1a1000;
  font-family: var(--sans);
  font-size: 0.85rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5);
}
.sw-preview-bar a { color: #1a1000; font-weight: 600; text-decoration: underline; }
body.has-preview-bar { padding-bottom: 3.2rem; }
