/* =========================================================
   BANZAI — hero, il locale, menu a scorrimento orizzontale
   Stacking: nessun transform/opacity/filter/isolation/z-index
   sulle <section> #home e #locale (il canvas z-index:1 deve stare
   fra le parole di sfondo z-index:0 e i contenuti z-index:2).
   Il modello 3D vive solo in due slot vuoti e senza stacking context:
   .hero__slot ([data-scene-slot="hero"]) e .step__slot ([data-scene-slot="anatomia"]).
   ========================================================= */

/* ======================= HERO ======================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* quattro righe in flusso: slot del modello 3D | titolo | lead e pulsanti | fascia.
     1fr (minimo = altezza minima dello slot): il modello sta nella sua riga e non arriva mai al titolo. */
  grid-template-rows: 1fr auto auto auto;
  padding-top: var(--header-h);
  overflow-x: clip;
  color: var(--rice);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(184, 13, 32, .2), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.hero__glow--a {
  width: 62vmax; height: 62vmax;
  left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(255, 106, 77, .32), transparent 65%);
  translate: calc(var(--mx, 0) * -30px) calc(var(--my, 0) * -20px);
  animation: deriva 18s ease-in-out infinite alternate;
}
.hero__glow--b {
  width: 58vmax; height: 58vmax;
  right: -20vmax; bottom: -26vmax;
  background: radial-gradient(circle, rgba(231, 17, 41, .38), transparent 65%);
  translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 18px);
  animation: deriva 23s ease-in-out infinite alternate-reverse;
}
@keyframes deriva {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vmax, 4vmax, 0) scale(1.15); }
}
/* slot del modello 3D: il canvas fisso disegna il sushi nel rettangolo di questo elemento (js/scene.js lo legge da
   [data-scene-slot="hero"]). Volutamente vuoto di stili di impilamento: niente z-index/transform, non e uno stacking context.
   Dentro (tutto dietro al canvas): emblema, cerchi e il ripiego senza WebGL. */
.hero__slot {
  position: relative;
  grid-row: 1;
  min-height: clamp(240px, 36vh, 480px);
  min-height: clamp(240px, 36svh, 480px);
}
/* riquadro del modello 3D dentro lo slot: coincide con lo slot (centrato) su schermi stretti; su computer si sposta a sinistra (vedi in fondo) */
.hero__modelbox { position: absolute; inset: 0; pointer-events: none; }
/* emblema ufficiale al posto del disco, centrato sullo slot: oscilla lentissimo (il volto resta dritto), respira, alone rosso e anello di luce.
   Sconfina sopra e sotto lo slot ma resta dietro a header, titolo e testi (z-index del canvas: 1, dello stage: 2) */
.hero__disc-wrap { position: absolute; inset: 0; pointer-events: none; }
.hero__emblem {
  position: absolute;
  left: 50%; top: 50%;
  /* emblema.png e 512 px: oltre si ammorbidisce; l'altezza e limitata allo slot piu la fascia dell'header, cosi il marchio non esce dal bordo alto */
  height: min(64vmin, 620px, calc(100% + 2 * var(--header-h) - 48px));
  aspect-ratio: 1;
  translate: -50% -50%;
  animation: respiro 9s ease-in-out infinite;
}
.hero__emblem-halo {
  position: absolute;
  inset: -36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 17, 41, .55) 0%, rgba(231, 17, 41, .24) 32%, rgba(255, 106, 77, .09) 50%, transparent 68%);
  translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -12px);
  animation: alone 6.5s ease-in-out infinite alternate;
}
.hero__emblem-ring {
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background: conic-gradient(transparent 0 58%, rgba(255, 140, 110, .9) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: gira 16s linear infinite;   /* rotate: sul compositor, nessun repaint del gradiente */
}
.hero__emblem-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* scurito: fa da "sole" di sfondo, cosi titolo, lead e modello 3D restano leggibili sul bianco della maschera */
  filter: brightness(.6) saturate(1.15);   /* l'alone rosso lo fa .hero__emblem-halo: niente blur su un'immagine che ruota */
  translate: calc(var(--mx, 0) * 12px) calc(var(--my, 0) * 9px);
  animation: oscilla 34s ease-in-out infinite alternate;
}
/* velo scuro sul terzo inferiore del disco, dove passano lead e pulsanti sopra le fasce bianche */
.hero__emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 22%, rgba(10, 9, 8, .5) 45%, rgba(10, 9, 8, .74) 78%, rgba(10, 9, 8, .5) 100%);
}
.hero__eyebrow, .hero__lead { text-shadow: 0 1px 14px rgba(10, 9, 8, .9); }
@keyframes respiro { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }
@keyframes oscilla { from { rotate: -8deg; } to { rotate: 8deg; } }
@keyframes alone { from { opacity: .72; scale: .95; } to { opacity: 1; scale: 1.07; } }
/* cerchi concentrici all'emblema (centrati sullo slot) */
.hero__rings { position: absolute; inset: 0; pointer-events: none; }
.hero__rings span {
  position: absolute;
  left: 50%; top: 50%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  translate: -50% -50%;
}
.hero__rings span:nth-child(1) { width: min(88vmin, 960px); animation: gira 90s linear infinite; }
.hero__rings span:nth-child(2) { width: min(112vmin, 1220px); border-style: dashed; animation: gira 140s linear infinite reverse; }
.hero__rings span:nth-child(3) { width: min(136vmin, 1480px); opacity: .5; }
@keyframes gira { to { rotate: 360deg; } }
.hero__kanji-wrap { position: absolute; right: calc(var(--gutter) * .5); top: 14%; }
.hero__kanji {
  display: block;
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(5rem, 15vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 239, 227, .2);
}

/* ripiego senza WebGL: sta dentro lo slot e ne rispetta l'altezza (il disegno scala con "meet") */
.hero__fallback {
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  height: 86%;
  aspect-ratio: 3 / 2;
  max-width: min(78vw, 600px);
  translate: -50% -50%;
  animation: fluttua 6s ease-in-out infinite;
}
.hero__fallback svg { width: 100%; height: 100%; }
@keyframes fluttua {
  0%, 100% { translate: -50% -50%; rotate: -2deg; }
  50% { translate: -50% calc(-50% - 14px); rotate: 2deg; }
}

/* titolo e eyebrow stanno sopra il canvas (z-index 2 contro 1): anche se il modello sbordasse, il testo resta leggibile */
.hero__stage {
  position: relative;
  z-index: 2;
  grid-row: 2;
  padding-inline: var(--gutter);
  text-align: center;
}
.hero__eyebrow {
  margin-bottom: clamp(.6rem, 2vh, 1.4rem);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--rice-70);
}
.hero__title {
  font-size: min(19vw, 26rem);
  font-size: min(19vw, 40svh, 26rem);
  line-height: .82;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--rice);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
}
.hero__title .split-inner {
  background: linear-gradient(180deg, var(--rice) 45%, var(--salmon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* il titolo parte solo a preloader concluso */
html.js:not(.is-loaded) .hero__title { visibility: hidden; }
html.js:not(.is-loaded) .hero__title .split-inner {
  transform: translate3d(0, 112%, 0) rotate(6deg);
  transition: none;
}
html.js:not(.is-loaded) .hero__enter { opacity: 0; }
html.js.is-loaded .hero__enter { animation: sube 1.1s var(--ease-out) var(--hd, 0s) both; }
@keyframes sube {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}
/* i pulsanti ("Prenota un tavolo" e "Banzai!") non aspettano: partono con la scena, senza ritardo (--hd ignorato),
   con un'entrata breve e morbida; il resto dell'hero conserva le sue entrate */
html.js.is-loaded .hero__cta.hero__enter { animation: sube-cta .5s var(--ease-out) 0s both; }
@keyframes sube-cta {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

.hero__foot {
  position: relative;
  z-index: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  padding: 1.6rem var(--gutter) clamp(1.4rem, 3.5vh, 2.6rem);
}
.hero__lead { max-width: 22em; font-size: 1.05rem; line-height: 1.55; color: var(--rice-70); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
/* "Prenota un tavolo" e il pulsante rosso che pulsa; "Banzai!" e trasparente, col solo bordo di luce (stile degli altri pulsanti) */
.hero__cta .btn--prenota {
  --btn-fill: var(--gold);
  --btn-fill-fg: var(--ink);
  padding: 1.25em 2.2em;
  font-size: .95rem;
  background-color: var(--ume-deep);
  box-shadow: 0 0 0 0 rgba(231, 17, 41, .55);
  animation: ping 2.8s var(--ease-out) infinite;
}
.hero__cta .btn--banzai {
  --btn-fill: var(--rice);
  --btn-fill-fg: var(--ink);
  padding: 1.05em 1.7em;
  font-size: .78rem;
  background-color: transparent;
  box-shadow: none;
  animation: none;
}
.hero__cta .btn--banzai.is-pop { animation: pop .75s var(--ease-out); }
.hero__side { display: grid; justify-items: end; gap: 1rem; text-align: right; }
.hero__note { max-width: 21em; font-size: .8125rem; line-height: 1.5; color: var(--rice-55); }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rice-70);
}
.scroll-cue__line { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--salmon);
  transform: translateY(-100%);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.hero__band { position: relative; z-index: 2; grid-row: 4; margin-bottom: 1.1rem; rotate: -1.4deg; scale: 1.04; }
.marquee--band {
  padding-block: .5em;
  background: var(--salmon);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
  border-block: 1px solid rgba(10, 9, 8, .6);
}

/* ======================= IL LOCALE ======================= */
.locale {
  position: relative;
  padding-block: clamp(5rem, 14vh, 9rem) 0;
  overflow-x: clip;
  background: linear-gradient(180deg, rgba(14, 26, 20, 0) 0, #0e1a14 24%, #0e1a14 100%);
}
.locale__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.locale__w1 { top: 6%; left: -2%; font-size: clamp(9rem, 26vw, 26rem); }
.locale__w2 { top: 26%; right: 1%; font-size: clamp(10rem, 30vw, 30rem); }
.locale__w3 { top: 56%; left: 3%; font-size: clamp(10rem, 28vw, 28rem); }
.locale__w4 { top: 80%; right: -3%; font-size: clamp(8rem, 22vw, 22rem); }

.locale__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(84vh, 780px);
  padding-bottom: 8vh;
}
.locale__intro .display { max-width: 9em; }
/* sigillo con il logo completo, in apertura del locale (area di rispetto = padding) */
.locale__seal {
  width: clamp(132px, 15vw, 190px);
  margin-bottom: clamp(1rem, 3vh, 2rem);
  padding: clamp(.5rem, 1vw, .9rem);
  rotate: -5deg;
}
.locale__seal img { width: 100%; height: auto; }

/* nessun z-index sull'articolo: e .step__body (z-index 2) a stare sopra il canvas; lo slot dell'Anatomia resta vuoto e trasparente */
.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8vh max(var(--gutter), calc((100% - 1320px) / 2));
}
.step__body { position: relative; z-index: 2; width: min(100%, 34rem); }
.step--left .step__body { justify-self: start; }
.step--right .step__body { justify-self: end; }
/* Anatomia (ultimo passo): testo e legenda da un lato, slot del modello 3D dall'altro.
   Lo slot e vuoto e trasparente e non ha z-index/transform: il canvas fisso disegna li il sushi che si apre.
   Senza WebGL lo slot sparisce e al suo posto compare la foto (adattivo.css). */
.step--anatomia { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); }
.step--anatomia .step__body { grid-column: 2; grid-row: 1; }
.step__slot, .anatomia__fallback {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(54vw, 680px, 76vh);   /* 76% dell'altezza = 95% con il rapporto 4/5 */
  width: min(54vw, 680px, 76svh);
  max-width: 100%;
  max-height: 95vh;
  max-height: 95svh;
  aspect-ratio: 4 / 5;
}
.anatomia__fallback {
  height: auto;
  object-fit: cover;
  object-position: 50% 58%;
  border: 1px solid rgba(217, 178, 106, .42);
  border-radius: 1rem;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .85);
}
.step__ghost {
  position: absolute;
  z-index: -1;
  top: -.55em; left: -.05em;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(9rem, 20vw, 17rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 239, 227, .18);
  pointer-events: none;
  user-select: none;
}
.step--right .step__ghost { left: auto; right: -.05em; }
.step__title { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: 1.02; }
.step__body > p:not(.tag):not(.step__aside) { font-size: 1.0625rem; line-height: 1.7; color: var(--fg-dim); }
.step__aside {
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid var(--salmon);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--rice-70);
}
.step__aside span { margin-right: .4em; font-family: var(--f-display); font-size: 1.2em; color: var(--salmon); }

.legend { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legend__title { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--salmon); }
.legend__list { margin-top: .6rem; }
.legend__list > div { display: flex; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.legend__list dt { min-width: 2.2ch; font-size: .8125rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold); }
.legend__list dd { font-size: .9375rem; color: var(--rice-70); }

/* ======================= MENU ORIZZONTALE ======================= */
.menu {
  --panel-w: clamp(320px, 84vw, 1240px);
  position: relative;
  z-index: 3;
  --pf: var(--nori);
  --pl: rgb(50, 60, 55);
  background-color: var(--nori);
  background-image: var(--pat-seigaiha);
  background-size: 96px 48px;
  color: var(--rice);
}
.hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
}
.hscroll__track {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  width: max-content;
  height: 100%;
  padding-inline: var(--gutter);
  will-change: transform;
}
.hscroll__progress {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(1.2rem, 4vh, 2.2rem);
  z-index: 2;
  height: 2px;
  background: var(--line);
}
.hscroll__bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--salmon), var(--gold));
  transform-origin: 0 50%;
  transform: scaleX(var(--hp, 0));
}

.panel {
  position: relative;
  isolation: isolate;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: var(--panel-w);
  padding: calc(var(--header-h) + 3vh) 0 clamp(3.2rem, 10vh, 5.5rem);
}
.panel--intro { width: clamp(320px, 70vw, 1000px); }
.panel--end { width: clamp(320px, 70vw, 980px); padding-right: clamp(1rem, 5vw, 5rem); }
.panel--cat {
  display: grid;
  grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.panel--cat::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -3%;
  pointer-events: none;
  background: radial-gradient(60% 60% at 18% 32%, rgba(var(--tint), .13), transparent 70%);
}
.panel__head { display: flex; flex-direction: column; gap: 1rem; }
.panel__num {
  font-family: var(--f-display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--tint), .75);
}
.panel__kanji {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: rgb(var(--tint));
}
.panel__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.panel__desc { max-width: 26em; font-size: 1rem; line-height: 1.55; color: var(--rice-70); }

.panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: clamp(.7rem, 1.2vw, 1.1rem);
}
.panel__grid > li { display: flex; }
.menu-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.15rem 1.3rem 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(245, 239, 227, .07), rgba(245, 239, 227, .02));
  transition: transform .14s ease-out, border-color .3s;
}
.menu-card:hover { border-color: rgba(var(--tint), .8); }
.menu-card__n {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--tint));
}
.menu-card__name { padding-right: 2rem; font-size: 1.3rem; line-height: 1.15; }
.menu-card__desc { font-size: .9rem; line-height: 1.5; color: var(--rice-70); }
/* legenda dell'asterisco (prodotto congelato o surgelato all'origine) nelle card che lo hanno */
.menu-card__nota { font-size: .78rem; line-height: 1.35; color: var(--rice-55); }

.panel--intro { align-items: flex-start; }
.panel__kanji--bg {
  position: absolute;
  z-index: -1;
  right: 0; top: 50%;
  translate: 0 -50%;
  font-size: clamp(14rem, 34vw, 32rem);
  font-weight: 700;
  color: rgba(245, 239, 227, .05);
  pointer-events: none;
  user-select: none;
}
.panel__intro-body { max-width: 38rem; }
.panel__mega {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 1.5rem + 13vw, 14rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.04em;
}
.panel__hint {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--salmon);
}
.panel__arrow { position: relative; width: clamp(3rem, 7vw, 5rem); height: 2px; background: currentColor; animation: freccia 1.8s var(--ease-io) infinite; }
.panel__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -5px;
  width: 10px; height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
}
@keyframes freccia { 0%, 100% { translate: 0 0; } 50% { translate: 14px 0; } }

.panel--end { align-items: flex-start; }
.panel__kanji--bg + .panel__end-body { position: relative; }
.panel__end-body { display: grid; gap: 1.3rem; max-width: 44rem; }
.panel__mega--outline {
  font-size: clamp(4rem, 12vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--salmon);
}
.panel--end .panel__title { font-size: clamp(1.8rem, 1rem + 2.4vw, 3.2rem); }
.panel__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }

/* variante nativa: sotto 800px, movimento ridotto o senza JS (scroll-snap orizzontale) */
.menu.is-native, html:not(.js) .menu { height: auto !important; }
.menu.is-native .hscroll__sticky, html:not(.js) .menu .hscroll__sticky {
  position: relative;
  height: auto;
  overflow: visible;
}
.menu.is-native .hscroll__track, html:not(.js) .menu .hscroll__track {
  width: auto;
  height: auto;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);   /* il primo e l'ultimo pannello non si attaccano al bordo */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transform: none !important;
  translate: none !important;
  will-change: auto;
}
.menu.is-native .hscroll__track::-webkit-scrollbar, html:not(.js) .menu .hscroll__track::-webkit-scrollbar { display: none; }
/* con il mouse la scrollbar sottile resta visibile: e l'unico modo evidente per scorrere le categorie */
@media (hover: hover) and (pointer: fine) {
  .menu.is-native .hscroll__track, html:not(.js) .menu .hscroll__track {
    scrollbar-width: thin;
    scrollbar-color: var(--salmon) rgba(245, 239, 227, .1);
    padding-bottom: .6rem;
  }
  .menu.is-native .hscroll__track::-webkit-scrollbar, html:not(.js) .menu .hscroll__track::-webkit-scrollbar { display: block; height: 8px; }
  .menu.is-native .hscroll__track::-webkit-scrollbar-track, html:not(.js) .menu .hscroll__track::-webkit-scrollbar-track { background: rgba(245, 239, 227, .1); border-radius: 4px; }
  .menu.is-native .hscroll__track::-webkit-scrollbar-thumb, html:not(.js) .menu .hscroll__track::-webkit-scrollbar-thumb { background: var(--salmon); border-radius: 4px; }
}
/* la traccia nativa e focalizzabile da tastiera (tabindex messo dal JS): anello ben visibile */
.menu.is-native .hscroll__track:focus-visible { outline-offset: -4px; }
/* in modalita nativa non si trascina: niente etichetta "Trascina" (il JS toglie data-cursor="drag"; qui l'aspetto coerente) */
.menu.is-native .panel--intro { cursor: auto; }
.menu.is-native .panel, html:not(.js) .menu .panel {
  scroll-snap-align: start;
  width: min(86vw, 520px);
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 3.5rem;
  justify-content: flex-start;
}
.menu.is-native .panel--intro, html:not(.js) .menu .panel--intro { width: min(86vw, 520px); }
.menu.is-native .panel--cat, html:not(.js) .menu .panel--cat { display: flex; flex-direction: column; align-items: stretch; gap: 1.6rem; }
.menu.is-native .panel__grid, html:not(.js) .menu .panel__grid { grid-template-columns: minmax(0, 1fr); }
.menu.is-native .hscroll__progress, html:not(.js) .menu .hscroll__progress { position: relative; left: auto; right: auto; bottom: auto; margin: 0 var(--gutter) 2rem; }

/* telefono: il menu e una normale lista verticale (categoria sotto categoria), niente scorrimento laterale */
@media (max-width: 800px) {
  .menu.is-native .hscroll__track, html:not(.js) .menu .hscroll__track {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: var(--gutter);
    padding-bottom: 2rem;
  }
  .menu.is-native .panel, html:not(.js) .menu .panel,
  .menu.is-native .panel--intro, html:not(.js) .menu .panel--intro,
  .menu.is-native .panel--end, html:not(.js) .menu .panel--end {
    width: auto;
    padding: 2.2rem 0;
    border-top: 1px solid var(--line);
    scroll-snap-align: none;
  }
  .menu.is-native .panel--intro { border-top: 0; padding-top: calc(var(--header-h) + 1.5rem); }
  .menu.is-native .panel__hint, .menu.is-native .hscroll__progress { display: none; }
  .menu.is-native .panel__photo { rotate: 0deg; }
  .menu.is-native .panel__photo:not(.panel__photo--intro) { flex: none; height: auto; max-height: none; aspect-ratio: 16 / 10; margin-top: 0; }
  .menu.is-native .panel__photo--intro { margin-bottom: 1rem; }
  .menu.is-native .panel--end { padding-right: 0; }
}

/* ---------- responsive: hero, locale, menu ---------- */
@media (min-width: 801px) and (max-height: 720px) {
  .panel { padding-top: calc(var(--header-h) + 1vh); padding-bottom: 3rem; }
  .panel__num { font-size: clamp(3.5rem, 8vw, 6rem); }
  .panel__desc { display: none; }
  .menu-card { padding: .85rem 1.1rem 1rem; }
  .menu-card__name { font-size: 1.1rem; }
  .menu-card__desc { font-size: .82rem; line-height: 1.4; }
}

/* schermi bassi (portatili): lo slot ha la sua riga, quindi la nota sotto i pulsanti cede il posto perche lead e pulsanti restino nella prima schermata */
@media (min-width: 801px) and (max-height: 760px) {
  .hero__note { display: none; }
}

/* su computer il sushi 3D sta nella meta sinistra della riga in alto (l'emblema del logo resta al centro); sotto i 1080px torna centrato */
@media (min-width: 1081px) {
  /* il riquadro sale sotto la fascia dell'header (trasparente) per far stare un sushi piu grande; sotto e a destra non tocca mai il titolo */
  /* a sinistra, allineato al margine della pagina (come il logo in alto e la frase sotto il titolo) */
  /* con hamburger e cocktail ai lati il gruppo occupa tutta la riga: sushi al centro sull'emblema, un compagno per parte */
  .hero__modelbox { inset: calc(var(--header-h) * -.45) var(--gutter) 0 var(--gutter); width: auto; }
}

@media (max-width: 1080px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.2rem; text-align: center; }
  .hero__side { justify-items: center; text-align: center; }
  .hero__lead { max-width: 30em; }
}

@media (max-width: 800px) {
  .hero__stage { padding-top: 1.5vh; }
  .hero__foot { padding-top: 0; gap: 1rem; }
  .hero__lead { font-size: .95rem; }
  .hero__note { display: none; }
  .scroll-cue__txt { display: none; }
  .hero__kanji-wrap { top: 20%; right: 2%; }
  .hero__emblem { width: auto; height: min(72vw, 420px, calc(100% + 2 * var(--header-h) - 48px)); }
  .hero__band { margin-bottom: .7rem; }

  .locale { padding-top: 4rem; }
  .locale__intro { min-height: 72vh; }
  .step { align-items: end; padding: 8vh var(--gutter) 9vh; }
  .step__body {
    padding: 1.4rem 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(10, 9, 8, .62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .step__ghost { font-size: 8rem; top: -.5em; }
  /* Anatomia su mobile: una colonna, il testo sopra e lo slot (o la foto) sotto */
  .step--anatomia { grid-template-columns: minmax(0, 1fr); align-content: end; row-gap: 1.6rem; }
  .step--anatomia .step__body { grid-column: 1; justify-self: center; }
  .step__slot, .anatomia__fallback { grid-row: 2; width: min(94vw, 460px); }
  .step__title { font-size: clamp(1.9rem, 8vw, 2.6rem); margin-bottom: 1rem; }
  .step__body > p:not(.tag):not(.step__aside) { font-size: 1rem; line-height: 1.6; }
  .legend { margin-top: 1.2rem; }
  .legend__list > div { padding: .4rem 0; }
}
@media (max-width: 480px) {
  .hero__eyebrow { letter-spacing: .2em; }
  .locale__seal { width: 120px; }
  .hero__cta .btn { padding: 1em 1.4em; }
  .hero__cta .btn--prenota { padding: 1.15em 1.8em; }
  .menu-card { padding: 1rem 1.1rem 1.1rem; }
  .menu-card__name { font-size: 1.2rem; }
}
