/* ==========================================================================
   Chef Teriyaki — design prototype stylesheet
   Structure: 1 tokens · 2 base · 3 layout & themes · 4 components ·
              5 sections · 6 overlays · 7 motion keyframes · 8 tiers/a11y
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Iron (the teppan) */
  --iron-950: #0d0b0a;
  --iron-900: #141110;
  --iron-800: #1c1816;
  --iron-700: #28221f;
  --iron-600: #3a312c;
  /* Washi (rice paper) */
  --washi-50: #fffaf1;
  --washi-100: #f6efe3;
  --washi-200: #ede3d1;
  --washi-300: #dccdb4;
  /* Lacquer red (brand) */
  --lacquer-400: #e5483a;
  --lacquer-500: #d2301f;
  --lacquer-600: #b52617;
  --lacquer-700: #8f1d11;
  --lacquer-900: #4f0f08;
  /* Ember / glaze / gold */
  --ember-300: #ffd27a;
  --ember-400: #ff9a3c;
  --ember-500: #ff6a1f;
  --glaze-300: #e39a4e;
  --glaze-500: #9c4515;
  --glaze-700: #5a230a;
  --gold-300: #f7cf6d;
  --gold-400: #f2b53a;
  /* Fresh accents */
  --scallion-500: #7cb342;
  --salmon-400: #ff8a65;
  --nori-800: #1b2620;
  /* Ink */
  --ink-900: #231815;
  --ink-700: #4a3a32;
  --ink-500: #7a685c;
  --ink-300: #a8998c;

  /* Semantic */
  --text-on-dark: #f6efe3;
  --muted-on-dark: rgba(246, 239, 227, .68);
  --line-on-dark: rgba(246, 239, 227, .12);
  --text-on-light: var(--ink-900);
  --muted-on-light: var(--ink-500);
  --line-on-light: rgba(35, 24, 21, .1);
  --success: #3fbf6a;
  --warn: #f2b53a;
  --focus: var(--gold-400);

  /* Type */
  --font-display: "Dela Gothic One", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --fs-hero: clamp(2.5rem, .9rem + 5.2vw, 6.2rem);
  --fs-h2: clamp(2.1rem, 1.25rem + 3.3vw, 4.1rem);
  --fs-h3: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  --fs-body: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --fs-lede: clamp(1.06rem, .98rem + .4vw, 1.3rem);
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --section-y: clamp(84px, 11vw, 160px);
  --header-h: 68px;
  --rail-h: 60px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;
  --sh-1: 0 1px 2px rgba(35, 24, 21, .06), 0 4px 14px -6px rgba(35, 24, 21, .12);
  --sh-2: 0 24px 50px -24px rgba(35, 24, 21, .38);
  --sh-dark: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --glow-ember: 0 14px 36px -12px rgba(255, 106, 31, .7);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --d1: 140ms;
  --d2: 240ms;
  --d3: 460ms;
  --d4: 900ms;

  /* Textures (static, rasterised once) */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --z-rail: 30;
  --z-dock: 55;
  --z-header: 60;
  --z-panel: 65;
  --z-scrim: 70;
  --z-sheet: 80;
  --z-tracker: 90;
  --z-toast: 100;
  --z-fly: 110;
}
@media (max-width: 759px) {
  :root { --header-h: 60px; --rail-h: 56px; }
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--rail-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--iron-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
svg { overflow: visible; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ember-400); color: var(--iron-950); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ill { display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--pill);
  background: var(--gold-400); color: var(--iron-950); font-weight: 700; transition: top var(--d2);
}
.skip-link:focus { top: 12px; }
.jp { font-family: var(--font-jp); font-weight: 700; letter-spacing: .04em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.ink-red { color: var(--lacquer-500); }

/* 3. LAYOUT & THEMES ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.theme-washi {
  color: var(--text-on-light);
  background: var(--washi-100) var(--paper);
}
.theme-iron { background: var(--iron-900); color: var(--text-on-dark); }
.theme-iron2 { background: var(--iron-950); color: var(--text-on-dark); }
.theme-lacquer {
  color: var(--text-on-dark);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(255, 106, 31, .28), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, .35), transparent 60%),
    linear-gradient(160deg, var(--lacquer-600), var(--lacquer-700) 55%, var(--lacquer-900));
}
.drip { position: absolute; left: 0; width: 100%; height: clamp(44px, 6.6vw, 104px); pointer-events: none; z-index: 2; }
.drip-top { top: -1px; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ember-400);
}
.theme-washi .kicker { color: var(--lacquer-600); }
.theme-lacquer .kicker { color: var(--ember-300); }
.kicker .jp { font-size: 1.35em; letter-spacing: .08em; text-transform: none; }
.section-title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.04; letter-spacing: -.01em; text-wrap: balance;
}
.section-title .serif { font-size: 1.02em; }
.section-lede { margin-top: 18px; font-size: var(--fs-lede); color: var(--muted-on-dark); max-width: 60ch; text-wrap: pretty; }
.theme-washi .section-lede { color: var(--ink-700); }
.section-head.center .section-lede { margin-inline: auto; }

/* 4. COMPONENTS ------------------------------------------------------------ */
/* Buttons */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2), background-color var(--d2), border-color var(--d2);
  overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn.small { --h: 44px; padding: 0 18px; font-size: .95rem; }
.btn.block { width: 100%; justify-content: space-between; }
.btn-fire {
  color: #fff;
  /* darkest-to-lightest stop keeps white text >= 4.5:1 (WCAG AA); the fire comes from glow + warm top edge */
  background: linear-gradient(135deg, #d4450c 0%, var(--lacquer-500) 55%, var(--lacquer-600) 100%);
  box-shadow: var(--glow-ember), inset 0 1px 0 rgba(255, 210, 122, .6), inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.btn-fire::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(255, 106, 31, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-fire:hover::after { transition: transform .8s var(--ease-out); transform: translateX(120%); }
.btn-fire:disabled { filter: grayscale(.7) brightness(.85); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost {
  color: var(--text-on-dark); background: rgba(255, 255, 255, .04);
  border: 1.5px solid rgba(246, 239, 227, .28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(246, 239, 227, .5); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .12); }
.btn-ghost-light:hover { background: rgba(0, 0, 0, .24); transform: translateY(-2px); }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-on-dark); color: var(--text-on-dark);
  transition: background var(--d2), border-color var(--d2), transform var(--d2) var(--ease-out);
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(246, 239, 227, .4); }
.round-btn:active { transform: scale(.94); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(35, 24, 21, .06); color: currentColor; transition: background var(--d2), transform var(--d2);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(35, 24, 21, .12); }
.icon-btn:active { transform: scale(.92); }
.link-btn { color: var(--lacquer-600); font-weight: 700; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.link-btn:hover { text-decoration-style: solid; }

/* Status */
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: none; display: inline-block; }
.is-open .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: ripple 2.2s ease-out infinite; }
.is-closing .status-dot { background: var(--warn); }
.is-closed .status-dot { background: var(--lacquer-400); }

/* Switch */
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: var(--pill); background: rgba(255, 255, 255, .18); position: relative; cursor: pointer; transition: background var(--d2); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform var(--d2) var(--ease-spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.switch:checked { background: var(--ember-500); }
.switch:checked::after { transform: translateX(18px); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--pill); background: rgba(35, 24, 21, .06); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-900); box-shadow: var(--sh-1); transition: transform var(--d1); }
.stepper button:active { transform: scale(.9); }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 5. SECTIONS -------------------------------------------------------------- */
/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  transition: background var(--d3), box-shadow var(--d3), transform var(--d3) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(20, 17, 16, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-stamp { width: 46px; height: 46px; transition: transform .9s var(--ease-out); }
.brand:hover .brand-stamp { transform: rotate(-24deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; letter-spacing: .01em; }
.brand-text small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); margin-top: 3px; }
.logo-ring-text { font-family: var(--font-display); }
.main-nav { display: flex; gap: 6px; margin-inline: auto; }
.main-nav a { position: relative; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--muted-on-dark); transition: color var(--d2); }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--ember-500); transform: scaleX(0); transform-origin: left; transition: transform var(--d3) var(--ease-out); }
.main-nav a:hover, .main-nav a.is-active { color: var(--text-on-dark); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--line-on-dark); color: var(--muted-on-dark);
}
.sound-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-on-dark); transition: background var(--d2), border-color var(--d2);
}
.sound-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(246, 239, 227, .35); }
.sound-btn svg { width: 20px; height: 20px; color: var(--muted-on-dark); transition: color var(--d2), transform var(--d3) var(--ease-spring); }
.sound-btn .ic-on, .sound-btn[aria-pressed="true"] .ic-off { display: none; }
.sound-btn[aria-pressed="true"] .ic-on { display: block; color: var(--ember-300); }
.sound-btn[aria-pressed="true"] { border-color: rgba(255, 210, 122, .45); background: rgba(255, 154, 60, .1); }
.sound-btn:active svg { transform: scale(.85); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: var(--pill);
  background: var(--text-on-dark); color: var(--iron-900); font-weight: 700; font-size: .92rem;
  transition: transform var(--d2) var(--ease-out), box-shadow var(--d2);
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(255, 255, 255, .5); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); display: grid; place-items: center;
  background: var(--lacquer-500); color: #fff; font-size: .75rem; font-variant-numeric: tabular-nums;
}
.cart-btn.bump { animation: bump .5s var(--ease-spring); }
.cart-sum { font-variant-numeric: tabular-nums; }

.sound-hint {
  position: absolute; top: calc(var(--header-h) - 2px); right: calc(var(--gutter) + 60px); z-index: var(--z-panel);
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: var(--pill);
  background: var(--text-on-dark); color: var(--iron-900); font-weight: 600; font-size: .88rem; box-shadow: var(--sh-dark);
  animation: pop-in .4s var(--ease-spring);
}
.sound-hint::before { content: ""; position: absolute; top: -6px; right: 28px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.sound-hint button { height: 32px; padding: 0 12px; border-radius: var(--pill); background: var(--lacquer-500); color: #fff; font-weight: 700; font-size: .82rem; }
.sound-hint .hint-x { width: 32px; padding: 0; display: grid; place-items: center; background: rgba(35, 24, 21, .08); color: var(--ink-900); }
.sound-hint .hint-x svg { width: 14px; height: 14px; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(28px, 6vw, 64px)) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(70% 55% at 72% 88%, rgba(255, 106, 31, .30), transparent 65%),
    radial-gradient(60% 50% at 10% 0%, rgba(210, 48, 31, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #0f0c0b 0%, #171311 55%, #1d1714 100%);
  display: flex; align-items: center;
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-heat {
  position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 60% 50%, rgba(255, 106, 31, .38), rgba(210, 48, 31, .14) 45%, transparent 70%);
  animation: breathe 5s ease-in-out infinite alternate;
}
.hero-grain { position: absolute; inset: 0; z-index: 1; background-image: var(--grain); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { position: relative; z-index: 4; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); }
.eyebrow .jp { font-size: 1.25rem; letter-spacing: .1em; color: var(--ember-400); padding-right: 14px; border-right: 1px solid var(--line-on-dark); text-transform: none; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-hero); line-height: .98; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .08em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; white-space: nowrap; }
.hero-title em { font-style: normal; display: inline-block; padding-right: .04em; }
.w-hot {
  background: linear-gradient(180deg, #ffe7a6 0%, #ffb54a 32%, #ff6a1f 62%, #d2301f 100%);
  background-size: 100% 200%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 34px rgba(255, 106, 31, .38);
}
.w-glaze {
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 238, 205, .95) 48%, rgba(255, 238, 205, .2) 54%, transparent 60%),
    linear-gradient(180deg, #ffdca0 0%, #f0a24e 30%, #c8661f 55%, #a4501a 72%, #f2b060 100%);
  background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w-fresh {
  background: repeating-linear-gradient(118deg, #ff8a5c 0 13px, #ffd5c2 13px 17px, #ff9a70 17px 29px, #fff0e8 29px 31px);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 26px; max-width: 34em; font-size: var(--fs-lede); color: var(--muted-on-dark); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.lbl-short { display: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; font-size: .92rem; color: var(--muted-on-dark); }
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--ember-400); }
.hero-meta a:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 3px; }

.hero-art { position: relative; aspect-ratio: 1; width: 118%; max-width: 700px; justify-self: center; margin-right: -14%; }
.vert-kanji {
  position: absolute; right: -6%; top: -2%; z-index: 0; writing-mode: vertical-rl;
  font-family: var(--font-jp); font-weight: 700; font-size: clamp(64px, 9vw, 150px); line-height: 1; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 190, 130, .16); pointer-events: none; user-select: none;
}
.plate-wrap { position: absolute; inset: 0; z-index: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease-out); }
.hero-plate { position: relative; width: 100%; height: 100%; animation: plate-in 1.3s var(--ease-out) both; }
.plate-wrap.is-fired .hero-plate { animation: plate-kick .55s var(--ease-spring); }
.plate-heat {
  position: absolute; left: 2%; right: 2%; bottom: -4%; height: 26%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 106, 31, .7), rgba(210, 48, 31, .22) 55%, transparent);
  animation: heat 3.2s ease-in-out infinite alternate; will-change: opacity, transform;
}
.plate-wrap.is-fired .plate-heat { animation: heat-flash .7s var(--ease-out); }
.glaze-pour { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: pour 1.5s .95s var(--ease-inout) forwards; }
.glaze-shine { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: pour 1.5s 1.15s var(--ease-inout) forwards; }
.toppings { opacity: 0; transform: translateY(-36px); animation: drop .7s 2.25s var(--ease-spring) forwards; }
.steam { position: absolute; left: 55%; top: 8%; width: 20%; height: 42%; z-index: 2; pointer-events: none; }
.steam svg { position: absolute; bottom: 0; width: 42%; height: 100%; opacity: 0; transform-origin: 50% 100%; animation: steam 4.6s ease-in-out infinite; will-change: transform, opacity; }
.steam path { fill: none; stroke: url(#g-steam); stroke-width: 18; stroke-linecap: round; }
.steam .s1 { left: 4%; animation-delay: 2.4s; }
.steam .s2 { left: 50%; animation-delay: 3.9s; }
.steam .s3 { left: 26%; animation-delay: 5.2s; }
.plate-hit {
  position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; border-radius: 50%; z-index: 3; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.plate-hit:focus-visible { outline-offset: 8px; }
.floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.floater { position: absolute; display: block; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .8s var(--ease-out); }
.floater svg { width: 100%; height: 100%; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); }
.fl-1 { left: -8%; top: 4%; width: 24%; aspect-ratio: 1; }
.fl-1 svg { animation-duration: 7.5s; }
.fl-2 { left: -10%; top: 66%; width: 28%; aspect-ratio: 1; }
.fl-2 svg { animation-duration: 8.5s; animation-delay: -2s; }
.fl-3 { right: -4%; top: 62%; width: 19%; aspect-ratio: 1; }
.fl-3 svg { animation-duration: 6.5s; animation-delay: -4s; }
.fl-4 { right: 6%; top: 8%; width: 4.2%; aspect-ratio: 1; }
.fl-4 svg { animation-duration: 5s; }
.fl-5 { left: 16%; top: 40%; width: 5%; aspect-ratio: 1; }
.fl-5 svg { animation-duration: 6s; animation-delay: -1s; }
.tap-hint {
  position: absolute; left: 50%; bottom: 2%; z-index: 4; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(20, 17, 16, .7); border: 1px solid rgba(255, 154, 60, .35); color: var(--ember-300);
  animation: hint-in .6s 3.2s var(--ease-out) both;
}
.tap-hint svg { width: 14px; height: 14px; }
.hero-art.was-tapped .tap-hint { opacity: 0; transition: opacity .4s; }

/* hero intro */
.js .hero-title .line > span { transform: translateY(108%); animation: line-up .95s var(--ease-out) forwards; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .28s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .41s; }
.js .reveal-up { opacity: 0; transform: translateY(18px); animation: fade-up .8s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + .2s); }

/* ---- Marquee ---- */
.marquee-clip { position: relative; z-index: 6; overflow: hidden; margin: -70px 0 -40px; padding: 36px 0; pointer-events: none; }
.marquee {
  position: relative; margin: 0 -3vw; padding: 16px 0; overflow: hidden;
  background: var(--lacquer-500); color: #fff; transform: rotate(-2deg);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .2);
}
.marquee::before, .marquee::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--gold-400) 0 14px, transparent 14px 22px); opacity: .6; }
.marquee::before { top: 5px; }
.marquee::after { bottom: 5px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 42s linear infinite; font-family: var(--font-display); font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--gold-300); font-size: .8em; }
.marquee-track .jp { color: var(--ember-300); font-size: 1.05em; }

/* ---- Pillars ---- */
.pillars { padding-top: calc(var(--section-y) + 20px); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.pillar {
  position: relative; display: flex; flex-direction: column; padding: 28px 28px 24px; border-radius: var(--r-xl);
  background: var(--washi-50); border: 1px solid var(--line-on-light); box-shadow: var(--sh-1); overflow: hidden;
  transition: transform var(--d3) var(--ease-out), box-shadow var(--d3);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.pillar:hover { box-shadow: var(--sh-2); }
.pillar-kanji {
  position: absolute; right: 16px; top: 6px; font-size: 5.4rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.4px rgba(35, 24, 21, .09); writing-mode: vertical-rl; pointer-events: none;
}
.pillar-art { position: relative; width: 74%; aspect-ratio: 1; margin: 6px auto 18px; }
.pillar-art::before {
  content: ""; position: absolute; inset: 8% 8% 14%; border-radius: 50%; background: var(--disc);
  box-shadow: inset 0 -18px 30px rgba(0, 0, 0, .2), 0 20px 40px -18px var(--disc); opacity: .95;
}
.pillar-art svg { position: relative; width: 100%; height: 100%; transition: transform .9s var(--ease-out); }
.pillar:hover .pillar-art svg { transform: rotate(-10deg) scale(1.06); }
.pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.pillar p { margin-top: 10px; color: var(--ink-700); font-size: .98rem; }
.pillar-link { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink-700); }
.pillar-link b { font-family: var(--font-display); font-weight: 400; color: var(--ink-900); font-size: 1.1rem; }
.pillar-link svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--ink-900); color: var(--washi-50); transition: transform var(--d3) var(--ease-out), background var(--d2); }
.pillar-link:hover svg { transform: translateX(4px) rotate(-8deg); background: var(--lacquer-500); }

/* ---- Favorites carousel ---- */
.favorites { padding-bottom: calc(var(--section-y) - 20px); overflow: hidden; }
.favorites .section-title .serif { color: var(--ember-300); }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel {
  --side: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 340px); gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--side);
  padding: 10px var(--side) 44px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.fav-card {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(165deg, #231d1a, #161210 70%); border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: var(--sh-dark); transition: transform var(--d3) var(--ease-out), border-color var(--d3);
}
.fav-card:hover { transform: translateY(-6px); border-color: rgba(255, 154, 60, .35); }
.fav-art { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; }
.fav-art::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; top: 40%; left: 50%; transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(255, 106, 31, .45), rgba(210, 48, 31, .12) 50%, transparent 70%);
  transition: opacity var(--d3); opacity: .7;
}
.fav-card:hover .fav-art::before { opacity: 1; }
.fav-art .ill { position: relative; width: 190px; height: 190px; transition: transform .9s var(--ease-out); filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
.fav-card:hover .fav-art .ill { transform: scale(1.07) rotate(-6deg); }
.fav-rank { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.1px rgba(255, 210, 122, .5); }
.fav-top { display: flex; align-items: center; justify-content: space-between; }
.fav-body { padding: 4px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.fav-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: rgba(242, 181, 58, .14); color: var(--gold-300); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fav-tag svg { width: 12px; height: 12px; }
.fav-body h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.fav-body p { margin-top: 8px; color: var(--muted-on-dark); font-size: .95rem; }
.fav-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.fav-foot .price { font-size: 1.35rem; color: var(--ember-300); }

/* Add button (shared) */
.add-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--lacquer-500); color: #fff; box-shadow: 0 8px 18px -8px rgba(210, 48, 31, .8);
  transition: transform var(--d2) var(--ease-spring), background var(--d2);
}
.add-btn svg { width: 20px; height: 20px; transition: transform var(--d3) var(--ease-out); }
.add-btn:hover { transform: scale(1.08); background: var(--lacquer-400); }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn:active { transform: scale(.92); }
.add-btn:disabled { background: var(--ink-300); box-shadow: none; cursor: not-allowed; transform: none; }
.add-btn .qty-badge {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: var(--pill);
  display: grid; place-items: center; background: var(--gold-400); color: var(--iron-950); font-size: .72rem; font-weight: 800;
  box-shadow: 0 0 0 2px var(--washi-50);
}
.theme-iron .add-btn .qty-badge { box-shadow: 0 0 0 2px #1c1715; }

/* ---- Menu ---- */
.menu { padding-top: calc(var(--section-y) + 10px); }
.noren { position: relative; display: flex; justify-content: center; gap: 5px; margin: -8px auto 28px; width: max-content; padding-top: 10px; }
.noren::before { content: ""; position: absolute; left: -22px; right: -22px; top: 0; height: 10px; border-radius: 5px; background: linear-gradient(180deg, #a8773d, #6e4a22); box-shadow: 0 4px 8px rgba(0, 0, 0, .2); }
.noren span {
  width: clamp(46px, 6vw, 62px); height: clamp(104px, 13vw, 138px); display: flex; justify-content: center; padding-top: 18px;
  font-family: var(--font-jp); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); color: var(--washi-50);
  background: linear-gradient(180deg, var(--lacquer-500), var(--lacquer-600) 80%, var(--lacquer-700));
  border-radius: 0 0 6px 6px; transform-origin: 50% 0; box-shadow: inset 0 -10px 16px rgba(0, 0, 0, .18), 0 10px 20px -12px rgba(0, 0, 0, .5);
  animation: sway 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s);
}
.noren span:hover { animation: swish 1s var(--ease-out); }
.menu .section-lede b { color: var(--ink-900); }
.menu-toolbar { position: relative; }
.toolbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-500); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding: 0 18px 0 50px; border-radius: var(--pill); border: 1.5px solid var(--line-on-light);
  background: var(--washi-50); color: var(--ink-900); font-size: 1rem; box-shadow: var(--sh-1); transition: border-color var(--d2), box-shadow var(--d2);
}
.search input::placeholder { color: var(--ink-500); }
.search input:focus { outline: none; border-color: var(--ember-500); box-shadow: 0 0 0 4px rgba(255, 106, 31, .18); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: var(--pill);
  border: 1.5px solid var(--line-on-light); background: var(--washi-50); color: var(--ink-700); font-weight: 600; font-size: .9rem;
  transition: all var(--d2);
}
.filter-chip svg { width: 16px; height: 16px; }
.filter-chip[data-filter="veg"] svg { color: var(--scallion-500); }
.filter-chip[data-filter="spicy"] svg { color: var(--lacquer-500); }
.filter-chip[data-filter="cooked"] svg { color: var(--ember-500); }
.filter-chip:hover { border-color: var(--ink-300); }
.filter-chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--washi-50); }
.filter-chip[aria-pressed="true"] svg { color: currentColor; }
.cat-rail-wrap {
  position: sticky; top: var(--header-h); z-index: var(--z-rail); height: var(--rail-h);
  background: rgba(246, 239, 227, .93); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line-on-light);
}
.cat-rail {
  --side: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; align-items: center; gap: 6px; height: 100%; overflow-x: auto; scrollbar-width: none;
  padding-inline: var(--side); scroll-padding-inline: var(--side);
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--pill);
  font-weight: 600; font-size: .9rem; color: var(--ink-700); white-space: nowrap; transition: background var(--d2), color var(--d2);
}
.cat-chip .jp { font-size: .8rem; color: var(--lacquer-500); opacity: .8; }
.cat-chip small { font-size: .72rem; color: var(--ink-500); font-weight: 700; }
.cat-chip:hover { background: rgba(35, 24, 21, .06); }
.cat-chip.is-active { background: var(--lacquer-500); color: #fff; }
.cat-chip.is-active .jp, .cat-chip.is-active small { color: rgba(255, 255, 255, .8); }
.menu-body { padding-top: 12px; }
.menu-cat { padding-top: clamp(40px, 5vw, 64px); }
.menu-cat[hidden] { display: none; }
.cat-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; align-items: end; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid var(--ink-900); }
.cat-num { grid-row: span 2; font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--lacquer-500); }
.cat-head h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; }
.cat-head h3 .jp { font-size: .6em; color: var(--lacquer-500); }
.cat-head p { color: var(--ink-700); font-size: .98rem; max-width: 62ch; }
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 14px; }
.dish {
  position: relative; display: grid; grid-template-columns: 82px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 16px 14px 14px; border-radius: var(--r-lg); background: var(--washi-50); border: 1px solid var(--line-on-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; cursor: pointer; text-align: left; width: 100%;
  transition: transform var(--d3) var(--ease-out), box-shadow var(--d3), border-color var(--d3);
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: rgba(255, 106, 31, .35); }
.dish-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dish-hit:focus-visible { outline-offset: 2px; }
.dish-side { position: relative; z-index: 2; }
.dish-name { margin: 0; }
.dish-art { position: relative; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--disc-bg, #f0e4cf), transparent 72%); }
.dish-art .ill { width: 86px; height: 86px; transition: transform .8s var(--ease-out); }
.dish:hover .dish-art .ill { transform: rotate(-12deg) scale(1.08); }
.dish-info { min-width: 0; }
.dish-name { font-weight: 700; font-size: 1.02rem; line-height: 1.25; color: var(--ink-900); }
.dish-desc { margin-top: 4px; font-size: .86rem; line-height: 1.45; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--pill); font-size: .7rem; font-weight: 700; letter-spacing: .02em; background: rgba(35, 24, 21, .06); color: var(--ink-700); }
.tag svg { width: 12px; height: 12px; }
.tag.veg { background: rgba(124, 179, 66, .14); color: #4c7a1f; }
.tag.spicy { background: rgba(210, 48, 31, .1); color: var(--lacquer-600); }
.tag.raw { background: rgba(255, 138, 101, .16); color: #b4452a; }
.tag.popular { background: rgba(242, 181, 58, .2); color: #8a5a00; }
.tag.signature { background: var(--ink-900); color: var(--gold-300); }
.tag.wait { background: rgba(35, 24, 21, .06); }
.dish-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dish-side .price { font-size: 1.05rem; color: var(--ink-900); }
.dish-side .price small { font-family: var(--font-body); font-size: .68rem; color: var(--ink-500); font-weight: 700; margin-right: 3px; text-transform: uppercase; }
.dish.is-soldout { cursor: default; }
.dish.is-soldout .dish-art .ill, .dish.is-soldout .dish-info { opacity: .45; filter: grayscale(.8); }
.dish.is-soldout:hover { transform: none; box-shadow: none; border-color: var(--line-on-light); }
.soldout-stamp {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%) rotate(-14deg); padding: 4px 8px; border: 2px solid var(--lacquer-500);
  border-radius: 6px; color: var(--lacquer-600); font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 250, 241, .85);
}
.dish.flash { animation: dish-flash .9s var(--ease-out); }
.menu-empty { padding: 60px 0; text-align: center; color: var(--ink-500); font-size: 1.1rem; }
.fine-print { margin-top: 56px; padding-top: 20px; border-top: 1px dashed var(--washi-300); font-size: .8rem; color: var(--ink-500); max-width: 80ch; }

/* ---- Party ---- */
.party-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 16px; }
.party .section-lede { color: rgba(255, 240, 225, .8); }
.guest-count { display: flex; align-items: baseline; gap: 14px; margin-top: 30px; }
.guest-count output {
  font-family: var(--font-display); font-size: clamp(5rem, 3rem + 7vw, 9rem); line-height: .9; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff3cf, var(--gold-400) 60%, #e0851f); -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 2ch; display: inline-block;
}
.guest-count output.tick { animation: tick .25s var(--ease-spring); }
.guest-count span { font-size: 1.1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 240, 225, .8); }
.guest-range { --fill: 10%; width: 100%; height: 44px; margin-top: 18px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.guest-range::-webkit-slider-runnable-track { height: 12px; border-radius: var(--pill); background: linear-gradient(90deg, var(--ember-300), var(--ember-500) var(--fill), rgba(0, 0, 0, .28) var(--fill)); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
.guest-range::-moz-range-track { height: 12px; border-radius: var(--pill); background: rgba(0, 0, 0, .28); }
.guest-range::-moz-range-progress { height: 12px; border-radius: var(--pill); background: linear-gradient(90deg, var(--ember-300), var(--ember-500)); }
.guest-range::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 38px; margin-top: -13px; border-radius: 50%; background: #fff; border: 7px solid var(--gold-400); box-shadow: 0 0 0 6px rgba(242, 181, 58, .25), 0 8px 20px rgba(0, 0, 0, .4); transition: transform var(--d2) var(--ease-spring); }
.guest-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.guest-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 7px solid var(--gold-400); box-shadow: 0 0 0 6px rgba(242, 181, 58, .25); }
.guest-range:focus-visible { outline: none; }
.guest-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--focus), 0 8px 20px rgba(0, 0, 0, .4); }
.range-scale { display: flex; justify-content: space-between; margin-top: 2px; font-size: .75rem; font-weight: 700; color: rgba(255, 240, 225, .55); }
.seg { margin-top: 30px; }
.seg legend { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ember-300); margin-bottom: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid rgba(255, 255, 255, .3); font-weight: 600; cursor: pointer; transition: all var(--d2); }
.seg span:hover { background: rgba(0, 0, 0, .15); }
.seg input:checked + span { background: #fff; color: var(--lacquer-700); border-color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.party-result { display: grid; gap: 20px; }
.table-viz {
  position: relative; min-height: 124px; padding: 22px; border-radius: var(--r-xl);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 38px),
    linear-gradient(180deg, #7a4a22, #5e3715);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -8px 20px rgba(0, 0, 0, .3), 0 30px 50px -30px rgba(0, 0, 0, .7);
  display: flex; flex-wrap: wrap; gap: 8px; align-content: center;
}
.seat { width: 30px; height: 30px; border-radius: 50%; background: #fbf6ec; box-shadow: 0 3px 6px rgba(0, 0, 0, .35), inset 0 0 0 3px #fff, inset 0 0 0 4px #e6dac3; position: relative; }
.seat::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--food, #9c4515); }
.seat.is-new { animation: seat-pop .45s var(--ease-spring); }
.plan-card { padding: 26px; border-radius: var(--r-xl); background: var(--washi-50); color: var(--ink-900); box-shadow: var(--sh-dark); }
.plan-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.plan-list { margin-top: 14px; display: grid; }
.plan-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--washi-300); animation: fade-up .4s var(--ease-out) both; }
.plan-list li .ill { width: 44px; height: 44px; }
.plan-list b { display: block; font-size: .98rem; }
.plan-list small { color: var(--ink-500); font-size: .8rem; }
.plan-list .price { font-size: 1rem; }
.plan-total { display: flex; gap: 24px; margin-top: 16px; }
.plan-total small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.plan-total b { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.plan-total div + div b { color: var(--lacquer-500); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.plan-actions .btn-ghost-light { color: var(--ink-900); border-color: var(--line-on-light); background: transparent; }
.plan-actions .btn-ghost-light:hover { background: rgba(35, 24, 21, .06); }
.plan-note { margin-top: 12px; font-size: .8rem; color: var(--ink-500); }

/* ---- Story ---- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 16px; }
.story-art { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.enso { width: 100%; height: auto; }
.enso-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .story-art.is-in .enso-draw { animation: enso 2.2s .2s var(--ease-inout) forwards; }
.enso-stamp { transform-box: fill-box; transform-origin: center; }
.story-art.is-in .enso-stamp { animation: stamp .7s 1.6s var(--ease-spring) both; }
.story-vert { position: absolute; right: -4%; top: 6%; writing-mode: vertical-rl; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); letter-spacing: .3em; color: var(--ink-900); }
.hanko {
  position: absolute; left: 4%; bottom: 6%; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 10px;
  background: var(--lacquer-500); color: #fff; font-size: 1.1rem; writing-mode: vertical-rl; letter-spacing: .1em; transform: rotate(-8deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.story-copy p { margin-top: 16px; color: var(--ink-700); font-size: 1.06rem; max-width: 58ch; }
.story-copy .story-lede { font-size: var(--fs-lede); color: var(--ink-900); font-weight: 600; }
.story-copy .serif { color: var(--lacquer-600); font-size: 1.1em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 18px 28px; margin-top: 36px; padding-top: 26px; border-top: 2px solid var(--ink-900); justify-content: start; }
.stats > div { display: flex; flex-direction: column; }
.stats dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); max-width: 11em; }
.stats dd { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 1; color: var(--lacquer-500); font-variant-numeric: tabular-nums; }

/* ---- Reviews ---- */
.reviews { overflow: hidden; }
.reviews .section-title .serif { color: var(--ember-300); }
.review-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.review-stats span { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line-on-dark); font-size: .88rem; color: var(--muted-on-dark); }
.review-stats b { color: var(--gold-300); font-family: var(--font-display); font-weight: 400; margin-right: 4px; }
.review-rows { display: grid; gap: 22px; }
.review-row { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; padding-inline: 11px; }
.review-row.reverse { animation-direction: reverse; animation-duration: 80s; }
.review-rows:hover .review-row { animation-play-state: paused; }
.review {
  width: min(360px, 80vw); flex: none; padding: 24px 24px 20px; border-radius: var(--r-lg); background: var(--washi-50); color: var(--ink-900);
  box-shadow: var(--sh-dark); transform: rotate(var(--rot, 0deg));
}
.review:nth-child(odd) { --rot: -1.2deg; }
.review:nth-child(3n) { --rot: .9deg; }
.stars { display: flex; gap: 2px; color: var(--gold-400); }
.stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 12px 0 0; font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; line-height: 1.45; }
.review figcaption { margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }

/* ---- Visit ---- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.live-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 18px; border-radius: var(--pill); background: rgba(63, 191, 106, .1); border: 1px solid rgba(63, 191, 106, .3); font-weight: 700; }
.live-status.is-closed { background: rgba(229, 72, 58, .1); border-color: rgba(229, 72, 58, .35); }
.live-status.is-closing { background: rgba(242, 181, 58, .1); border-color: rgba(242, 181, 58, .35); }
.hours { width: 100%; margin-top: 26px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 13px 0; border-bottom: 1px solid var(--line-on-dark); }
.hours td:last-child { text-align: right; color: var(--muted-on-dark); }
.hours tr.is-today td { color: var(--text-on-dark); font-weight: 700; }
.hours tr.is-today td:first-child { position: relative; padding-left: 18px; }
.hours tr.is-today td:first-child::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ember-500); box-shadow: 0 0 12px var(--ember-500); }
.today-pill { margin-left: 10px; padding: 2px 8px; border-radius: var(--pill); background: var(--ember-500); color: #fff; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.hours-note { margin-top: 14px; font-size: .82rem; color: var(--muted-on-dark); }
.visit-card { padding: 14px 14px 26px; border-radius: var(--r-xl); background: linear-gradient(170deg, #211b18, #151110); border: 1px solid var(--line-on-dark); box-shadow: var(--sh-dark); }
.map-art { position: relative; height: 240px; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }
.map-art svg { width: 100%; height: 100%; }
.map-pulse { position: absolute; left: 54.58%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(210, 48, 31, .45); animation: ripple 2.4s ease-out infinite; pointer-events: none; }
.map-label { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(13, 11, 10, .85); border: 1px solid var(--line-on-dark); line-height: 1.25; }
.map-label b { display: block; font-family: var(--font-display); font-weight: 400; }
.map-label small { color: var(--muted-on-dark); font-size: .8rem; }
.visit-address { margin: 22px 12px 0; font-style: normal; font-size: 1.2rem; font-weight: 600; line-height: 1.45; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 12px 0; }
.visit-tips { margin: 24px 12px 0; display: grid; gap: 16px; }
.visit-tips li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.visit-tips svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 106, 31, .12); color: var(--ember-400); }
.visit-tips b { display: block; }
.visit-tips span { color: var(--muted-on-dark); font-size: .93rem; }

/* ---- Footer ---- */
.site-footer { position: relative; overflow: hidden; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--iron-950); border-top: 1px solid var(--line-on-dark); }
.footer-word {
  font-family: var(--font-display); font-size: clamp(2.4rem, 10.2vw, 11.5rem); line-height: .95; letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px rgba(246, 239, 227, .16);
  background: linear-gradient(180deg, #ffd27a, #ff6a1f 50%, #d2301f) no-repeat; background-size: 0% 100%;
  -webkit-background-clip: text; background-clip: text; transition: background-size 2.2s var(--ease-inout);
}
.footer-word.is-in { background-size: 100% 100%; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-top: 40px; font-size: .92rem; color: var(--muted-on-dark); }
.footer-ring { font-family: var(--font-display); color: var(--text-on-dark); letter-spacing: .06em; margin-bottom: 10px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer a:hover { color: var(--text-on-dark); }
.footer-controls { display: grid; gap: 12px; align-content: start; }
.switch-row.small { font-size: .9rem; }
.fx-info { font-size: .8rem; }
.fx-info b { color: var(--ember-300); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-on-dark); font-size: .78rem; color: rgba(246, 239, 227, .45); }

/* ---- Mobile dock ---- */
.mobile-dock { display: none; }

/* 6. OVERLAYS -------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: rgba(10, 8, 7, .58); animation: fade .3s ease both; }
.scrim.is-closing { animation: fade-out .25s ease both; }

/* Item sheet */
.sheet { position: fixed; inset: 0; z-index: var(--z-sheet); display: grid; place-items: center; padding: 24px; pointer-events: none; }
.sheet-inner {
  position: relative; width: min(540px, 100%); max-height: min(92vh, 860px); display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-xl); background: var(--washi-100); color: var(--ink-900); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  pointer-events: auto; animation: sheet-in .5s var(--ease-out) both;
}
.sheet.is-closing .sheet-inner { animation: sheet-out .28s var(--ease-inout) both; }
.sheet-close { position: absolute; right: 14px; top: 14px; z-index: 3; background: rgba(255, 255, 255, .85); }
.sheet-hero { position: relative; flex: none; height: 220px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 90% at 50% 100%, var(--hero-c2, #ff9a3c), var(--hero-c1, #d2301f)); }
.sheet-hero::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); animation: spin 40s linear infinite; }
.sheet-hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .8; }
.sheet-hero .ill { position: relative; z-index: 1; width: 196px; height: 196px; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .45)); animation: sheet-art .7s .1s var(--ease-spring) both; }
.sheet-hero .kanji-bg { position: absolute; left: 18px; top: 12px; z-index: 1; font-family: var(--font-jp); font-weight: 700; font-size: 3.6rem; line-height: 1; color: rgba(255, 255, 255, .22); writing-mode: vertical-rl; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 26px 8px; }
.sheet-cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lacquer-600); }
.sheet-body h3 { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.12; }
.sheet-desc { margin-top: 10px; color: var(--ink-700); }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.opt-group { margin-top: 22px; }
.opt-group legend { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 10px; font-weight: 700; }
.opt-group legend .req { padding: 2px 8px; border-radius: var(--pill); background: rgba(210, 48, 31, .1); color: var(--lacquer-600); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; flex-direction: column; gap: 2px; min-height: 58px; padding: 10px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line-on-light);
  background: var(--washi-50); cursor: pointer; transition: border-color var(--d2), background var(--d2), box-shadow var(--d2); line-height: 1.25;
}
.opt b { font-size: .95rem; }
.opt small { font-size: .78rem; color: var(--ink-500); }
.opt em { font-style: normal; font-family: var(--font-display); font-size: .9rem; color: var(--ink-900); margin-top: 2px; }
.opt input:checked + span { border-color: var(--lacquer-500); background: #fff; box-shadow: 0 0 0 3px rgba(210, 48, 31, .12); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt input:disabled + span { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.notes { display: grid; gap: 8px; margin-top: 22px; font-weight: 700; }
.notes small { font-weight: 500; color: var(--ink-500); }
.notes textarea, .field input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line-on-light); background: var(--washi-50); color: var(--ink-900); resize: vertical; font-weight: 400;
}
.notes textarea:focus, .field input:focus { outline: none; border-color: var(--ember-500); box-shadow: 0 0 0 4px rgba(255, 106, 31, .16); }
.sheet-foot { flex: none; display: flex; gap: 12px; align-items: center; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--washi-100); border-top: 1px solid var(--line-on-light); }
.sheet-add { flex: 1; justify-content: space-between; }
.sheet-add b { font-family: var(--font-display); font-weight: 400; font-variant-numeric: tabular-nums; }

/* Cart drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-sheet); width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--washi-100); color: var(--ink-900); box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .6); animation: drawer-in .5s var(--ease-out) both;
}
.drawer.is-closing { animation: drawer-out .3s var(--ease-inout) both; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; }
.drawer-head h3 { flex: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 6px 20px 8px; padding: 4px; border-radius: var(--pill); background: rgba(35, 24, 21, .07); }
.mode-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: var(--pill); font-weight: 700; color: var(--ink-500); transition: color var(--d3); }
.mode-switch button svg { width: 18px; height: 18px; }
.mode-switch button[aria-checked="true"] { color: #fff; }
.mode-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--pill); background: var(--ink-900); transition: transform var(--d3) var(--ease-spring); }
.mode-switch.is-delivery .mode-thumb { transform: translateX(100%); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 20px; }
.cart-list { display: grid; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--washi-300); animation: fade-up .4s var(--ease-out) both; }
.cart-item.is-leaving { animation: slide-out .3s var(--ease-inout) both; }
.cart-item .ill { width: 56px; height: 56px; }
.cart-item b { display: block; font-size: .98rem; line-height: 1.3; }
.cart-item small { display: block; color: var(--ink-500); font-size: .8rem; line-height: 1.35; }
.cart-item .ci-right { display: grid; justify-items: end; gap: 8px; }
.cart-item .price { font-size: .98rem; }
.cart-item .stepper { padding: 2px; }
.cart-item .stepper button { width: 30px; height: 30px; }
.cart-item .stepper button svg { width: 13px; height: 13px; }
.cart-empty { display: grid; justify-items: center; gap: 6px; padding: 40px 0; text-align: center; color: var(--ink-500); }
.cart-empty svg { width: 150px; height: 150px; margin-bottom: 10px; }
.cart-empty b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink-900); }
.cart-empty .btn { margin-top: 12px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-on-light); background: var(--washi-50); }
.summary { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; }
.summary div { display: flex; justify-content: space-between; }
.summary dd { font-variant-numeric: tabular-nums; font-weight: 700; }
.summary .muted { color: var(--ink-500); }
.summary .muted dd { font-weight: 500; }
.proto-note { margin-top: 10px; text-align: center; font-size: .75rem; color: var(--ink-500); }
.checkout { display: grid; gap: 22px; padding-top: 8px; }
.checkout legend { font-weight: 700; margin-bottom: 10px; }
.time-chips, .tip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chips label, .tip-chips label { position: relative; }
.time-chips input, .tip-chips input { position: absolute; opacity: 0; pointer-events: none; }
.time-chips span, .tip-chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line-on-light); background: var(--washi-50); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all var(--d2); }
.time-chips input:checked + span, .tip-chips input:checked + span { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.time-chips input:focus-visible + span, .tip-chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 10px; font-size: .88rem; font-weight: 600; color: var(--ink-700); }
.quote-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 106, 31, .08); color: var(--ink-700); font-size: .86rem; }
.quote-note svg { width: 20px; height: 20px; flex: none; color: var(--ember-500); }

/* Order tracker */
.tracker { position: fixed; inset: 0; z-index: var(--z-tracker); display: grid; place-items: center; padding: 24px; overflow-y: auto; color: var(--text-on-dark);
  background: radial-gradient(60% 50% at 50% 60%, rgba(255, 106, 31, .22), transparent 70%), var(--iron-950); animation: fade .4s ease both; }
.tracker-inner { position: relative; width: min(620px, 100%); text-align: center; padding: 40px 0; }
.tracker-close { position: fixed; right: 20px; top: 20px; background: rgba(255, 255, 255, .08); color: #fff; }
.tracker-close:hover { background: rgba(255, 255, 255, .16); }
.tracker h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.05; }
.tracker-eta { margin-top: 10px; color: var(--muted-on-dark); font-size: 1.05rem; }
.tracker-stage { position: relative; width: 240px; height: 240px; margin: 34px auto 30px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: rgba(255, 255, 255, .08); }
.ring-fg { stroke: var(--ember-500); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out); filter: drop-shadow(0 0 8px rgba(255, 106, 31, .7)); }
.stage-art { position: absolute; inset: 30px; display: grid; place-items: center; }
.stage-art svg { width: 100%; height: 100%; animation: sheet-art .6s var(--ease-spring) both; }
.stage-art.cooking svg { animation: sizzle-shake .18s linear infinite; }
.stage-flames { position: absolute; left: 50%; bottom: -6px; width: 140px; height: 50px; transform: translateX(-50%); display: flex; justify-content: center; gap: 6px; }
.stage-flames i { width: 18px; height: 40px; border-radius: 50% 50% 40% 40%; background: linear-gradient(180deg, #ffe7a6, #ff9a3c 40%, #ff6a1f 70%, transparent); transform-origin: 50% 100%; animation: flame .5s ease-in-out infinite alternate; }
.stage-flames i:nth-child(2) { animation-delay: -.2s; height: 50px; }
.stage-flames i:nth-child(3) { animation-delay: -.35s; }
.stage-flames i:nth-child(4) { animation-delay: -.1s; height: 46px; }
.tracker-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.tracker-steps li { position: relative; display: grid; justify-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--muted-on-dark); }
.tracker-steps li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 2px; background: rgba(255, 255, 255, .12); }
.tracker-steps li:first-child::before { display: none; }
.tracker-steps li.is-done::before, .tracker-steps li.is-now::before { background: var(--ember-500); }
.tracker-steps .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .2); background: var(--iron-950); position: relative; z-index: 1; transition: all var(--d3) var(--ease-spring); }
.tracker-steps .dot svg { width: 16px; height: 16px; opacity: 0; }
.tracker-steps li.is-done { color: var(--text-on-dark); }
.tracker-steps li.is-done .dot { background: var(--ember-500); border-color: var(--ember-500); }
.tracker-steps li.is-done .dot svg { opacity: 1; }
.tracker-steps li.is-now { color: var(--ember-300); }
.tracker-steps li.is-now .dot { border-color: var(--ember-400); box-shadow: 0 0 0 6px rgba(255, 106, 31, .2); }
.tracker .proto-note { color: rgba(246, 239, 227, .45); margin-top: 30px; }
.tracker .kicker { justify-content: center; }

/* Toasts & flyers */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--pill); background: var(--ink-900); color: var(--washi-50); box-shadow: var(--sh-dark); font-weight: 600; font-size: .92rem; animation: toast-in .45s var(--ease-spring) both; pointer-events: auto; }
.toast .ill { width: 36px; height: 36px; flex: none; }
.toast.is-out { animation: toast-out .3s ease both; }
.toast button { margin-left: 6px; color: var(--ember-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.flyer-layer { position: fixed; inset: 0; z-index: var(--z-fly); pointer-events: none; }
.flyer { position: absolute; left: 0; top: 0; width: 64px; height: 64px; will-change: transform; }
.flyer .ill { width: 100%; height: 100%; }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--ember-300); box-shadow: 0 0 10px var(--ember-500); will-change: transform, opacity; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pillar.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* 7. KEYFRAMES ------------------------------------------------------------- */
@keyframes line-up { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes plate-in { from { opacity: 0; transform: scale(.86) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes plate-kick { 0% { transform: scale(1); } 35% { transform: scale(1.035) rotate(1.5deg); } 100% { transform: scale(1); } }
@keyframes pour { to { stroke-dashoffset: 0; } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes steam {
  0% { opacity: 0; transform: translateY(20px) scaleX(.8); }
  30% { opacity: .22; }
  70% { opacity: .12; }
  100% { opacity: 0; transform: translateY(-60px) scaleX(1.3); }
}
@keyframes heat { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
@keyframes heat-flash { 0% { opacity: 1; transform: scale(1); } 30% { opacity: 1; transform: scale(1.25, 1.5); } 100% { opacity: .85; transform: scale(1); } }
@keyframes breathe { from { opacity: .8; } to { opacity: 1; transform: scale(1.05); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glaze-sweep { 0%, 55% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
@keyframes flicker { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 60%; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(-1.6deg) skewX(-1deg); } to { transform: rotate(1.6deg) skewX(1deg); } }
@keyframes swish { 0% { transform: rotate(0); } 25% { transform: rotate(-9deg) skewX(-4deg); } 55% { transform: rotate(6deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
@keyframes dish-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 31, .6); } 100% { box-shadow: 0 0 0 16px rgba(255, 106, 31, 0); } }
@keyframes tick { from { transform: scale(1.12); } to { transform: none; } }
@keyframes seat-pop { from { transform: scale(0); } to { transform: none; } }
@keyframes enso { to { stroke-dashoffset: 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.6) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes ripple { from { transform: scale(.6); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes sheet-art { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes slide-out { to { opacity: 0; transform: translateX(40px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes flame { from { transform: scaleY(.8) scaleX(1.05); opacity: .85; } to { transform: scaleY(1.15) scaleX(.9); opacity: 1; } }
@keyframes sizzle-shake { 0% { transform: translate(0, 0); } 25% { transform: translate(.6px, -.4px); } 50% { transform: translate(-.5px, .3px); } 75% { transform: translate(.3px, .5px); } 100% { transform: translate(0, 0); } }

/* ambient word effects repaint text every frame → rich tier only */
[data-fx="rich"] .w-hot { animation: flicker 2.6s ease-in-out infinite; }
[data-fx="rich"] .w-glaze { animation: glaze-sweep 5.5s 2s var(--ease-inout) infinite; }

/* 8. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .status-pill { display: none; }
}
@media (max-width: 959px) {
  .hero { align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 108%; justify-self: end; margin: -8px -14% -10px 0; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pillar { display: grid; grid-template-columns: 130px 1fr; gap: 0 20px; padding: 20px; }
  .pillar-art { grid-row: span 3; width: 130px; margin: 0; align-self: center; }
  .pillar-kanji { font-size: 4rem; }
  .pillar-link { grid-column: 2; padding-top: 14px; }
  .party-grid, .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 340px; }
  .stats { grid-template-columns: repeat(2, auto); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .brand-stamp { width: 38px; height: 38px; }
  .brand-text small { display: none; }
  .cart-btn { padding: 0 12px 0 10px; }
  .cart-btn .cart-sum { display: none; }
  .hero { padding-top: calc(var(--header-h) + 4px); padding-bottom: 60px; }
  .hero-grid { gap: 0; }
  .hero-art { order: -1; width: 82vw; max-width: 380px; margin: 0 -9vw 4px auto; }
  .vert-kanji { right: auto; left: -30vw; top: 10%; font-size: 76px; }
  .tap-hint { left: 44%; bottom: -2%; }
  .eyebrow { margin-bottom: 14px; letter-spacing: .16em; }
  .hero-sub { margin-top: 16px; font-size: 1.02rem; }
  .hero-ctas { margin-top: 22px; flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn { flex: 1 1 0; padding: 0 12px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .mobile-dock.is-tucked { transform: translateY(140%); }
  .cat-head { display: block; }
  .cat-num { display: block; font-size: 2.6rem; margin-bottom: 8px; }
  .cat-head p { margin-top: 6px; }
  .dish-tags .tag:nth-child(n+3) { display: none; }
  .hero-meta { margin-top: 22px; gap: 8px 18px; font-size: .86rem; }
  .hero-meta li:last-child { display: none; }
  .fl-4, .fl-5 { display: none; }
  .tap-hint { bottom: 4%; }
  .marquee-clip { margin: -56px 0 -34px; padding: 30px 0; }
  .marquee { padding: 12px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .carousel { grid-auto-columns: 78vw; }
  .dish { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px; }
  .dish-art { width: 64px; height: 64px; }
  .dish-art .ill { width: 68px; height: 68px; }
  .toolbar-inner { gap: 10px; }
  .search { flex-basis: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; }
  .noren span { padding-top: 12px; }
  .table-viz { min-height: 140px; padding: 16px; gap: 6px; }
  .seat { width: 24px; height: 24px; }
  .seat::after { inset: 7px; }
  .plan-card { padding: 20px; }
  .plan-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet-inner { width: 100%; max-height: 94vh; border-radius: var(--r-xl) var(--r-xl) 0 0; animation-name: sheet-up; }
  .sheet.is-closing .sheet-inner { animation-name: sheet-down; }
  .sheet-hero { height: 190px; }
  .sheet-hero .ill { width: 170px; height: 170px; }
  .tracker-steps { grid-template-columns: 1fr; justify-items: start; text-align: left; max-width: 260px; margin-inline: auto; }
  .tracker-steps li { grid-template-columns: 32px 1fr; align-items: center; justify-items: start; }
  .tracker-steps li::before { left: 15px; right: auto; top: -18px; width: 2px; height: 18px; }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sound-hint { right: var(--gutter); }
  .sound-hint::before { right: 70px; }

  .mobile-dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: var(--z-dock);
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.8fr; align-items: center; gap: 4px; height: 62px; padding: 6px;
    border-radius: 22px; background: rgba(20, 17, 16, .92); border: 1px solid var(--line-on-dark); box-shadow: var(--sh-dark);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: transform var(--d3) var(--ease-out);
  }
  .mobile-dock a { display: grid; justify-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted-on-dark); }
  .mobile-dock a svg { width: 20px; height: 20px; }
  .dock-cart { height: 100%; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; color: #fff; font-weight: 700; font-size: .88rem;
    background: linear-gradient(135deg, #d4450c, var(--lacquer-500) 55%, var(--lacquer-600)); box-shadow: var(--glow-ember), inset 0 1px 0 rgba(255, 210, 122, .6); }
  .dock-cart svg { width: 20px; height: 20px; }
  .dock-cart b { font-variant-numeric: tabular-nums; }
  .dock-cart.bump { animation: bump .5s var(--ease-spring); }
  body.is-locked .mobile-dock { transform: translateY(140%); }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@media (max-width: 380px) {
  .hero-title { font-size: 2.45rem; }
  .brand-text b { font-size: 1rem; }
}

/* 9. TIERS & ACCESSIBILITY ------------------------------------------------- */
/* STANDARD + LITE: backdrop blur re-blurs every scroll frame on weak GPUs → rich only */
html:not([data-fx="rich"]) .site-header.is-scrolled,
html:not([data-fx="rich"]) .cat-rail-wrap,
html:not([data-fx="rich"]) .mobile-dock { -webkit-backdrop-filter: none; backdrop-filter: none; }
html:not([data-fx="rich"]) .site-header.is-scrolled { background: var(--iron-900); }
html:not([data-fx="rich"]) .cat-rail-wrap { background: var(--washi-100); }
html:not([data-fx="rich"]) .mobile-dock { background: rgba(20, 17, 16, .97); }
/* LITE: keep the look, drop the continuous work */
[data-fx="lite"] .hero-heat,
[data-fx="lite"] .plate-heat,
[data-fx="lite"] .floater svg,
[data-fx="lite"] .noren span,
[data-fx="lite"] .sheet-hero::before,
[data-fx="lite"] .map-pulse,
[data-fx="lite"] .is-open .status-dot::after { animation: none; }
[data-fx="lite"] .map-pulse, [data-fx="lite"] .is-open .status-dot::after { display: none; }
[data-fx="lite"] .steam { display: none; }
[data-fx="lite"] .floater svg { filter: none; }
[data-fx="lite"] .fav-art .ill, [data-fx="lite"] .sheet-hero .ill { filter: none; }
[data-fx="lite"] .embers { display: none; }
[data-fx="lite"] .reveal { transition-duration: .35s; transition-delay: 0s; }
[data-fx="lite"] .enso-draw { animation: none !important; stroke-dashoffset: 0; }
[data-fx="lite"] .story-art.is-in .enso-stamp { animation: none; }
[data-fx="lite"] .hero-grain { display: none; }

/* Reduced motion: final states, no loops, no parallax */
[data-motion="reduce"] *, [data-motion="reduce"] *::before, [data-motion="reduce"] *::after {
  animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important;
  transition-duration: 1ms !important; scroll-behavior: auto !important;
}
[data-motion="reduce"] .marquee-track, [data-motion="reduce"] .review-row { animation: none !important; }
[data-motion="reduce"] .review-row { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
[data-motion="reduce"] .review-row.reverse { display: none; }
[data-motion="reduce"] .review { transform: none; }
html[data-motion="reduce"] { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (hover: none) {
  .dish:hover, .fav-card:hover, .pillar:hover { transform: none; }
}
@media (forced-colors: active) {
  .w-hot, .w-glaze, .w-fresh, .guest-count output { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .footer-word { color: CanvasText; }
}

/* 10. PREVIEW / SOFT-OPENING MODE ----------------------------------------- */
/* Active while <html data-preview>. Launch day: delete the attribute — every
   element below disappears and the layout returns to the regular spacing.   */
:root { --preview-h: 0px; }
html[data-preview] { --preview-h: 34px; }
@media (max-width: 759px) { html[data-preview] { --preview-h: 32px; } }
.preview-bar, .preview-seal, .pv-order, .pv-only { display: none; }
html { scroll-padding-top: calc(var(--header-h) + var(--rail-h) + var(--preview-h) + 12px); }
html[data-preview] .site-header { top: var(--preview-h); }
html[data-preview] .cat-rail-wrap { top: calc(var(--header-h) + var(--preview-h)); }
html[data-preview] .hero { padding-top: calc(var(--header-h) + var(--preview-h) + clamp(28px, 6vw, 64px)); }
html[data-preview] .pv-only { display: inline; }

/* ribbon */
html[data-preview] .preview-bar {
  display: block; position: fixed; inset: 0 0 auto; height: var(--preview-h); z-index: 61; overflow: hidden;
  background: linear-gradient(90deg, #120d0b, #2b180d 50%, #120d0b); color: var(--text-on-dark);
  box-shadow: inset 0 -1px 0 rgba(242, 181, 58, .42);
}
.preview-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 122, .13), transparent);
  animation: pv-sheen 7s ease-in-out infinite;
}
.preview-bar-inner {
  position: relative; z-index: 1; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap;
  font-size: .8rem; font-weight: 500; letter-spacing: .01em; color: rgba(246, 239, 227, .86);
}
.pv-badge {
  display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 10px 0 8px; border-radius: var(--pill);
  background: rgba(242, 181, 58, .14); border: 1px solid rgba(242, 181, 58, .5); color: var(--gold-300);
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.pv-badge .jp { font-size: .78rem; letter-spacing: .1em; color: var(--ember-300); text-transform: none; }
.pv-dot { position: relative; display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember-500); }
.pv-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ember-500); animation: ripple 1.8s ease-out infinite; }
.pv-call { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-300); font-weight: 700; transition: color var(--d2); }
.pv-call svg { width: 14px; height: 14px; transition: transform var(--d3) var(--ease-out); }
.pv-call:hover { color: #fff; }
.pv-call:hover svg { transform: translateX(3px); }
.pv-short { display: none; }
@keyframes pv-sheen { 0%, 35% { transform: translateX(0); } 100% { transform: translateX(350%); } }

/* seal in the hero (ring spins on the compositor; shadow is a static layer, not a filter) */
html[data-preview] .preview-seal {
  display: block; position: absolute; z-index: 3; left: -7%; top: -3%; width: 21%; aspect-ratio: 1;
  transform: rotate(-8deg); animation: seal-in .9s 1.5s var(--ease-spring) both; pointer-events: none;
}
.preview-seal::before {
  content: ""; position: absolute; inset: 10% 6% -8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); transform: translateY(10px);
}
.preview-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-ring { animation: spin 30s linear infinite; }
.seal-text { font-family: var(--font-display); }
.seal-jp { font-family: var(--font-jp); font-weight: 700; }
@keyframes seal-in { from { opacity: 0; transform: scale(1.8) rotate(-40deg); } to { opacity: 1; transform: rotate(-8deg); } }
html[data-preview] .fl-1 { left: auto; right: -4%; top: 0; }   /* seal takes the nigiri's top-left spot */
html[data-preview] .fl-4 { display: none; }
[data-fx="lite"] .seal-ring, [data-fx="lite"] .preview-bar::after { animation: none; }
[data-fx="lite"] .preview-bar::after { display: none; }

/* cart: no fake checkout for real visitors (?demo=1 restores the demo flow) */
html[data-preview]:not([data-demo]) .pv-order { display: block; }
html[data-preview]:not([data-demo]) [data-checkout-btn],
html[data-preview]:not([data-demo]) .drawer-foot .proto-note { display: none; }
.pv-order-note {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(242, 181, 58, .14); border: 1px solid rgba(242, 181, 58, .5); color: var(--ink-700); font-size: .86rem; line-height: 1.45;
}
.pv-order-note .pv-dot { margin-top: 6px; }
.pv-order-note b { color: var(--ink-900); }

@media (max-width: 759px) {
  html[data-preview] .hero { padding-top: calc(var(--header-h) + var(--preview-h) + 4px); }
  .preview-bar-inner { gap: 10px; justify-content: space-between; font-size: .76rem; }
  .pv-badge .jp, .pv-long { display: none; }
  .pv-short { display: inline; }
  html[data-preview] .preview-seal { left: 2%; top: 3%; width: 25%; }
  html[data-preview] .fl-1 { top: 38%; left: -12%; right: auto; }
}
