/* ============================================================
   BAITO — Sushi & Asian Bites · site-wide design system
   Pages: index.html (home) + menu.html (menu)

   Palette: deep Baito red / black / cream-white, gold accents.
   Type: 'Caveat Brush' (hand-drawn display) + 'Nunito' (body).
   ============================================================ */

/* Self-hosted fonts — same files the app ships. No third-party requests. */
@font-face {
  font-family: 'Caveat Brush';
  src: url('/fonts/CaveatBrush.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-Variable.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d63a2c;
  --red-bright: #e2503c;
  --red-deep: #a82a1c;
  --red-ink: #7c1b10;
  --ink: #15100e;
  --char: #1f1815;
  --char-2: #2a211d;
  --cream: #faf3e7;
  --sand: #f0e6d2;
  --paper: #fffdf8;
  --gold: #e9b44c;
  --line-dark: rgba(255, 244, 230, 0.14);
  --line-light: rgba(21, 16, 14, 0.12);
  --muted-dark: rgba(255, 244, 230, 0.72);
  --muted-light: rgba(21, 16, 14, 0.62);
  --shadow: 0 18px 44px rgba(21, 16, 14, 0.22);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  /* Tahoma/system fallbacks carry the Arabic glyphs Nunito lacks */
  font-family: 'Nunito', -apple-system, 'Segoe UI', Tahoma, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.brush { font-family: 'Caveat Brush', cursive; font-weight: 400; }

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

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; font-weight: 800;
  border-radius: 0 0 12px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 28px; border: 0; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px;
  letter-spacing: 0.02em; text-decoration: none; line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 16, 14, 0.3); }
.btn:active { transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--red-deep); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-bright); }
.btn.ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, 0.85);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; gap: 28px;
  height: var(--nav-h); padding: 0 min(5vw, 48px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled { background: var(--red); box-shadow: 0 6px 28px rgba(21, 16, 14, 0.32); }
.nav .wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.nav .wordmark img { height: 52px; width: auto; }
.nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav .links a {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 13.5px;
  letter-spacing: 0.08em; opacity: 0.94; position: relative; padding: 6px 0;
}
.nav .links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; border-radius: 3px; background: #fff;
  transition: right 0.22s ease;
}
.nav .links a:hover::after, .nav .links a[aria-current="page"]::after { right: 0; }
.nav .cta { margin-left: 6px; padding: 12px 22px; font-size: 13.5px; background: var(--ink); color: #fff; }
.nav .cta:hover { background: #000; }

/* Burger */
.burger {
  display: none; margin-left: auto; z-index: 130;
  width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, 0.14); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 3px; border-radius: 3px; background: #fff;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 8vw 40px;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--red-bright), transparent 60%),
    var(--red-deep);
  opacity: 0; visibility: hidden; transform: translateY(-4%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mlink {
  color: #fff; text-decoration: none;
  font-family: 'Caveat Brush', cursive; font-size: clamp(38px, 9vw, 54px);
  line-height: 1.25; display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateX(-18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.open a.mlink { opacity: 1; transform: none; }
.mobile-menu.open a.mlink:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a.mlink:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open a.mlink:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a.mlink:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open a.mlink:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu a.mlink small {
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.14em; opacity: 0.6;
}
.mobile-menu .mm-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mm-doodle {
  position: absolute; right: 4vw; bottom: 12vh; width: 130px; opacity: 0.3;
  filter: invert(1); pointer-events: none;
}

@media (max-width: 900px) {
  .nav .links { display: none; }
  .burger { display: flex; }
}

/* ── Section primitives ──────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 min(5vw, 40px); }
section { position: relative; }
.sec-pad { padding: clamp(64px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; border-radius: 3px; background: currentColor; opacity: 0.85; }
.title {
  font-family: 'Caveat Brush', cursive; font-weight: 400;
  font-size: clamp(42px, 6vw, 68px); line-height: 0.98; margin-top: 14px;
}
.sub { font-weight: 700; font-size: clamp(15px, 1.6vw, 17.5px); margin-top: 14px; max-width: 58ch; }

.on-dark { color: #fff; }
.on-dark .sub { color: var(--muted-dark); }
.on-light .sub { color: var(--muted-light); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* Brush underline SVG (draws itself on reveal) */
.brush-line { display: block; margin-top: 4px; width: min(280px, 60%); height: 14px; }
.brush-line path {
  fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
}
.in .brush-line path, .hero .brush-line path { animation: draw 1.1s ease 0.35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Floating doodles */
.doodle-float { position: absolute; pointer-events: none; user-select: none; }
.doodle-float img { width: 100%; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 9s ease-in-out 1.2s infinite; }
.float-c { animation: floaty 8s ease-in-out 0.6s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

/* Star twinkle */
.spark { position: absolute; pointer-events: none; }
.spark svg { display: block; }
.spark { animation: twinkle 3.2s ease-in-out infinite; }
.spark.s2 { animation-delay: 1.1s; }
.spark.s3 { animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(8deg); }
}

/* Wave dividers */
.wave { display: block; width: 100%; height: clamp(38px, 6vw, 70px); }

/* Kanji watermark */
.kanji {
  position: absolute; font-weight: 700; line-height: 1; pointer-events: none;
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif; user-select: none;
}

/* Seigaiha-ish texture for red sections */
.tex-red {
  background-color: var(--red);
  background-image:
    radial-gradient(circle at 50% 118%, transparent 38%, rgba(21, 16, 14, 0.05) 39%, transparent 46%),
    radial-gradient(circle at 0% 118%, transparent 38%, rgba(21, 16, 14, 0.05) 39%, transparent 46%),
    radial-gradient(circle at 100% 118%, transparent 38%, rgba(21, 16, 14, 0.05) 39%, transparent 46%);
  background-size: 90px 46px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: clip;
  background:
    radial-gradient(120% 85% at 78% 8%, rgba(226, 80, 60, 0.85), transparent 55%),
    linear-gradient(168deg, var(--red-bright) 0%, var(--red) 46%, var(--red-deep) 100%);
  padding-top: calc(var(--nav-h) + clamp(28px, 6vh, 72px));
}
.hero-scene {
  position: absolute; inset: 0; pointer-events: none;
  background: url('img/red-scene.webp') right bottom / cover no-repeat;
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero-inner {
  position: relative; display: grid; place-items: center; text-align: center;
  padding-bottom: clamp(48px, 7vw, 80px); min-height: min(64vh, 620px);
}
.hero-copy { position: relative; z-index: 2; max-width: 820px; }
.hero-logo { width: clamp(170px, 22vw, 235px); margin: 0 auto 6px; }
.hero .cta-row { justify-content: center; }
.hero .lead { margin-inline: auto; }
.hero .brush-line { margin-inline: auto; }
.hero h1 {
  font-family: 'Caveat Brush', cursive; font-weight: 400;
  font-size: clamp(52px, 8.2vw, 104px); line-height: 0.92; letter-spacing: 0.01em;
  text-shadow: 0 4px 0 rgba(21, 16, 14, 0.12);
}
.hero h1 .accent { color: var(--ink); -webkit-text-stroke: 0; position: relative; display: inline-block; }
.hero .lead {
  margin-top: 18px; font-size: clamp(15.5px, 1.8vw, 18.5px); font-weight: 700;
  max-width: 44ch; color: rgba(255, 255, 255, 0.94);
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; opacity: 0.75; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@media (max-width: 860px) {
  .hero-inner { min-height: 0; }
  .hero .cta-row .btn { flex: 1 1 auto; }
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--ink); color: var(--cream); overflow: hidden;
  padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: -12px 0;
  position: relative; z-index: 5; box-shadow: 0 10px 30px rgba(21, 16, 14, 0.3);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: 'Caveat Brush', cursive; font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.04em; white-space: nowrap;
}
.marquee-track .dot { color: var(--red-bright); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   FAVORITES
   ============================================================ */
.favorites { background: var(--cream); overflow: clip; }
.fav-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Continuous photo slideshow, drifting left → right. Duplicated track
   (two .fav-set groups) so the -50% → 0 loop is seamless. */
.fav-slider { margin: 38px calc(-1 * min(5vw, 40px)) 0; overflow: hidden; }
.fav-track { display: flex; width: max-content; animation: favSlide 45s linear infinite; }
.fav-slider:hover .fav-track { animation-play-state: paused; }
@keyframes favSlide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.fav-set { display: flex; }
.fav-card {
  position: relative; flex: 0 0 auto; width: clamp(250px, 27vw, 330px);
  margin-right: 18px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); box-shadow: 0 10px 30px rgba(21, 16, 14, 0.12);
  text-decoration: none; color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fav-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fav-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.fav-media img { width: 100%; height: 100%; object-fit: cover; }
.fav-flag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-family: 'Caveat Brush', cursive; font-size: 18px; line-height: 1;
  padding: 7px 13px 8px; border-radius: 999px; transform: rotate(-3deg);
  box-shadow: 0 6px 16px rgba(21, 16, 14, 0.25);
}
.fav-body { padding: 14px 18px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fav-body h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: 24px; line-height: 1; }
.fav-price { font-weight: 900; font-size: 14.5px; color: var(--red-deep); white-space: nowrap; }
.fav-cta { margin-top: 32px; display: flex; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .fav-track { animation: none; }
  .fav-slider { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   STORY
   ============================================================ */
.story { background: var(--ink); color: #fff; overflow: clip; }
.story .kanji { color: rgba(255, 244, 230, 0.045); font-size: clamp(200px, 30vw, 420px); }
.story-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px); align-items: center; position: relative;
}
.story-copy p.body { margin-top: 20px; font-size: 16px; font-weight: 600; line-height: 1.75; color: var(--muted-dark); max-width: 54ch; }
.story-copy p.body strong { color: #fff; }
.story-pillars { display: grid; gap: 16px; margin-top: 34px; }
.pillar {
  display: flex; gap: 16px; align-items: center;
  background: var(--char); border: 1px solid var(--line-dark);
  border-radius: var(--r-md); padding: 16px 18px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.pillar:hover { transform: translateX(6px); border-color: rgba(233, 180, 76, 0.45); }
.pillar .p-ico { width: 52px; height: 52px; flex: 0 0 auto; color: #fff; }
.pillar h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: 24px; }
.pillar p { font-size: 13.5px; font-weight: 600; color: var(--muted-dark); margin-top: 3px; }
.story-art { position: relative; }
.story-art .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  transform: rotate(1.6deg); border: 6px solid rgba(255, 244, 230, 0.08);
}
.story-art .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.story-art .stamp {
  position: absolute; left: -20px; top: -24px; width: 110px; transform: rotate(-10deg);
  filter: invert(1) opacity(0.9);
}
.story-quote {
  position: absolute; right: -8px; bottom: -20px; background: var(--red);
  color: #fff; border-radius: var(--r-md); padding: 14px 20px;
  font-family: 'Caveat Brush', cursive; font-size: 23px; line-height: 1.15;
  transform: rotate(-2.5deg); box-shadow: var(--shadow); max-width: 240px;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   APP SHOWCASE
   ============================================================ */
.app-show { color: #fff; overflow: clip; position: relative; }
.app-show .bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(226, 80, 60, 0.75), transparent 60%),
    linear-gradient(160deg, var(--red) 0%, var(--red-deep) 70%, var(--red-ink) 100%);
}
.app-show .scene {
  position: absolute; inset: 0; opacity: 0.3; pointer-events: none;
  background: url('img/red-scene.webp') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 78%, transparent);
}
.app-grid {
  position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 20px;
  min-width: 190px; position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 16, 14, 0.35); }
.store-btn svg { width: 30px; height: 30px; flex: 0 0 auto; }
.store-btn .lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .lines small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; opacity: 0.72; text-transform: uppercase; }
.store-btn .lines strong { font-size: 16.5px; font-weight: 900; }
.store-btn .soon {
  position: absolute; top: -10px; right: -8px; background: var(--gold); color: var(--ink);
  font-family: 'Caveat Brush', cursive; font-size: 15.5px; line-height: 1;
  padding: 5px 11px 6px; border-radius: 999px; transform: rotate(4deg);
  box-shadow: 0 4px 12px rgba(21, 16, 14, 0.3);
}
.app-points { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; }
.app-points .pt strong { display: block; font-family: 'Caveat Brush', cursive; font-size: 33px; font-weight: 400; }
.app-points .pt span { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.78; }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.phone {
  position: relative; width: clamp(190px, 17vw, 240px); border-radius: 44px;
  background: #0b0908; padding: 10px; box-shadow: 0 30px 70px rgba(21, 16, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.phone::before {
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #0b0908; border-radius: 999px; z-index: 2;
}
.phone img { border-radius: 35px; width: 100%; }
.phone.main { z-index: 3; animation: heroFloat 7s ease-in-out infinite; }
.phone.left, .phone.right { position: absolute; top: 50%; width: clamp(160px, 14vw, 205px); opacity: 0.96; }
.phone.left { left: 2%; transform: translateY(-46%) rotate(-9deg); z-index: 1; }
.phone.right { right: 2%; transform: translateY(-40%) rotate(9deg); z-index: 2; }
@media (max-width: 980px) {
  .app-grid { grid-template-columns: 1fr; }
  .phones { min-height: 0; margin-top: 8px; padding: 10px 0 6px; }
  .phone.left { left: -4%; }
  .phone.right { right: -4%; }
}
@media (max-width: 560px) {
  .phone { width: 52vw; }
  .phone.left, .phone.right { width: 38vw; }
  .store-row .store-btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Compact app feature icons (inside the app section) ──── */
.app-feats {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px; margin-top: clamp(36px, 5vw, 54px);
  border-top: 1px solid rgba(255, 244, 230, 0.22); padding-top: clamp(26px, 3.5vw, 38px);
}
.app-feat { text-align: center; color: #fff; }
.app-feat .f-ico { width: 54px; height: 54px; margin: 0 auto 10px; display: block; }
.app-feat span { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.92; line-height: 1.45; }
@media (max-width: 900px) { .app-feats { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
@media (max-width: 480px) { .app-feats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations { background: var(--sand); overflow: clip; }
.loc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 30px); margin-top: 42px; align-items: start;
}
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 14px 36px rgba(21, 16, 14, 0.12); position: relative;
}
.loc-card .badge {
  position: absolute; top: -16px; left: 26px; background: var(--ink); color: #fff;
  font-family: 'Caveat Brush', cursive; font-size: 19px; padding: 8px 16px 9px;
  border-radius: 999px; transform: rotate(-2deg);
}
.loc-card h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: 38px; margin-top: 6px; }
.loc-rows { margin-top: 18px; display: grid; gap: 13px; }
.loc-row { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; font-weight: 700; }
.loc-row .ico {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(214, 58, 44, 0.1); color: var(--red-deep);
}
.loc-row .ico svg { width: 19px; height: 19px; }
.loc-row .muted { color: var(--muted-light); font-weight: 600; }
.loc-row a { color: var(--red-deep); font-weight: 800; text-decoration: none; }
.loc-row a:hover { text-decoration: underline; }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.loc-soon {
  max-width: 620px; margin: 22px auto 0; border: 2.5px dashed rgba(21, 16, 14, 0.28);
  border-radius: var(--r-lg); padding: 20px 26px; display: flex; align-items: center;
  gap: 16px; color: var(--muted-light); font-weight: 800; font-size: 14.5px;
  background: rgba(255, 253, 248, 0.5);
}
.loc-soon .l-ico { width: 44px; height: 44px; flex: 0 0 auto; opacity: 0.6; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: #fff; overflow: clip; }
.contact .kanji { color: rgba(255, 244, 230, 0.04); font-size: clamp(170px, 24vw, 330px); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; position: relative; }
.c-card {
  background: var(--char); border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  padding: 24px 22px; transition: transform 0.22s ease, border-color 0.22s ease;
}
.c-card:hover { transform: translateY(-5px); border-color: rgba(233, 180, 76, 0.4); }
.c-card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(214, 58, 44, 0.22); color: #ff9f92; margin-bottom: 14px;
}
.c-card .ico svg { width: 22px; height: 22px; }
.c-card h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: 24px; }
.c-card p { margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.c-card p a { color: var(--gold); text-decoration: none; font-weight: 800; overflow-wrap: anywhere; }
.c-card p a:hover { text-decoration: underline; }
.c-card p .soon-txt { color: var(--muted-dark); font-weight: 600; }
.social-row { margin-top: 44px; text-align: center; position: relative; }
.social-row h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(30px, 4vw, 44px); }
.social-icons { display: flex; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.social-icons a {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--char); border: 1px solid var(--line-dark); color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-icons a:hover { transform: translateY(-5px) rotate(-4deg); background: var(--red); }
.social-icons svg { width: 24px; height: 24px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #0c0908; color: #fff; padding: 56px 0 34px; position: relative; overflow: clip; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
/* The footer is black, so it takes the all-white mark — no panel behind it. */
.foot-brand .foot-logo { width: 150px; display: block; }
.foot-brand p { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--muted-dark); max-width: 30ch; }
.foot-col h4 { font-size: 12px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-col a { display: block; color: rgba(255, 244, 230, 0.82); text-decoration: none; font-weight: 700; font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 700; color: rgba(255, 244, 230, 0.5);
}
.foot-bottom .brush { font-size: 19px; color: rgba(255, 244, 230, 0.75); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

/* ============================================================
   MENU PAGE
   ============================================================ */
.menu-hero {
  position: relative; color: #fff; overflow: clip;
  background:
    radial-gradient(110% 90% at 80% -20%, rgba(226, 80, 60, 0.9), transparent 60%),
    linear-gradient(165deg, var(--red-bright), var(--red) 55%, var(--red-deep));
  padding: calc(var(--nav-h) + clamp(30px, 6vh, 60px)) 0 0;
}
.menu-hero .hero-scene { opacity: 0.26; }
.menu-hero-inner { position: relative; padding-bottom: clamp(40px, 6vw, 70px); }
.menu-hero h1 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(52px, 8vw, 92px); line-height: 0.94; }

/* Sticky category bar */
.cat-bar {
  position: sticky; top: var(--nav-h); z-index: 60;
  background: rgba(250, 243, 231, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.cat-bar-inner { display: flex; flex-direction: column; gap: 0; }
.cat-tabs { display: flex; gap: 8px; padding: 14px 0 10px; flex-wrap: wrap; }
.cat-tab {
  border: 1.5px solid transparent; cursor: pointer; background: transparent; color: var(--ink);
  font-family: 'Caveat Brush', cursive; font-size: 24px; padding: 8px 20px 10px;
  border-radius: 999px; line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cat-tab:hover { border-color: rgba(214, 58, 44, 0.5); }
.cat-tab[aria-selected="true"] { background: var(--red); color: #fff; }
.cat-chips {
  display: flex; gap: 8px; padding: 12px 0 12px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1.5px solid rgba(21, 16, 14, 0.25); background: transparent;
  color: var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 800;
  font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.chip:hover { border-color: var(--red); color: var(--red-deep); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.menu-search { position: relative; margin: 2px 0 12px; }
.menu-search input {
  width: 100%; border: 1.5px solid rgba(21, 16, 14, 0.2); background: var(--paper);
  border-radius: 999px; padding: 12px 20px 12px 46px; font: inherit; font-weight: 700; font-size: 14.5px;
  color: var(--ink);
}
.menu-search input:focus { outline: 3px solid rgba(214, 58, 44, 0.35); border-color: var(--red); }
.menu-search svg {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted-light); pointer-events: none;
}

/* Menu sections */
.menu-body { background: var(--cream); padding-bottom: 90px; }
.menu-section { padding-top: clamp(42px, 6vw, 64px); scroll-margin-top: calc(var(--nav-h) + 128px); }
.menu-section > .head { display: flex; align-items: baseline; gap: 16px; }
.menu-section h2 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(34px, 4.4vw, 46px); }
.menu-section .count { font-weight: 800; font-size: 13px; color: var(--muted-light); letter-spacing: 0.06em; }
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.item-card {
  background: var(--paper); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-light); display: flex; flex-direction: column; position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.item-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(21, 16, 14, 0.13); }
.item-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.item-media img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.item-card:hover .item-media img.photo { transform: scale(1.05); }
.item-media.doodle { display: grid; place-items: center; background: var(--sand); }
.item-media.doodle img { width: 45%; max-width: 120px; opacity: 0.8; }
.item-media .pcs {
  position: absolute; right: 10px; bottom: 10px; background: rgba(21, 16, 14, 0.82); color: #fff;
  font-size: 11.5px; font-weight: 900; letter-spacing: 0.05em; border-radius: 999px; padding: 5px 11px;
}
.item-media .best {
  position: absolute; left: 10px; top: 10px; background: var(--gold); color: var(--ink);
  font-family: 'Caveat Brush', cursive; font-size: 16px; line-height: 1; border-radius: 999px;
  padding: 5px 11px 6px; transform: rotate(-3deg); box-shadow: 0 4px 12px rgba(21, 16, 14, 0.25);
}
.item-media .soldout {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(21, 16, 14, 0.55); color: #fff;
  font-family: 'Caveat Brush', cursive; font-size: 26px; letter-spacing: 0.04em;
}
.item-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item-body .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.item-body h3 { font-weight: 900; font-size: 16px; line-height: 1.25; }
.item-body .price { font-weight: 900; font-size: 14.5px; color: var(--red-deep); white-space: nowrap; }
.item-body .price small { font-weight: 800; font-size: 11px; opacity: 0.85; }
.item-body p.desc { font-size: 13px; font-weight: 600; color: var(--muted-light); line-height: 1.55; }
.menu-note {
  margin-top: 60px; border-radius: var(--r-lg); background: var(--ink); color: #fff;
  padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; justify-content: space-between; position: relative; overflow: hidden;
}
.menu-note h3 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); }
.menu-note p { margin-top: 6px; font-weight: 700; color: var(--muted-dark); font-size: 14.5px; }
.menu-empty { text-align: center; padding: 70px 0 30px; color: var(--muted-light); font-weight: 800; }
.menu-empty img { width: 110px; margin: 0 auto 14px; opacity: 0.6; }
@media (max-width: 980px) { .item-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .item-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item-media { aspect-ratio: 1 / 1; }
  .item-body { padding: 12px 12px 14px; }
  .item-body h3 { font-size: 14px; }
  .item-body p.desc { display: none; }
  .cat-tab { font-size: 21px; padding: 7px 14px 9px; }
}

/* Floating app pill (menu page, mobile) */
.app-pill {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80;
  display: none; align-items: center; gap: 10px; background: var(--red); color: #fff;
  border-radius: 999px; padding: 13px 22px; font-weight: 900; font-size: 14px;
  text-decoration: none; box-shadow: 0 16px 40px rgba(21, 16, 14, 0.35); white-space: nowrap;
}
.app-pill img { width: 26px; height: 26px; border-radius: 7px; }
@media (max-width: 700px) { .app-pill { display: inline-flex; } }

/* ── Back-home pill (subpages) ───────────────────────────── */
.back-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: #fff; text-decoration: none; font-weight: 900; font-size: 13.5px;
  letter-spacing: 0.06em; border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px; padding: 9px 18px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.back-pill:hover { background: rgba(255, 255, 255, 0.15); transform: translateX(-3px); }

/* ── Language toggle (menu page) ─────────────────────────── */
.lang-toggle {
  margin-left: auto; flex: 0 0 auto; align-self: center;
  border: 1.5px solid rgba(21, 16, 14, 0.25); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-weight: 900; font-size: 13.5px;
  cursor: pointer; font-family: inherit;
}
.lang-toggle:hover { border-color: var(--red); color: var(--red-deep); }
.cat-tabs-row { display: flex; gap: 10px; align-items: center; }
.cat-tabs-row .cat-tabs { flex: 1 1 auto; }
[dir="rtl"] .item-body .row { flex-direction: row-reverse; }
.item-body h3[dir="rtl"], .item-body p[dir="rtl"] { text-align: right; }

/* ── Legal pages ─────────────────────────────────────────── */
.legal-hero {
  position: relative; color: #fff; overflow: clip;
  background: linear-gradient(165deg, var(--red-bright), var(--red) 55%, var(--red-deep));
  padding: calc(var(--nav-h) + clamp(30px, 6vh, 56px)) 0 0;
}
.legal-hero-inner { position: relative; padding-bottom: clamp(34px, 5vw, 56px); }
.legal-hero h1 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(44px, 6.5vw, 76px); line-height: 0.96; }
.legal-hero .meta { margin-top: 12px; font-weight: 800; font-size: 14px; opacity: 0.92; }
.legal-hero .meta a { color: #fff; }
.legal-body { background: var(--cream); padding: clamp(40px, 6vw, 72px) 0 90px; }
.legal-article { max-width: 760px; }
.legal-article h2 {
  font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: clamp(26px, 3vw, 34px);
  color: var(--red-deep); margin: 38px 0 10px; scroll-margin-top: calc(var(--nav-h) + 20px);
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { font-size: 15.5px; font-weight: 600; line-height: 1.8; color: #2c2420; margin: 0 0 14px; }
.legal-article a { color: var(--red-deep); font-weight: 800; }
.legal-foot { margin-top: 46px; padding-top: 20px; border-top: 2px dashed var(--line-light); font-weight: 700; color: var(--muted-light); font-size: 14px; }
.legal-foot a { color: var(--red-deep); text-decoration: none; }

/* ── Support page ────────────────────────────────────────── */
.support-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 14px 36px rgba(21, 16, 14, 0.12);
}
.support-card h2 { font-family: 'Caveat Brush', cursive; font-weight: 400; font-size: 32px; }
.support-card > p { margin-top: 8px; font-weight: 700; color: var(--muted-light); font-size: 14.5px; line-height: 1.65; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  background: #1faa55; color: #fff; border-radius: 999px; padding: 15px 26px;
  font-weight: 900; font-size: 15px; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 16, 14, 0.25); }
.wa-btn svg { width: 24px; height: 24px; }
.support-form { display: grid; gap: 14px; }
.support-form label { font-weight: 900; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.support-form input, .support-form textarea, .support-form select {
  width: 100%; margin-top: 6px; border: 1.5px solid rgba(21, 16, 14, 0.2);
  background: #fff; border-radius: 14px; padding: 13px 16px; font: inherit;
  font-weight: 700; font-size: 15px; color: var(--ink); resize: vertical;
}
.support-form input:focus, .support-form textarea:focus, .support-form select:focus {
  outline: 3px solid rgba(214, 58, 44, 0.3); border-color: var(--red);
}
.support-form select { appearance: none; background-image: none; cursor: pointer; }
.support-form input.bad, .support-form textarea.bad, .support-form select.bad {
  border-color: var(--red); background: rgba(214, 58, 44, 0.04);
}
.support-form .field-err {
  display: none; margin-top: 6px; color: var(--red-deep);
  font-weight: 800; font-size: 13px;
}
.support-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: none; font-weight: 800; margin-top: 4px; }
#supportSuccess { border-left: 4px solid #1faa55; }
#supportSuccess:focus { outline: none; }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .brush-line path { stroke-dashoffset: 0; animation: none; }
}
