/* =========================================================================
   Genesi da Mimmoccio — versione 3D
   Uno studio buio, la pizza al centro, la camera che segue lo scroll.
   Bodoni per la voce, Hanken Grotesk per le informazioni, oro del marchio solo dove serve.
   ========================================================================= */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2-variations"),
    url("../assets/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2-variations"),
    url("../assets/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
    url("../assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2-variations"),
    url("../assets/fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --forno: #0d0a08;
  --forno-2: #120e0b;
  --pietra: #1b1511;
  --pietra-2: #241c16;
  --farina: #f2e9d8;
  --farina-2: #d9cdb8;
  --cenere: #a89c8a;
  --oro: #cfa65b;
  --oro-2: #e6c47f;
  --oro-ink: #1b1307;
  --brace: #ff7a3d;
  --linea: rgba(242, 233, 216, 0.12);
  --linea-2: rgba(242, 233, 216, 0.24);
  --vetro: rgba(18, 14, 11, 0.56);

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(20px, 4.4vw, 80px);
  --hdr: 72px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--forno);
  scroll-padding-top: var(--hdr);
}
html[data-motion="full"] {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--forno);
  color: var(--farina);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: clip;
}
img,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}
::selection {
  background: var(--oro);
  color: var(--oro-ink);
}
:focus-visible {
  outline: 2px solid var(--oro-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.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 {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--oro);
  color: var(--oro-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus {
  transform: none;
}

/* ---------- pulsanti ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm {
  --h: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn--lg {
  --h: 62px;
  padding: 0 34px;
  font-size: 17px;
}
.btn--gold {
  background: var(--oro);
  color: var(--oro-ink);
}
.btn--gold:hover {
  background: var(--oro-2);
}
.btn--line {
  border-color: var(--linea-2);
  color: var(--farina);
}
.btn--line:hover {
  border-color: var(--oro);
  color: var(--oro-2);
}
.btn--icon {
  width: var(--h);
  padding: 0;
}
.btn--icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.btn:active {
  transform: scale(0.98);
}
.btn[disabled] {
  opacity: 0.45;
  cursor: default;
}
.btn[hidden] {
  display: none;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 4px 0 16px;
  border: 1px solid var(--linea-2);
  border-radius: 999px;
  background: rgba(15, 11, 8, 0.4);
  cursor: pointer;
  font-size: 15px;
}
.menu-btn__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--oro);
}
.menu-btn__icon i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--oro-ink);
  transition: transform 0.4s var(--ease);
}
.menu-btn__icon i:first-child {
  top: 14px;
}
.menu-btn__icon i:last-child {
  top: 20px;
}
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* menu mobile */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hdr) + 32px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--forno);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.mnav[hidden] {
  display: none;
}
.mnav.is-open {
  opacity: 1;
}
.mnav nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mnav nav a {
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.mnav.is-open nav a {
  transform: none;
  opacity: 1;
}
.mnav.is-open nav a:nth-child(2) { transition-delay: 0.05s; }
.mnav.is-open nav a:nth-child(3) { transition-delay: 0.1s; }
.mnav.is-open nav a:nth-child(4) { transition-delay: 0.15s; }
.mnav__foot {
  display: grid;
  gap: 10px;
}
body.menu-open {
  overflow: hidden;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--farina);
}
.toggle__track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--linea-2);
  background: rgba(241, 232, 214, 0.06);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.toggle__track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--farina-2);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}
.toggle[aria-pressed="true"] .toggle__track {
  background: rgba(201, 164, 90, 0.25);
  border-color: var(--oro);
}
.toggle[aria-pressed="true"] .toggle__track span {
  transform: translateX(20px);
  background: var(--oro-2);
}

/* ---------- prenotazione ---------- */
.bk {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--linea-2);
  border-radius: 26px;
  background: var(--pietra);
  color: var(--farina);
  overflow: hidden;
}
.bk::backdrop {
  background: rgba(6, 4, 3, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.bk[open] {
  animation: bk-in 0.5s var(--ease);
}
@keyframes bk-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}
html[data-motion="calm"] .bk[open] {
  animation: none;
}
.bk__surface {
  position: relative;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: clamp(28px, 4vw, 52px);
  overscroll-behavior: contain;
}
.bk__close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--linea-2);
  background: transparent;
  cursor: pointer;
}
.bk__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.bk__close:hover {
  border-color: var(--oro);
  color: var(--oro-2);
}
.bk__view {
  display: grid;
  gap: 18px;
}
.bk__view[hidden] {
  display: none;
}
.bk__view .h3 {
  padding-right: 56px;
}
.bk__note {
  color: var(--farina-2);
  font-size: 16px;
  max-width: 36em;
}
.bk__call {
  justify-self: start;
  font-size: 15px;
  color: var(--oro-2);
  border-bottom: 1px solid rgba(227, 195, 127, 0.4);
}
.bk__form {
  display: grid;
  gap: 20px;
  margin-top: 6px;
}
.bk__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  color: var(--farina-2);
}
.field label span {
  color: var(--cenere);
}
.field input,
.field textarea,
.bk__summary {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--linea-2);
  background: rgba(15, 11, 8, 0.6);
  color: var(--farina);
  font: inherit;
  font-size: 16px;
  color-scheme: dark;
  transition: border-color 0.3s var(--ease);
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(201, 164, 90, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #e0805f;
}
.field__err {
  font-size: 14px;
  line-height: 1.35;
  color: #f0a385;
}
.bk__error {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(224, 128, 95, 0.12);
  border: 1px solid rgba(224, 128, 95, 0.4);
  font-size: 15px;
}
.bk__error[hidden] {
  display: none;
}
.bk__foot {
  display: flex;
  justify-content: flex-end;
}
.bk__summary {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
  min-height: 220px;
}
.bk__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.bk__reset {
  border: 0;
  background: none;
  padding: 8px 4px;
  color: var(--cenere);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bk__reset:hover {
  color: var(--farina);
}

/* =========================================================================
   PALCOSCENICO
   ========================================================================= */
.stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.stage-ready .stage {
  opacity: 1;
}
/* animazioni ridotte: tra un capitolo e l'altro una breve velatura invece del movimento di camera */
html[data-motion="calm"].stage-ready .stage {
  transition: opacity 0.2s linear;
}
html[data-motion="calm"].stage-ready .stage.is-cut {
  opacity: 0;
}
/* immagine di attesa: la stessa inquadratura della scena, finché il 3D non è pronto */
.stage-poster {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease);
}
.stage-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-ready .stage-poster,
.no-stage .stage-poster {
  opacity: 0;
}
.stage-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
}
.stage-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.no-stage .stage {
  display: none;
}
.no-stage .stage-fallback {
  display: block;
}
/* velo per la leggibilità: a sinistra su schermo largo, in basso sul telefono; vignettatura e grana leggera */
.stage-shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 10, 8, 0.86) 0%, rgba(13, 10, 8, 0.6) 26%, rgba(13, 10, 8, 0) 50%),
    radial-gradient(120% 90% at 62% 50%, rgba(13, 10, 8, 0) 55%, rgba(13, 10, 8, 0.55) 100%);
}
.stage-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* etichette degli ingredienti agganciate al modello */
.labels {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.lab {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  will-change: transform, opacity;
}
.lab i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--oro-2);
  box-shadow: 0 0 0 5px rgba(230, 196, 127, 0.18), 0 2px 10px rgba(0, 0, 0, 0.6);
}
.lab i::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 26px;
  height: 1px;
  background: rgba(230, 196, 127, 0.7);
}
.lab b {
  position: absolute;
  left: 44px;
  top: 0;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background: rgba(13, 10, 8, 0.72);
  border: 1px solid rgba(242, 233, 216, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lab.is-focus b {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--oro-ink);
}
html[data-motion="full"] .lab.is-focus i::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--oro-2);
  animation: lab-pulse 2.2s var(--ease) infinite;
}
@keyframes lab-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  70%, 100% { transform: scale(2.2); opacity: 0; }
}

/* =========================================================================
   INTESTAZIONE E INDICE
   ========================================================================= */
.hdr {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  height: var(--hdr);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--pad);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(13, 10, 8, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--linea);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.brand img {
  width: auto;
  height: 40px;
}
.brand span {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.01em;
  padding-top: 2px;
}
.hdr__chapter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--farina-2);
  pointer-events: none;
}
.hdr__chapter::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--oro);
}
.hdr__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hdr__call {
  font-size: 15px;
  color: var(--farina-2);
  padding: 12px 0;
  transition: color 0.3s var(--ease);
}
.hdr__call:hover {
  color: var(--oro-2);
}

/* indice dei capitoli: dice dove sei e porta ai capitoli */
.rail {
  position: fixed;
  right: var(--pad);
  top: 50%;
  z-index: 30;
  display: grid;
  justify-items: end;
  transform: translateY(-50%);
}
.rail a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  font-size: 13px;
  color: rgba(242, 233, 216, 0);
  transition: color 0.4s var(--ease);
}
.rail a::after {
  content: "";
  width: 14px;
  height: 1px;
  background: rgba(242, 233, 216, 0.4);
  transition: width 0.45s var(--ease), background-color 0.45s var(--ease);
}
.rail:hover a,
.rail:focus-within a {
  color: var(--cenere);
}
.rail:hover a[aria-current="true"],
.rail:focus-within a[aria-current="true"] {
  color: var(--farina);
}
.rail a[aria-current="true"]::after {
  width: 34px;
  background: var(--oro);
}
.rail a:hover {
  color: var(--farina);
}

/* =========================================================================
   CAPITOLI
   ========================================================================= */
main,
.ftr {
  position: relative;
  z-index: 3;
}
.ch {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hdr) + 24px) var(--pad) 48px;
}
.ch__inner {
  width: min(520px, 42vw);
}
html[data-motion="full"].stage-ready [data-shot] > .ch__inner,
html[data-motion="full"].stage-ready [data-shot] > .card,
html[data-motion="full"].stage-ready .stop > .card {
  opacity: 0.32;
  transition: opacity 0.7s var(--ease);
}
html[data-motion="full"].stage-ready [data-shot].is-active > .ch__inner,
html[data-motion="full"].stage-ready [data-shot].is-active > .card {
  opacity: 1;
}

/* apertura */
.ch--hero {
  align-items: flex-end;
  padding-bottom: clamp(56px, 11vh, 128px);
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.ch--hero.is-dragging {
  cursor: grabbing;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 2.9vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 28;
  max-width: 17ch;
  text-wrap: balance;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--cenere);
  white-space: nowrap;
}
.hero__hint::before {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--oro), transparent);
}
.hint--touch {
  display: none;
}
@media (pointer: coarse) {
  .hint--fine { display: none; }
  .hint--touch { display: inline; }
  .ch--hero { cursor: auto; }
}
.hero__load {
  position: absolute;
  right: var(--pad);
  bottom: 28px;
  font-size: 13px;
  color: var(--cenere);
  font-variant-numeric: tabular-nums;
}

/* soste: ingredienti e galleria */
.ch--stops {
  display: block;
  padding: 0;
}
.stop {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hdr) + 24px) var(--pad) 48px;
  margin: 0;
}
.card {
  width: min(440px, 38vw);
  padding: 30px 32px 32px;
  border-radius: var(--radius);
  background: var(--vetro);
  border: 1px solid var(--linea);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.card__kicker {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--oro-2);
  margin-bottom: 14px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.3vw, 56px);
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 40;
  margin-bottom: 14px;
}
.card p:not(.card__title):not(.card__kicker) {
  color: var(--farina-2);
  font-size: 17px;
  line-height: 1.55;
}
.stop__img {
  display: none;
}

/* testi */
.lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 2.8vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 28;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
}
.h2--addr {
  font-variation-settings: "opsz" 36;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  font-variation-settings: "opsz" 24;
  padding-right: 56px;
}
.body {
  margin-top: 18px;
  color: var(--farina-2);
  font-size: 18px;
  max-width: 34em;
}

/* la carta */
.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  border-bottom: 1px solid var(--linea);
}
.menu-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px 0;
  border-top: 1px solid var(--linea);
}
.menu-list img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}
.menu-list li:not(:has(img))::before {
  content: "";
  width: 44px;
  flex: none;
}
.menu-list span {
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.ch [data-menu-link] {
  margin-top: 26px;
}

/* dove siamo */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--linea);
}
.facts dt {
  font-size: 14px;
  color: var(--cenere);
  margin-bottom: 4px;
}
.facts dd {
  font-size: 18px;
}
.facts a {
  position: relative;
  border-bottom: 1px solid var(--linea-2);
}
.facts a::before {
  content: "";
  position: absolute;
  inset: -10px -8px;
}
.facts a:hover {
  color: var(--oro-2);
  border-color: var(--oro);
}

/* prenota */
.ch--cta .h2 {
  font-size: clamp(46px, 5.4vw, 92px);
}
.cta__phone {
  display: grid;
  margin-left: 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.05;
  font-variation-settings: "opsz" 18;
  transition: color 0.3s var(--ease);
}
.cta__phone small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cenere);
}
.cta__phone:hover {
  color: var(--oro-2);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.ftr {
  padding: clamp(64px, 7vw, 112px) var(--pad) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linea);
  background: var(--forno);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px clamp(40px, 6vw, 120px);
  align-items: start;
}
.ftr__logo {
  width: min(300px, 70%);
  height: auto;
}
.ftr__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  font-size: 16px;
  color: var(--farina-2);
}
.ftr__h {
  font-size: 14px;
  color: var(--cenere);
  margin-bottom: 10px;
}
.ftr__cols a,
.ftr__base a {
  display: inline-block;
  padding: 11px 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--linea-2);
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}
.ftr__cols a {
  margin-top: -11px;
}
.ftr__cols .toggle {
  margin-top: -10px;
}
.ftr__cols a:hover,
.ftr__base a:hover {
  color: var(--oro-2);
  text-decoration-color: var(--oro);
}
.ftr [data-contact-slot] {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.ftr__base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--linea);
  font-size: 14px;
  color: var(--cenere);
}

/* barra mobile */
.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(13, 10, 8, 0.72);
  border: 1px solid var(--linea);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(140%);
  transition: transform 0.55s var(--ease);
}
.mbar.is-on {
  transform: none;
}

/* =========================================================================
   SENZA 3D: le foto della sera tornano nella pagina
   ========================================================================= */
.no-stage .stop__img {
  display: block;
  width: min(420px, 34vw);
  border-radius: 18px;
  margin-right: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.no-stage .labels,
.no-stage .hero__hint {
  display: none;
}

/* =========================================================================
   SCHERMI MEDI E PICCOLI
   ========================================================================= */
@media (max-width: 1180px) {
  .hdr__call {
    display: none;
  }
}
@media (max-width: 960px) {
  .rail,
  .hdr__actions > .btn {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}
/* schermo verticale: la pizza in alto, i testi in basso su un pannello */
@media (max-aspect-ratio: 105/100) {
  :root {
    --hdr: 64px;
  }
  .stage-shade {
    background:
      linear-gradient(0deg, rgba(13, 10, 8, 0.92) 0%, rgba(13, 10, 8, 0.7) 30%, rgba(13, 10, 8, 0) 56%),
      radial-gradient(120% 80% at 50% 30%, rgba(13, 10, 8, 0) 55%, rgba(13, 10, 8, 0.5) 100%);
  }
  .ch,
  .stop {
    align-items: flex-end;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .ch__inner,
  .card {
    width: 100%;
    max-width: 560px;
  }
  .ch--hero {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .card {
    padding: 22px 22px 24px;
  }
  .lab b {
    font-size: 12.5px;
    padding: 6px 10px;
    left: 36px;
  }
  .lab i::after {
    width: 18px;
  }
  .no-stage .stop {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 18px;
  }
  .no-stage .stop__img {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .brand img {
    height: 34px;
  }
  .brand span {
    font-size: 22px;
  }
  .menu-btn__label {
    display: none;
  }
  .menu-btn {
    padding: 0 4px;
  }
  .hero__title {
    font-size: clamp(27px, 7.4vw, 34px);
  }
  .card__title {
    font-size: clamp(32px, 9vw, 42px);
  }
  .lead {
    font-size: clamp(26px, 7vw, 32px);
  }
  .h2 {
    font-size: clamp(34px, 9.6vw, 46px);
  }
  .ch--cta .h2 {
    font-size: clamp(40px, 11vw, 54px);
  }
  .menu-list li {
    min-height: 56px;
  }
  .menu-list span {
    font-size: 26px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }
  .facts dd {
    font-size: 16px;
  }
  .actions .btn {
    flex: 1 1 auto;
  }
  .cta__phone {
    margin: 8px 0 0;
  }
  .hero__hint {
    bottom: calc(26px + env(safe-area-inset-bottom));
  }
  .hero__load {
    left: var(--pad);
    right: auto;
    top: calc(var(--hdr) + 10px);
    bottom: auto;
  }
  .ftr {
    grid-template-columns: 1fr;
  }
  .ftr__cols {
    grid-template-columns: 1fr 1fr;
  }
  .ftr__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 80px;
  }
  .mbar {
    display: grid;
  }
  .bk__grid {
    grid-template-columns: 1fr;
  }
  .ch--cta {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

/* animazioni ridotte: niente dissolvenze tra i capitoli */
@media print {
  .stage,
  .stage-shade,
  .labels,
  .hdr,
  .rail,
  .mbar {
    display: none;
  }
}
