/* =========================================================
   CAFFÈ DEL KASSARO — stile del sito
   Colori presi dal logo: arancio #E7792B, prugna #8D2456, marrone #50341D
   ========================================================= */

@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --arancio: #E7792B;
  --arancio-chiaro: #F39A55;
  --arancio-testo: #B5520F;
  --prugna: #8D2456;
  --prugna-scura: #6E1A42;
  --marrone: #50341D;
  --inchiostro: #2A1A0E;
  --crema: #FBF3E6;
  --carta: #FFFAF2;
  --pietra: #EADCC6;
  --lavagna: #222826;
  --oliva: #4F6B25;
  --linea: rgba(80, 52, 29, .16);
  --tenue: #6E5643;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --testo: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --raggio: 22px;
  --ombra: 0 1px 2px rgba(42, 26, 14, .06), 0 12px 32px -12px rgba(42, 26, 14, .28);
  --testata: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--testata) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--inchiostro);
  font-family: var(--testo);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--inchiostro); color: var(--crema); padding: 10px 16px; border-radius: 10px; }
.salta:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--prugna); outline-offset: 3px; border-radius: 6px; }

/* ---------- elementi comuni ---------- */
.occhiello {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--prugna);
}
.rombi { width: 10px; height: 20px; fill: var(--prugna); flex: none; }
.titolo {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.sez-testa { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.sez-testa p:last-child { color: var(--tenue); font-size: 1.125rem; }
.sezione { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid var(--inchiostro);
  background: transparent; color: var(--inchiostro);
  font-weight: 750; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primario { background: var(--inchiostro); color: var(--crema); }
.btn.primario:hover { background: var(--prugna); border-color: var(--prugna); }
.btn-piccolo { min-height: 40px; padding: 8px 18px; font-size: .92rem; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 1.5px solid var(--linea);
  background: var(--carta); font-weight: 700; font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s;
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip[aria-pressed="true"] { background: var(--oliva); border-color: var(--oliva); color: #fff; }

.link-freccia { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--prugna); text-decoration: none; }
.link-freccia::after { content: "→"; transition: transform .2s; }
.link-freccia:hover::after { transform: translateX(4px); }
.piccolo { font-size: .9rem; color: var(--tenue); }

/* rivelazione allo scorrimento */
html.js .rivela { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .rivela.visto { opacity: 1; transform: none; }

/* ---------- testata ---------- */
.testata {
  position: sticky; top: 0; z-index: 50;
  height: var(--testata);
  background: rgba(251, 243, 230, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.testata.scorsa { border-color: var(--linea); box-shadow: 0 6px 20px -16px rgba(42, 26, 14, .5); }
.testata-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.marchio { display: inline-flex; align-items: center; gap: 9px; margin: 0; flex: none; text-decoration: none; color: inherit; }
.marchio-rombi { width: 12px; height: 24px; flex: none; fill: var(--prugna); }
.marchio-testo { display: flex; flex-direction: column; }
.marchio-sopra { font-family: var(--testo); font-weight: 800; font-size: .64rem; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: var(--marrone); margin: 0 0 3px 2px; }
.marchio-nome { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: .8; letter-spacing: -.025em; color: var(--arancio); font-variation-settings: "SOFT" 100, "WONK" 0; }
.marchio-grande { gap: 12px; }
.marchio-grande .marchio-rombi { width: 16px; height: 32px; }
.marchio-grande .marchio-sopra { font-size: .8rem; margin-bottom: 5px; }
.marchio-grande .marchio-nome { font-size: 2.9rem; }
.solo-stretto { display: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--marrone); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.attivo { background: rgba(231, 121, 43, .14); color: var(--inchiostro); }
.nav .nav-prenota { display: none; }
.nav .nav-paniere { color: var(--prugna); }
.nav .np-corto { display: none; }
.nav .nav-paniere::before { content: ""; display: inline-block; width: .9em; height: .9em; margin: 0 .32em -.1em 0; background: currentColor; -webkit-mask: url("../assets/paniere/icona.svg") center / contain no-repeat; mask: url("../assets/paniere/icona.svg") center / contain no-repeat; }
.azioni { display: flex; align-items: center; gap: 10px; }

.stato {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--carta); border: 1px solid var(--linea);
  font-size: .82rem; font-weight: 750; white-space: nowrap; text-decoration: none;
}
.stato i { width: 9px; height: 9px; border-radius: 50%; background: #A89A8B; flex: none; }
.stato.aperto i { background: #2E9E5B; box-shadow: 0 0 0 0 rgba(46, 158, 91, .5); animation: battito 2.4s infinite; }
.stato.quasi i { background: var(--arancio); }
@keyframes battito { 0% { box-shadow: 0 0 0 0 rgba(46,158,91,.55); } 70% { box-shadow: 0 0 0 9px rgba(46,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); } }

.lingua { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--pietra); }
.lingua button {
  border: 0; background: transparent; min-width: 38px; min-height: 32px; padding: 0 8px; border-radius: 999px;
  font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: var(--marrone);
}
.lingua button[aria-pressed="true"] { background: var(--inchiostro); color: var(--crema); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--inchiostro); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--crema); border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-aperto .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-aperto .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(231, 121, 43, .20), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(141, 36, 86, .08), transparent 70%),
    var(--crema);
}
/* Sera: a locale chiuso e col buio la prima schermata diventa un cielo al tramonto (classe "sera" da sito.js). */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #FFF4E4 98%, transparent), radial-gradient(1px 1px at 24% 12%, #FFF4E4 98%, transparent),
    radial-gradient(1.5px 1.5px at 37% 30%, #FFF4E4 98%, transparent), radial-gradient(1px 1px at 46% 8%, #FFF4E4 98%, transparent),
    radial-gradient(2px 2px at 58% 18%, #FFF4E4 98%, transparent), radial-gradient(1px 1px at 66% 34%, #FFF4E4 98%, transparent),
    radial-gradient(1.5px 1.5px at 78% 10%, #FFF4E4 98%, transparent), radial-gradient(1px 1px at 88% 26%, #FFF4E4 98%, transparent),
    radial-gradient(1px 1px at 6% 48%, #FFF4E4 98%, transparent), radial-gradient(1.5px 1.5px at 94% 52%, #FFF4E4 98%, transparent),
    radial-gradient(60% 45% at 80% 100%, rgba(231, 121, 43, .45), transparent 70%),
    linear-gradient(180deg, #1F1630 0%, #3A1F3A 55%, #6E2F3A 100%);
}
.hero > * { position: relative; }
html.sera .hero::before { opacity: 1; animation: scintilla 5s ease-in-out infinite alternate; }
@keyframes scintilla { from { filter: brightness(1); } to { filter: brightness(1.18); } }
html.sera .hero { color: #FBF3E6; }
html.sera .hero .occhiello, html.sera .hero .lead, html.sera .hero .fiducia { color: rgba(251, 243, 230, .82); }
html.sera .hero .fiducia b { color: #FBF3E6; }
html.sera .hero .rombi { fill: #F39A55; }
html.sera .hero .momento { color: var(--inchiostro); }
html.sera .hero .hero-titolo .anno { color: #F39A55; }
html.sera .hero .nota-anno, html.sera .hero .nota-anno svg { color: #F7B57E; stroke: #F7B57E; }
html.sera .hero .btn.primario { background: #FBF3E6; color: #2A1A0E; border-color: #FBF3E6; }
html.sera .hero .btn:not(.primario) { color: #FBF3E6; border-color: rgba(251, 243, 230, .55); }
@media (prefers-reduced-motion: reduce) { html.sera .hero::before { animation: none; } }

.tenda {
  height: 56px;
  background: repeating-linear-gradient(90deg, var(--arancio) 0 44px, #FFF4E4 44px 88px);
  -webkit-mask: radial-gradient(22px at 22px 34px, #000 98%, transparent) 0 0 / 44px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 34px no-repeat;
  mask: radial-gradient(22px at 22px 34px, #000 98%, transparent) 0 0 / 44px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 34px no-repeat;
  filter: drop-shadow(0 6px 6px rgba(42, 26, 14, .18));
  transform-origin: top;
  animation: brezza 7s ease-in-out infinite;
}
html.intro .tenda { animation: srotola .9s cubic-bezier(.3, 1.45, .5, 1) both, brezza 7s 1.2s ease-in-out infinite; }
@keyframes srotola { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes brezza { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.07); } }

.hero-in {
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
}
.hero-titolo {
  font-family: var(--display);
  font-weight: 850;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: clamp(3.3rem, 8.6vw, 7.6rem);
  line-height: .9;
  letter-spacing: -.035em;
  margin-bottom: 26px;
}
.hero-titolo .riga { display: block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.hero-titolo .riga-in { display: block; }
html.intro .hero-titolo .riga-in { animation: sale 1.05s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .hero-titolo .riga:nth-child(1) .riga-in { animation-delay: .25s; }
html.intro .hero-titolo .riga:nth-child(2) .riga-in { animation-delay: .4s; }
@keyframes sale { from { transform: translateY(105%); } to { transform: none; } }
.hero-titolo em { font-style: italic; color: var(--arancio); font-variation-settings: "SOFT" 100, "WONK" 1; padding-right: .04em; }
.hero-titolo .anno { position: relative; color: var(--prugna); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-titolo .anno::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: -.06em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C50 3 120 2 197 8' fill='none' stroke='%23E7792B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
html.intro .hero-titolo .anno::after { animation: traccia .8s 1.75s cubic-bezier(.6, .1, .3, 1) both; }
@keyframes traccia { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.nota-anno {
  display: inline-flex; align-items: flex-start; gap: 6px;
  margin: 2px 0 22px; transform: rotate(-2.5deg); transform-origin: left;
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--arancio-testo);
}
.nota-anno svg { width: 34px; height: 26px; flex: none; margin-top: -10px; fill: none; stroke: var(--arancio-testo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.intro .nota-anno { animation: timbro .6s 2.2s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes timbro { from { opacity: 0; transform: rotate(-2.5deg) scale(.6); } to { opacity: 1; transform: rotate(-2.5deg) scale(1); } }
html.intro .in-a { animation: entra .8s .1s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .in-b { animation: entra .9s .75s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .in-c { animation: entra .9s .9s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .in-d { animation: entra .9s 1.05s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .in-e { animation: entra 1s 1.3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 34ch; color: var(--marrone); margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.fiducia { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--marrone); font-size: .95rem; }
.fiducia li { display: flex; align-items: baseline; gap: 6px; }
.fiducia b { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--inchiostro); }
.fiducia a { text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; }
.fiducia a:hover span { text-decoration: underline; }
.fiducia .stella { color: var(--arancio); font-size: 1.1rem; }

.hero-visual { position: relative; display: grid; justify-items: center; }
.sigillo {
  position: relative; width: min(440px, 82vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F08F45, var(--arancio) 55%, #D2661C);
  box-shadow: inset 0 -12px 30px rgba(110, 26, 66, .25), 0 30px 60px -30px rgba(110, 50, 10, .6);
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -8deg)) rotateY(calc(var(--mx, 0) * 8deg));
}
html.intro .sigillo { animation: sigillo 1.2s .3s cubic-bezier(.2, .9, .25, 1.12) both; }
@keyframes sigillo { from { opacity: 0; scale: .72; rotate: -50deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
.quadrante { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.q-pista { fill: none; stroke: rgba(255, 244, 228, .2); stroke-width: 7; }
.q-tacche line { stroke: rgba(255, 244, 228, .6); stroke-width: 1.6; stroke-linecap: round; }
.q-arco { fill: none; stroke: #FFF4E4; stroke-width: 7; stroke-linecap: round; }
html.intro .q-arco { stroke-dasharray: 1; animation: arco 1.5s 1.1s cubic-bezier(.6, .1, .3, 1) both; }
@keyframes arco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.q-punto { fill: var(--prugna); stroke: #FFF4E4; stroke-width: 2.5; }
.q-alone { fill: rgba(141, 36, 86, .45); transform-box: fill-box; transform-origin: center; animation: alone 2.4s ease-out infinite; }
@keyframes alone { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
html.intro .q-ora { animation: entra-semplice .6s 2.3s both; }
@keyframes entra-semplice { from { opacity: 0; } to { opacity: 1; } }
.tazzina-box { position: absolute; inset: 19%; translate: calc(var(--mx, 0) * 12px) calc(var(--my, 0) * 12px); }
html.intro .tazzina-box { animation: posa .95s .85s cubic-bezier(.3, 1.35, .5, 1) both; }
@keyframes posa { from { opacity: 0; transform: translateY(-70px) scale(1.18); } to { opacity: 1; transform: none; } }
.vapore path { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: vapore 4.6s ease-in-out infinite; }
.vapore .v2 { animation-delay: 1.5s; }
.vapore .v3 { animation-delay: 3s; }
@keyframes vapore { 0% { opacity: 0; transform: translateY(14px) scaleY(.5); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-46px) scaleY(1.15); } }
.sigillo-anello { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 60s linear infinite; }
.sigillo-anello text { fill: #FFF4E4; font-family: var(--testo); font-weight: 800; font-size: 15.5px; letter-spacing: .5px; }
.tazzina { width: 100%; height: 100%; overflow: visible; animation: galleggia 6s ease-in-out infinite; }
.crema-giro { transform-box: fill-box; transform-origin: center; animation: dondola 9s ease-in-out infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes galleggia { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes dondola { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

.momento {
  position: relative; z-index: 2;
  width: min(370px, 100%);
  margin: -78px 0 0 -38%;
  padding: 20px 22px 18px;
  background: var(--carta);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  border: 1px solid var(--linea);
}
.momento-ora { margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: var(--tenue); text-transform: uppercase; letter-spacing: .08em; }
.momento-ora b { color: var(--inchiostro); font-variant-numeric: tabular-nums; }
.momento h2 { font-family: var(--display); font-weight: 750; font-size: 1.55rem; margin-bottom: 6px; font-variation-settings: "SOFT" 100; }
.momento p { margin-bottom: 10px; color: var(--marrone); font-size: .98rem; }
.momento-piatti { list-style: none; margin: 0 0 12px; padding: 0; }
.momento-piatti li { display: flex; gap: 10px; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--linea); font-weight: 650; font-size: .95rem; }
.momento-piatti li span:last-child { color: var(--arancio-testo); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* nastro scorrevole */
.nastro { background: var(--prugna); color: var(--crema); overflow: hidden; padding: 16px 0; }
.nastro-in { display: flex; width: max-content; animation: scorri 46s linear infinite; }
.nastro-in.guidato { animation: none; will-change: transform; }
.nastro-in span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); white-space: nowrap; padding: 0 22px; }
.nastro-in i { color: var(--arancio-chiaro); font-style: normal; align-self: center; font-size: .9rem; }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- menù del giorno (lavagna) ---------- */
.oggi { background: var(--inchiostro); color: var(--crema); }
.oggi .occhiello { color: var(--arancio-chiaro); }
.oggi .rombi { fill: var(--arancio-chiaro); }
.oggi-in { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.oggi-testa { position: sticky; top: calc(var(--testata) + 32px); }
.oggi-testa p { color: rgba(251, 243, 230, .78); font-size: 1.1rem; }
.aggiornato {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(251, 243, 230, .08); font-size: .92rem !important;
}
.aggiornato i { width: 9px; height: 9px; border-radius: 50%; background: var(--arancio-chiaro); flex: none; }
.aggiornato.live i { background: #4CC27E; animation: battito 2.4s infinite; }

.lavagna {
  position: relative;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 10%, #2E3532, var(--lavagna) 70%);
  border: 14px solid #7A4E2B;
  border-image: linear-gradient(135deg, #966139, #6A4222 40%, #8C5A33 70%, #5E3A1E) 1;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 60px rgba(0, 0, 0, .35);
}
.lavagna-data { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: rgba(251, 243, 230, .7); margin-bottom: 18px; text-align: center; }
.lavagna-cat + .lavagna-cat { margin-top: 30px; }
.lavagna-cat h3 {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: var(--arancio-chiaro);
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.lavagna-cat h3::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(243, 154, 85, .5) 0 10px, transparent 10px 16px); }
.lavagna ul { list-style: none; margin: 0; padding: 0; }
.lavagna li { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 10px 0; border-bottom: 1px dashed rgba(251, 243, 230, .13); }
.lavagna li:last-child { border-bottom: 0; }
.lavagna .nome { font-weight: 750; letter-spacing: .02em; text-transform: uppercase; font-size: 1rem; color: #FFF8EC; }
.lavagna .trad { grid-column: 1; font-family: var(--display); font-style: italic; font-size: .98rem; color: rgba(251, 243, 230, .62); }
.lavagna .prezzo { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--arancio-chiaro); font-variant-numeric: tabular-nums; }
.lavagna-note { margin-top: 26px; padding-top: 18px; border-top: 2px solid rgba(251, 243, 230, .12); font-size: .9rem; color: rgba(251, 243, 230, .7); }
.lavagna-note p { margin: 0 0 4px; }
.gesso { position: absolute; right: 22px; bottom: -14px; width: 70px; height: 12px; border-radius: 3px; background: #F4EFE6; transform: rotate(-4deg); box-shadow: 0 3px 4px rgba(0, 0, 0, .4); }

/* ---------- carta / menù ---------- */
.carta { background: var(--carta); }
.carta-strumenti {
  position: sticky; top: var(--testata); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; margin-bottom: 18px;
  background: rgba(255, 250, 242, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.schede { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.schede::-webkit-scrollbar { display: none; }
.schede a {
  flex: none; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 750; font-size: .95rem; color: var(--marrone); background: transparent; border: 1.5px solid var(--linea);
  transition: background .2s, color .2s, border-color .2s;
}
.schede a:hover { border-color: var(--arancio); }
.schede a.attivo { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.filtri { display: flex; gap: 10px; align-items: center; }
.cerca { position: relative; display: block; }
.cerca svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--tenue); stroke-width: 2.2; stroke-linecap: round; }
.cerca input {
  width: 230px; min-height: 44px; padding: 8px 14px 8px 40px;
  border-radius: 999px; border: 1.5px solid var(--linea); background: #fff;
  font-size: .98rem;
}
.cerca input:focus { outline: none; border-color: var(--arancio); box-shadow: 0 0 0 4px rgba(231, 121, 43, .18); }

.carta-cat { padding-top: 26px; }
.carta-cat + .carta-cat { margin-top: 18px; }
.carta-cat > h3 {
  font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100;
  font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px;
}
.carta-cat > h3 small { font-family: var(--testo); font-size: .85rem; font-weight: 700; color: var(--tenue); letter-spacing: 0; }
.piatti { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
/* Bevande: righe corte, su due colonne */
.bevande { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.bevanda { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.bevanda-nome { font-weight: 700; font-size: 1rem; }
.bevanda .piatto-prezzo { font-size: .95rem; }
.bevanda .puntini { transform: translateY(-4px); }
.bevanda-desc { margin: 2px 0 0; font-size: .82rem; color: var(--tenue); }
.bevanda .piatto-all { margin-top: 3px; font-size: .74rem; }
.bevanda .piatto-all svg { width: 11px; height: 11px; }
@media (max-width: 640px) { .bevande { columns: 1; } }

/* Il riquadro Spritz */
.spritz {
  position: relative; overflow: hidden; margin: 18px 0 22px; padding: clamp(22px, 3vw, 34px);
  border-radius: var(--raggio); color: var(--crema);
  background: radial-gradient(80% 90% at 85% 0%, rgba(242, 106, 27, .45), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(200, 22, 47, .35), transparent 65%), #2A1A0E;
  box-shadow: var(--ombra);
}
.spritz::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px); }
.spritz-testa { position: relative; z-index: 1; margin-bottom: 14px; }
.spritz-tit { margin: 0; font-family: var(--display); font-style: italic; font-weight: 750; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: #FFB35C; font-variation-settings: "SOFT" 100, "WONK" 1; }
.spritz-sotto { margin: 4px 0 0; color: rgba(251, 243, 230, .78); font-size: .98rem; }
.spritz-lista { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spritz-lista li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px 4px; border-radius: 18px; background: rgba(251, 243, 230, .05); }
.spritz-lista h4 { margin: 6px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.2; }
.spritz-prezzo { margin: 2px 0 4px; font-family: var(--display); font-weight: 850; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--liquido); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.spritz .piatto-all { justify-content: center; font-size: .72rem; color: rgba(251, 243, 230, .65); }
.spritz .piatto-all b { color: rgba(251, 243, 230, .85); }
.spritz .piatto-all svg { stroke: var(--arancio-chiaro); width: 11px; height: 11px; }
.bicchiere { width: clamp(72px, 11vw, 110px); height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.spritz-lista li:hover .bicchiere { transform: rotate(-4deg) translateY(-3px); }
.bicchiere .vetro { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 2; stroke-linecap: round; }
.bicchiere .riflesso { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2.5; stroke-linecap: round; }
.bicchiere .cannuccia { stroke: #F4ECE0; stroke-width: 3; stroke-linecap: round; }
.bicchiere .ghiaccio { fill: rgba(255, 255, 255, .32); stroke: rgba(255, 255, 255, .55); stroke-width: .8; }
.bicchiere .bolla { fill: rgba(255, 255, 255, .75); animation: bollicina var(--d, 2.4s) var(--r, 0s) ease-in infinite; }
@keyframes bollicina { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-36px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bicchiere .bolla { animation: none; opacity: .6; } }
@media (max-width: 420px) { .spritz-lista { gap: 8px; } .spritz-lista li { padding: 8px 2px 2px; } }

.piatto { padding: 16px 0; border-bottom: 1px solid var(--linea); }
.piatto-riga { display: flex; align-items: baseline; gap: 10px; }
.piatto-nome { font-family: var(--display); font-weight: 650; font-size: 1.22rem; line-height: 1.25; font-variation-settings: "SOFT" 50; }
.piatto-nome a { text-decoration: none; }
.piatto-nome a:hover { color: var(--prugna); }
.puntini { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(80, 52, 29, .3); transform: translateY(-5px); }
.piatto-prezzo { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.piatto-prezzo.mercato { font-weight: 700; font-size: .9rem; color: var(--prugna); }
.piatto-desc { margin: 4px 0 0; color: var(--tenue); font-size: .97rem; line-height: 1.5; }
.veg { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(79, 107, 37, .12); vertical-align: 2px; margin-left: 6px; }
.veg svg { width: 13px; height: 13px; fill: none; stroke: var(--oliva); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.piatto.top { background: linear-gradient(90deg, rgba(231, 121, 43, .13), rgba(231, 121, 43, 0)); border-radius: 14px; padding-left: 14px; padding-right: 14px; margin-left: -14px; margin-right: -14px; border-bottom-color: transparent; }
.piatto.top .piatto-nome::after { content: "★"; color: var(--arancio); margin-left: 8px; font-size: .9em; }
.piatto.extra .piatto-nome { font-family: var(--testo); font-size: 1rem; font-weight: 650; color: var(--marrone); }
.piatto[hidden], .carta-cat[hidden] { display: none; }
.vuoto { padding: 40px 0; text-align: center; color: var(--tenue); font-size: 1.1rem; }
mark { background: rgba(231, 121, 43, .3); color: inherit; border-radius: 3px; padding: 0 1px; }

.allergeni { margin-top: 44px; padding: 20px 24px; border-radius: var(--raggio); background: var(--crema); border: 1px solid var(--linea); }
.allergeni summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.allergeni summary::-webkit-details-marker { display: none; }
.allergeni summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--prugna); transition: transform .2s; }
.allergeni[open] summary::after { transform: rotate(45deg); }
.allergeni p { margin: 14px 0 12px; color: var(--marrone); }
.allergeni ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.allergeni li { padding: 5px 12px; border-radius: 999px; background: var(--carta); border: 1px solid var(--linea); font-size: .88rem; font-weight: 650; }

/* banda maiolica */
.banda-maiolica {
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23FBF3E6'/%3E%3Cg fill='%23E7792B'%3E%3Cpath d='M0 0h9a9 9 0 0 1-9 9zM60 0h-9a9 9 0 0 0 9 9zM0 30h9a9 9 0 0 0-9-9zM60 30h-9a9 9 0 0 1 9-9z'/%3E%3C/g%3E%3Crect x='23' y='8' width='14' height='14' rx='3' transform='rotate(45 30 15)' fill='%238D2456'/%3E%3Ccircle cx='30' cy='15' r='2.6' fill='%23FBF3E6'/%3E%3Cpath d='M15 15h4M41 15h4' stroke='%2350341D' stroke-width='1.6' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") repeat-x center / 60px 30px;
}

/* ---------- la nostra cucina ---------- */
.cucina { background: var(--carta); padding-top: clamp(96px, 12vw, 150px); overflow: clip; }
.cucina-mare { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; }
.cucina-mare > svg:first-child { width: 100%; height: 100%; transform: scaleY(-1); }
.cucina-mare .o1 { fill: #2F6F7E; }
.cucina-mare .o2 { fill: #24596A; }
.cucina-mare .pesce { position: absolute; top: 18px; left: 0; width: 44px; height: 20px; fill: #F39A55; animation: nuota 22s linear infinite; }
@keyframes nuota { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
@media (prefers-reduced-motion: reduce) { .cucina-mare .pesce { animation: none; left: 12%; } }
.cucina .sez-testa { max-width: 760px; }
.cucina .sez-testa p:last-child { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--marrone); }
.cucina-foto { position: relative; margin: 0 0 clamp(26px, 4vw, 40px); border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); }
.cucina-foto img { display: block; width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; }
.cucina-foto figcaption {
  position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(14px, 3vw, 28px); padding: 10px 18px; border-radius: 999px;
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--crema); background: rgba(42, 26, 14, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cucina-pilastri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pilastro { padding: 26px; border-radius: var(--raggio); background: var(--crema); border: 1px solid var(--linea); }
.pilastro svg { width: 44px; height: 44px; margin-bottom: 12px; fill: none; stroke: #2F6F7E; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pilastro h3 { font-family: var(--display); font-weight: 780; font-size: 1.35rem; margin-bottom: 8px; }
.pilastro p { margin: 0; color: var(--marrone); }
#da-prezzo { font-weight: 800; color: var(--arancio-testo); }
.cucina-motto { margin: clamp(36px, 5vw, 56px) auto 28px; max-width: 860px; text-align: center; }
.cucina-motto p { margin: 0; font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--prugna); }
.cucina-motto p::before { content: "“"; color: var(--arancio); }
.cucina-motto p::after { content: "”"; color: var(--arancio); }
.cucina-azioni { justify-content: center; }
@media (max-width: 860px) { .cucina-pilastri { grid-template-columns: 1fr; } }

/* ---------- una giornata al Kassaro: timeline dalla colazione al dolce ---------- */
.giornata { background: var(--crema); }
.giornata .sez-testa { max-width: 760px; }
.giornata-stato { display: inline; font-weight: 750; color: var(--prugna); }
.giornata-linea { position: relative; list-style: none; margin: 0; padding: 8px 0 0; }
/* la linea della giornata: tratteggiata come i puntini del menù; la parte piena arriva fino a «adesso» */
.giornata-linea::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 40px; width: 0; border-left: 2px dashed rgba(141, 36, 86, .28); transform: translateX(-1px); }
.linea-piena { position: absolute; left: 50%; top: 0; width: 4px; height: 0; border-radius: 4px; transform: translateX(-2px); background: linear-gradient(var(--arancio-chiaro), var(--arancio)); box-shadow: 0 0 12px rgba(231, 121, 43, .45); transition: height 1.2s cubic-bezier(.2, .8, .2, 1); }
.tappa-g { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.tappa-g .tappa-foto { grid-column: 1; grid-row: 1; }
.tappa-g .tappa-testo { grid-column: 3; grid-row: 1; }
.tappa-g.destra .tappa-foto { grid-column: 3; }
.tappa-g.destra .tappa-testo { grid-column: 1; text-align: right; }
.tappa-g.destra .tappa-gusti { justify-items: end; }
.tappa-g.destra .primato-piede { flex-direction: row-reverse; }
.tappa-nodo { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--crema); border: 3px solid rgba(141, 36, 86, .45); }
.tappa-g.acceso .tappa-nodo { background: var(--arancio); border-color: #fff; box-shadow: 0 0 0 4px rgba(231, 121, 43, .35); animation: battito 2.4s infinite; }
.tappa-foto { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--raggio); background: #EBCFA8; box-shadow: var(--ombra); transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tappa-g.destra .tappa-foto { transform: rotate(1.2deg); }
.tappa-g:hover .tappa-foto { transform: rotate(0) scale(1.015); }
.tappa-foto img, .tappa-foto .disegno { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tappa-foto img.alterna { animation: alterna 10s ease-in-out infinite; animation-delay: calc(var(--k) * -5s); }
@keyframes alterna { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
/* foto senza sfondo (la fetta di cassata): intera, su uno sfondo caldo come in studio */
.tappa-g.scontornata .tappa-foto { background: radial-gradient(70% 80% at 50% 60%, #FFF6E6 0%, #F3DDBB 55%, #E2B98A 100%); }
.tappa-g.scontornata .tappa-foto img { object-fit: contain; padding: 10% 7% 12%; filter: drop-shadow(0 18px 18px rgba(80, 40, 10, .35)); }
.tappa-g.acceso .tappa-foto { box-shadow: 0 0 0 3px rgba(231, 121, 43, .7), var(--ombra); }
.tappa-ora { margin: 0 0 4px; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--arancio-testo); }
.tappa-testo h3 { font-family: var(--display); font-weight: 780; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; margin-bottom: 8px; font-variation-settings: "SOFT" 60; }
.tappa-testo > p:not(.tappa-ora) { margin: 0 0 12px; color: var(--marrone); }
.tappa-gusti { list-style: none; margin: -4px 0 14px; padding: 0; display: grid; gap: 4px; }
.tappa-gusti li { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--inchiostro); }
.tappa-gusti li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; transform: rotate(45deg); background: var(--arancio); flex: none; }
.tappa-g.destra .tappa-gusti li { flex-direction: row-reverse; }
.primato-adesso {
  position: absolute; right: 12px; top: 12px; display: none; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: var(--arancio); color: #fff; font-size: .78rem; font-weight: 800; box-shadow: 0 4px 14px rgba(231, 121, 43, .45);
}
.primato-adesso i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: battito 2.4s infinite; }
.tappa-g.acceso .primato-adesso { display: inline-flex; }
.primato-piede { display: flex; align-items: center; justify-content: flex-start; gap: 18px; }
.primato-prezzo { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--arancio-testo); font-variant-numeric: tabular-nums; }
.primato-prezzo.nota { font-style: italic; font-weight: 650; font-size: 1.05rem; }
@media (max-width: 760px) {
  .giornata-linea::before, .linea-piena { left: 9px; }
  .tappa-g, .tappa-g.destra { grid-template-columns: 36px minmax(0, 1fr); row-gap: 14px; align-items: start; }
  .tappa-nodo { grid-column: 1; grid-row: 1; margin-top: 10px; justify-self: start; }
  .tappa-g .tappa-foto, .tappa-g.destra .tappa-foto { grid-column: 2; grid-row: 1; transform: none; }
  .tappa-g .tappa-testo, .tappa-g.destra .tappa-testo { grid-column: 2; grid-row: 2; text-align: left; }
  .tappa-g.destra .primato-piede, .tappa-g.destra .tappa-gusti li { flex-direction: row; }
  .tappa-g.destra .tappa-gusti { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { .tappa-foto img.alterna { animation: none; } .tappa-foto img.alterna + img.alterna { display: none; } .linea-piena { transition: none; } }

/* ---------- cassata ---------- */
.cassata { background: var(--prugna); color: var(--crema); overflow: clip; }
.cassata::before {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  left: -260px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(243, 154, 85, .28), transparent 65%);
  pointer-events: none;
}
.cassata .occhiello { color: var(--arancio-chiaro); }
.cassata .titolo-sotto { margin: -6px 0 18px; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--arancio-chiaro) !important; }
.cassata-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
/* La scena è alta: mentre si scorre, la figura resta ferma e la cassata va avanti fase per fase. */
/* La cassata: la foto della fetta (data da Carlo). Quando la sezione entra nello schermo la fetta
   si posa con un movimento morbido, le passa sopra un riflesso di luce e poi «respira» appena. */
.fetta-foto { position: relative; margin: 0; align-self: center; padding: calc(4% + 84px) 0 calc(4% + 78px); }
.fetta-palco { position: relative; }
.fetta-vola { position: relative; z-index: 1; }
.fetta-cannella { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; opacity: .9; pointer-events: none; }
.fetta-foto img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(30, 6, 18, .35)); }
.fetta-luce {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 232, .55) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
  -webkit-mask: url("../assets/cassata-fetta.webp") center / 100% 100% no-repeat; mask: url("../assets/cassata-fetta.webp") center / 100% 100% no-repeat;
}
.fetta-ombra { position: absolute; left: 10%; right: 6%; bottom: -7%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 6, 18, .55), transparent); }
html.js .fetta-vola { opacity: 0; transform: translate(16%, -18%) rotate(8deg) scale(.9); }
html.js .fetta-ombra { opacity: 0; transform: scaleX(.55); }
.fetta-foto.spunta .fetta-vola { animation: posa 1.35s cubic-bezier(.22, .9, .3, 1.12) forwards, respira 7s 1.5s ease-in-out infinite; }
.fetta-foto.spunta .fetta-ombra { animation: ombra-posa 1.35s cubic-bezier(.22, .9, .3, 1.12) forwards, ombra-respira 7s 1.5s ease-in-out infinite; }
.fetta-foto.spunta .fetta-luce { animation: luccica 1.5s 1s ease-out forwards; }
@keyframes posa { 0% { opacity: 0; transform: translate(16%, -18%) rotate(8deg) scale(.9); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes respira { 0%, 100% { transform: none; } 50% { transform: translateY(-7px) rotate(-.4deg); } }
@keyframes ombra-posa { from { opacity: 0; transform: scaleX(.55); } to { opacity: 1; transform: none; } }
@keyframes ombra-respira { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scaleX(.94); opacity: .8; } }
/* linee a 60° e etichette: si disegnano una dopo l'altra quando la fetta si è posata */
.fetta-fili { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fetta-fili path { fill: none; stroke: rgba(251, 243, 230, .82); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fetta-fili circle { fill: var(--arancio-chiaro); stroke: #FBF3E6; stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.fetta-et { position: absolute; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--crema); opacity: 0; pointer-events: none; }
.fetta-et b { font-family: var(--display); font-weight: 700; font-size: clamp(.86rem, 1.25vw, 1.08rem); line-height: 1.2; }
.fetta-et span { font-size: clamp(.7rem, .95vw, .8rem); font-weight: 600; line-height: 1.3; color: rgba(251, 243, 230, .74); }
.fetta-foto.spunta .fetta-fili circle { animation: punto .35s calc(1.35s + var(--i) * .22s) cubic-bezier(.3, 1.6, .5, 1) forwards; }
.fetta-foto.spunta .fetta-fili path { animation: filo .5s calc(1.45s + var(--i) * .22s) ease-out forwards; }
.fetta-foto.spunta .fetta-et { animation: compare .5s calc(1.75s + var(--i) * .22s) ease-out forwards; }
@keyframes punto { to { opacity: 1; transform: scale(1); } }
@keyframes filo { to { stroke-dashoffset: 0; } }
@keyframes compare { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fetta-fili path { stroke-dashoffset: 0; } .fetta-fili circle { opacity: 1; transform: none; } .fetta-et { opacity: 1; } }
@keyframes luccica { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { html.js .fetta-vola, html.js .fetta-ombra { opacity: 1; transform: none; animation: none !important; } }
.cassata-testa { max-width: 760px; margin-bottom: clamp(8px, 2vw, 24px); position: relative; }
.cassata .perche-tit { margin: 6px 0 14px; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--crema); }
.perche { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: perche; }
.perche li { counter-increment: perche; position: relative; padding-left: 46px; color: rgba(251, 243, 230, .86); font-size: 1.05rem; line-height: 1.55; }
.perche li::before { content: counter(perche, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--arancio-chiaro); }
.perche b { color: var(--crema); font-weight: 800; }
.cassata-lato .ingredienti { margin-top: 0; }
.cassata-piede { position: relative; }
.cassata-piede .cannolo { max-width: 560px; margin-top: 8px; }
@media (min-width: 981px) { .cassata-lato { align-self: center; } .cassata-lato.ferma { align-self: start; position: sticky; top: calc(var(--testata) + 8vh); } }
.cassata-testo p { color: rgba(251, 243, 230, .86); font-size: 1.1rem; }
.ingredienti { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 10px; }
.ingredienti li { display: flex; flex-direction: column; padding: 12px 16px 12px 46px; position: relative; border-radius: 14px; background: rgba(251, 243, 230, .08); }
.ingredienti li::before {
  content: ""; position: absolute; left: 17px; top: 18px; width: 12px; height: 12px; border-radius: 3px;
  background: var(--arancio-chiaro); transform: rotate(45deg);
}
.ingredienti b { font-weight: 800; }
.ingredienti span { color: rgba(251, 243, 230, .72); font-size: .95rem; }
.cassata-testo .prezzo-grande { display: flex; align-items: baseline; font-family: var(--display); color: var(--arancio-chiaro); margin: 0 0 26px !important; }
.prezzo-grande .cifra { font-size: 5.4rem; font-weight: 800; line-height: .9; }
.prezzo-grande .valuta { font-size: 1.8rem; font-weight: 700; }
.cannolo { padding: 20px 22px; border-radius: var(--raggio); border: 1.5px dashed rgba(251, 243, 230, .35); }
.cannolo h3 { font-family: var(--display); font-weight: 750; font-size: 1.4rem; margin-bottom: 6px; }
.cannolo p { margin: 0; font-size: 1rem !important; }

/* ---------- storia: vedi blocco «Storia v2» in fondo ---------- */

/* ---------- dove: passeggiata sul Cassaro ---------- */
.dove { background: var(--carta); }
.passeggiata { border-radius: 28px; background: var(--crema); border: 1px solid var(--linea); padding: 24px clamp(16px, 3vw, 32px) 26px; margin-bottom: 28px; }
.via { position: relative; height: 300px; }
.via::before { /* la strada */
  content: ""; position: absolute; left: 0; right: 7%; top: 50%; height: 30px; transform: translateY(-50%);
  border-radius: 15px; background: var(--pietra);
  box-shadow: inset 0 -3px 0 rgba(80, 52, 29, .1);
}
.via::after { /* mezzeria */
  content: ""; position: absolute; left: 14px; right: calc(7% + 14px); top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 26px);
}
.mare {
  position: absolute; right: 0; top: 18%; bottom: 18%; width: 9%; border-radius: 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M0 8q6-6 12 0t12 0' fill='none' stroke='%23fff' stroke-width='2' opacity='.6'/%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #4F9CC0, #2F7397);
  display: grid; place-items: end center; padding-bottom: 10px;
  color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.tappa {
  position: absolute; left: var(--x); top: 50%;
  transform: translate(-50%, -50%);
  border: 0; background: none; padding: 0;
  display: grid; place-items: center;
  z-index: 2;
}
.tappa .punto {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--carta); border: 4px solid var(--marrone);
  transition: transform .2s, background .2s;
}
.tappa .nome-tappa {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 150px; text-align: center;
  font-weight: 750; font-size: .88rem; line-height: 1.25; color: var(--marrone);
  padding: 4px 8px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.tappa[data-lato="su"] .nome-tappa { bottom: calc(100% + 10px); }
.tappa[data-lato="giu"] .nome-tappa { top: calc(100% + 10px); }
.tappa[data-ramo="su"] { top: calc(50% - 96px); }
.tappa[data-ramo="giu"] { top: calc(50% + 96px); }
.tappa[data-ramo] .punto { width: 16px; height: 16px; border-width: 3px; border-color: var(--tenue); }
.tappa[data-ramo]::before {
  content: ""; position: absolute; left: 50%; width: 0; height: 80px; border-left: 2px dashed rgba(80, 52, 29, .35);
}
.tappa[data-ramo="su"]::before { top: 50%; }
.tappa[data-ramo="giu"]::before { bottom: 50%; }
.tappa:hover .punto { transform: scale(1.2); }
.tappa[aria-pressed="true"] .punto { background: var(--arancio); border-color: var(--inchiostro); transform: scale(1.25); }
.tappa[aria-pressed="true"] .nome-tappa { background: var(--inchiostro); color: var(--crema); }
.tappa.casa .punto {
  width: 54px; height: 54px; border: 0; background: var(--arancio);
  box-shadow: 0 0 0 6px rgba(231, 121, 43, .25), 0 10px 20px -6px rgba(110, 50, 10, .6);
  display: grid; place-items: center; animation: richiamo 2.6s ease-out infinite;
}
.tappa.casa .punto svg { width: 30px; height: 30px; }
.tappa.casa .nome-tappa { font-family: var(--display); font-size: 1.05rem; font-weight: 800; color: var(--inchiostro); bottom: calc(100% + 14px); }
.tappa.casa[aria-pressed="true"] .punto { transform: none; background: var(--arancio); }
.tappa.casa[aria-pressed="true"] .nome-tappa { background: var(--inchiostro); color: var(--crema); }
@keyframes richiamo { 0% { box-shadow: 0 0 0 0 rgba(231, 121, 43, .55), 0 10px 20px -6px rgba(110,50,10,.6); } 80%, 100% { box-shadow: 0 0 0 22px rgba(231, 121, 43, 0), 0 10px 20px -6px rgba(110,50,10,.6); } }
.via-punti-cardinali { position: absolute; left: 0; bottom: 0; font-size: .78rem; font-weight: 700; color: var(--tenue); letter-spacing: .08em; text-transform: uppercase; }

.via-scheda {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center;
  margin-top: 8px; padding: 18px 22px; border-radius: 18px; background: var(--carta); border: 1px solid var(--linea);
}
.via-min { grid-row: span 2; font-family: var(--display); font-weight: 850; font-size: 2.6rem; line-height: 1; color: var(--arancio); text-align: center; min-width: 92px; }
.via-min small { display: block; font-family: var(--testo); font-size: .78rem; font-weight: 750; color: var(--tenue); letter-spacing: .04em; }
.via-scheda h3 { font-family: var(--display); font-weight: 750; font-size: 1.35rem; }
.via-scheda p { margin: 0; color: var(--marrone); }

/* ---------- dicono di noi ---------- */
.voci { background: var(--carta); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.voti-siti { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.voto-sito {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 18px;
  padding: 24px 26px; border-radius: var(--raggio); background: var(--crema); border: 1px solid var(--linea);
  text-decoration: none; box-shadow: var(--ombra); transition: transform .2s;
}
.voto-sito:hover { transform: translateY(-3px); }
.voto-nome { grid-column: 1 / -1; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--prugna); }
.voto-num { grid-row: span 3; font-family: var(--display); font-weight: 850; font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1; color: var(--inchiostro); }
.voto-num small { font-size: .4em; font-weight: 700; color: var(--tenue); margin-left: 2px; }
.voto-quante, .voto-pos { font-size: .95rem; color: var(--marrone); }
.voto-pos { font-weight: 750; color: var(--oliva); }
.voto-link { grid-column: 1 / -1; margin-top: 8px; font-weight: 750; color: var(--arancio-testo); }
.stelle {
  font-size: 1.15rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--arancio) var(--voto), rgba(80, 52, 29, .2) var(--voto));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.voci-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.voce {
  margin: 0; padding: 24px; border-radius: var(--raggio); background: var(--crema); border: 1px solid var(--linea);
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.voce::before { content: "“"; position: absolute; right: 18px; top: -6px; font-family: var(--display); font-size: 5rem; line-height: 1; color: rgba(231, 121, 43, .22); }
.voce blockquote { margin: 0; flex: 1; }
.voce blockquote p { margin: 0; font-family: var(--display); font-size: 1.12rem; line-height: 1.45; color: var(--inchiostro); font-variation-settings: "SOFT" 100; }
.voce figcaption { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: .92rem; color: var(--marrone); }
.voce figcaption span { width: 100%; color: var(--tenue); font-size: .85rem; }
.voce-invito { text-decoration: none; justify-content: center; background: var(--inchiostro); color: var(--crema); border-color: var(--inchiostro); }
.voce-invito::before { color: rgba(243, 154, 85, .35); }
.voce-invito b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.voce-invito span { color: rgba(251, 243, 230, .8); }
.voce-invito .voto-link { color: var(--arancio-chiaro); }
@media (max-width: 640px) { .voti-siti { grid-template-columns: 1fr; } }

.dove-griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dove-griglia .arrivare { grid-column: 1 / -1; }
.arrivare-lista { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 26px; }
.arrivare-lista li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 2px dashed var(--linea); }
.arrivare-lista b { font-family: var(--display); font-weight: 750; font-size: 1.1rem; color: var(--inchiostro); }
.arrivare-lista span { color: var(--marrone); font-size: .98rem; }
@media (max-width: 760px) { .arrivare-lista { grid-template-columns: 1fr; } }
.scheda { padding: 26px; border-radius: var(--raggio); background: var(--crema); border: 1px solid var(--linea); }
.scheda h3 { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--prugna); margin-bottom: 14px; }
.scheda .grande { font-family: var(--display); font-weight: 650; font-size: 1.35rem; line-height: 1.35; }
.scheda .tel { text-decoration: none; font-size: 1.7rem; font-weight: 800; }
.scheda .tel:hover { color: var(--prugna); }
.bottoni { display: flex; flex-wrap: wrap; gap: 10px; }
.orari { width: 100%; border-collapse: collapse; font-size: .98rem; }
.orari td { padding: 7px 0; border-bottom: 1px dashed var(--linea); }
.orari td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.orari tr:last-child td { border-bottom: 0; }
.orari tr.riga-oggi td { color: var(--inchiostro); font-weight: 800; }
.orari tr.riga-oggi td:first-child::after { content: attr(data-oggi); margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--arancio); color: var(--inchiostro); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { font-weight: 750; color: var(--prugna); }

/* ---------- prenota ---------- */
.prenota { background: var(--arancio); }
.prenota .occhiello { color: var(--inchiostro); }
.prenota-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.prenota-testo p { font-size: 1.15rem; color: var(--inchiostro); max-width: 40ch; }
.tel-grande { display: inline-block; font-family: var(--display); font-weight: 850; font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-decoration: none; letter-spacing: -.01em; border-bottom: 4px solid var(--inchiostro); line-height: 1.15; }
.tel-grande:hover { color: var(--prugna); border-color: var(--prugna); }
.modulo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px;
  padding: clamp(22px, 3.4vw, 36px); border-radius: 28px; background: var(--carta);
  box-shadow: 0 30px 60px -30px rgba(80, 30, 0, .55);
}
.campo { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo-largo { grid-column: 1 / -1; }
.campo label, .campo legend, .campo .etichetta { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--marrone); padding: 0; }
.campo input, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--linea); background: #fff; font-size: 1rem;
}
.campo textarea { resize: vertical; min-height: 60px; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--arancio); box-shadow: 0 0 0 4px rgba(231, 121, 43, .2); }
fieldset.campo { grid-row: span 2; }
.pillole { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pillole label { position: relative; }
.pillole input { position: absolute; opacity: 0; pointer-events: none; }
.pillole span {
  display: grid; place-items: center; min-height: 44px; border-radius: 12px;
  border: 1.5px solid var(--linea); background: #fff; font-weight: 750; font-size: .95rem; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  text-transform: none; letter-spacing: 0; color: var(--inchiostro);
}
.pillole input:checked + span { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.pillole input:focus-visible + span { outline: 3px solid var(--prugna); outline-offset: 2px; }
.contatore { display: flex; align-items: center; gap: 6px; }
.contatore button { width: 50px; height: 50px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font-size: 1.4rem; font-weight: 700; }
.contatore button:hover { border-color: var(--arancio); }
.contatore output { flex: 1; text-align: center; font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.errore { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(141, 36, 86, .1); color: var(--prugna); font-weight: 700; }
.invio { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.invio .piccolo { margin: 0; flex: 1; min-width: 200px; }
.riepilogo { padding: 16px 18px; border-radius: 16px; background: var(--crema); border: 1.5px dashed var(--arancio); }
.riepilogo pre { margin: 0 0 12px; white-space: pre-wrap; font-family: var(--testo); font-size: .98rem; }
.riepilogo .ok-titolo { margin: 0 0 6px; font-family: var(--display); font-weight: 750; font-size: 1.25rem; }
.riepilogo p + .btn { margin-top: 12px; }
/* Campo nascosto contro i programmi automatici: le persone non lo vedono. */
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- piè di pagina ---------- */
.piede { background: var(--inchiostro); color: rgba(251, 243, 230, .82); }
.piede .banda-maiolica { opacity: .95; }
.piede-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
.piede-marchio .marchio { margin-bottom: 16px; }
.piede .marchio-sopra { color: var(--crema); }
.piede .marchio-rombi { fill: #D46A96; }
.piede h4 { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--arancio-chiaro); margin-bottom: 12px; }
.piede p { font-size: .98rem; }
.piede a { color: var(--crema); text-decoration: none; }
.piede a:hover { text-decoration: underline; }
.legale { border-top: 1px solid rgba(251, 243, 230, .12); padding: 20px 0 calc(28px + env(safe-area-inset-bottom)); }
.legale p { margin: 0; font-size: .84rem; color: rgba(251, 243, 230, .6); }

/* barra rapida (solo telefono) */
.barra-mobile { display: none; }

/* =========================================================
   Schermi medi e piccoli
   ========================================================= */
@media (max-width: 1480px) {
  .nav .np-lungo { display: none; }
  .nav .np-corto { display: inline; }
}
@media (max-width: 1340px) {
  .stato .lungo { display: none; }
  .nav a { padding: 8px 9px; }
  .testata-in { gap: 18px; }
}
@media (max-width: 1180px) {
  .nav a { padding: 8px 7px; }
  .testata-in { gap: 12px; }
}

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: var(--testata) 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0;
    padding: 12px 16px 28px; background: var(--crema);
    border-bottom: 1px solid var(--linea); box-shadow: 0 30px 40px -30px rgba(42, 26, 14, .5);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-aperto .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 1.7rem; font-weight: 750; padding: 12px 8px; border-radius: 12px; border-bottom: 1px solid var(--linea); }
  .nav .nav-prenota { display: block; color: var(--prugna); border-bottom: 0; }
  .nav .np-lungo { display: inline; }
  .nav .np-corto { display: none; }
  .burger { display: block; }
  .azioni { margin-left: auto; }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 8px; }
  .momento { margin: -64px 0 0; }
  .oggi-in, .cassata-in, .prenota-in { grid-template-columns: 1fr; }
  .oggi-testa { position: static; }
  .piatti { grid-template-columns: 1fr; }
  .dove-griglia { grid-template-columns: 1fr 1fr; }
  .dove-griglia .scheda:first-child { grid-column: 1 / -1; }
  .piede-in { grid-template-columns: 1fr 1fr; }
  .piede-marchio { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --testata: 66px; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .marchio-nome { font-size: 1.55rem; }
  .marchio-sopra { font-size: .56rem; letter-spacing: .2em; }
  .marchio-rombi { width: 10px; height: 20px; }
  .tasto-prenota .solo-largo { display: none; }
  .tasto-prenota .solo-stretto { display: inline; }
  .stato { padding: 6px 10px; font-size: .76rem; }
  .stato .lungo { display: none; }
  .tenda { height: 44px; -webkit-mask-size: 36px 100%, 100% 26px; mask-size: 36px 100%, 100% 26px; }
  .sigillo { width: min(340px, 86vw); }
  .momento { width: 100%; }
  .carta-strumenti { position: static; }
  .filtri { width: 100%; }
  .cerca { flex: 1; }
  .cerca input { width: 100%; }
  .dove-griglia { grid-template-columns: 1fr; }
  .modulo { grid-template-columns: 1fr; }
  fieldset.campo { grid-row: auto; }
  .piede-in { grid-template-columns: 1fr; gap: 24px; }

  /* la strada diventa verticale */
  .via { height: auto; padding: 6px 0 6px 0; display: flex; flex-direction: column; gap: 4px; }
  .via::before { left: 22px; right: auto; top: 0; bottom: 0; width: 22px; height: auto; transform: none; }
  .via::after { left: 32px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; transform: none; background: repeating-linear-gradient(180deg, #fff 0 12px, transparent 12px 22px); }
  .mare { position: relative; order: 99; inset: auto; width: 100%; height: 54px; margin-top: 6px; place-items: center; padding: 0; }
  .tappa, .tappa[data-ramo="su"], .tappa[data-ramo="giu"] {
    position: relative; left: auto; top: auto; transform: none;
    display: flex; align-items: center; gap: 16px; min-height: 52px; padding-left: 22px; text-align: left;
  }
  .tappa .punto { flex: none; margin-left: 0; }
  .tappa .nome-tappa, .tappa[data-lato] .nome-tappa, .tappa.casa .nome-tappa { position: static; transform: none; max-width: none; text-align: left; font-size: .98rem; }
  .tappa[data-ramo] { padding-left: 25px; }
  .tappa[data-ramo]::before { display: none; }
  .tappa[data-ramo] .nome-tappa::before { content: "↳ "; color: var(--tenue); }
  .tappa.casa { padding-left: 6px; min-height: 70px; }
  .tappa.casa .punto { width: 48px; height: 48px; }
  .via-punti-cardinali { display: none; }
  .lavagna { border-width: 10px; padding: 22px 18px; }
  .via-scheda { grid-template-columns: 1fr; text-align: left; }
  .via-min { grid-row: auto; text-align: left; }

  .barra-mobile {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 6px; border-radius: 20px;
    background: rgba(42, 26, 14, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .barra-mobile.visibile { transform: none; }
  .barra-mobile a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; color: var(--crema); text-decoration: none; font-size: .78rem; font-weight: 750; }
  .barra-mobile .barra-prenota { background: var(--arancio); color: var(--inchiostro); }
  .barra-mobile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

/* Testata compatta su tutti i telefoni: sopra i 420 px (Plus, Pro Max) il menu usciva dallo schermo. */
@media (max-width: 560px) {
  .testata-in { gap: 10px; }
  .azioni { gap: 5px; }
  .marchio { gap: 7px; }
  .marchio-nome { font-size: 1.35rem; }
  .marchio-sopra { font-size: .5rem; }
  .marchio-rombi { width: 9px; height: 18px; }
  .lingua { padding: 0; background: transparent; }
  .lingua button { min-width: 38px; min-height: 36px; padding: 0 6px; border: 1.5px solid var(--linea); }
  .lingua button[aria-pressed="true"] { display: none; }
  .stato { padding: 9px; gap: 0; }
  .stato > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tasto-prenota { padding: 8px 12px; font-size: .84rem; }
}
/* Schermi strettissimi (o testo di Safari ingrandito): il tre linee resta sempre dentro, Prenota è già nella pagina. */
@media (max-width: 319px) {
  .tasto-prenota { display: none; }
}

@media (max-width: 420px) {
  .cta .btn { flex: 1 1 auto; }
  .hero-titolo { font-size: clamp(2.9rem, 15vw, 3.6rem); }
}

@media (max-width: 359px) {
  .stato { display: none; }
}

/* Portami al Kassaro, in alto nella pagina; fetta che porta alla pagina della Kassata */
.btn-portami { background: var(--arancio); border-color: var(--arancio); color: var(--inchiostro); gap: 8px; }
.btn-portami:hover { background: var(--arancio-chiaro); border-color: var(--arancio-chiaro); }
.btn-portami svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fetta-link { position: absolute; inset: 0; z-index: 3; border-radius: 18px; }
.cassata-scopri { color: var(--crema); border-color: rgba(251, 243, 230, .55); margin-top: 6px; height: auto; white-space: normal; text-align: center; }
.cassata-scopri:hover { background: var(--crema); color: var(--inchiostro); }

/* Testata sempre dentro lo schermo, anche in orizzontale con la tacca dell'iPhone */
.testata-in { width: min(1180px, 100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
.azioni { flex: none; }
.burger { flex: none; }
.nav { max-height: calc(100dvh - var(--testata)); overflow-y: auto; }
@media (min-width: 1081px) { .nav { max-height: none; overflow: visible; } }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }

/* Le animazioni continue dormono fuori dallo schermo (js/sito.js → preparaRiposo) */
.dorme, .dorme *, .dorme *::before, .dorme *::after { animation-play-state: paused !important; }

/* Telefoni e schermi touch: sfocature e ombre calcolate sono i lavori più pesanti durante lo scorrimento */
@media (hover: none), (max-width: 980px) {
  .testata { background: #FBF3E6; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .carta-strumenti { background: #FFFAF2; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .barra-mobile { background: #2A1A0E; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cucina-foto figcaption { background: rgba(42, 26, 14, .8); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tenda, .bicchiere, .fetta-foto img, .tappa-g.scontornata .tappa-foto img { filter: none; }
  .stato.aperto i, .aggiornato.live i, .primato-adesso i { animation: none; }
  .q-alone, .crema-giro { animation: none; }
  .sigillo-anello, .tazzina, .nastro-in { will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  html.js .rivela { opacity: 1; transform: none; }
}

/* =========================================================
   v2 — più movimento, più storia
   ========================================================= */

/* barra di avanzamento sotto la testata */
.avanzamento {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--arancio), var(--prugna));
  pointer-events: none;
}

/* titoli che salgono parola per parola */
.titolo.diviso .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em 0 .14em; margin: -.05em 0 -.14em; }
.titolo.diviso .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.titolo.diviso.visto .w > span { transform: none; }

/* lavagna scritta col gesso */
.lavagna.da-scrivere .lavagna-data,
.lavagna.da-scrivere .lavagna-cat h3,
.lavagna.da-scrivere li,
.lavagna.da-scrivere .lavagna-note { clip-path: inset(0 100% 0 0); }
.lavagna.da-scrivere.scritta .lavagna-data,
.lavagna.da-scrivere.scritta .lavagna-cat h3,
.lavagna.da-scrivere.scritta li,
.lavagna.da-scrivere.scritta .lavagna-note {
  clip-path: inset(0 0 0 0);
  transition: clip-path .75s cubic-bezier(.65, .05, .35, 1);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.lavagna .gesso { transition: transform 1.2s cubic-bezier(.3, .8, .3, 1); }
.lavagna.da-scrivere:not(.scritta) .gesso { transform: translate(-120px, -60px) rotate(-30deg); }

/* menù: testa con «pranzo a sorpresa» */
.carta-testa { display: grid; grid-template-columns: 1fr minmax(320px, 430px); gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: clamp(24px, 4vw, 44px); }
.carta-testa .sez-testa { margin-bottom: 0; }
.sorpresa {
  padding: 20px 22px; border-radius: var(--raggio);
  background: var(--crema); border: 1.5px solid var(--linea);
  box-shadow: var(--ombra); position: relative; overflow: hidden;
}
.sorpresa::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 121, 43, .22), transparent 70%);
}
.sorpresa-tit { margin: 0 0 10px; font-size: .98rem; color: var(--marrone); }
.sorpresa-tit b { font-family: var(--display); font-size: 1.3rem; font-weight: 750; color: var(--inchiostro); display: block; }
.rulli { margin-bottom: 14px; }
.rullo { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--linea); }
.rullo small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--prugna); }
.rullo-voce {
  display: block; min-width: 0; height: 1.5em; line-height: 1.5em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-family: var(--display); font-weight: 650; font-size: 1.12rem;
}
.rullo.gira .rullo-voce { animation: frulla .09s linear infinite; filter: blur(.6px); color: var(--tenue); }
.rullo.fermo .rullo-voce { animation: atterra .5s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes frulla { 0% { transform: translateY(-40%); } 100% { transform: translateY(40%); } }
@keyframes atterra { 0% { transform: translateY(-60%); opacity: .4; } 100% { transform: none; opacity: 1; } }
.sorpresa-piede { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sorpresa-piede .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s; }
.sorpresa-piede .btn:hover svg { transform: rotate(-180deg); }
.sorpresa-totale { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--arancio-testo); }


/* ---------- Storia v2 ---------- */
.storia { background: var(--tono, var(--crema)); transition: background-color 1s ease; }
.numeri {
  list-style: none; margin: 0 0 clamp(48px, 7vw, 88px); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--inchiostro); border-bottom: 1px solid var(--linea);
}
.numeri li { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px 26px; border-left: 1px solid var(--linea); }
.numeri li:first-child { border-left: 0; padding-left: 0; }
.numeri b { font-family: var(--display); font-weight: 850; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; color: var(--prugna); font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100; }
.numeri li:nth-child(even) b { color: var(--arancio-testo); }
.numeri span { color: var(--marrone); font-weight: 650; max-width: 22ch; line-height: 1.4; }

.capitoli { position: relative; }
.capitoli-binario { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; width: min(1180px, 100% - 32px); margin-inline: auto; }
.capitolo {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 26px 30px; border-radius: 28px;
  background: var(--carta); border: 1px solid var(--linea); box-shadow: var(--ombra);
  overflow: hidden;
}
.cap-num { position: absolute; top: 22px; right: 24px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--tenue); }
.cap-anno {
  display: block; font-family: var(--display); font-weight: 900; line-height: .9; letter-spacing: -.035em;
  font-size: clamp(4.2rem, 8vw, 7rem); color: var(--arancio);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: color .7s;
}
.cap-sotto { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--prugna); font-size: 1.15rem; margin: 8px 0 18px; }
.capitolo h3 { font-family: var(--display); font-weight: 750; font-size: 1.55rem; margin-bottom: 10px; }
.capitolo > p:last-child, .capitolo > p:not(.cap-sotto) { color: var(--marrone); margin: 0; }
.cap-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
.cap-prova { font-size: .85rem; font-weight: 700; color: var(--tenue); }
.capitolo-k { background: var(--prugna); color: var(--crema); border-color: transparent; justify-content: flex-end; }
.capitolo-k .k-grande { display: block; font-family: var(--display); font-weight: 900; line-height: .8; font-size: clamp(6rem, 11vw, 10rem); color: var(--arancio-chiaro); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: 14px; }
.capitolo-k > p:last-child { color: rgba(251, 243, 230, .86); }
.capitoli-progresso { display: none; }

.capitoli.orizzontale .capitoli-sticky {
  position: sticky; top: var(--testata); height: calc(100vh - var(--testata));
  overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 30px;
}
.capitoli.orizzontale .capitoli-binario {
  display: flex; gap: 28px; width: max-content; margin: 0;
  padding: 0 max(16px, calc((100vw - 1180px) / 2));
  will-change: transform;
}
.capitoli.orizzontale .capitolo {
  flex: none; width: min(520px, 40vw); min-height: min(470px, 64vh); justify-content: flex-end;
  opacity: .5; transform: scale(.93);
  transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s;
}
.capitoli.orizzontale .capitolo.attivo { opacity: 1; transform: none; box-shadow: 0 34px 70px -34px rgba(110, 50, 10, .5); }
.capitoli.orizzontale .capitolo:not(.attivo) .cap-anno { color: rgba(231, 121, 43, .28); }
.capitoli.orizzontale .cap-anno { font-size: clamp(6rem, 10vw, 10rem); }
.capitoli.orizzontale .capitoli-progresso {
  display: block; width: min(1180px, 100% - 32px); margin-inline: auto;
  height: 4px; border-radius: 4px; background: var(--linea); overflow: hidden;
}
.capitoli-progresso span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--arancio), var(--prugna)); }
.storia.sezione { padding-bottom: clamp(72px, 10vw, 128px); }

/* ---------- passeggiata animata ---------- */
.passante {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--prugna); border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(141, 36, 86, .22), 0 6px 12px -4px rgba(0, 0, 0, .4);
  opacity: 0; transition: opacity .3s;
}
.passante.visibile { opacity: 1; }
.scia { position: absolute; z-index: 1; pointer-events: none; border-radius: 3px; transform-origin: left center; }
.scia.orizzontale { height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--prugna) 0 8px, transparent 8px 14px); }
.scia.verticale { width: 4px; margin-left: -2px; transform-origin: center top; background: repeating-linear-gradient(180deg, var(--prugna) 0 8px, transparent 8px 14px); }
.via-min .conta { font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .carta-testa { grid-template-columns: 1fr; align-items: start; }
  .numeri { grid-template-columns: 1fr 1fr; }
  .numeri li:nth-child(3) { border-left: 0; padding-left: 0; }
  .numeri li:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
}
@media (max-width: 760px) {
  .capitoli-binario { grid-template-columns: 1fr; }
  .numeri li { padding: 18px 12px 20px; }
  .numeri li:nth-child(odd) { padding-left: 0; }
  .rullo { grid-template-columns: 70px 1fr; }
  .rullo-voce { white-space: normal; height: auto; min-height: 1.5em; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .titolo.diviso .w > span { transform: none; }
  .lavagna.da-scrivere li, .lavagna.da-scrivere .lavagna-cat h3, .lavagna.da-scrivere .lavagna-note, .lavagna.da-scrivere .lavagna-data { clip-path: none; }
  .passante { display: none; }
}

/* ---------- allergeni nel menù ---------- */
.piatto-all { display: flex; gap: 7px; align-items: flex-start; margin: 7px 0 0; font-size: .84rem; line-height: 1.45; color: var(--tenue); }
.piatto-all svg { width: 14px; height: 14px; flex: none; margin-top: 2px; fill: none; stroke: var(--prugna); stroke-width: 2; stroke-linejoin: round; }
.piatto-all b { font-weight: 800; color: var(--marrone); }
.piatto-all .chiedi { font-weight: 800; color: var(--prugna); }
.piatto-all .verificato { font-weight: 800; color: var(--oliva); white-space: nowrap; }
.piatto-all .verificato::before { content: "✓ "; }
.filtri { flex-wrap: wrap; }
.chip .conteggio { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--prugna); color: #fff; font-size: .75rem; }
.chip.attivo { border-color: var(--prugna); color: var(--prugna); }
#apri-allergeni[aria-expanded="true"] { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.pannello-allergeni { margin: 0 0 18px; padding: 18px 20px; border-radius: var(--raggio); background: var(--crema); border: 1.5px solid var(--linea); }
.pannello-tit { margin: 0 0 12px; font-size: .95rem; color: var(--marrone); }
.pannello-tit b { color: var(--inchiostro); }
.scelte-allergeni { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-allergene { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.chip-allergene[aria-pressed="true"] { background: var(--prugna); border-color: var(--prugna); color: #fff; text-decoration: line-through; text-decoration-thickness: 2px; }
.azzera { margin-top: 12px; padding: 4px 0; border: 0; background: none; font-weight: 800; font-size: .9rem; color: var(--prugna); text-decoration: underline; text-underline-offset: 3px; }
.carta-nascosti { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: rgba(141, 36, 86, .08); color: var(--prugna); font-weight: 700; font-size: .92rem; }
.lavagna-note .nota-allergeni { margin-top: 8px !important; color: var(--arancio-chiaro); font-weight: 700; }
@media (max-width: 760px) {
  .filtri .cerca { flex: 1 1 100%; }
  .filtri .chip { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================
   Onda 1: foto vere, menù a schede, home più corta
   ========================================================= */

/* ---------- apertura con la foto del momento ---------- */
.hero { background: #1C120B; color: #FBF3E6; isolation: isolate; }
.hero::before { display: none; }
.hero > .hero-foto {
  position: absolute; inset: 0; z-index: -2;
  background: #2A1A0E url("../assets/foto/hero-norma-d.jpg") right 14% / cover no-repeat;
  transform-origin: 74% 66%;
  translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -8px + var(--sy, 0) * 1px);
  animation: hero-respiro 24s cubic-bezier(.2, .6, .3, 1) both;
}
html.sera .hero-foto { filter: brightness(.84) saturate(.96); }
@keyframes hero-respiro { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 14, 8, .86) 0%, rgba(24, 14, 8, .62) 38%, rgba(24, 14, 8, .1) 70%, rgba(24, 14, 8, 0) 100%),
    linear-gradient(0deg, rgba(24, 14, 8, .5) 0%, rgba(24, 14, 8, 0) 34%);
}
.hero .tenda { z-index: 1; }
.hero-in { align-items: end; min-height: calc(100vh - var(--testata) - 56px); min-height: calc(100svh - var(--testata) - 56px); padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); }
.hero .occhiello, .hero .lead, .hero .fiducia { color: rgba(251, 243, 230, .92); }
.hero .fiducia b { color: #FBF3E6; }
.hero .rombi { fill: #F39A55; }
.hero .hero-titolo { color: #FFF8EC; text-shadow: 0 2px 26px rgba(20, 10, 4, .45); }
.hero .hero-titolo em { color: #F7A566; }
.hero .hero-titolo .anno { color: #F7A566; }
.hero .nota-anno, .hero .nota-anno svg { color: #F7B57E; stroke: #F7B57E; }
.hero .btn.primario { background: #FBF3E6; color: #2A1A0E; border-color: #FBF3E6; }
.hero .btn.primario:hover { background: #F7A566; border-color: #F7A566; }
.hero .btn:not(.primario):not(.btn-portami) { color: #FBF3E6; border-color: rgba(251, 243, 230, .6); background: rgba(24, 14, 8, .25); }
.hero .momento { color: var(--inchiostro); }
.hero-visual { display: block; }
.sigillo { display: none; }
.momento { margin: 0 0 0 auto; }

/* ---------- menù a schede ---------- */
.menu-tocca { font-weight: 700; color: var(--prugna) !important; margin-bottom: 8px; }
.carta-cat { padding-top: 12px; }
.carta-cat + .carta-cat { margin-top: 0; }
.carta-cat > h3 { display: block; margin: 0; font-size: inherit; }
.cat-apri {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; min-height: 104px;
  padding: 14px 54px 14px 18px; border: 0; border-radius: 18px; text-align: left; color: #FFF8EC;
  background: linear-gradient(110deg, var(--prugna), #5A1738) center / cover no-repeat;
  box-shadow: var(--ombra); transition: transform .2s, box-shadow .2s;
}
.cat-apri:hover { transform: translateY(-2px); }
.cat-nome { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; font-variation-settings: "SOFT" 100; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.carta-cat > h3 .cat-apri small { margin-top: 2px; font-family: var(--testo); font-weight: 700; font-size: .84rem; color: rgba(255, 248, 236, .9); }
.cat-apri i { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255, 248, 236, .92); transition: transform .3s; }
.cat-apri i::before { content: ""; position: absolute; left: 8px; top: 6px; width: 8px; height: 8px; border-right: 2.4px solid var(--inchiostro); border-bottom: 2.4px solid var(--inchiostro); transform: rotate(45deg); }
.carta-cat.aperta .cat-apri i { transform: rotate(180deg); }
.cat-corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2, .7, .2, 1); }
.carta-cat.aperta .cat-corpo { grid-template-rows: 1fr; }
.cat-dentro { min-height: 0; overflow: hidden; }
.carta-cat.aperta .cat-dentro { padding-top: 6px; }
.piatto[data-k] { cursor: pointer; border-radius: 12px; transition: background .15s; }
.piatto[data-k]:hover { background: rgba(231, 121, 43, .08); }
.piatto.con-foto { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
.piatto-mini { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.piatto-info { min-width: 0; }

.avviso-glutine { margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; background: rgba(110, 29, 66, .08); color: var(--prugna); font-size: .92rem; font-weight: 600; line-height: 1.45; }
.avviso-glutine[hidden] { display: none; }
.conteggio[hidden] { display: none; }
#senza-glutine svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* ---------- scheda del piatto ---------- */
.scheda-piatto { width: min(560px, 100%); max-width: 100%; max-height: 90dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: var(--carta); color: var(--inchiostro); overflow-y: auto; overscroll-behavior: contain; }
.scheda-piatto[open] { animation: scheda-sale .34s cubic-bezier(.2, .8, .2, 1); }
.scheda-piatto::backdrop { background: rgba(24, 14, 8, .62); backdrop-filter: blur(3px); }
@keyframes scheda-sale { from { transform: translateY(46px); opacity: 0; } to { transform: none; opacity: 1; } }
.sp-chiudi { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 250, 242, .94); font-size: 1.6rem; line-height: 1; color: var(--inchiostro); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.sp-foto { margin: 0; aspect-ratio: 16 / 10; background: #F3DDBB; }
.sp-foto img { width: 100%; height: 100%; object-fit: cover; }
.sp-foto.intera img { object-fit: contain; padding: 4%; }
.sp-testo { padding: 20px 20px 26px; }
.sp-testo h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.12; padding-right: 46px; font-variation-settings: "SOFT" 100; }
.sp-prezzo { margin: 6px 0 12px; font-family: var(--display); font-weight: 750; font-size: 1.35rem; color: var(--arancio-testo); }
.sp-desc { color: var(--marrone); }
.sp-testo h4 { margin: 14px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--prugna); }
.sp-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip .chip { min-height: 38px; padding: 6px 13px; font-size: .92rem; }
.sp-chip .chip.attivo { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.sp-altri ul { list-style: none; margin: 0; padding: 0; }
.sp-altri li button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px dashed var(--linea); background: none; text-align: left; font-weight: 650; }
.sp-altri b { color: var(--arancio-testo); white-space: nowrap; }
.sp-avviso { margin: 8px 0 16px; }
.sp-abbina { margin: 0 0 18px; padding: 2px 14px 6px; border-radius: 14px; background: rgba(231, 121, 43, .09); }
.sp-abbina li:last-child button { border-bottom: 0; }
.sp-azioni { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 761px) { .scheda-piatto { margin: auto; border-radius: 24px; } }

/* ---------- galleria Il banco ---------- */
.banco { background: var(--inchiostro); color: var(--crema); padding-bottom: clamp(40px, 6vw, 72px); }
.banco .occhiello { color: var(--arancio-chiaro); }
.banco .sez-testa p:last-child { color: rgba(251, 243, 230, .8); }
.banco-testa { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.banco-testa .sez-testa { margin-bottom: 24px; }
.banco-frecce { display: flex; gap: 8px; margin-bottom: 28px; flex: none; }
.banco-frecce button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(251, 243, 230, .4); background: transparent; color: var(--crema); font-size: 1.2rem; transition: background .2s, color .2s; }
.banco-frecce button:hover { background: var(--crema); color: var(--inchiostro); }
.banco-scorre {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(16px, calc((100vw - 1180px) / 2)) 14px; scroll-padding-inline: max(16px, calc((100vw - 1180px) / 2));
}
.banco-scorre::-webkit-scrollbar { display: none; }
.banco-foto { position: relative; flex: 0 0 min(74vw, 340px); margin: 0; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: #3A2616; opacity: .5; transform: scale(.95); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.banco-foto.vista { opacity: 1; transform: none; }
.banco-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banco-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-family: var(--display); font-style: italic; font-weight: 650; font-size: 1.15rem; color: #FFF8EC; background: linear-gradient(0deg, rgba(20, 10, 4, .78), rgba(20, 10, 4, 0)); }

/* ---------- prefisso ---------- */
.tel-riga { display: grid; grid-template-columns: minmax(96px, auto) minmax(0, 1fr); gap: 8px; }
.tel-riga select { min-height: 50px; padding: 10px 8px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font: inherit; font-size: .95rem; color: var(--inchiostro); }
.lavagna-tutta { display: none; }

/* ---------- telefono: una mano, meno scorrimento ---------- */
@media (max-width: 980px) {
  .hero-in { min-height: 0; }
  .momento { margin: 22px 0 0; width: 100%; }
}
@media (max-width: 760px) {
  /* La foto copre la prima parte, alla sua scala; sotto si prosegue sul fondo scuro. */
  .hero > .hero-foto, .hero::after { bottom: auto; height: 136vw; }
  .hero > .hero-foto { background-image: url("../assets/foto/hero-norma-m.jpg"); background-position: center top; }
  .hero::after { background: linear-gradient(180deg, rgba(28, 18, 11, .03) 0%, rgba(28, 18, 11, .05) 56%, rgba(28, 18, 11, .72) 78%, rgba(28, 18, 11, .96) 92%, #1C120B 100%); }
  .hero-in { padding-top: 104vw; padding-bottom: 26px; }
  .hero > .hero-foto { transform-origin: 52% 58%; translate: none; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 91%); mask-image: linear-gradient(180deg, #000 76%, transparent 91%); }
  .hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
  .hero .cta .primario { grid-column: 1 / -1; }
  .hero .cta .btn { min-width: 0; padding-inline: 8px; font-size: .9rem; white-space: normal; line-height: 1.15; text-align: center; }
  .hero .lead { margin-bottom: 20px; font-size: 1.05rem; }

  .lavagna.ridotta { max-height: 860px; overflow: hidden; position: relative; }
  .lavagna.ridotta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(0deg, #222826, rgba(34, 40, 38, 0)); pointer-events: none; }
  .lavagna-tutta { display: inline-flex; justify-self: center; color: var(--crema); border-color: rgba(251, 243, 230, .6); }
  .lavagna-tutta[hidden] { display: none; }

  /* Sezioni lunghe: schede da sfogliare in orizzontale, con la successiva che si intravede. */
  .giornata-linea, .cucina-pilastri, .voci-lista, .dove-griglia, .capitoli:not(.orizzontale) .capitoli-binario {
    display: flex; gap: 14px; width: auto; margin-inline: -16px; padding: 4px 16px 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
    grid-template-columns: none;
  }
  .giornata-linea::-webkit-scrollbar, .cucina-pilastri::-webkit-scrollbar, .voci-lista::-webkit-scrollbar, .dove-griglia::-webkit-scrollbar, .capitoli-binario::-webkit-scrollbar { display: none; }
  .capitoli:not(.orizzontale) .capitoli-binario { margin-inline: 0; }
  .giornata-linea > *, .cucina-pilastri > *, .voci-lista > *, .dove-griglia > *, .capitoli:not(.orizzontale) .capitolo { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; margin: 0; }
  .giornata-linea::before, .giornata-linea .linea-piena, .tappa-nodo { display: none; }
  .tappa-g, .tappa-g.destra { display: block; padding: 0; }
  .tappa-g .tappa-foto, .tappa-g.destra .tappa-foto { margin-bottom: 12px; aspect-ratio: 4 / 3; height: auto; }
  .dove-griglia { align-items: flex-start; }
  .cucina-foto img { height: 210px; }
  .cucina-motto { display: none; }
  .cucina-azioni { margin-top: 18px; }
  .banco-frecce { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero > .hero-foto { animation: none; }
  .banco-foto { opacity: 1; transform: none; }
}

@media print {
  .testata, .barra-mobile, .nastro, .tenda, .hero-visual, .banco, .prenota, .carta-strumenti { display: none !important; }
  body { background: #fff; }
  html.js .rivela { opacity: 1; transform: none; }
}

/* Onda 3: le altre lingue. */
.nav-lingue { display: none; }
.menu-aperto .nav-lingue { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; }
.menu-aperto .nav-lingue a { padding: 6px 0; font-size: .95rem; }
.invito-lingua { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 420px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 44px 12px 16px; background: var(--carta); border: 1px solid var(--linea); border-radius: 16px; box-shadow: 0 12px 30px rgba(42, 26, 14, .22); }
.invito-lingua[hidden] { display: none; }
.invito-lingua p { margin: 0; flex: 1 1 100%; font-weight: 700; }
.invito-lingua button { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: inherit; cursor: pointer; }
@media (max-width: 760px) { .invito-lingua { left: 12px; right: 12px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* Onda 4: chiusure e condividi. */
.avviso-chiusure { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--inchiostro); color: var(--crema); font-weight: 700; }
.avviso-chiusure[hidden] { display: none; }
#modulo .avviso-chiusure { margin: 8px 0 0; }
.link-condividi { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-condividi[hidden] { display: none; }

/* =========================================================
   Onda 5: la norma, la forchetta, il calzone
   ========================================================= */

/* ---------- la norma: luce calda, vapore, ricotta che cade ---------- */
.hero > .hero-foto::after {
  content: ""; position: absolute; inset: -6%; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 90% at 72% 18%, rgba(255, 176, 92, .85), rgba(255, 150, 70, .28) 52%, rgba(255, 140, 60, 0) 78%);
  animation: luce-calda 13s ease-in-out infinite alternate;
}
@keyframes luce-calda { from { opacity: .62; transform: translate3d(-2%, 0, 0); } to { opacity: 1; transform: translate3d(3%, 2%, 0); } }
.hero-piatto { position: absolute; left: var(--cx, 74%); top: var(--cy, 66%); width: 0; height: 0; }
.hero-piatto i {
  position: absolute; left: calc(var(--x) * var(--k, 1) * 1px - 48px * var(--k, 1)); bottom: calc(10px * var(--k, 1)); width: calc(96px * var(--k, 1)); height: calc(210px * var(--k, 1)); border-radius: 50%; opacity: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 250, 240, .78), rgba(255, 250, 240, 0)); filter: blur(calc(9px * var(--k, 1)));
  animation: vapore-piatto 7.5s var(--r, 0s) ease-out infinite;
}
@keyframes vapore-piatto {
  0% { opacity: 0; transform: translate3d(0, 24%, 0) scale(.55, .6); }
  28% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(var(--v, 8%), -62%, 0) scale(1.25, 1.2); }
}
.hero-piatto b {
  position: absolute; left: calc(var(--x) * var(--k, 1) * 1px); top: calc(var(--y) * var(--k, 1) * 1px); width: calc(var(--d) * var(--k, 1)); height: calc(var(--d) * var(--k, 1) * .62); border-radius: 1px; opacity: 0;
  background: #FFF9EE; box-shadow: 0 1px 2px rgba(60, 30, 10, .35);
  animation: ricotta 8.5s var(--r, 0s) cubic-bezier(.45, .05, .75, .6) infinite;
}
@keyframes ricotta {
  0% { opacity: 0; transform: translate3d(0, -300px, 0) rotate(0); }
  5% { opacity: 1; }
  36% { opacity: 1; transform: translate3d(calc(var(--w) * 1px), 0, 0) rotate(var(--g)); }
  52%, 100% { opacity: 0; transform: translate3d(calc(var(--w) * 1px), 0, 0) rotate(var(--g)); }
}
.hero.dorme .hero-foto::after, .hero.dorme .hero-piatto * { animation-play-state: paused; }
/* Al computer il riquadro dell'ora si fa piccolo: il piatto deve vedersi. */
@media (min-width: 981px) {
  .hero .momento { width: 300px; padding: 14px 18px; }
  .hero .momento h2 { font-size: 1.2rem; margin-bottom: 4px; }
  .hero .momento-ora { margin-bottom: 4px; font-size: .74rem; }
  .hero #momento-testo, .hero .momento-piatti { display: none; }
  .hero .momento .link-freccia { font-size: .92rem; }
  .hero-in { padding-bottom: 20px; }
}
@media (min-width: 1300px) { .hero .momento { margin-right: -58px; } }

/* Tablet in verticale: come il telefono, la foto sopra e il testo sotto, così il piatto resta libero. */
@media (min-width: 761px) and (max-width: 980px) {
  .hero > .hero-foto, .hero::after { bottom: auto; height: 118vw; }
  .hero > .hero-foto { background-image: url("../assets/foto/hero-norma-m.jpg"); background-position: center top; transform-origin: 52% 58%; translate: none; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 91%); mask-image: linear-gradient(180deg, #000 76%, transparent 91%); }
  .hero::after { background: linear-gradient(180deg, rgba(28, 18, 11, .03) 0%, rgba(28, 18, 11, .05) 60%, rgba(28, 18, 11, .72) 80%, rgba(28, 18, 11, .96) 92%, #1C120B 100%); }
  .hero-in { padding-top: 92vw; }
}

/* ---------- il tratto a mano sotto i titoli ---------- */
.sgorbio { display: block; width: min(210px, 58%); height: 14px; margin: -8px 0 18px; overflow: visible; }
.sgorbio path { fill: none; stroke: var(--arancio); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.15s .3s cubic-bezier(.6, .1, .3, 1), opacity .1s .3s; }
.visto > .sgorbio path { stroke-dashoffset: 0; opacity: 1; }
.oggi .sgorbio path, .banco .sgorbio path { stroke: var(--arancio-chiaro); }

/* ---------- le foto entrano come una tenda che si alza ---------- */
.cucina-foto { overflow: hidden; }
html.js .cucina-foto.rivela { transform: none; }
html.js .cucina-foto.rivela img { clip-path: inset(0 0 100% 0 round 18px); transform: scale(1.14); transition: clip-path 1.25s cubic-bezier(.2, .8, .2, 1), transform 2.6s cubic-bezier(.2, .7, .2, 1); }
html.js .cucina-foto.rivela.visto img { clip-path: inset(0 0 0 0 round 18px); transform: none; }

/* ---------- la forchetta nella vongola ---------- */
.boccone { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(90% 120% at 30% 60%, #3A2010 0%, #24140A 52%, #170D07 100%); color: var(--crema); }
.boccone-foto { position: absolute; left: 0; top: 0; bottom: 0; width: min(74%, 1240px); margin: 0; overflow: hidden; z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
.boccone-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; transform: scale(calc(1.2 - .2 * var(--p, 1))); will-change: transform; }
/* La luce si apre dalla forchetta verso i bordi. */
.boccone-luce { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--fx, 46%) var(--fy, 62%), rgba(23, 13, 7, 0) 22%, rgba(23, 13, 7, .5) 52%, rgba(23, 13, 7, .78) 100%); }
html.js .boccone-luce::before { content: ""; position: absolute; left: var(--fx, 46%); top: var(--fy, 62%); width: 340vmax; height: 340vmax; margin: -170vmax 0 0 -170vmax; border-radius: 50%; background: radial-gradient(circle, rgba(23, 13, 7, 0) 7%, #170D07 9.5%); transform: scale(.42); opacity: 1; }
html.js .boccone.acceso .boccone-luce::before { transform: scale(1.7); opacity: 0; transition: transform 2s cubic-bezier(.5, 0, .2, 1), opacity .7s 1.4s; }
.boccone-in { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; min-height: min(92vh, 820px); padding: clamp(56px, 7vw, 88px) 0; }
.boccone-testo { width: min(460px, 40%); }
.boccone-testo .occhiello { color: var(--arancio-chiaro); }
.boccone-testo .rombi { fill: var(--arancio-chiaro); }
.boccone-tit { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 4.7vw, 4.3rem); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 0; margin: 0 0 22px; color: #FFF8EC; }
.boccone-tit .riga { display: block; overflow: hidden; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.boccone-tit .riga-in { display: block; }
.boccone-tit em { font-style: italic; color: #F7A566; font-variation-settings: "SOFT" 100, "WONK" 1; }
html.js .boccone-testo .riga-in { transform: translateY(112%); transition: transform 1.05s cubic-bezier(.2, .8, .2, 1); }
html.js .boccone-testo.visto .riga-in { transform: none; }
html.js .boccone-testo.visto .riga:nth-child(2) .riga-in { transition-delay: .16s; }
html.js .boccone-testo.visto .riga:nth-child(3) .riga-in { transition-delay: .32s; }
.boccone-testo > p:not(.occhiello) { color: rgba(251, 243, 230, .84); font-size: 1.1rem; }
.boccone-testo .btn { color: var(--crema); border-color: rgba(251, 243, 230, .6); background: rgba(24, 14, 8, .3); margin-top: 8px; }
.boccone-testo .btn:hover { background: var(--crema); color: var(--inchiostro); }
@media (max-width: 760px) {
  .boccone-foto { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: 92vw; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
  .boccone-foto img { object-position: 46% 60%; }
  .boccone-in { display: block; min-height: 0; padding: 26px 0 54px; }
  .boccone-testo { width: 100%; }
  .boccone-tit { font-size: clamp(2.5rem, 12vw, 3.4rem); }
}

/* ---------- il forno del calzone ---------- */
.forno { position: relative; overflow: hidden; color: #FFF6E8; background: radial-gradient(70% 90% at 26% 56%, #E07A2A 0%, #BE591C 46%, #8F3A12 100%); }
.forno::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(0deg, rgba(70, 24, 6, .16) 0 2px, transparent 2px 44px), repeating-linear-gradient(90deg, rgba(70, 24, 6, .1) 0 2px, transparent 2px 96px); -webkit-mask-image: linear-gradient(90deg, #000, transparent 58%); mask-image: linear-gradient(90deg, #000, transparent 58%); }
.forno-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 7vw, 104px); align-items: center; padding: clamp(56px, 7vw, 92px) 0; }
.forno-bocca { position: relative; margin: 0; --l: clamp(250px, 25vw, 340px); width: var(--l); justify-self: center; }
.forno-bocca::before { content: ""; position: absolute; inset: -70px -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 96, .9), rgba(255, 140, 50, .34) 56%, rgba(255, 120, 40, 0)); filter: blur(8px); animation: brace 3.8s ease-in-out infinite alternate; }
@keyframes brace { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.05); } }
.forno-arco { position: relative; padding: 16px 16px 0; border-radius: calc(var(--l) / 2) calc(var(--l) / 2) 10px 10px; background: repeating-conic-gradient(from -90deg at 50% calc(var(--l) / 2), #6A2B10 0 7.2deg, #3E1809 7.2deg 8deg); box-shadow: 0 26px 46px -18px rgba(40, 12, 2, .7); }
.forno-arco video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 14.4; object-fit: cover; border-radius: calc(var(--l) / 2 - 16px) calc(var(--l) / 2 - 16px) 0 0; background: #1C0C04; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .4); }
.forno-soglia { display: block; height: 16px; margin: 0 -24px; border-radius: 6px 6px 12px 12px; background: linear-gradient(180deg, #8A6B4E, #4F3A28); box-shadow: 0 10px 18px -6px rgba(30, 10, 2, .6); position: relative; }
.forno-fase { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 7px 15px; border-radius: 999px; white-space: nowrap; background: rgba(28, 14, 6, .74); color: #FFF3DF; font-family: var(--display); font-style: italic; font-weight: 650; font-size: 1.02rem; backdrop-filter: blur(4px); transition: opacity .3s; }
.forno-fase:empty { opacity: 0; }
.forno-fase.cambia { animation: fase-entra .46s cubic-bezier(.2, .8, .2, 1); }
@keyframes fase-entra { from { opacity: 0; transform: translate(-50%, 9px); } to { opacity: 1; transform: translate(-50%, 0); } }
.forno-tasto { position: absolute; right: 26px; bottom: 80px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 248, 236, .92); color: var(--inchiostro); box-shadow: 0 4px 14px rgba(30, 10, 2, .4); display: grid; place-items: center; }
.forno-tasto svg { width: 18px; height: 18px; fill: currentColor; }
.forno-scintille { position: absolute; left: -34%; right: -34%; top: 0; height: 100%; z-index: 2; pointer-events: none; }
.forno-scintille i { position: absolute; left: var(--x); bottom: 8%; width: var(--d); height: var(--d); border-radius: 50%; background: #FFD98A; box-shadow: 0 0 8px 2px rgba(255, 170, 70, .85); opacity: 0; animation: scintilla var(--t) var(--r) linear infinite; }
@keyframes scintilla {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--v), -360px, 0); }
}
.forno.dorme .forno-bocca::before, .forno.dorme .forno-scintille i { animation-play-state: paused; }
.forno .occhiello { color: #FFE2BE; }
.forno .rombi { fill: #FFE2BE; }
.forno-titolo { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 0; margin-bottom: 18px; color: #FFF8EC; }
.forno-titolo em { display: block; font-style: italic; color: #FFD79A; font-variation-settings: "SOFT" 100, "WONK" 1; }
.forno .sgorbio path { stroke: #FFD79A; }
.forno-testo > p:not(.occhiello):not(.forno-prezzo) { max-width: 46ch; font-size: 1.12rem; color: rgba(255, 246, 232, .94); }
.forno-prezzo { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 20px; font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: #FFF8EC; font-variation-settings: "SOFT" 100; }
.forno-prezzo small { font-family: var(--testo); font-weight: 700; font-size: .92rem; color: rgba(255, 246, 232, .86); }
.forno .btn.primario { background: #FFF6E8; border-color: #FFF6E8; color: #4A1E08; }
.forno .btn.primario:hover { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.forno .btn:not(.primario) { color: #FFF6E8; border-color: rgba(255, 246, 232, .7); background: transparent; }
.forno .btn:not(.primario):hover { background: #FFF6E8; color: #4A1E08; }
@media (max-width: 760px) {
  .forno-in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 52px 0 56px; }
  .forno-testo { order: -1; }
  .forno-bocca { --l: min(72vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero > .hero-foto::after, .forno-bocca::before { animation: none; }
  .hero-piatto, .forno-scintille { display: none; }
  html.js .boccone-luce::before { display: none; }
  html.js .boccone-testo .riga-in { transform: none; transition: none; }
  html.js .cucina-foto.rivela img { clip-path: none; transform: none; transition: none; }
  .sgorbio path { stroke-dashoffset: 0; opacity: 1; transition: none; }
}
@media print { .forno-tasto, .forno-scintille, .hero-piatto { display: none !important; } }
