/* Sanlollo: i quattro campi di colore del logo sono il sistema della pagina.
   Ogni sezione è uno dei quadrati del PDF, la pizza 3D ci vola sopra.

   Strati (tutti nello stacking context della pagina, per questo le sezioni
   non devono avere z-index né transform):
   0  sfondo della sezione (::before) e contenuti .under
   1  canvas 3D fisso
   2  contenuti .over */

@font-face {
  font-family: 'League Spartan';
  src: url('/assets/fonts/league-spartan-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --nero: #231f20;
  --bianco: #ffffff;
  --bruno: #3f3325;
  --sabbia: #c9c4b3;
  --notte: #38506a;

  --display: 'League Spartan', 'Hanken Grotesk', sans-serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;

  --gutter: clamp(16px, 3vw, 48px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--nero);
  scrollbar-color: var(--sabbia) var(--nero);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 450;
}

::selection {
  background: var(--sabbia);
  color: var(--nero);
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--nero);
}
::-webkit-scrollbar-thumb {
  background: var(--sabbia);
  border: 2px solid var(--nero);
  border-radius: 8px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--sabbia);
  color: var(--nero);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

.icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

/* ---------------------------------- Strati ---------------------------------- */

#scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  height: 100lvh;
  pointer-events: none;
}
/* Prenota e 404: la pizza sta nella sezione e scorre con la pagina */
#scene.scene-in-page {
  position: absolute;
  height: 100%;
}

.field {
  position: relative;
  color: var(--ink);
}
.field::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}

.field-notte {
  --bg: var(--notte);
  --ink: var(--bianco);
}
.field-sabbia {
  --bg: var(--sabbia);
  --ink: var(--nero);
}
.field-bruno {
  --bg: var(--bruno);
  --ink: var(--sabbia);
}
.field-nero {
  --bg: var(--nero);
  --ink: var(--bianco);
}

.under {
  position: relative;
  z-index: 0;
}
.over {
  position: relative;
  z-index: 2;
}

/* --------------------------------- Pulsanti --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.7em 1.25em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.5s var(--ease-out);
}
.btn span {
  position: relative;
  top: 0.07em; /* League Spartan siede alto rispetto all'icona */
}
.btn .icon {
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .icon:last-child {
  transform: translateX(4px);
}
.btn:active {
  transform: scale(0.97);
}

.btn-solid {
  background: var(--nero);
  color: var(--sabbia);
}
.btn-solid:hover {
  background: var(--bruno);
  color: var(--bianco);
}
.btn-line {
  border-color: var(--nero);
  color: var(--nero);
}
.btn-line:hover {
  background: var(--nero);
  color: var(--sabbia);
}
.btn-sabbia {
  background: var(--sabbia);
  color: var(--nero);
}
.btn-sabbia:hover {
  background: var(--bianco);
}
.btn-line-light {
  border-color: var(--sabbia);
  color: var(--bianco);
}
.btn-line-light:hover {
  background: var(--sabbia);
  color: var(--nero);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 650;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ---------------------------------- Stato orari ---------------------------- */

.status {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
}
.status-dot {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--sabbia);
  flex: none;
}
.status.is-open .status-dot {
  background: var(--bianco);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 0.7em rgba(255, 255, 255, 0);
  }
}

/* ---------------------------------- Navigazione ---------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px var(--gutter);
  color: var(--bianco);
  pointer-events: none;
  transition: color 0.35s;
}
.nav > * {
  pointer-events: auto;
}
.nav[data-ink='dark'] {
  color: var(--nero);
}
.nav-logo {
  width: 62px;
  padding: 3px;
  border-radius: 50%;
  color: inherit;
  flex: none;
  transition: background-color 0.35s, color 0.35s;
}
.nav-logo svg {
  width: 100%;
  fill: currentColor;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.0625rem;
}
.nav-links a {
  position: relative;
  padding: 10px 0 6px;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset: auto 0 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 9px 16px 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s;
}
.nav-phone span {
  position: relative;
  top: 0.06em;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sabbia);
  color: var(--nero);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon-close,
.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* In hero il telefono è già nella comanda; dopo la hero restano solo badge pieni,
   leggibili su qualsiasi campo e sulla pizza */
.nav:not(.is-past) .nav-phone {
  display: none;
}
.nav.is-past .nav-links {
  display: none;
}
.nav.is-past .nav-logo {
  background: var(--nero);
  color: var(--bianco);
}
.nav.is-past .nav-phone {
  margin-left: auto;
  border-color: var(--nero);
  background: var(--sabbia);
  color: var(--nero);
}
.nav.is-past .nav-toggle {
  display: inline-flex;
  margin-left: 0;
  background: var(--nero);
  color: var(--sabbia);
  box-shadow: 0 0 0 2px var(--sabbia);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 88px var(--gutter) 40px;
  background: var(--bruno);
  color: var(--sabbia);
}
.nav-overlay[hidden] {
  display: none;
}
.nav-overlay a {
  padding: 8px 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 12vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* ------------------------------------ Hero ---------------------------------- */

.hero {
  height: 100vh;
  height: 100svh;
  overflow: clip;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.word {
  position: absolute;
  inset: 76px var(--gutter) auto;
  color: var(--sabbia);
  fill: currentColor;
  pointer-events: none;
}
.word svg {
  width: 100%;
  overflow: visible;
  fill: currentColor;
}
.word-san,
.word-lollo {
  display: none;
}
.ch,
.fch {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.script {
  position: absolute;
  top: calc(76px + 13.4vw);
  right: 5vw;
  width: 28vw;
  max-width: 530px;
  overflow: visible;
  fill: var(--bianco);
  /* Come gli accenti nel logo: un alone del colore del campo stacca la scritta dalla pizza.
     Sul blu non si vede. */
  stroke: var(--notte);
  stroke-width: 24;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
}

.poster {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(130vw, 132vh, 1240px); /* la stessa misura della pizza 3D */
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}


.hero-dock {
  display: contents;
}

.toy-pill {
  display: none;
}

.hero-info {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(16px, 3vh, 30px);
  display: grid;
  gap: 8px;
  width: min(24vw, 320px);
  color: var(--bianco);
  pointer-events: none;
}
.address {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.12;
}
.address .icon {
  margin-top: -0.1em;
}
.toy-hint {
  max-width: 24ch;
  color: var(--sabbia);
  font-size: 0.9375rem;
  line-height: 1.3;
}

/* La comanda */
.ticket {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(16px, 3vh, 30px);
  display: flex;
  gap: 18px;
  padding: 20px 20px 18px;
  background: var(--sabbia);
  color: var(--nero);
  rotate: -1.5deg;
  transition: rotate 0.7s var(--ease-out);
  /* bordo a denti di scontrino, in alto */
  --tooth: 9px;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
  filter: drop-shadow(0 18px 22px rgba(10, 16, 24, 0.34));
}
.ticket:hover {
  rotate: 0deg;
}
.ticket-qr {
  display: grid;
  justify-items: center;
  gap: 6px;
  flex: none;
}
.ticket-qr a {
  display: block;
  padding: 20px; /* margine bianco di 4 moduli: serve ai lettori di QR */
  background: var(--bianco);
}
.ticket-qr img {
  width: 125px; /* 25 moduli da 5 pixel esatti */
  height: 125px;
}
.ticket-qr figcaption {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.05;
  text-align: center;
}
.ticket-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-width: 236px;
}
.ticket-actions .btn {
  width: 100%;
}
.ticket-actions .btn-solid {
  min-height: 62px;
  font-size: 1.375rem;
}
.ticket-note {
  color: var(--bruno);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.cursor-hint {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  padding: 7px 13px 5px;
  border-radius: 999px;
  background: var(--bianco);
  color: var(--nero);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
}

/* ------------------------------------ Menu ---------------------------------- */

.menu {
  height: 240vh;
}
.menu-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  padding: clamp(84px, 11vh, 110px) var(--gutter) clamp(20px, 4vh, 40px);
}
.menu-head h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  max-width: 11ch;
}
.menu-list {
  position: relative;
  display: grid;
  width: min(45vw, 640px);
  margin-top: auto;
  border-bottom: 1px solid rgba(63, 51, 37, 0.4);
}
/* Il foglio della comanda: la pizza gli passa sotto e il testo resta sempre su fondo pieno.
   Sulla sabbia non si vede: i denti compaiono solo quando sotto c'è la pizza. */
.menu-list::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -12px 0 0 calc(var(--gutter) * -1);
  --tooth: 7px;
  background: var(--bg);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
}
.menu-row {
  display: grid;
  grid-template-columns: clamp(78px, 12.5vh, 124px) 1fr auto;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(7px, 1.3vh, 13px) 0;
  border-top: 1px solid rgba(63, 51, 37, 0.4);
  color: var(--nero);
  text-decoration: none;
  transition: padding-left 0.6s var(--ease-out);
}
.menu-row img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: scale 0.7s var(--ease-out);
}
.menu-row strong {
  display: block;
  margin-bottom: 0.14em;
  font-family: var(--display);
  font-size: clamp(1.5rem, min(2.7vw, 5vh), 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.menu-row-text span {
  display: block;
  color: var(--bruno);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 550;
  line-height: 1.28;
}
.menu-row .icon {
  width: 1.6em;
  height: 1.6em;
  transition: translate 0.6s var(--ease-out);
}
.menu-row:hover {
  padding-left: 10px;
}
.menu-row:hover img {
  scale: 1.07;
}
.menu-row:hover .icon {
  translate: 6px 0;
}
.menu-cta {
  align-self: flex-start;
  margin-top: clamp(10px, 2vh, 18px);
}

/* ---------------------------------- Marquee --------------------------------- */

.marquee {
  overflow: clip;
  padding: clamp(40px, 8vh, 90px) 0;
}
.marquee-rows {
  display: grid;
  gap: 0.02em;
  font-family: var(--display);
  font-size: clamp(3.25rem, 10.5vw, 10rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--sabbia);
}
.row {
  overflow: visible;
  white-space: nowrap;
}
.track {
  display: inline-flex;
  gap: 0.42em;
  will-change: transform;
}
.track span {
  flex: none;
}
.track .alt {
  color: var(--bianco);
}

/* ---------------------------------- Il locale ------------------------------- */

.portal {
  height: 240vh;
}
.portal-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.portal-photo {
  position: absolute;
  inset: 0;
  clip-path: circle(max(24vmin, 150px) at 50% 50%);
  will-change: clip-path;
}
.portal-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--nero);
  opacity: 0.66;
}
.portal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 100% 62%;
  scale: 1.62;
  will-change: transform;
}
.portal-ring {
  position: relative;
  width: max(58.6vmin, 366px);
  overflow: visible;
  fill: var(--bianco);
  pointer-events: none;
}
.story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(64px, 12vh, 140px) var(--gutter) clamp(72px, 14vh, 160px);
}
.story h2 {
  grid-column: 1 / span 7;
}
.story-body {
  grid-column: 8 / span 5;
  display: grid;
  gap: 1em;
  align-content: start;
  max-width: 62ch;
  padding-top: 0.5em;
  color: var(--sabbia);
  font-size: 1.1875rem;
}
.signature {
  width: min(340px, 100%);
  height: auto;
  margin-top: 0.5em;
  filter: brightness(0) invert(1);
}

/* ------------------------------------ Team ---------------------------------- */

.team-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(72px, 12vh, 140px) var(--gutter);
}
.team-text {
  display: grid;
  gap: clamp(28px, 6vh, 64px);
}
.brigata {
  color: var(--sabbia);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.brigata em {
  color: var(--bianco);
  font-style: normal;
}
.duo {
  justify-self: end;
  width: min(100%, 82vh);
  will-change: transform;
}
.portrait {
  position: relative;
  overflow: hidden;
  --x: 50%;
  --y: 40%;
  --r: 0px;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.portrait-color,
.portrait-ring {
  display: none;
}
.is-enhanced .portrait-color {
  display: block;
  position: absolute;
  inset: 0;
  height: 100%;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 97%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 97%, transparent 100%);
}
.is-enhanced .portrait-ring {
  display: block;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  overflow: visible;
  fill: var(--bianco);
  translate: -50% -50%;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(35, 31, 32, 0.45));
}
.duo figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  color: var(--sabbia);
  font-weight: 550;
}
.duo strong {
  display: block;
  color: var(--bianco);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* --------------------------------- Recensioni ------------------------------- */

.reviews-inner {
  padding: clamp(72px, 13vh, 150px) var(--gutter);
}
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 6vh, 60px);
}
.reviews-hint {
  margin-top: 8px;
  color: var(--bruno);
  font-weight: 600;
}
.tickets {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.review {
  --tooth: 8px;
  flex: 1 1 0;
  padding: 34px 26px 26px;
  background: var(--bianco);
  color: var(--nero);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / calc(var(--tooth) * 2) 51% repeat-x,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - var(--tooth)) no-repeat;
  filter: drop-shadow(0 14px 18px rgba(35, 31, 32, 0.22));
  touch-action: pan-y;
  will-change: transform;
}
.review:nth-child(1) {
  rotate: -2.2deg;
}
.review:nth-child(2) {
  rotate: 1.4deg;
  margin-top: 46px;
}
.review:nth-child(3) {
  rotate: -0.8deg;
  margin-top: 14px;
}
.can-drag .review {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.can-drag .review.is-held {
  cursor: grabbing;
}
.review blockquote {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.012em;
}
.review p {
  margin-top: 16px;
  color: var(--bruno);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ----------------------------------- Dove ----------------------------------- */

.where-inner {
  padding: clamp(72px, 13vh, 150px) var(--gutter);
}
.where-inner h2 {
  max-width: 14ch;
  margin-bottom: clamp(36px, 7vh, 72px);
}
.where-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.25fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.where-contact {
  display: grid;
  gap: 12px;
  justify-items: start;
}
address {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.12;
}
.where-note {
  color: var(--sabbia);
}
.hours h3 {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}
.hours .status {
  margin-bottom: 14px;
  color: var(--sabbia);
}
.hours table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td {
  padding: 9px 0;
  border-top: 1px solid rgba(201, 196, 179, 0.38);
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}
.hours td {
  text-align: right;
}
.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--bianco);
  font-weight: 800;
}
.map {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--bruno);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 20px;
  border: 0;
  background: none;
  color: var(--sabbia);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.map-load:hover {
  background: var(--sabbia);
  color: var(--nero);
}
.map-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  margin-bottom: 6px;
}
.map-ring {
  width: 100%;
  fill: currentColor;
}
.map-load .map-mark .icon {
  position: absolute;
  width: 46px;
  height: 46px;
}
.map-load span {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}
.map-load small {
  font-size: 0.875rem;
  text-align: center;
}

/* ---------------------------------- Footer ---------------------------------- */

.footer {
  overflow: clip;
  display: grid;
  gap: clamp(24px, 6vh, 60px);
  padding: clamp(48px, 9vh, 90px) var(--gutter) 18px;
  min-height: 100vh;
  min-height: 100svh;
  align-content: end;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: start;
  align-self: start;
}
.footer-word {
  color: var(--sabbia);
}
.footer-word svg {
  width: 100%;
  overflow: visible;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  color: var(--sabbia);
  font-size: 0.9375rem;
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.footer-bottom a {
  display: inline-block;
  padding: 6px 0;
  text-underline-offset: 4px;
}

/* --------------------------------- Barra mobile ----------------------------- */

.dock {
  position: fixed;
  inset: auto 12px max(12px, env(safe-area-inset-bottom));
  z-index: 15;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: var(--bruno);
  box-shadow: 0 12px 26px rgba(10, 16, 24, 0.4);
}
.dock .btn {
  min-height: 50px;
}

/* ------------------------------ Schermi stretti, come un iPad --------------- */

@media (min-width: 901px) and (max-aspect-ratio: 29/20) {
  .poster {
    width: 117vh; /* come la pizza 3D, che qui è più piccola per lasciare libero il testo */
    /* A destra del testo in basso a sinistra: il margine, il testo e metà della pizza */
    left: max(50%, calc(var(--gutter) + 270px + 35vh));
  }
}

/* -------------------------------- Portatili bassi --------------------------- */

@media (min-width: 901px) and (max-height: 760px) {
  .ticket-qr a {
    padding: 16px;
  }
  .ticket-qr img {
    width: 100px;
    height: 100px;
  }
  .ticket {
    padding: 16px 16px 12px;
  }
  .ticket-actions .btn-solid {
    min-height: 52px;
  }
  .toy-hint {
    display: none;
  }
  .word {
    inset-inline: 8vw;
  }
  .script {
    top: calc(76px + 11.6vw);
    right: 8vw;
    width: 26vw;
  }
}

/* ------------------------------ Telefono e tablet --------------------------- */

@media (max-width: 900px) {
  .nav {
    padding-block: 8px;
  }
  .nav-logo {
    width: 54px;
  }
  .nav-links,
  .nav-phone {
    display: none;
  }
  .nav-toggle,
  .nav.is-past .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .word {
    inset: 66px 16px auto;
    display: grid;
    gap: 2vw;
  }
  .word-full {
    display: none;
  }
  .word-san,
  .word-lollo {
    display: block;
  }
  .script {
    top: calc(66px + 62vw);
    left: auto;
    right: 14px;
    width: 54vw;
  }
  .poster {
    bottom: 218px;
  }
  .hero-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .toy-pill:not([hidden]) {
    display: block;
    align-self: center;
    padding: 6px 12px 4px;
    border-radius: 999px;
    background: var(--bianco);
    color: var(--nero);
    font-family: var(--display);
    font-size: 0.875rem;
    font-weight: 700;
    pointer-events: none;
  }
  .hero-info {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 0 16px 2px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    font-size: 0.875rem;
  }
  .address {
    font-size: 0.9375rem;
  }
  .address .icon {
    display: none;
  }
  .status {
    text-align: right;
    line-height: 1.15;
    font-size: 0.875rem;
  }
  .toy-hint {
    display: none;
  }

  .ticket {
    position: relative;
    right: auto;
    bottom: auto;
    margin-inline: 12px;
    gap: 14px;
    padding: 18px 14px 12px;
    rotate: none;
  }
  .ticket-qr a {
    padding: 16px;
  }
  .ticket-qr img {
    width: 100px;
    height: 100px;
  }
  .ticket-qr figcaption {
    font-size: 0.8125rem;
  }
  .ticket-actions {
    flex: 1;
    min-width: 0;
    gap: 7px;
  }
  .ticket-actions .btn {
    min-height: 46px;
    padding-inline: 0.8em;
    font-size: 1.0625rem;
  }
  .ticket-actions .btn-solid {
    min-height: 54px;
    font-size: 1.25rem;
  }
  .ticket-note {
    font-size: 0.75rem;
  }

  .menu {
    height: 210vh;
  }
  .marquee {
    display: grid;
    min-height: 92svh;
    padding-block: 10svh;
  }
  .marquee-rows {
    align-content: space-between;
    font-size: clamp(3.75rem, 17vw, 6rem);
  }
  .menu-sticky {
    padding: 70px 16px 92px;
  }
  .menu-head h2 {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .menu-list {
    width: auto;
  }
  /* Arriva fino al bordo del campo: la sabbia scopre la pizza come un sipario */
  .menu-list::before {
    inset: -12px -16px -92px;
  }
  .menu-row {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 7px 0;
  }
  .menu-row .icon {
    display: none;
  }
  .menu-row strong {
    font-size: 1.25rem;
  }
  .menu-row-text span {
    font-size: 0.875rem;
  }
  .menu-cta {
    display: none;
  }
  .portal-photo img {
    object-position: 64% 50%;
    transform-origin: 50% 50%;
    scale: 1.16;
  }
  .story {
    display: block;
  }
  .story-body {
    margin-top: 24px;
    font-size: 1.0625rem;
  }

  .team-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .duo {
    justify-self: stretch;
    width: 100%;
  }

  .tickets {
    flex-direction: column;
    gap: 22px;
  }
  .review {
    flex: none;
    width: 100%;
    margin-top: 0 !important;
  }
  .review blockquote {
    font-size: 1.375rem;
  }

  .where-grid {
    grid-template-columns: 1fr;
  }
  .where-inner {
    padding-bottom: 96px;
  }

  .footer {
    padding-bottom: 88px;
  }
  .footer-top {
    display: none;
  }
  .dock.is-on {
    display: grid;
  }
}

@media (max-width: 900px) and (max-height: 700px) {
  .toy-pill:not([hidden]) {
    display: none;
  }
  .menu-row-text span {
    display: none;
  }
  .word {
    inset-inline: 12vw;
  }
  .ticket-qr a {
    padding: 14px;
  }
  .ticket-qr img {
    width: 84px;
    height: 84px;
  }
  .ticket-actions .btn {
    min-height: 44px;
  }
  .ticket-actions .btn-solid {
    min-height: 48px;
  }
  .ticket-note {
    display: none;
  }
  .script {
    top: calc(66px + 52vw);
    left: auto;
    right: 3vw;
    width: 44vw;
  }
}

/* -------------------------------- Meno movimento ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #scene {
    position: absolute;
    height: 100svh;
  }
  .menu {
    height: auto;
  }
  .menu-sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
  }
  .portal {
    height: auto;
  }
  .portal-sticky {
    position: relative;
  }
  .portal-photo {
    clip-path: none;
  }
  .portal-photo img {
    scale: 1;
  }
  .portal-ring,
  .portal-dim {
    display: none;
  }
  .status.is-open .status-dot {
    animation: none;
  }
  .ticket,
  .btn,
  .btn .icon,
  .menu-row,
  .menu-row img,
  .menu-row .icon {
    transition: none;
  }
}

/* ========================== Pagine interne ========================== */

.nav[data-ink='dark'] .nav-toggle {
  background: var(--nero);
  color: var(--sabbia);
}
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}
.field-sabbia .status-dot {
  background: var(--bruno);
}
.field-sabbia .status.is-open .status-dot {
  background: var(--nero);
}

.page-title {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead {
  max-width: 28ch;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 550;
  line-height: 1.3;
  text-wrap: balance;
}

.footer-compact {
  min-height: auto;
}

/* ----------------------------------- Chi siamo ------------------------------ */

.about-head {
  display: flex;
  align-items: flex-end;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: clip;
}
.portrait.about-stage {
  position: absolute;
  inset: 0;
}
.about-stage img {
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}
.about-stage .portrait-base {
  filter: grayscale(1) brightness(0.48) contrast(1.06);
}
.about-head-text {
  display: grid;
  gap: 14px;
  padding: 0 var(--gutter) clamp(28px, 7vh, 72px);
  color: var(--bianco);
  pointer-events: none;
}

.long-story {
  display: grid;
  gap: 1em;
  padding: clamp(84px, 18vh, 200px) var(--gutter);
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.long-story p {
  max-width: 24em;
}
.field-sabbia .signature {
  filter: brightness(0);
}

.plates-inner {
  padding: clamp(72px, 13vh, 150px) var(--gutter);
}
.plates-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 7vh, 72px);
}
.plates-head div {
  display: grid;
  gap: 2px;
  color: var(--sabbia);
  text-align: right;
}
.plates-hint {
  font-weight: 700;
}
.plates {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 20px);
  align-items: start;
}
.plate {
  padding: 10px 10px 12px;
  background: var(--bianco);
  filter: drop-shadow(0 16px 20px rgba(10, 16, 24, 0.38));
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}
.plate img {
  width: 100%;
  height: auto;
  pointer-events: none;
}
.plate:nth-child(1) {
  grid-column: 1 / span 5;
  rotate: -2deg;
}
.plate:nth-child(2) {
  grid-column: 6 / span 3;
  margin-top: 7vw;
  rotate: 2.4deg;
}
.plate:nth-child(3) {
  grid-column: 9 / span 4;
  margin-top: 1.5vw;
  rotate: -1.2deg;
}
.plate:nth-child(4) {
  grid-column: 2 / span 3;
  margin-top: -3vw;
  rotate: 1.6deg;
}
.plate:nth-child(5) {
  grid-column: 5 / span 3;
  margin-top: 2vw;
  rotate: -2.6deg;
}
.plate:nth-child(6) {
  grid-column: 9 / span 3;
  margin-top: -2vw;
  rotate: 1.2deg;
}
.can-drag .plate {
  cursor: grab;
}
.can-drag .plate.is-held {
  cursor: grabbing;
}

/* ------------------------------------ Orari --------------------------------- */

.week-section {
  padding: clamp(72px, 13vh, 150px) var(--gutter);
}
.week-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(28px, 6vh, 56px);
}
.week-section .status {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
}
.week table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.week tr {
  transition: opacity 0.3s;
}
.week th,
.week td {
  padding: clamp(10px, 1.8vh, 16px) 0;
  border-top: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  font-weight: 550;
  text-align: left;
}
.week th {
  width: 8.5em;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
}
.week td.week-hours {
  width: 15em;
  padding-left: clamp(12px, 2vw, 28px);
  text-align: right;
  white-space: nowrap;
}
.week-track {
  position: relative;
  min-width: 90px;
}
.week-track span {
  position: relative;
  display: block;
  height: clamp(14px, 2vh, 20px);
}
.week-track i {
  position: absolute;
  inset: 0 auto 0 var(--from);
  width: var(--span);
  border-radius: 3px;
  background: currentColor;
  opacity: 0.42;
  transition: opacity 0.3s;
}
.week tr:hover .week-track i {
  opacity: 0.75;
}
.week tr.is-today th,
.week tr.is-today td {
  font-weight: 800;
}
.week tr.is-today .week-track i {
  opacity: 1;
}
.week.has-now tr.is-today .week-track span::after {
  content: '';
  position: absolute;
  inset: -6px auto -6px var(--now);
  width: 3px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--segnale);
}
.field-sabbia .week {
  --segnale: var(--notte);
}
.field-notte .week {
  --segnale: var(--bianco);
}
.field-notte .week-track i {
  color: var(--sabbia);
}

/* ------------------------------------ Prenota ------------------------------- */

.book {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
}
.book-inner {
  display: grid;
  gap: clamp(14px, 2.6vh, 24px);
  justify-items: start;
  width: min(50vw, 640px);
  padding: clamp(92px, 13vh, 130px) 0 clamp(32px, 6vh, 64px) var(--gutter);
}
.ticket.ticket-book {
  position: relative;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 6px;
  padding: 26px 20px 20px;
  background: var(--bianco);
  rotate: -1deg;
}
.book-line {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 12px 18px 10px;
  border-radius: 14px;
  color: var(--nero);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.book-line span {
  font-weight: 600;
  line-height: 1.2;
}
.book-line strong {
  font-family: var(--display);
  font-size: clamp(1.625rem, 3vw, 2.625rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.book-phone {
  background: var(--nero);
  color: var(--sabbia);
}
.book-phone:hover {
  background: var(--bruno);
  color: var(--bianco);
}
.book-mail {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--nero);
  border-radius: 14px;
}
.book-mail .book-line {
  flex: 1;
  padding-block: 8px 6px;
}
.book-mail .book-line strong {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
}
.book-mail .book-line:hover {
  color: var(--notte);
}
.copy {
  flex: none;
  min-height: 44px;
  margin-right: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--sabbia);
  color: var(--nero);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s;
}
.copy:hover {
  background: var(--nero);
  color: var(--sabbia);
}
.ticket-book .status {
  padding: 4px 6px 0;
  text-align: left;
}
.ticket-book .status-dot,
.ticket-book .status.is-open .status-dot {
  background: var(--notte);
}
.page-poster.poster {
  left: auto;
  right: -12vw;
  bottom: -6vh;
  width: min(64vw, 960px);
  transform: none;
}

/* ------------------------------------ Contatti ------------------------------ */

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(92px, 13vh, 130px) var(--gutter) clamp(36px, 7vh, 72px);
}
.contact-text {
  display: grid;
  gap: clamp(14px, 2.6vh, 24px);
  justify-items: start;
}
.contact-text address {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-map {
  aspect-ratio: auto;
  height: min(72vh, 680px);
  min-height: 320px;
}

.big-links-section {
  padding: clamp(72px, 13vh, 150px) var(--gutter);
}
.big-links-section h2 {
  margin-bottom: clamp(24px, 5vh, 48px);
}
.big-links {
  border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent);
}
.big-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(12px, 2.4vh, 22px) 0 clamp(8px, 2vh, 18px);
  border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  color: var(--bianco);
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: padding-left 0.6s var(--ease-out);
}
.big-links a:hover {
  padding-left: 18px;
}
.big-links .icon {
  width: 0.72em;
  height: 0.72em;
  transition: translate 0.6s var(--ease-out);
}
.big-links a:hover .icon {
  translate: 8px 0;
}

/* ------------------------------------ Privacy ------------------------------- */

.legal {
  padding: clamp(100px, 16vh, 170px) var(--gutter) clamp(72px, 12vh, 140px);
}
.legal-inner {
  display: grid;
  gap: clamp(20px, 4vh, 36px);
  max-width: 75ch;
}
.cookie-text {
  color: var(--nero);
  line-height: 1.6;
}
.cookie-text a {
  color: var(--nero);
  font-weight: 650;
  text-underline-offset: 3px;
}
.cookie-text table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.cookie-text th,
.cookie-text td {
  padding: 8px 10px 8px 0;
  border-top: 1px solid rgba(63, 51, 37, 0.4);
  text-align: left;
  vertical-align: top;
}

/* ----------------------------------- Messaggi ------------------------------- */

.message {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(14px, 2.6vh, 24px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(92px, 13vh, 130px) var(--gutter) clamp(40px, 8vh, 80px);
}
.message-logo {
  width: clamp(120px, 16vw, 200px);
  fill: var(--sabbia);
}
.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.missing {
  overflow: clip;
}
.missing-text {
  display: grid;
  gap: clamp(14px, 2.6vh, 24px);
  justify-items: start;
  width: min(50vw, 640px);
}

/* ----------------------------- Telefono e tablet ---------------------------- */

@media (max-width: 900px) {
  .about-head-text {
    padding-bottom: 96px;
  }
  .plates-head div {
    text-align: left;
  }
  .plates-inner {
    padding-bottom: 96px;
  }
  .plates {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 6px 16px 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .plates::-webkit-scrollbar {
    display: none;
  }
  .plate:nth-child(n) {
    flex: 0 0 74vw;
    max-width: 340px;
    margin: 0;
    rotate: none;
    scroll-snap-align: center;
  }

  .week th {
    width: 6em;
  }
  .week td.week-hours {
    width: auto;
    text-align: left;
    white-space: normal;
    font-size: 0.9375rem;
    line-height: 1.25;
  }
  .week-track {
    display: none;
  }

  .book {
    align-items: flex-start;
  }
  .book-inner {
    width: 100%;
    padding: 76px 16px 46vw;
  }
  .ticket.ticket-book {
    width: 100%;
    margin-inline: 0;
    padding: 22px 12px 14px;
    rotate: none;
  }
  .page-poster.poster {
    right: -18vw;
    bottom: -14vw;
    width: 118vw;
  }

  .contact-head {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    padding-top: 76px;
  }
  .contact-map {
    height: 62vw;
    min-height: 260px;
  }
  .big-links-section {
    padding-bottom: 96px;
  }

  .message {
    align-content: start;
    padding-top: 84px;
  }
  .missing-text {
    width: 100%;
  }
  .message-actions .btn {
    flex: 1 1 auto;
  }
}

/* -------------------------------- Meno movimento ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  .big-links a,
  .big-links .icon,
  .book-line,
  .copy {
    transition: none;
  }
}

/* ---------------------------- Telefono in orizzontale ----------------------- */

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .word {
    display: block;
    inset: 12px 76px auto 76px;
  }
  .word-full {
    display: block;
  }
  .word-san,
  .word-lollo,
  .script,
  .hero-info,
  .ticket-qr figcaption {
    display: none;
  }
  .hero-dock {
    left: auto;
    width: min(58vw, 460px);
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .ticket {
    gap: 10px;
    margin-inline: 8px;
    padding: 14px 10px 8px;
  }
  .ticket-qr a {
    padding: 12px;
  }
  .ticket-qr img {
    width: 75px;
    height: 75px;
  }
  .ticket-actions .btn {
    min-height: 40px;
    font-size: 0.9375rem;
  }
  .ticket-actions .btn-solid {
    min-height: 46px;
    font-size: 1.0625rem;
  }
  .menu {
    height: auto;
  }
  .menu-sticky {
    position: relative;
    height: auto;
    padding-bottom: 80px;
  }
  .menu-list {
    width: 52vw;
    margin-top: 16px;
  }
  .menu-list::before {
    inset: -12px 0 -80px -16px;
  }
  .poster {
    left: 26%;
    bottom: -6vh;
    width: 62vw;
  }
}

/* -------------------------------- Telefoni stretti -------------------------- */

@media (max-width: 350px) {
  .ticket {
    gap: 10px;
    margin-inline: 8px;
    padding-inline: 10px;
  }
  .ticket-qr a {
    padding: 12px;
  }
  .ticket-qr img {
    width: 75px;
    height: 75px;
  }
  .ticket-actions .btn {
    padding-inline: 0.5em;
    font-size: 0.9375rem;
  }
  .ticket-actions .btn-solid {
    font-size: 1.0625rem;
  }
  .ticket-actions .btn-line .icon {
    display: none;
  }
  .hero-info,
  .address,
  .status {
    font-size: 0.8125rem;
  }
}
