/* PANTHÈRA — Nikkei menu styles */

:root {
  --bg: #07060a;
  --bg-2: #0c0a10;
  --bg-3: #14111a;
  --surface: #100d15;
  --surface-2: #1a1521;
  --line: rgba(201, 169, 106, 0.16);
  --line-strong: rgba(201, 169, 106, 0.32);
  --gold: #c9a96a;
  --gold-2: #d4b572;
  --gold-soft: #8a7548;
  --gold-deep: #5a4a28;
  --cream: #f4ecdb;
  --cream-dim: #a8a195;
  --text: #ece4d2;
  --text-dim: #8d8676;
  --text-faint: #5d5749;
  --danger: #c45a3c;
  --radius: 2px;
  --shadow-gold: 0 1px 0 rgba(201, 169, 106, 0.08), 0 14px 40px -22px rgba(201, 169, 106, 0.35);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

body.lang-ar { font-family: 'Noto Naskh Arabic', 'Inter', sans-serif; }
body[dir='rtl'] { direction: rtl; }

/* Subtle film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Typography */
.serif { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-weight: 400; letter-spacing: 0.01em; }
.serif-italic { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; }
.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace; letter-spacing: 0.04em; }
.kana { font-family: 'Shippori Mincho', 'Noto Serif JP', serif; color: var(--gold); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ===== Splash ===== */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.splash.is-hidden { opacity: 0; visibility: hidden; }
.splash-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(201, 169, 106, 0.08), transparent 70%);
  pointer-events: none;
}
.splash-logo {
  width: min(340px, 70vw);
  opacity: 0;
  animation: splashIn 1.3s 0.4s ease forwards;
  filter: drop-shadow(0 8px 24px rgba(201, 169, 106, 0.18));
  position: relative;
  z-index: 2;
}
.splash-panther {
  position: absolute;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(360px, 90vw, 620px);
  color: var(--gold);
  opacity: 0;
  line-height: 1;
  animation: splashPanther 2s 0s ease forwards;
  z-index: 1;
  pointer-events: none;
}
@keyframes splashPanther { to { opacity: 0.06; transform: scale(1); } from { opacity: 0; transform: scale(1.1); } }
.splash-tag {
  opacity: 0;
  animation: splashIn 1.3s 0.7s ease forwards;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.splash-rule {
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: splashRule 1.3s 0.4s ease forwards;
}
@keyframes splashIn { to { opacity: 1; transform: none; } }
@keyframes splashRule { from { width: 0; opacity: 0; } to { width: min(380px, 75vw); opacity: 1; } }

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s;
}
.topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-logo { display: flex; align-items: center; gap: 10px; }
.topbar-logo img { height: 22px; width: auto; opacity: 0.95; }
.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cream-dim);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.16);
}
.status-dot.is-closed { background: var(--text-faint); box-shadow: none; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(20, 17, 26, 0.6);
}
.lang-switch button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.lang-switch button.is-active {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 84px 22px 56px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 600px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.55) contrast(1.1) saturate(0.95);
  transform: scale(1.05);
}
.hero-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,6,10,0.45) 0%, rgba(7,6,10,0.7) 50%, rgba(7,6,10,0.95) 92%, rgba(7,6,10,1) 100%),
    radial-gradient(60% 50% at 50% 30%, rgba(201, 169, 106, 0.06), transparent 70%);
  z-index: -1;
}
.hero-panther {
  display: none;
}

/* Panther embedded — controllable via tweaks */
.hero-panther-eyes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--panther-bottom, 30px);
  height: var(--panther-height, 220px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: var(--panther-blend, normal);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 18%, black 40%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 18%, black 40%, black 75%, transparent 100%);
}
/* Mask modes via body data attribute */
body[data-panther-mask='full'] .hero-panther-eyes,
body[data-panther-mask='full'] .hero-panther-eyes {
  mask-image: none;
  -webkit-mask-image: none;
}
body[data-panther-mask='fade'] .hero-panther-eyes {
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
body[data-panther-mask='circle'] .hero-panther-eyes {
  mask-image: radial-gradient(circle at center, black 30%, rgba(0,0,0,0.6) 55%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, rgba(0,0,0,0.6) 55%, transparent 75%);
}
/* In 'full' or 'circle' modes, hide the eyes glow */
body[data-panther-mask='full'] .hero-panther-eyes-glow,
body[data-panther-mask='circle'] .hero-panther-eyes-glow,
body[data-panther-mask='fade'] .hero-panther-eyes-glow {
  display: none;
}
.hero-panther-eyes img {
  position: absolute;
  left: var(--panther-x, 50%);
  top: var(--panther-y, 50%);
  width: var(--panther-zoom, 110%);
  height: auto;
  transform: translate(-50%, -50%);
  /* Keep original colors, boosted so gold eyes pop */
  filter: contrast(1.2) saturate(1.4) brightness(1.05);
  opacity: var(--panther-opacity, 0.75);
}
.hero-panther-eyes-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 5% 4% at 20% 50%, rgba(255, 210, 110, calc(var(--panther-glow, 0.6) * 1)) 0%, rgba(255, 210, 110, calc(var(--panther-glow, 0.6) * 0.3)) 35%, transparent 70%),
    radial-gradient(ellipse 5% 4% at 80% 50%, rgba(255, 210, 110, calc(var(--panther-glow, 0.6) * 1)) 0%, rgba(255, 210, 110, calc(var(--panther-glow, 0.6) * 0.3)) 35%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Content sits above panther */
.hero-frame { position: relative; z-index: 2; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 80% 100%, rgba(196, 90, 60, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-frame {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.hero-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold-soft);
  opacity: 0.7;
}
.hero-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-stamp .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero-logo {
  width: min(420px, 78vw);
  margin: 8px auto 18px;
  display: block;
  filter: drop-shadow(0 6px 30px rgba(201, 169, 106, 0.2));
}

.hero-kana {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  color: var(--gold-soft);
  letter-spacing: 0.4em;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 5vw, 26px);
  color: var(--cream);
  margin: 0 0 28px;
  font-weight: 400;
}

/* Hero team card */
.hero-team {
  margin: 0 auto 28px;
  max-width: 460px;
  position: relative;
}
.hero-team-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  box-shadow:
    0 1px 0 rgba(201, 169, 106, 0.08) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.9),
    0 0 0 8px rgba(7, 6, 10, 0.6);
}
.hero-team-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(0.92) contrast(1.05);
  transition: 0.5s;
}
.hero-team:hover .hero-team-frame img { transform: scale(1.04); }
.hero-team-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,6,10,0.85) 100%);
  pointer-events: none;
}
.hero-team-caption {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.hero-team-caption-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-team-caption-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.hero-meta {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0 0;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.6);
}
.hero-meta-row a { color: var(--cream); text-decoration: none; }
.hero-meta-row a:hover { color: var(--gold); }
.hero-meta-row svg { color: var(--gold); flex-shrink: 0; }

.hero-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: 0.22s ease;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--gold);
}
.btn:hover { background: rgba(201, 169, 106, 0.08); border-color: var(--gold); }
.btn--primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream-dim); }
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold); }

/* ===== Signature dish callout ===== */
.signature {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 18px 12px;
}
.signature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease;
  isolation: isolate;
}
.signature-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.signature-card:hover .signature-photo img { transform: scale(1.04); }

.signature-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.signature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s cubic-bezier(.2,.8,.2,1);
}
.signature-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(7,6,10,0.55) 100%);
  pointer-events: none;
}
.signature-body { padding: 22px 22px 24px; position: relative; }
.signature-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.signature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 36px);
  color: var(--cream);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.signature-blurb {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 460px;
}
.signature-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.signature-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold);
  font-weight: 500;
}
.signature-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 720px) {
  .signature-card { grid-template-columns: 5fr 6fr; }
  .signature-photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .signature-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
}

/* ===== Chef section ===== */
.chef {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 18px 8px;
}
.chef-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}
.chef-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.chef-photo-wrap--portrait {
  aspect-ratio: 4 / 5;
  max-width: 380px;
}
.chef-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 35%;
  filter: contrast(1.05) saturate(1.05) brightness(0.98);
  display: block;
}
.chef-photo-wrap--portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 50%, rgba(7,6,10,0.25) 90%, rgba(7,6,10,0.55) 100%),
    linear-gradient(180deg, transparent 60%, rgba(7,6,10,0.35) 100%);
  z-index: 1;
}
.chef-photo-wrap--portrait .chef-photo-frame,
.chef-photo-wrap--portrait .chef-photo-kana { z-index: 2; }
.chef-photo-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.chef-photo-kana {
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-family: 'Shippori Mincho', serif;
  font-size: 40px;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  letter-spacing: 0.06em;
}
body[dir='rtl'] .chef-photo-kana { right: auto; left: 24px; }

.chef-text { text-align: center; }
.chef-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.chef-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 36px);
  color: var(--cream);
  margin: 0 0 8px;
  font-weight: 500;
}
.chef-signature {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}
.chef-bio {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  max-width: 480px;
  margin: 14px auto 0;
}

@media (min-width: 720px) {
  .chef-grid {
    grid-template-columns: 5fr 6fr;
    gap: 40px;
  }
  .chef-text { text-align: left; }
  body[dir='rtl'] .chef-text { text-align: right; }
  .chef-bio { margin: 14px 0 0; }
  .chef-photo-wrap { max-width: none; }
}

/* ===== Filter bar ===== */
.filters {
  padding: 26px 18px 14px;
  max-width: 720px;
  margin: 0 auto;
}
.filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.filters-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.filters-clear {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-dim);
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}
.filters-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters-row::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.chip:hover { border-color: var(--gold-soft); color: var(--cream); }
.chip.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 600;
}
.chip-icon { font-size: 11px; }

/* ===== Category nav ===== */
.catnav {
  position: sticky;
  top: 49px;
  z-index: 40;
  background: rgba(7, 6, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.catnav-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 18px;
  scrollbar-width: none;
}
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: 0.18s;
  white-space: nowrap;
}
.catnav-btn:hover { color: var(--cream); }
.catnav-btn.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ===== Menu ===== */
.menu-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 18px 80px;
}

.section {
  padding: 40px 0 8px;
  scroll-margin-top: 110px;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}
.section-kana {
  font-family: 'Shippori Mincho', serif;
  font-size: 56px;
  color: rgba(201, 169, 106, 0.10);
  letter-spacing: 0.1em;
  line-height: 1;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.section-eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.section-title {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  color: var(--cream);
}
.section-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 10px;
}
.section-rule::before, .section-rule::after {
  content: '';
  height: 1px;
  width: 32px;
  background: var(--gold-soft);
}
.section-rule-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}
.section-blurb {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.dish-list {
  display: grid;
  gap: 0;
}

.dish {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 14px;
  align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}
.dish:last-child { border-bottom: none; }
.dish:hover { background: rgba(201, 169, 106, 0.03); }
.dish:hover .dish-thumb { border-color: var(--gold-soft); }

.dish-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(201, 169, 106, 0.05) 0,
      rgba(201, 169, 106, 0.05) 4px,
      transparent 4px,
      transparent 9px
    ),
    var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}
.dish-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: 0.4s;
}
.dish:hover .dish-thumb img { transform: scale(1.08); }
.dish-thumb-kana {
  font-family: 'Shippori Mincho', serif;
  color: var(--gold-soft);
  font-size: 22px;
  opacity: 0.7;
}

.dish-body { min-width: 0; }
.dish-row1 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.dish-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
}
.dish-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  margin: 0 4px;
  position: relative;
  top: -4px;
  min-width: 12px;
}
.dish-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}
.dish-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.tag.tag-spicy { color: var(--danger); border-color: rgba(196, 90, 60, 0.3); }
.tag.tag-veg { color: #8fb389; border-color: rgba(143, 179, 137, 0.25); }
.tag.tag-raw { color: var(--gold-2); border-color: var(--line-strong); }

.dish-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
  align-self: start;
  padding-top: 2px;
}
.dish-price-currency { font-size: 11px; color: var(--gold-soft); margin-inline-start: 2px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; }

/* No results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
}

/* ===== Map / contact ===== */
.contact {
  padding: 60px 22px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  gap: 24px;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--surface);
  position: relative;
}
.contact-card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 8px;
}
.contact-card-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}
.contact-card-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-card-body a:hover { color: var(--gold-2); }

.map-frame {
  margin-top: 14px;
  height: 200px;
  background:
    repeating-linear-gradient(45deg, rgba(201,169,106,0.04) 0 1px, transparent 1px 18px),
    radial-gradient(40% 70% at 50% 50%, rgba(201,169,106,0.10), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-pin-dot {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(201, 169, 106, 0.18),
    0 0 0 14px rgba(201, 169, 106, 0.08);
  animation: pinPulse 2.5s ease-in-out infinite;
}
.map-pin-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--cream);
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(201,169,106,0.18), 0 0 0 14px rgba(201,169,106,0.08); }
  50% { box-shadow: 0 0 0 10px rgba(201,169,106,0.10), 0 0 0 22px rgba(201,169,106,0.04); }
}

/* ===== Floating CTAs ===== */
.float-ctas {
  position: fixed;
  bottom: 20px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
}
body[dir='rtl'] .float-ctas { right: auto; left: 18px; }
.float-cta {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(201, 169, 106, 0.5), 0 2px 8px rgba(0,0,0,0.4);
  transition: 0.22s;
}
.float-cta:hover { transform: translateY(-2px); background: var(--gold-2); }
.float-cta.is-secondary {
  background: var(--surface);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
}
.float-cta.is-secondary:hover { background: var(--surface-2); }

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 10, 0.86);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-2);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  border-top: 1px solid var(--gold-soft);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
  padding: 0 0 32px;
}
.modal-backdrop.is-open .modal { transform: none; }

.modal-handle {
  width: 40px; height: 3px;
  background: var(--gold-soft);
  border-radius: 99px;
  margin: 10px auto 0;
}

.modal-image {
  margin: 18px 18px 0;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(201, 169, 106, 0.05) 0,
      rgba(201, 169, 106, 0.05) 6px,
      transparent 6px,
      transparent 14px
    ),
    var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--gold-soft);
  overflow: hidden;
  position: relative;
}
.modal-image-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-image-kana {
  font-family: 'Shippori Mincho', serif;
  font-size: 64px;
  opacity: 0.5;
}
.modal-image-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.modal-body { padding: 22px 22px 0; }
.modal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--cream);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold);
  margin: 0 0 16px;
}
.modal-price-currency { font-size: 13px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; margin-inline-start: 4px; }
.modal-desc {
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  margin: 14px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 22px 30px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 40px;
}
.footer-logo { width: 200px; opacity: 0.6; margin: 0 auto 18px; display: block; }
.footer-rule {
  width: 60px; height: 1px;
  background: var(--gold-soft);
  margin: 18px auto;
}
.footer-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin: 8px 0;
}
.footer-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-dim);
  margin: 14px auto 0;
  max-width: 400px;
}

/* ===== Edit mode ===== */

/* Section reorder arrows (edit mode) */
.section-reorder {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 4px 0 8px;
  position: relative;
  z-index: 1;
}
.section-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: var(--surface);
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: 0.18s;
  font-family: inherit;
}
.section-arrow:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Editable image wrapper (hero bg, chef portrait, logo, etc) */
.editable-img {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.editable-img img {
  display: block;
  width: 100%;
  height: 100%;
}
.editable-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 10, 0.55);
  border: 1.5px dashed var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  opacity: 0.7;
  transition: 0.2s;
  pointer-events: none;
  color: var(--gold);
}
.editable-img:hover .editable-img-overlay { opacity: 1; background: rgba(7, 6, 10, 0.78); }
.editable-img-plus {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}
.editable-img-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Hero edit mode wrapper */
.hero-bg .editable-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-bg .editable-img img { width: 100%; height: 100%; object-fit: cover; }

/* Chef portrait edit mode */
.chef-photo-wrap .editable-img,
.chef-photo-wrap .editable-img img { width: 100%; height: 100%; }
.chef-photo-edit { display: block; width: 100%; height: 100%; }

/* Topbar logo edit mode */
.topbar-logo .editable-img { display: inline-block; }
.topbar-logo .editable-img img { height: 22px; width: auto; }
.topbar-logo .editable-img-overlay { padding: 4px; }
.topbar-logo .editable-img-plus { font-size: 14px; }
.topbar-logo .editable-img-label { display: none; }

/* Panther edit affordance (visible only in edit mode) */
.hero-panther-edit {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
body[dir='rtl'] .hero-panther-edit { right: auto; left: 14px; align-items: flex-start; }
.hero-panther-edit-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(7, 6, 10, 0.7);
  padding: 3px 8px;
  border-radius: 2px;
}
.hero-panther-edit .editable-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold-soft);
  background: var(--bg-2);
}
.hero-panther-edit .editable-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-panther-edit .editable-img-label { display: none; }
.hero-panther-edit .editable-img-overlay { border: none; }

.edit-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.18s;
  padding: 0;
}
.edit-toggle:hover { border-color: var(--gold-soft); color: var(--gold); }
.edit-toggle.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.18);
}

/* Editable text */
.editable {
  display: inline;
  outline: none;
  border-radius: 2px;
  padding: 1px 4px;
  margin: 0 -4px;
  transition: 0.12s;
  cursor: text;
  position: relative;
  min-width: 12px;
}
.editable:hover { background: rgba(201, 169, 106, 0.08); box-shadow: inset 0 0 0 1px rgba(201, 169, 106, 0.3); }
.editable:focus { background: rgba(201, 169, 106, 0.14); box-shadow: inset 0 0 0 1px var(--gold); }
.editable:empty::before {
  content: attr(data-placeholder);
  color: var(--text-faint);
  font-style: italic;
}

/* Dish row in edit mode */
.dish.is-editing { padding-right: 36px; position: relative; }
body[dir='rtl'] .dish.is-editing { padding-right: 4px; padding-left: 36px; }

.dish-thumb {
  position: relative;
}
.dish-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 10, 0.78);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  opacity: 0.9;
  transition: 0.2s;
  cursor: pointer;
  border: 1.5px dashed var(--gold-soft);
}
.dish.is-editing .dish-thumb { cursor: pointer; }
.dish.is-editing .dish-thumb:hover .dish-thumb-overlay { opacity: 1; background: rgba(7, 6, 10, 0.92); }

.dish-thumb-plus {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}
.dish-thumb-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.dish-delete {
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(196, 90, 60, 0.4);
  background: rgba(20, 17, 26, 0.9);
  color: var(--danger);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s;
  padding: 0;
}
body[dir='rtl'] .dish-delete { right: auto; left: -2px; }
.dish-delete:hover {
  background: var(--danger);
  color: var(--bg);
  border-color: var(--danger);
}

/* Hide / restore actions */
.dish-actions {
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}
body[dir='rtl'] .dish-actions { right: auto; left: -2px; }
.dish-action {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(20, 17, 26, 0.9);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s;
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
}
.dish-action--hide { color: var(--cream-dim); border-color: rgba(141, 134, 118, 0.4); }
.dish-action--hide:hover { background: var(--text-dim); color: var(--bg); border-color: var(--text-dim); }
.dish-action--restore { color: #8fb389; border-color: rgba(143, 179, 137, 0.5); }
.dish-action--restore:hover { background: #8fb389; color: var(--bg); }

/* Hidden dish appearance in edit mode */
.dish.is-hidden-dish {
  opacity: 0.4;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 8px,
    rgba(141, 134, 118, 0.06) 8px,
    rgba(141, 134, 118, 0.06) 16px
  );
}
.dish.is-hidden-dish .dish-name { text-decoration: line-through; text-decoration-color: var(--text-faint); }

/* Add item button */
.section-add {
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--gold-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s;
  border-radius: var(--radius);
}
.section-add:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 106, 0.04);
}
.section-add-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 16px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Edit toolbar floating */
.edit-toolbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,169,106,0.1);
  backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
}
.edit-toolbar-status { display: flex; flex-direction: column; gap: 4px; }
.edit-toolbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.edit-toolbar-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.2);
  animation: pinPulse 2s ease-in-out infinite;
}
.edit-toolbar-hint {
  font-size: 11px;
  color: var(--text-dim);
}
.edit-toolbar-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.edit-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 2px;
  transition: 0.18s;
}
.edit-btn:hover { border-color: var(--gold); color: var(--gold); }
.edit-btn--primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.edit-btn--primary:hover { background: var(--gold-2); color: var(--bg); }
.edit-btn--danger { color: var(--danger); border-color: rgba(196,90,60,0.4); }
.edit-btn--danger:hover { background: rgba(196,90,60,0.1); color: var(--danger); border-color: var(--danger); }

/* Push the floating CTAs up when toolbar is open */
body.is-editing .float-ctas { bottom: 96px; }
body.is-editing .scroll-top { bottom: 96px; }

/* Light theme variant of edit toolbar */
body.theme-light .edit-toolbar { background: var(--surface); }

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  left: 18px;
  z-index: 25;
  background: rgba(20, 17, 26, 0.8);
  border: 1px solid var(--line);
  color: var(--gold);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.22s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--surface-2); border-color: var(--gold-soft); }
body[dir='rtl'] .scroll-top { left: auto; right: 18px; }

/* ===== Panther divider band ===== */
.panther-divider {
  position: relative;
  height: 220px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.panther-divider-img {
  position: absolute;
  inset: 0;
}
.panther-divider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) brightness(0.55) contrast(1.15);
  mix-blend-mode: luminosity;
  opacity: 0.45;
}
.panther-divider-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 50%, transparent 0%, rgba(7,6,10,0.4) 60%, rgba(7,6,10,0.85) 100%),
    linear-gradient(180deg, rgba(7,6,10,0.6) 0%, transparent 30%, transparent 70%, rgba(7,6,10,0.6) 100%);
}
.panther-divider-line {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold-soft);
  opacity: 0.5;
}
.panther-divider-kana {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Shippori Mincho', serif;
  font-size: 90px;
  color: var(--gold);
  opacity: 0.18;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}

@media (min-width: 720px) {
  .panther-divider { height: 280px; }
  .panther-divider-kana { font-size: 130px; }
}

/* ===== Light theme ===== */
body.theme-light {
  --bg: #f4ecdb;
  --bg-2: #ede4cf;
  --bg-3: #e3d8be;
  --surface: #ede4cf;
  --surface-2: #e3d8be;
  --line: rgba(58, 42, 16, 0.14);
  --line-strong: rgba(58, 42, 16, 0.28);
  --gold: #8a6a2b;
  --gold-2: #a07d33;
  --gold-soft: #9c8348;
  --gold-deep: #5a4528;
  --cream: #1a1208;
  --cream-dim: #4a3e2a;
  --text: #2a200e;
  --text-dim: #5d5236;
  --text-faint: #8a7c5e;
}
body.theme-light .splash-logo,
body.theme-light .hero-logo,
body.theme-light .topbar-logo img,
body.theme-light .footer-logo {
  filter: invert(0.85) sepia(0.3) saturate(2) hue-rotate(5deg);
}
body.theme-light::before { display: none; }
body.theme-light .topbar { background: rgba(244, 236, 219, 0.9); }
body.theme-light .catnav { background: rgba(244, 236, 219, 0.92); }

/* Density */
body.density-compact .dish { padding: 12px 4px; }
body.density-compact .section { padding: 28px 0 6px; }
body.density-compact .dish-name { font-size: 18px; }
body.density-compact .dish-desc { display: none; }

body.density-airy .dish { padding: 26px 4px; }
body.density-airy .section { padding: 56px 0 12px; }

/* Wider desktop layout */
@media (min-width: 820px) {
  .menu-wrap { padding: 8px 24px 80px; }
  .dish { grid-template-columns: 72px 1fr auto auto; }
  .dish-thumb { width: 72px; height: 72px; }
  .dish-name { font-size: 22px; }
  .dish-price { font-size: 21px; }
  .hero { padding: 88px 22px 64px; }
}

/* ============================================================
   HERO REDESIGN — subtle team bg + prominent panther
   ============================================================ */
.hero-bg img {
  /* Controlled by tweaks via CSS vars */
  filter: brightness(var(--hero-bg-opacity, 0.32)) contrast(1.05) saturate(0.7) blur(var(--hero-bg-blur, 2px));
  transform: scale(1.08);
  object-position: center var(--hero-bg-position, 40%);
}
.hero-bg-veil {
  background:
    linear-gradient(180deg, rgba(7,6,10,0.7) 0%, rgba(7,6,10,0.85) 45%, rgba(7,6,10,0.97) 88%, rgba(7,6,10,1) 100%),
    radial-gradient(70% 60% at 50% 35%, rgba(201, 169, 106, 0.08), transparent 75%);
}

/* Subtle vignette + animated grain overlay on hero bg */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse 100% 70% at 50% 100%, rgba(7,6,10,0.6), transparent 60%);
}

/* Panther head — when image missing, show elegant kana fallback */
.hero-panther-eyes img {
  background: transparent;
}
.hero-panther-eyes img[src=""],
.hero-panther-eyes img:not([src]) { display: none; }

/* Fallback: panther kana that shows when no panther-head image */
.hero-panther-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: -1;
}
.hero-panther-fallback-kana {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(260px, 60vw, 480px);
  color: var(--gold);
  opacity: 0.07;
  line-height: 1;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 0 80px rgba(201, 169, 106, 0.4));
  animation: pantherBreath 8s ease-in-out infinite;
}
@keyframes pantherBreath {
  0%, 100% { opacity: 0.07; transform: scale(1); }
  50% { opacity: 0.11; transform: scale(1.02); }
}

/* ============================================================
   TAG EDITOR (edit mode)
   ============================================================ */
.dish-tag-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: rgba(201, 169, 106, 0.03);
}
.dish-tag-editor-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-inline-end: 4px;
}
.tag-toggle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  transition: 0.18s;
}
.tag-toggle:hover {
  border-color: var(--line-strong);
  color: var(--text-dim);
}
.tag-toggle.is-active {
  background: rgba(201, 169, 106, 0.12);
  border-color: var(--gold-soft);
  color: var(--gold);
}
.tag-toggle.is-active.tag-veg { background: rgba(122, 168, 116, 0.15); border-color: rgba(122, 168, 116, 0.5); color: #aac9a3; }
.tag-toggle.is-active.tag-spicy { background: rgba(196, 90, 60, 0.18); border-color: rgba(196, 90, 60, 0.55); color: #e89378; }
.tag-toggle.is-active.tag-raw { background: rgba(120, 140, 200, 0.15); border-color: rgba(120, 140, 200, 0.5); color: #b6c4e6; }

/* ============================================================
   DISH "+" ADD BUTTON
   ============================================================ */
.dish {
  position: relative;
}
.dish-add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(20, 17, 26, 0.85);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: 0.22s cubic-bezier(.2,.7,.2,1);
  align-self: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  margin-inline-start: 8px;
  position: relative;
  z-index: 2;
}
.dish-add:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: scale(1.06);
  box-shadow: 0 6px 20px -8px rgba(201, 169, 106, 0.6);
}
.dish-add:active {
  transform: scale(0.94);
}
.dish-add-plus {
  font-size: 22px;
  font-weight: 300;
}
.dish-add.is-in-cart {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  width: auto;
  padding: 0 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}
.dish-add.is-in-cart .dish-add-plus { font-size: 16px; opacity: 0.6; }
.dish-add-qty {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   CART — Floating Action Button
   ============================================================ */
.cart-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(201, 169, 106, 0.3) inset,
    0 18px 40px -16px rgba(201, 169, 106, 0.7),
    0 4px 14px -4px rgba(0,0,0,0.6);
  animation: cartFabIn 0.4s cubic-bezier(.2,.8,.2,1) backwards;
  transition: transform 0.2s ease;
}
.cart-fab:hover { transform: scale(1.05); }
.cart-fab:active { transform: scale(0.95); }
.cart-fab-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}
@keyframes cartFabIn {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Hide other floating CTAs when cart is showing to avoid clutter */
.float-ctas { z-index: 55; }

/* ============================================================
   CART — Panel / Drawer
   ============================================================ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 6, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  display: flex;
  justify-content: flex-end;
}
.cart-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}
.cart-panel {
  width: min(440px, 100%);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-2);
  border-inline-start: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,0.7);
}
body[dir='rtl'] .cart-panel { transform: translateX(-100%); }
.cart-backdrop.is-open .cart-panel { transform: translateX(0); }

.cart-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.cart-head-kana {
  font-family: 'Shippori Mincho', serif;
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 4px;
}
.cart-head-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  letter-spacing: 0.01em;
}
.cart-head-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex-shrink: 0;
}
.cart-close:hover { color: var(--gold); border-color: var(--gold-soft); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: var(--text-dim);
}
.cart-empty-kana {
  font-family: 'Shippori Mincho', serif;
  font-size: 96px;
  color: var(--gold);
  opacity: 0.12;
  margin-bottom: 18px;
  line-height: 1;
}
.cart-empty-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 6px;
}
.cart-empty-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  align-items: center;
}
.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 2px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-item-kana {
  font-family: 'Shippori Mincho', serif;
  color: var(--gold-soft);
  font-size: 22px;
}
.cart-item-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2px;
}
.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}
.cart-qty-btn:hover { background: rgba(201, 169, 106, 0.12); }
.cart-qty-val {
  min-width: 26px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cream);
  padding: 0 4px;
}
.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}
.cart-item-currency {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  margin-inline-start: 3px;
  color: var(--gold-soft);
  letter-spacing: 0.12em;
}
.cart-item-remove {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
  border-radius: 50%;
}
.cart-item-remove:hover { color: var(--danger); background: rgba(196, 90, 60, 0.08); }

.cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 6px;
}
.cart-total-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cart-total-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
}
.cart-total-currency {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-inline-start: 4px;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
}
.cart-send {
  width: 100%;
  justify-content: center;
  gap: 10px !important;
  padding: 16px !important;
  font-size: 15px !important;
}
.cart-clear {
  background: transparent;
  border: none;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px;
  align-self: center;
  transition: 0.15s;
}
.cart-clear:hover { color: var(--danger); }

/* ============================================================
   MODAL — quantity control
   ============================================================ */
.modal-qty-control {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  background: rgba(201, 169, 106, 0.08);
  border-radius: 2px;
}
.modal-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s;
}
.modal-qty-btn:hover { background: var(--gold); color: var(--bg); }
.modal-qty-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Light theme support for cart */
body.theme-light .cart-panel { background: #f4ecdb; }
body.theme-light .cart-foot { background: #ece2c8; }
body.theme-light .cart-head-title,
body.theme-light .cart-item-name,
body.theme-light .cart-qty-val { color: #2a2418; }
body.theme-light .cart-fab { background: #2a2418; color: var(--gold); border-color: #2a2418; }
body.theme-light .cart-fab-count { background: var(--gold); color: #2a2418; border-color: #2a2418; }

/* Density */
body.density-compact .dish-tags { display: none; }
body.density-compact .dish-add { width: 32px; height: 32px; }

/* ============================================================
   HERO IMAGE EDITOR PANEL — clear 2-slot UI in edit mode
   ============================================================ */
.hero-edit-panel {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(7, 6, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  padding: 14px 16px 16px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9), 0 1px 0 rgba(201,169,106,0.1) inset;
  max-width: calc(100% - 24px);
  width: 480px;
}
.hero-edit-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hero-edit-panel-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-edit-panel-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.hero-edit-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-edit-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 3px;
  background: rgba(20, 17, 26, 0.5);
}
.hero-edit-slot-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-edit-slot-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.hero-edit-slot-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.hero-edit-slot-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s;
}
.hero-edit-slot-thumb:hover {
  border-color: var(--gold);
}
.hero-edit-slot-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.hero-edit-slot-empty {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-faint);
}
.hero-edit-slot-thumb-hint {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(7,6,10,0.7);
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
}
.hero-edit-slot-actions {
  display: flex;
  gap: 6px;
}
.hero-edit-slot-btn {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 8px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: 0.15s;
}
.hero-edit-slot-btn:hover {
  background: var(--gold);
  color: var(--bg);
}
.hero-edit-slot-btn--clear {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--text-dim);
  border-color: var(--line);
}
.hero-edit-slot-btn--clear:hover {
  background: var(--danger);
  color: var(--cream);
  border-color: var(--danger);
}

/* Push hero content down when edit panel is present */
body.is-editing .hero { padding-top: 240px; }
@media (max-width: 520px) {
  .hero-edit-panel { width: calc(100% - 16px); padding: 10px 12px 12px; }
  .hero-edit-slot-thumb { aspect-ratio: 4 / 3; }
  body.is-editing .hero { padding-top: 280px; }
}
