/* =========================================================
   THEME — change these variables to rebrand per restaurant
   ========================================================= */
:root {
  --ink: #141210;
  --ink-2: #1f1c19;
  --paper: #f7f2ea;
  --paper-2: #efe7da;
  --text: #2a2522;
  --muted: #74695f;
  --accent: #c2362c;        /* vermilion */
  --accent-dark: #9e2a22;
  --gold: #c8a265;
  --line: rgba(20, 18, 16, .12);
  --radius: 14px;
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 120px) 0; }
.center { text-align: center; margin-top: 48px; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border: 1px solid var(--accent);
  transition: background .25s, transform .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { padding: 9px 20px; font-size: .88rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(20, 18, 16, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__kanji {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; }
.logo__text small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .85;
  position: relative; padding: 4px 0; transition: opacity .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav a:not(.btn):hover, .nav a.active { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  width: 44px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  font: 600 .8rem var(--font-body); letter-spacing: .08em; cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-toggle:hover { background: #fff; color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,12,10,.88) 0%, rgba(14,12,10,.62) 45%, rgba(14,12,10,.2) 100%); }
.hero__content { position: relative; padding-top: var(--header-h); max-width: 1180px; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 22px; }
.hero__text { max-width: 46ch; font-size: 1.1rem; opacity: .88; margin-bottom: 34px; }
.hero .eyebrow { color: var(--gold); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__vertical {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: 60px;
  writing-mode: vertical-rl; font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: .5em; color: rgba(255,255,255,.55);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about__media { position: relative; padding: 0 40px 60px 0; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.about__media .about__media-small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border: 6px solid var(--paper);
}
.about__text p { color: var(--muted); font-size: 1.04rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }

/* =========================================================
   SIGNATURE DISHES
   ========================================================= */
.dishes { background: var(--paper-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dish {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: transform .35s, box-shadow .35s;
}
.dish:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(0,0,0,.35); }
.dish__img { aspect-ratio: 4/3.2; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish__body { padding: 22px 22px 26px; }
.dish__body h3 { margin-bottom: 8px; }
.dish__body p { font-size: .93rem; color: var(--muted); margin: 0; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { background: var(--ink); color: #fff; text-align: center; padding: clamp(80px, 11vw, 130px) 0; position: relative; overflow: hidden; }
.quote__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: clamp(14rem, 30vw, 22rem); color: rgba(255,255,255,.04); line-height: 1; pointer-events: none;
}
.quote blockquote {
  position: relative; margin: 0 auto 18px; max-width: 26ch;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; font-weight: 500;
}
.quote__author { position: relative; color: var(--gold); letter-spacing: .1em; font-size: .9rem; margin: 0; }

/* =========================================================
   VISIT
   ========================================================= */
.visit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.info-block { margin: 24px 0; }
.info-block h4 { margin-bottom: 4px; }
.info-block p { font-size: 1.1rem; color: var(--ink); margin: 0; }
.info-block a { text-decoration: none; }
.info-block a:hover { color: var(--accent); }
.visit .hero__ctas { margin-top: 28px; }
.hours-card { background: #fff; border-radius: var(--radius); padding: 36px; border-top: 4px solid var(--accent); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.hours { list-style: none; margin: 14px 0 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 600; color: var(--ink); }
.hours li span:last-child { color: var(--muted); text-align: right; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.75); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .logo { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-legal { width: 100%; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; opacity: .6; }

/* =========================================================
   MENU PAGE
   ========================================================= */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 80px) 0 80px; overflow: hidden; background: var(--ink); }
.page-hero .hero__bg { animation: none; transform: none; }
.page-hero .hero__overlay { background: linear-gradient(180deg, rgba(14,12,10,.75), rgba(14,12,10,.85)); }
.page-hero__content { position: relative; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .jp { display: block; font-size: .38em; letter-spacing: .4em; color: var(--gold); margin-top: 10px; font-weight: 500; }
.page-hero p { opacity: .85; max-width: 52ch; margin-inline: auto; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.menu-tabs-wrap {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.menu-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 8px 18px; border-radius: 999px; text-decoration: none;
  font-size: .9rem; font-weight: 500; color: var(--muted); border: 1px solid transparent;
  transition: all .2s; white-space: nowrap;
}
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab.active { background: var(--ink); color: #fff; }

.menu-page { padding-top: 50px; }
.lunch-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 26px 32px; margin-bottom: 60px;
}
.lunch-banner h3 { color: #fff; margin-bottom: 4px; }
.lunch-banner p { margin: 0; opacity: .9; }
.lunch-banner__price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; white-space: nowrap; }

.menu-cat {
  display: grid; grid-template-columns: 1fr; gap: 10px 60px;
  padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line);
}
.menu-cat.has-img { grid-template-columns: 1.4fr 1fr; grid-template-areas: "head head" "items img"; }
.menu-cat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.menu-cat__head h2 { margin: 0; }
.menu-cat__jp { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; letter-spacing: .2em; }
.menu-cat.has-img .menu-cat__head { grid-area: head; }
.menu-cat.has-img .menu-items { grid-area: items; }
.menu-cat__img {
  grid-area: img; width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 90px);
}
.menu-cat:not(.has-img) .menu-items { columns: 2; column-gap: 60px; }

.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 18px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.menu-item:last-child { border-bottom: 0; }
.menu-item__top { display: flex; align-items: baseline; gap: 12px; }
.menu-item__top h3 { font-size: 1.12rem; margin: 0; }
.dots { flex: 1; border-bottom: 1px dotted rgba(20,18,16,.3); transform: translateY(-4px); min-width: 20px; }
.menu-item__price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-item p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.tag--veg { background: #e4eedb; color: #3e6b2a; }
.tag--spicy { background: #fbe1dc; color: var(--accent-dark); }
.tag--new { background: #f3e7cf; color: #8a6420; }
.tag--signature { background: var(--ink); color: #fff; }

.menu-note { text-align: center; font-size: .88rem; color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.dish-grid .dish:nth-child(2) { transition-delay: .08s; }
.dish-grid .dish:nth-child(3) { transition-delay: .16s; }
.dish-grid .dish:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 10px 20px 24px;
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav-open .nav { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:not(.btn)::after { display: none; }
  .nav__book { margin-top: 18px; }
  .nav-open .site-header { background: var(--ink); }

  .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .about__media { padding: 0 24px 40px 0; }
  .hero__vertical { display: none; }

  .menu-cat.has-img { grid-template-columns: 1fr; grid-template-areas: "head" "img" "items"; }
  .menu-cat__img { position: static; aspect-ratio: 16/9; }
  .menu-cat:not(.has-img) .menu-items { columns: 1; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .dish-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats strong { font-size: 1.4rem; }
  .logo__text small { display: none; }
  .lunch-banner { flex-direction: column; align-items: flex-start; padding: 22px; }
  .hours-card { padding: 26px 22px; }
  .hours li { flex-direction: column; gap: 2px; }
  .hours li span:last-child { text-align: left; }
}

/* Floating call button (mobile only) */
.call-fab { display: none; }
@media (max-width: 880px) {
  .call-fab {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px; border-radius: 999px; background: var(--accent); color: #fff;
    font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  }
  .site-footer { padding-bottom: 100px; }
}
