/* =========================================================
   TABISCA — stile
   Palette: farina, nero carbone, rosso Tabisca, verde petrolio (panche del nuovo locale)
   ========================================================= */

@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(/assets/fonts/bigshoulders-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(/assets/fonts/bigshoulders-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/hanken-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/hanken-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/instrument-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F3ECE1;
  --paper-2: #EADFCE;
  --paper-3: #FFFAF2;
  --ink: #16110F;
  --ink-2: #211A17;
  --ink-3: #2E2521;
  --red: #D63F39;
  --red-btn: #C2302A;
  --red-hi: #F0594E;
  --teal: #163D3F;
  --teal-2: #1E4F51;
  --crust: #E7A653;
  --muted: #6A5E55;
  --muted-d: #B8ACA1;
  --line: rgba(22, 17, 15, .14);
  --line-d: rgba(243, 236, 225, .16);

  --f-display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: 16px;
  --wrap: 1240px;
  --radius: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 36px; --header-h: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- tipografia ---------- */
.eyebrow { font-family: var(--f-body); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px; color: var(--red); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.sec--ink .eyebrow, .sec--teal .eyebrow { color: var(--red-hi); }
.sec--red .eyebrow { color: var(--paper); }
.h2 { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .9; letter-spacing: -.004em; text-wrap: balance; }
.h2 em, .hero-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--red); font-size: 1.06em; line-height: .8; }
.sec--ink .h2 em, .sec--teal .h2 em { color: var(--red-hi); }
.sec--red .h2 em { color: var(--ink); }
.h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; letter-spacing: .005em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 62ch; color: var(--muted); }
.sec--ink .lead, .sec--teal .lead { color: var(--muted-d); }
.sec--red .lead { color: rgba(255, 245, 235, .9); }

/* ---------- bottoni ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { --bg: var(--red-btn); --fg: #fff; box-shadow: 0 10px 24px -12px rgba(194, 48, 42, .7); }
.btn--red:hover { --bg: #a92722; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: currentColor; }
.btn--line:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.btn--line-light { --bg: transparent; --fg: var(--paper); border-color: rgba(243, 236, 225, .55); }
.btn--line-light:hover { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line-d); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.round-btn:hover { background: var(--paper); color: var(--ink); }

/* ---------- motivo "morso" ---------- */
.bitten {
  -webkit-mask: url(/assets/img/morso.svg) top right / var(--bite, 96px) var(--bite, 96px) no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
/* lo sfondo sfocato sta su un livello a parte: un backdrop-filter sull'header intrappolerebbe il menu mobile (position: fixed) */
.site-header::before { content: ''; position: absolute; inset: 0; background: rgba(243, 236, 225, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; }
.site-header.is-scrolled::before { opacity: 1; }
.header-in { position: relative; height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 118px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 136px; } }
.main-nav ul { display: flex; gap: clamp(14px, 1.7vw, 28px); }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .98rem; position: relative; padding: 6px 0; }
.main-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.drawer-foot { display: none; }
.header-call span { font-variant-numeric: tabular-nums; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 50%; position: relative; cursor: pointer; flex: none; }
.burger span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: block; z-index: 2; }
  .header-call { padding: 0; width: 46px; min-height: 46px; height: 46px; z-index: 2; }
  .header-call span { display: none; }
  .main-nav { position: fixed; inset: 0; z-index: 1; background: var(--paper); padding: calc(var(--header-h) + 28px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.12; display: inline-block; }
  .main-nav.is-open li { animation: navIn .5s var(--ease) both; }
  .main-nav.is-open li:nth-child(2) { animation-delay: .04s; } .main-nav.is-open li:nth-child(3) { animation-delay: .08s; }
  .main-nav.is-open li:nth-child(4) { animation-delay: .12s; } .main-nav.is-open li:nth-child(5) { animation-delay: .16s; }
  .main-nav.is-open li:nth-child(6) { animation-delay: .2s; }
  .drawer-foot { display: block; margin-top: 32px; }
  .drawer-meta { margin: 14px 0 4px; color: var(--muted); }
  .drawer-foot .social a { font-weight: 700; }
  .brand { position: relative; z-index: 2; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(16px); } }
body.nav-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 18px) 0 64px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(60% 55% at 76% 46%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%),
    radial-gradient(50% 60% at 10% 95%, rgba(214, 63, 57, .09), transparent 70%),
    var(--paper); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 22px; color: var(--muted); }
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(214, 63, 57, .15); }
.hero-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.6rem, 8.4vw, 9.4rem); line-height: .84; letter-spacing: -.01em; margin: 0 0 26px; }
.ht { display: block; overflow: hidden; padding-bottom: .04em; }
.ht > span { display: block; }
.js .ht > span { transform: translateY(105%); animation: htIn 1s var(--ease) forwards; }
.js .ht:nth-child(3) > span { animation-delay: .08s; }
.js .ht:nth-child(4) > span { animation-delay: .16s; }
@keyframes htIn { to { transform: none; } }
.hero-title em { display: inline-block; font-size: 1.12em; padding-right: .06em; position: relative; }
.ht-morso { transition: transform .2s; }
.ht-morso.is-bitten { animation: wordChomp .42s var(--ease); }
@keyframes wordChomp { 25% { transform: scale(.94, .9) rotate(-2deg); } 60% { transform: scale(1.04) rotate(1deg); } }
.hero-lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); max-width: 46ch; color: var(--muted); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.open-pill { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; font-weight: 650; font-size: .95rem; }
.open-pill::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #2f9e57; box-shadow: 0 0 0 0 rgba(47, 158, 87, .5); animation: pulse 2s infinite; }
.open-pill.is-closed::before { background: var(--red); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 158, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 87, 0); } }
.open-pill--big { font-size: 1.05rem; margin: 6px 0 22px; }

/* stage del morso */
.hero-stage { position: relative; width: 100%; max-width: 660px; justify-self: center; display: flex; flex-direction: column; align-items: center; }
.stage-sq { position: relative; width: 100%; aspect-ratio: 1; }
.stage-sq > * { position: absolute; }
.stage-sq::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 46px 70px -24px rgba(60, 30, 15, .55), 0 18px 28px -14px rgba(60, 30, 15, .45); transform: translateY(1.2%); }
.ring-text { inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 60s linear infinite; }
.ring-text text { font-family: var(--f-display); font-weight: 800; font-size: 38px; letter-spacing: 4px; fill: var(--ink); opacity: .62; }
@keyframes spin { to { transform: rotate(360deg); } }
.plate { inset: 0; width: 100%; height: 100%; will-change: transform; }
.plate-glow { opacity: 0; transition: opacity .25s; }
.hero-stage.is-empty .plate-glow { animation: neonOn 1.6s steps(1) forwards, neonHum 3.2s 1.6s ease-in-out infinite alternate; }
@keyframes neonOn { 0% { opacity: 0; } 12% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: 1; } 36% { opacity: .25; } 48%, 100% { opacity: 1; } }
@keyframes neonHum { to { opacity: .82; } }
.pizza-img, .pizza-cv { inset: 0; width: 100%; height: 100%; }
.pizza-img { inset: 15.5%; width: 69%; height: 69%; border-radius: 50%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.pizza-cv { z-index: 2; touch-action: manipulation; }
.hero-stage.is-ready .pizza-img { visibility: hidden; }
.hero-stage.is-interactive .pizza-cv { cursor: url(/assets/img/cursore-morso.svg) 22 22, pointer; }
.hero-stage.chomp .stage-sq { animation: chomp .22s var(--ease); }
@keyframes chomp { 30% { transform: translate(1.5px, 2px) scale(.994); } 60% { transform: translate(-1px, -1px); } }
.steam { inset: 22% 26% 40%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s; }
.hero-stage.is-hot .steam { opacity: 1; }
.steam i { position: absolute; bottom: 0; width: 26%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); filter: blur(6px); opacity: 0; animation: steam 3.4s ease-in infinite; }
.steam i:nth-child(1) { left: 12%; }
.steam i:nth-child(2) { left: 40%; animation-delay: 1.1s; }
.steam i:nth-child(3) { left: 66%; animation-delay: 2.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(30%) scaleX(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-60%) scaleX(1.25); } }
.stage-ui { position: relative; min-height: 104px; margin-top: 2px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.stage-msg { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1.45rem; line-height: 1.1; min-height: 1.1em; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.stage-msg.is-on { opacity: 1; transform: none; }
.stage-btns { display: flex; gap: 10px; }
.stage-btns .btn[hidden] { display: none; }
.stage-bite-btn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stage-bite-btn:focus-visible { position: static; width: auto; height: auto; clip: auto; }

.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid var(--ink); border-radius: 14px; transform: translateX(-50%); opacity: .55; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 859px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 14px); padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .kicker { order: 1; margin-bottom: 14px; }
  .hero-title { order: 2; font-size: clamp(3.1rem, 15.5vw, 5.4rem); margin-bottom: 4px; }
  .hero-stage { order: 3; max-width: 470px; margin: 0 auto 6px; }
  .hero-lead { order: 4; margin-bottom: 22px; }
  .hero-cta { order: 5; }
  .hero-cta .btn { flex: 1 1 210px; }
  .open-pill { order: 6; }
  .scroll-cue { display: none; }
  .stage-msg { font-size: 1.25rem; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--paper); overflow: hidden; padding: 14px 0; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1; padding: 0 22px; white-space: nowrap; }
.mq-bite { width: .9em; height: .9em; font-size: clamp(1.7rem, 3.4vw, 2.7rem); border-radius: 50%; background: var(--paper); --bite: 60%;
  -webkit-mask: url(/assets/img/morso.svg) top right / 60% 60% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sezioni ---------- */
.sec { position: relative; padding-block: clamp(76px, 10vw, 140px); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--paper { background: var(--paper); }
.sec--teal { background: var(--teal); color: var(--paper); }
.sec--red { background: var(--red-btn); color: #fff; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head .h2 { margin-bottom: 18px; }
.sec-head.row .h2 { margin-bottom: 0; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- il locale ---------- */
.locale-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.locale-head .h2 { margin-bottom: 22px; }
.locale-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: clamp(16px, 2.4vw, 28px); }
.ph { border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--tall { grid-row: 1 / span 2; aspect-ratio: 3 / 4; --bite: 120px; }
.ph--wide { aspect-ratio: 16 / 10; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-content: start; }
.fact { border: 1px solid var(--line-d); border-radius: 20px; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.fact-n { font-family: var(--f-display); font-weight: 900; font-size: 3.1rem; line-height: .9; color: var(--red-hi); }
.fact-n small { font-size: .5em; margin-left: 2px; }
.fact-t { color: var(--muted-d); font-size: .98rem; line-height: 1.5; }
.fact-t b { color: var(--paper); }
.fact-buns { display: flex; gap: 6px; height: 2.8rem; align-items: center; }
.fact-buns i { width: 34px; height: 26px; border-radius: 17px 17px 8px 8px; background: #d9a35b; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .18); }
.fact-buns i:nth-child(2) { background: #2b2624; }
.fact-buns i:nth-child(3) { background: #c8322c; }
.fact-buns i:nth-child(4) { background: linear-gradient(90deg, #f2c230 50%, #3a7bd5 50%); }
.js .fact-buns i { animation: bun 2.6s var(--ease) infinite; }
.js .fact-buns i:nth-child(2) { animation-delay: .15s; } .js .fact-buns i:nth-child(3) { animation-delay: .3s; } .js .fact-buns i:nth-child(4) { animation-delay: .45s; }
@keyframes bun { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-7px); } 80% { transform: translateY(0) scaleY(.92); } }

@media (max-width: 859px) {
  .locale-grid { grid-template-columns: 1fr; }
  .ph--tall { grid-row: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact { flex-direction: row; align-items: center; gap: 16px; } .fact-n { min-width: 86px; font-size: 2.6rem; } .fact-buns { min-width: 86px; height: auto; gap: 3px; } .fact-buns i { width: 19px; height: 15px; border-radius: 10px 10px 5px 5px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); } }

/* ---------- pizza o burger ---------- */
.vs { --pos: 50%; position: relative; aspect-ratio: 16 / 8.2; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--ink); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; box-shadow: 0 40px 60px -40px rgba(60, 30, 15, .6); }
.vs-side { position: absolute; inset: 0; }
.vs-side img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vs-b { clip-path: inset(0 0 0 var(--pos)); }
.vs-side figcaption { position: absolute; top: 22px; }
.vs-a figcaption { left: 22px; }
.vs-b figcaption { right: 22px; }
.vs-label { display: inline-block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1; color: var(--paper); background: rgba(22, 17, 15, .72); padding: 8px 16px 10px; border-radius: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vs-b .vs-label { background: var(--red-btn); }
.vs-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--paper); box-shadow: 0 0 18px rgba(0, 0, 0, .4); pointer-events: none; }
.vs-knob { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.vs-knob .i { width: 28px; height: 28px; }
.vs-range { position: absolute; inset: auto 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.vs:focus-within .vs-knob { outline: 3px solid var(--red); outline-offset: 3px; }
.vs-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); margin-top: clamp(32px, 4vw, 52px); }
.vs-col .h3 { font-size: 2.1rem; margin-bottom: 12px; }
.vs-col p { color: var(--muted); }
@media (max-width: 759px) { .vs { aspect-ratio: 4 / 5; } .vs-text { grid-template-columns: 1fr; } .vs-knob { width: 54px; height: 54px; margin: -27px 0 0 -27px; } }

/* ---------- specialità ---------- */
.special .sec-head { margin-bottom: 36px; }
.car-nav { display: flex; gap: 10px; }
.car { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px; scrollbar-width: none; cursor: grab; }
.car::-webkit-scrollbar { display: none; }
.car.is-drag { cursor: grabbing; scroll-snap-type: none; }
.card { flex: 0 0 clamp(262px, 28vw, 350px); scroll-snap-align: start; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-d); }
.card-ph, .card-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card-ph { --bite: 84px; }
.card-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.card:hover .card-ph img { transform: scale(1.06); }
.card-b { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-k { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 8px; }
.card .h3 { font-size: 2rem; margin-bottom: 10px; }
.card-b p:not(.card-k):not(.card-p) { color: var(--muted-d); font-size: .98rem; line-height: 1.55; }
.card-p { margin: auto 0 0; padding-top: 8px; font-family: var(--f-display); font-weight: 850; font-size: 1.6rem; color: var(--paper); }
.card-p:empty { display: none; }
.card-word { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 245, 235, .65); }
.card--inferno .card-art { background: radial-gradient(70% 60% at 50% 100%, #ff6a2a, #b81d14 45%, #2a0b08 80%); }
.flame { position: absolute; bottom: -10%; width: 34%; height: 80%; border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%; background: radial-gradient(60% 70% at 50% 75%, #ffd27a, #ff8a2a 45%, rgba(255, 60, 20, 0) 75%); filter: blur(4px); transform-origin: 50% 100%; animation: flick 1.6s ease-in-out infinite alternate; }
.f1 { left: 8%; } .f2 { left: 33%; height: 100%; animation-delay: .4s; } .f3 { left: 58%; animation-delay: .8s; }
@keyframes flick { 0% { transform: scaleY(.85) skewX(-4deg); } 50% { transform: scaleY(1.06) skewX(3deg); } 100% { transform: scaleY(.92) skewX(-2deg); } }
.card--trinita .card-art { background: #EADFCE; display: flex; align-items: center; justify-content: center; gap: 4%; }
.bun { position: relative; width: 26%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .14), 0 12px 18px -8px rgba(0, 0, 0, .35); }
.bun::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(circle, rgba(255, 250, 235, .9) 1.4px, transparent 1.8px); background-size: 12px 10px; opacity: .65; -webkit-mask: radial-gradient(circle at 40% 35%, #000 40%, transparent 65%); mask: radial-gradient(circle at 40% 35%, #000 40%, transparent 65%); }
.b-red { background: #c8322c; } .b-blue { background: #3a7bd5; } .b-yel { background: #f2c230; }
.js .card--trinita .bun { animation: bun 2.4s var(--ease) infinite; }
.js .card--trinita .b-blue { animation-delay: .18s; } .js .card--trinita .b-yel { animation-delay: .36s; }
.card--red .card-art { background: #1d1715; display: grid; place-items: center; }
.b-big { position: absolute; width: 56%; left: 22%; top: 12%; background: #c8322c; }
.card--red .card-word { color: transparent; }
.card--tabig .card-art { background: #EADFCE; display: grid; place-items: center; }
.stack { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 54%; }
.stack i { display: block; width: 100%; height: 14px; border-radius: 8px; }
.stack i:nth-child(1) { height: 34px; border-radius: 40px 40px 8px 8px; background: #d9a35b; }
.stack i:nth-child(2) { background: #f2c230; width: 106%; height: 8px; }
.stack i:nth-child(3) { background: #5a2e1d; height: 18px; }
.stack i:nth-child(4) { background: #c8322c; height: 8px; width: 98%; }
.stack i:nth-child(5) { background: #5a2e1d; height: 18px; }
.stack i:nth-child(6) { height: 20px; border-radius: 8px 8px 20px 20px; background: #d9a35b; }
.js .stack i { animation: stackIn 3s var(--ease) infinite; }
.js .stack i:nth-child(2) { animation-delay: .06s; } .js .stack i:nth-child(3) { animation-delay: .12s; } .js .stack i:nth-child(4) { animation-delay: .18s; } .js .stack i:nth-child(5) { animation-delay: .24s; } .js .stack i:nth-child(6) { animation-delay: .3s; }
@keyframes stackIn { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-6px); } 86% { transform: translateY(1px); } }

/* ---------- menu ---------- */
.menu-search { position: relative; flex: 0 1 380px; }
.menu-search .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.menu-search input { width: 100%; min-height: 54px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper-3); padding: 12px 20px 12px 50px; font: inherit; font-size: 1rem; color: var(--ink); }
.menu-search input::placeholder { color: #8d8178; }
.placemat { position: relative; background: var(--paper-3); border-radius: calc(var(--radius) + 4px); padding: clamp(18px, 3.4vw, 46px); box-shadow: 0 30px 60px -40px rgba(60, 30, 15, .45); outline: 2px solid var(--red); outline-offset: -12px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 18px; margin: 0 -4px 10px; border-bottom: 2px dotted rgba(214, 63, 57, .45); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 2px solid var(--ink); background: transparent; border-radius: 999px; min-height: 44px; padding: 6px 18px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { background: var(--paper-2); }
.tab[aria-selected="true"] { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.menu-cat-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 18px 0 18px; }
.menu-cat-h h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--red); }
.menu-cat-h p { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--muted); }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.mi { padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.menu-more { display: flex; justify-content: center; margin: 22px 0 4px; }
.menu-list.is-clipped .mi:nth-child(n+11) { display: none; }
.mi-top { display: flex; align-items: baseline; gap: 10px; }
.mi-name { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.42rem; line-height: 1.05; }
.mi-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(22, 17, 15, .35); transform: translateY(-5px); }
.mi-price { font-family: var(--f-display); font-weight: 850; font-size: 1.32rem; white-space: nowrap; }
.mi-price small { font-family: var(--f-body); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; color: var(--muted); }
.mi-ing { margin: 4px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.mi-ing mark, .mi-name mark { background: rgba(240, 89, 78, .25); color: inherit; border-radius: 3px; padding: 0 2px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px 3px; border-radius: 999px; font-family: var(--f-body); font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; position: relative; top: -3px; }
.tag--piccante { background: rgba(214, 63, 57, .14); color: #a92722; }
.tag--carbone { background: var(--ink); color: var(--paper); }
.tag--integrale { background: #c79a62; color: var(--ink); }
.menu-empty { padding: 30px 0; font-size: 1.1rem; color: var(--muted); }
.menu-result-h { margin: 12px 0 0; color: var(--muted); }
.menu-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; margin-top: 28px; padding-top: 22px; border-top: 2px dotted rgba(214, 63, 57, .45); font-size: .92rem; color: var(--muted); }
.menu-notes p { margin: 0; }
.menu-notes b { color: var(--ink); }
.menu-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
@media (max-width: 759px) {
  .menu-list { grid-template-columns: 1fr; }
  .menu-notes { grid-template-columns: 1fr; }
  .placemat { outline-offset: -8px; }
  .menu-cta .btn { width: 100%; white-space: normal; }
  .menu-search { flex-basis: 100%; }
}

/* ---------- bar ---------- */
.bar { overflow: hidden; }
.bar::before { content: ''; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), transparent); pointer-events: none; }
.day { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); }
.day-ph { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--teal-2); }
.day-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.day-card:hover .day-ph img { transform: scale(1.05); }
.day-time { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--crust); margin: 0 0 4px; }
.day-card .h3 { font-size: 2rem; margin-bottom: 8px; }
.day-card p:last-child { color: rgba(243, 236, 225, .78); }
.bar-sport { display: flex; align-items: center; gap: 12px; margin: clamp(34px, 5vw, 56px) 0 0; padding: 18px 22px; border: 1px solid var(--line-d); border-radius: 18px; font-weight: 600; }
.bar-sport .i { width: 26px; height: 26px; color: var(--crust); }
@media (max-width: 859px) {
  .day { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .day::-webkit-scrollbar { display: none; }
  .day-card { scroll-snap-align: start; }
}

/* ---------- galleria ---------- */
.gal { columns: 4 230px; column-gap: clamp(12px, 1.6vw, 20px); }
.gal-i { display: block; margin-bottom: clamp(12px, 1.6vw, 20px); border-radius: 20px; overflow: hidden; break-inside: avoid; background: var(--ink-3); position: relative; }
.gal-i img { width: 100%; transition: transform .9s var(--ease), filter .4s; }
.gal-i:hover img { transform: scale(1.05); }
.gal-i:nth-child(4n+2), .gal-i:nth-child(7n) { --bite: 76px;
  -webkit-mask: url(/assets/img/morso.svg) top right / var(--bite) var(--bite) no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (max-width: 599px) { .gal { columns: 2; } .gal-i { border-radius: 14px; } .gal-i:nth-child(4n+2), .gal-i:nth-child(7n) { --bite: 54px; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 9, 8, .96); color: var(--paper); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12, 9, 8, .85); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82dvh; width: auto; height: auto; border-radius: 14px; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; padding: 0 70px; margin: 0; font-size: .95rem; color: var(--muted-d); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(243, 236, 225, .12); color: var(--paper); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(243, 236, 225, .24); }
.lb-close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- recensioni ---------- */
.rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.rate { background: var(--paper-3); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.rate:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(60, 30, 15, .5); }
.rate-src { font-weight: 750; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.rate-n { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.6rem, 6vw, 5.2rem); line-height: .95; color: var(--red); }
.rate-stars { --v: 80%; width: 112px; height: 20px; background: linear-gradient(90deg, var(--crust) var(--v), rgba(22, 17, 15, .15) var(--v));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") left / 22.4px 20px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") left / 22.4px 20px repeat-x; }
.rate-c { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.rate-go { margin-top: auto; padding-top: 12px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 480px) { .rate-go-x { display: none; } }
.rates-note { text-align: center; color: var(--muted); margin: 30px auto 0; max-width: 60ch; }
.rates-note a { font-weight: 700; color: var(--ink); }
@media (max-width: 899px) { .rates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .rate { padding: 20px 16px; } .rate-stars { width: 90px; height: 16px; -webkit-mask-size: 18px 16px; mask-size: 18px 16px; } }

/* ---------- ordina ---------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.order .h2 { margin-bottom: 20px; }
.order-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.order-apps { color: rgba(255, 245, 235, .9); margin: 0; }
.order-apps a { font-weight: 700; color: #fff; }
.order-ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; --bite: 130px; }
.order-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 859px) { .order-grid { grid-template-columns: 1fr; } .order-btns .btn { flex: 1 1 230px; } .order-ph { --bite: 90px; } }

/* ---------- dove siamo ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit .h2 { margin-bottom: 20px; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 1.02rem; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 800; color: var(--red-btn); }
.hours tr.is-today td:first-child::after { content: 'oggi'; margin-left: 10px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--red-btn); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.visit-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.visit-note { color: var(--muted); }
.map { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3.6; background: var(--ink-2); color: var(--paper); position: sticky; top: calc(var(--header-h) + 20px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; gap: 16px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--paper); }
.map-pin { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: 0 0 0 10px rgba(240, 89, 78, .18), 0 0 0 22px rgba(240, 89, 78, .08); animation: pinBob 2.4s ease-in-out infinite; }
@keyframes pinBob { 50% { transform: translateY(-6px); } }
.map-txt { position: relative; max-width: 40ch; font-size: .9rem; color: var(--muted-d); margin: 0; }
.map-txt a { color: var(--paper); }
.map-cover .btn { position: relative; --bg: var(--paper); --fg: var(--ink); }
@media (max-width: 859px) { .visit-grid { grid-template-columns: 1fr; } .map { position: relative; top: 0; aspect-ratio: 4 / 4.2; } .visit-btns .btn { flex: 1 1 220px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 100px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
.foot-brand img { width: 170px; }
.foot-h { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; margin-bottom: 12px; color: var(--red-hi); }
.foot-col p { color: var(--muted-d); margin-bottom: 10px; }
.foot-col a { color: var(--paper); text-decoration: none; font-weight: 650; }
.foot-col a:hover { text-decoration: underline; }
.foot-social { display: flex; flex-direction: column; gap: 10px; }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .86rem; color: var(--muted-d); }
.foot-legal p { margin: 0; }
.foot-links a { color: var(--paper); }
@media (max-width: 859px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- barra azioni mobile ---------- */
.actionbar { display: none; }
@media (max-width: 859px) {
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40; background: var(--ink); border-radius: 22px; padding: 6px; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .55); transform: translateY(150%); transition: transform .45s var(--ease); }
  .actionbar.is-visible { transform: none; }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; color: var(--paper); text-decoration: none; font-size: .78rem; font-weight: 700; border-radius: 16px; }
  .actionbar a:first-child { background: var(--red-btn); }
  .actionbar .i { width: 22px; height: 22px; }
  .site-footer { padding-bottom: 104px; }
  body.nav-open .actionbar { transform: translateY(150%); }
}

/* ---------- pagine legali ---------- */
.legal-page { padding: calc(var(--header-h) + 48px) 0 90px; }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: .92; margin-bottom: 14px; }
.legal-page h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin: 40px 0 10px; }
.legal-page p, .legal-page li { color: #3f3530; }
.legal-page ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal-page li { margin-bottom: 6px; }
.legal-page .updated { color: var(--muted); font-size: .92rem; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.legal-page th, .legal-page td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-page td, .legal-page th { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .legal-page table, .legal-page tbody, .legal-page tr, .legal-page td { display: block; width: 100%; }
  .legal-page thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-page tr { border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; margin-bottom: 12px; background: var(--paper-3); }
  .legal-page td { border-bottom: 1px dashed var(--line); padding: 8px 0; }
  .legal-page td:last-child { border-bottom: 0; }
  .legal-page td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
}
.legal-page .missing { background: rgba(214, 63, 57, .1); padding: 2px 6px; border-radius: 6px; }
.page-404 { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.page-404 .big { font-family: var(--f-display); font-weight: 900; font-size: clamp(7rem, 30vw, 16rem); line-height: .8; color: var(--red); }

/* ---------- movimento ridotto: si attenua, non si ferma ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: translateY(12px); transition-duration: .5s; }
  .ring-text { animation-duration: 140s; }
  .marquee-track { animation-duration: 60s; }
  .hero-stage.chomp .stage-sq, .ht-morso.is-bitten { animation: none; }
  .steam i { animation-duration: 6s; }
}
