/* ============================================================
   HIBIKI-ÁN — Trattoria Giapponese · Piazzale Donatello, Firenze
   Design DNA: "l'eco di Osaka in una vecchia gastronomia fiorentina"
   Palette: washi crema · carta-paglia ocra · sumi · rosso chōchin
   Font: Shippori Mincho B1 (display) + Zen Kaku Gothic New (testo)
   Firma: vapore che sale dalle ciotole
   ============================================================ */

:root {
  --washi: #f7f1e4;
  --washi-2: #efe5d0;
  --paglia: #dfb64e;
  --paglia-soft: #ecd28a;
  --sumi: #191411;
  --sumi-2: #262019;
  --sumi-3: #332a20;
  --lacca: #c8321e;
  --lacca-dark: #9e2413;
  --brodo: #7d5327;
  --ink: #241d15;
  --ink-soft: #5d503f;
  --smoke: #c2b394;
  --line: rgba(36, 29, 21, .14);
  --line-dark: rgba(247, 241, 228, .14);

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-text: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

  --size-hero: clamp(3rem, 9.5vw, 7.5rem);
  --size-h2: clamp(2rem, 5vw, 3.6rem);
  --size-h3: clamp(1.3rem, 2.6vw, 1.8rem);

  --space: clamp(4.5rem, 10vh, 8rem);
  --radius: 14px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--washi);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--lacca); color: var(--washi); }

:focus-visible { outline: 3px solid var(--lacca); outline-offset: 3px; border-radius: 2px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: .01em; }
h1 { font-size: var(--size-hero); font-weight: 800; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
em { font-style: normal; color: var(--lacca); }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--lacca);
}
.kicker::before { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.jp-note { font-family: var(--font-display); color: var(--ink-soft); letter-spacing: .3em; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding-block: var(--space); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section-head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; }

/* sezioni scure */
.dark { background: var(--sumi); color: var(--washi); }
.dark .section-head p, .dark p { color: var(--smoke); }
.dark .kicker { color: var(--paglia); }
.dark em { color: var(--paglia); }
/* sezioni ocra (carta paglia, come le tovagliette del locale) */
.ocra { background: var(--paglia); color: var(--ink); }
.ocra .kicker { color: var(--lacca-dark); }
.ocra .section-head p, .ocra p { color: #4c3c1a; }

/* ---------- Texture washi (leggerissima, solo gradiente) ---------- */
.paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(223, 182, 78, .10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(125, 83, 39, .07), transparent 60%);
}

/* ---------- Loader: il wok che salta il ramen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  background: var(--washi);
  transition: opacity .55s ease, visibility .55s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#loader .wok-scene { width: min(260px, 60vw); }
#loader .loader-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .06em; }
#loader .loader-name span { color: var(--lacca); }
#loader .loader-hint { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
#loader .loader-bar { width: min(200px, 50vw); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
#loader .loader-bar i { display: block; height: 100%; width: 40%; background: var(--lacca); animation: barslide 1.1s var(--ease-out) infinite; }
@keyframes barslide { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* animazione wok: la padella oscilla, i noodle saltano in arco */
.wok-pan { transform-origin: 130px 150px; animation: woktoss 1.15s ease-in-out infinite; }
@keyframes woktoss {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  18% { transform: rotate(-7deg) translateY(5px); }
  38% { transform: rotate(4deg) translateY(-4px); }
  60% { transform: rotate(-2deg) translateY(1px); }
}
.wok-noodles { animation: noodlejump 1.15s ease-in-out infinite; }
@keyframes noodlejump {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  15% { transform: translateY(6px); }
  45% { transform: translateY(-56px) rotate(-9deg); }
  62% { transform: translateY(-38px) rotate(6deg); }
  85% { transform: translateY(2px) rotate(0deg); }
}
.wok-flame path { transform-origin: center 168px; animation: flick .45s ease-in-out infinite alternate; }
.wok-flame path:nth-child(2) { animation-delay: .18s; }
@keyframes flick { from { transform: scaleY(.85); } to { transform: scaleY(1.12); } }

/* ---------- Header ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 241, 228, .88);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
/* blur su pseudo-elemento: backdrop-filter sull'header creerebbe un
   containing block e romperebbe l'overlay fixed della nav mobile */
#header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
#header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.logo strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.logo strong i { font-style: normal; color: var(--lacca); }
.logo .logo-jp { font-family: var(--font-display); font-size: .8rem; color: var(--ink-soft); letter-spacing: .25em; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding-block: .3rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--lacca); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; font-size: .8rem; font-weight: 700;
}
.lang-toggle button { padding: .32rem .72rem; letter-spacing: .06em; transition: background .25s, color .25s; }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--washi); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem; border-radius: 99px;
  font-weight: 700; font-size: .98rem; letter-spacing: .03em; text-decoration: none;
  transition: transform .25s var(--ease-out), background .25s, color .25s, box-shadow .25s;
  min-height: 48px;
}
.btn-primary { background: var(--lacca); color: #fff; box-shadow: 0 8px 24px rgba(200, 50, 30, .28); }
.btn-primary:hover { background: var(--lacca-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--washi); border-color: var(--ink); transform: translateY(-2px); }
.dark .btn-ghost:hover, .banda .btn-ghost:hover { background: var(--washi); color: var(--sumi); border-color: var(--washi); }
.btn-sm { padding: .55rem 1.2rem; min-height: 44px; font-size: .9rem; }

/* hamburger */
#nav-toggle { display: none; width: 48px; height: 48px; position: relative; z-index: 102; }
#nav-toggle span, #nav-toggle span::before, #nav-toggle span::after {
  content: ""; position: absolute; left: 12px; width: 24px; height: 2px; background: var(--ink); transition: transform .3s, top .3s, opacity .3s;
}
#nav-toggle span { top: 23px; }
#nav-toggle span::before { top: -7px; left: 0; }
#nav-toggle span::after { top: 7px; left: 0; }
body.nav-open #nav-toggle span { background: transparent; }
body.nav-open #nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open #nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero split 50/50 ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4rem);
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: 6.5rem;
}
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero-title { margin-bottom: .4rem; }
.hero-title .accent { color: var(--lacca); }
.hero-sub-jp { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: .5em; color: var(--ink-soft); margin-bottom: 1.6rem; }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 30rem; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: .88rem; color: var(--ink-soft); }
.hero-proof strong { color: var(--ink); font-weight: 700; }
.hero-proof .stars { color: var(--lacca); letter-spacing: .1em; }

/* la ciotola */
.hero-bowl { position: relative; display: grid; place-items: center; }
.bowl-ring {
  position: relative; width: min(480px, 82vw, 52vh); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 80px rgba(36, 29, 21, .35), 0 0 0 10px var(--washi), 0 0 0 12px rgba(36, 29, 21, .2);
}
.bowl-ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-bowl .steam { position: absolute; top: -12%; left: 50%; transform: translateX(-50%); width: 46%; z-index: 3; pointer-events: none; }
.hero-bowl .kanji-rail {
  position: absolute; right: max(-3.4rem, -6vw); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .4em; color: var(--brodo); opacity: .85;
}
.hero-bowl .hanko {
  position: absolute; left: 4%; bottom: 8%; z-index: 3;
  width: 64px; height: 64px; border-radius: 10px; background: var(--lacca); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  transform: rotate(-6deg); box-shadow: 0 10px 26px rgba(200, 50, 30, .4);
}

/* vapore — interazione-firma */
.steam path {
  fill: none; stroke: rgba(125, 83, 39, .5); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 44 260;
  animation: steamrise 4.2s linear infinite;
  opacity: 0;
}
.dark .steam path, .card-steam path { stroke: rgba(247, 241, 228, .55); }
.steam path:nth-child(2) { animation-delay: 1.3s; stroke-width: 4; }
.steam path:nth-child(3) { animation-delay: 2.5s; stroke-width: 3.5; }
@keyframes steamrise {
  0% { stroke-dashoffset: 0; opacity: 0; }
  12% { opacity: .9; }
  70% { opacity: .55; }
  100% { stroke-dashoffset: -300; opacity: 0; }
}

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: .9rem; left: 50%; transform: translateX(-50%);
  text-decoration: none;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-hint::after { content: ""; width: 1px; height: 2.6rem; background: linear-gradient(var(--ink-soft), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee specialità ---------- */
.marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1.5px solid var(--sumi); user-select: none; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 30s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .12em; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "●"; color: var(--lacca-dark); font-size: .55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto h2 { max-width: 22ch; margin-inline: auto; }
.manifesto .big-quote { font-size: clamp(1.15rem, 2.2vw, 1.45rem); max-width: 42rem; margin: 1.8rem auto 0; color: var(--ink-soft); }
.manifesto .jp-deco { display: block; margin-top: 2.4rem; font-size: .95rem; letter-spacing: .8em; color: var(--brodo); }

/* ---------- Card piatti (stile eak: la ciotola sale, il vapore appare) ---------- */
.dishes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.dish-card {
  position: relative; border-radius: var(--radius); padding: 2rem 1.6rem 1.8rem;
  background: var(--sumi-2); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .4s var(--ease-out), border-color .4s, background .4s;
  text-decoration: none;
}
.dish-card:hover { transform: translateY(-8px); border-color: rgba(223, 182, 78, .5); background: var(--sumi-3); }
.dish-visual { position: relative; width: min(210px, 60%); margin-bottom: 1.4rem; }
.dish-visual .bowl {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  transition: transform .45s var(--ease-out);
}
.dish-visual .bowl img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.dish-card:hover .bowl { transform: translateY(-8px) rotate(-2.5deg); }
.dish-card:hover .bowl img { transform: scale(1.08); }
.dish-visual .card-steam {
  position: absolute; top: -34%; left: 50%; transform: translateX(-50%); width: 52%;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.dish-card:hover .card-steam { opacity: 1; }
.dish-card:hover .card-steam path { animation-play-state: running; }
.dish-name { font-size: 1.35rem; margin-bottom: .1rem; color: var(--washi); }
.dish-jp { font-family: var(--font-display); font-size: .82rem; letter-spacing: .35em; color: var(--paglia); margin-bottom: .7rem; }
.dish-desc { font-size: .92rem; color: var(--smoke); margin-bottom: 1rem; flex: 1; }
.dish-price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--paglia); }
.dish-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--lacca); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 99px; transform: rotate(3deg);
}
.dishes-cta { margin-top: 3rem; text-align: center; }

/* ---------- Storia / il posto ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-grid + .story-grid { margin-top: var(--space); }
.story-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.story-photos figure { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(36, 29, 21, .25); }
.story-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.story-photos figure:nth-child(2) { margin-top: 2.6rem; }
.story-photos figcaption { font-size: .78rem; padding: .6rem .9rem; background: var(--sumi); color: var(--smoke); letter-spacing: .04em; }
.story-copy h2 { margin-bottom: 1.4rem; }
.story-copy p + p { margin-top: 1rem; }
.story-copy .story-note {
  margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--lacca);
  background: rgba(223, 182, 78, .14); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96rem;
}

/* numeri del locale */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.fact strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--lacca); line-height: 1.1; }
.fact span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Omaggio Lupin: manifesto RICERCATO ---------- */
.lupin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lupin-copy h2 { margin-block: 1.2rem 1.4rem; }
.lupin-copy p + p { margin-top: 1rem; }
.lupin-copy p { color: var(--ink-soft); }
.lupin-hint {
  margin-top: 1.6rem !important; font-size: .9rem; font-weight: 700; color: var(--lacca-dark) !important;
  border: 1.5px dashed var(--lacca); border-radius: 99px; display: inline-block; padding: .5rem 1.2rem;
  background: rgba(200, 50, 30, .06);
}
.wanted-card {
  position: relative; text-align: center;
  background: linear-gradient(160deg, #eedfb2, #e6cf92);
  border: 2px dashed var(--brodo); border-radius: 6px;
  padding: 2.4rem 2rem 2.6rem; transform: rotate(1.8deg);
  box-shadow: 0 24px 60px rgba(76, 60, 26, .25);
  max-width: 420px; justify-self: center; width: 100%;
}
.wanted-card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(125, 83, 39, .45); border-radius: 3px; pointer-events: none;
}
.wanted-jp { font-family: var(--font-display); letter-spacing: .55em; color: var(--lacca-dark); font-size: .95rem; display: block; margin-bottom: .3rem; }
.wanted-title { font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: .28em; margin-bottom: .8rem; }
.wanted-icon { width: 130px; margin: 0 auto .8rem; display: block; }
.wanted-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.wanted-card ul { text-align: left; display: grid; gap: .45rem; font-size: .88rem; color: #4c3c1a; max-width: 30ch; margin-inline: auto; }
.wanted-card li { padding-left: 1.1em; text-indent: -1.1em; }
.wanted-card li::before { content: "・"; color: var(--lacca-dark); }
.wanted-stamp {
  position: absolute; right: 1.1rem; bottom: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--lacca);
  border: 3px solid var(--lacca); border-radius: 8px; padding: .15rem .45rem;
  transform: rotate(-14deg); opacity: .85;
}

/* easter egg: il timbro "Lupin è passato di qui" sulla ciotola */
.hero-bowl .hanko { cursor: pointer; }
.stamp-egg {
  position: absolute; z-index: 4; top: 38%; left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg) scale(1);
  font-family: var(--font-display); font-weight: 800; text-align: center; line-height: 1.25;
  color: var(--lacca); background: rgba(247, 241, 228, .92);
  border: 4px solid var(--lacca); border-radius: 10px; padding: .8rem 1.3rem;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: .08em;
  box-shadow: 0 16px 44px rgba(25, 20, 17, .35);
  animation: stampin .45s var(--ease-out);
  pointer-events: none;
}
.stamp-egg small { display: block; font-size: .6em; letter-spacing: .22em; color: var(--ink); margin-top: .25rem; }
@keyframes stampin {
  0% { transform: translate(-50%, -50%) rotate(-10deg) scale(2.6); opacity: 0; }
  60% { transform: translate(-50%, -50%) rotate(-10deg) scale(.94); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-10deg) scale(1); }
}
.stamp-egg.out { opacity: 0; transition: opacity .5s ease; }

/* ---------- Recensioni ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.review {
  background: var(--washi); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: 0 14px 36px rgba(76, 60, 26, .16);
  display: flex; flex-direction: column; gap: 1rem;
}
.review .stars { color: var(--lacca); letter-spacing: .12em; font-size: .95rem; }
.review blockquote { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.55; flex: 1; }
.review cite { font-style: normal; font-size: .84rem; color: var(--ink-soft); }
.review cite strong { color: var(--ink); }
.reviews-footer { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; font-size: .92rem; }
.reviews-footer .score { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }

/* ---------- Trasparenza prezzi ---------- */
.clear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.clear-card {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  background: rgba(255, 255, 255, .4);
}
.clear-card .clear-icon { font-family: var(--font-display); font-size: 1.9rem; color: var(--lacca); display: block; margin-bottom: .8rem; }
.clear-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.clear-card p { font-size: .95rem; color: var(--ink-soft); }
.clear-card strong { color: var(--ink); }

/* ---------- Banda prenota ---------- */
.banda { position: relative; overflow: hidden; text-align: center; }
.banda .chochin {
  position: absolute; top: -20px; font-size: 0; width: 74px; height: 96px; border-radius: 46% / 50%;
  background: radial-gradient(circle at 35% 30%, #e5573f, var(--lacca) 60%, var(--lacca-dark));
  box-shadow: 0 14px 40px rgba(200, 50, 30, .45), inset 0 -8px 18px rgba(0, 0, 0, .25);
  animation: sway 5.5s ease-in-out infinite;
  transform-origin: top center;
}
.banda .chochin::before { content: ""; position: absolute; inset: 12% 8%; border-radius: inherit; background: repeating-linear-gradient(to bottom, transparent 0 12px, rgba(0,0,0,.14) 12px 14px); border-radius: 46% / 50%; }
.banda .chochin.c1 { left: 8%; }
.banda .chochin.c2 { right: 10%; animation-delay: 1.4s; width: 58px; height: 76px; top: -14px; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.banda h2 { max-width: 20ch; margin-inline: auto; }
.banda .banda-sub { max-width: 36rem; margin: 1.2rem auto 2.4rem; }
.banda .hero-cta { justify-content: center; }
.banda .small-print { margin-top: 1.6rem; font-size: .85rem; color: var(--smoke); }

/* ---------- Footer ---------- */
footer { background: var(--sumi); color: var(--smoke); padding: var(--space) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-grid h4 { color: var(--washi); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid a { color: inherit; text-decoration: none; }
.footer-grid a:hover { color: var(--paglia); }
.footer-grid li { margin-bottom: .55rem; }
.footer-brand strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--washi); display: block; margin-bottom: .6rem; }
.footer-brand strong i { font-style: normal; color: var(--lacca); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 240px; }
.footer-hours li.today { color: var(--paglia); font-weight: 700; }
.footer-hours li.closed span:last-child { color: var(--lacca); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .8rem; }

/* ---------- Barra sticky mobile ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--sumi); border-top: 1px solid var(--line-dark);
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-bar .btn { border-radius: 10px; width: 100%; }
.mobile-bar .btn-ghost { color: var(--washi); }

/* ---------- Pagine interne: hero piccolo ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 5rem)); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero .hero-sub-jp { margin-bottom: 0; margin-top: .6rem; }
.page-hero p.lead { max-width: 40rem; margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Menù ---------- */
.menu-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2.6rem; position: sticky; top: var(--header-h); z-index: 50; background: var(--washi); padding-block: 1rem; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pill {
  padding: .5rem 1.1rem; border-radius: 99px; border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 500; transition: all .25s; min-height: 44px;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill[aria-pressed="true"] { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.menu-search { position: relative; margin-left: auto; }
.menu-search input {
  font: inherit; font-size: .95rem; padding: .6rem 1rem .6rem 2.6rem; border-radius: 99px;
  border: 1.5px solid var(--line); background: rgba(255, 255, 255, .5); width: min(280px, 100%); min-height: 44px;
}
.menu-search input:focus { outline: 3px solid var(--lacca); outline-offset: 2px; }
.menu-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 16px; opacity: .5; }

.menu-section { margin-bottom: clamp(3rem, 7vh, 4.5rem); }
.menu-section > h2 { display: flex; align-items: baseline; gap: 1rem; margin-bottom: .4rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.menu-section > h2 .jp { font-size: .55em; color: var(--brodo); letter-spacing: .3em; }
.menu-section .menu-section-note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.8rem; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.2rem; align-items: baseline;
  padding: 1.1rem .6rem; border-bottom: 1px dashed var(--line); border-radius: 6px;
  transition: background .25s;
}
.menu-item:hover { background: rgba(223, 182, 78, .12); }
.menu-item h3 { font-size: 1.12rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.menu-item .price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--lacca-dark); white-space: nowrap; }
.menu-item p { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 99px; white-space: nowrap;
}
.badge-spec { background: var(--lacca); color: #fff; }
.badge-veg { background: #4c6b34; color: #fff; }
.badge-due { background: var(--sumi); color: var(--washi); }
.badge-pic { background: var(--paglia); color: var(--ink); }
.menu-empty { display: none; text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.menu-empty.visible { display: block; }
.menu-foot-note {
  margin-top: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: rgba(223, 182, 78, .16); border: 1px dashed var(--brodo); font-size: .92rem; color: var(--ink-soft);
}

/* ---------- Form prenotazione ---------- */
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 24px 60px rgba(36, 29, 21, .14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .4rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--washi);
  min-height: 48px; color: var(--ink);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--lacca); outline-offset: 1px; }
.form-field .field-error { display: none; font-size: .8rem; color: var(--lacca-dark); margin-top: .3rem; font-weight: 600; }
.form-field.invalid input, .form-field.invalid select { border-color: var(--lacca); }
.form-field.invalid .field-error { display: block; }
.form-note { font-size: .84rem; color: var(--ink-soft); margin-top: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.visible { display: block; }
.form-success .ok-mark { width: 72px; height: 72px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--lacca); color: #fff; display: grid; place-items: center; font-size: 2rem; font-family: var(--font-display); }
.book-aside .aside-block { padding: 1.6rem; border-radius: var(--radius); border: 1.5px solid var(--line); margin-bottom: 1.4rem; background: rgba(255, 255, 255, .35); }
.book-aside h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.book-aside p, .book-aside li { font-size: .94rem; color: var(--ink-soft); }
.book-aside .tel-big { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--ink); text-decoration: none; display: inline-block; margin-block: .4rem; }
.book-aside .tel-big:hover { color: var(--lacca); }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(36, 29, 21, .2); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-cta { margin-top: 1rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .7rem .4rem; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.hours-table td:last-child { text-align: right; white-space: nowrap; }
.hours-table tr.today td { font-weight: 700; color: var(--lacca-dark); }
.hours-table tr.today td:first-child::after { content: " · oggi"; font-size: .75em; letter-spacing: .08em; text-transform: uppercase; }
html[lang="en"] .hours-table tr.today td:first-child::after { content: " · today"; }
.info-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.info-list li { display: flex; gap: .9rem; align-items: baseline; }
.info-list .info-k { font-family: var(--font-display); font-weight: 700; min-width: 7.5rem; }

/* FAQ */
.faq { max-width: 46rem; }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem .2rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--lacca); transition: transform .3s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 .2rem 1.4rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--header-h) + 3rem); gap: 3rem; }
  .scroll-hint { display: none; }
  .hero-copy .kicker { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-bowl .kanji-rail { right: -.6rem; }
  .dishes-grid { grid-template-columns: 1fr 1fr; }
  .story-grid, .book-grid, .contact-grid, .lupin-grid { grid-template-columns: 1fr; }
  .reviews-grid, .clear-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-items { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; inset: 0; z-index: 101; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 2.2rem;
    background: var(--washi);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 1.5rem; font-family: var(--font-display); }
  #nav-toggle { display: block; }
  .header-cta { display: none; }
  .dishes-grid, .reviews-grid, .clear-grid, .form-row, .story-photos { grid-template-columns: 1fr; }
  .story-photos figure:nth-child(2) { margin-top: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .fact strong { font-size: 1.5rem; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 72px; }
  .banda .chochin.c1 { left: 2%; width: 46px; height: 60px; }
  .banda .chochin.c2 { right: 3%; width: 40px; height: 52px; }
  .menu-tools { position: static; }
  .menu-search { margin-left: 0; width: 100%; }
  .menu-search input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .bowl-ring { width: min(320px, 78vw); }
  .hero { min-height: auto; }
}

/* ---------- Motion ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  #loader { display: none !important; }
  .steam { display: none; }
  .marquee-track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  #header, #loader, .mobile-bar, .banda, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
