/* =========================================================
   El Brasero — Steak House
   "Brace nella notte"
   ========================================================= */

/* ---------- Font (self-hosted, niente Google CDN) ---------- */
@font-face { font-family: "Rye"; src: url("../fonts/rye.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-var.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Token ---------- */
:root {
  --nero: #030405;
  --nero-caldo: #0c0908;
  --carbone: #15100d;
  --arancio: #e3900e;
  --brace: #ff6a1a;
  --crema: #f5efe3;
  --cuoio: #c08c6d;
  --bruno: #4e2d1e;
  --carta: #efe4cf;

  --f-west: "Rye", "Georgia", serif;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-fire: cubic-bezier(.7, 0, .2, 1);
  --bar-h: 64px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body {
  background: var(--nero);
  color: var(--crema);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--arancio); color: var(--nero); }
:focus-visible { outline: 2px solid var(--arancio); outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--arancio); color: var(--nero); padding: 10px 16px; font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .1em; }
.skip:focus { top: 12px; }

/* Grana pellicola sopra tutto */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Alone caldo che segue il puntatore (solo desktop, aggiunto da JS) */
.warmth {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(closest-side, rgba(227, 144, 14, .10), rgba(227, 144, 14, 0));
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0);
  mix-blend-mode: screen;
}

/* ---------- Tipografia ricorrente ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-cond); font-weight: 500; font-size: .8rem;
  letter-spacing: .38em; text-transform: uppercase; color: var(--cuoio);
}
.label span { color: var(--arancio); letter-spacing: .1em; }
.label::after { content: ""; flex: 0 1 80px; height: 1px; background: currentColor; opacity: .5; }
h2.label { font-size: .75rem; }
h2.label::after { display: none; }

.title {
  font-family: var(--f-west); font-weight: 400;
  font-size: clamp(2.3rem, 8.2vw, 6.4rem); line-height: .98;
  letter-spacing: -.01em; margin: 18px 0 0;
  text-wrap: balance;
}
.title em, .finale__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--arancio) 0%, var(--brace) 45%, #ffd27a 60%, var(--arancio) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: embers-shift 7s linear infinite;
}
@keyframes embers-shift { to { background-position: -250% 0; } }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--arancio);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .icon { width: 16px; height: 16px; }
.linklike { text-decoration: underline; text-underline-offset: 3px; color: var(--cuoio); font-size: .9em; }
.linklike:hover { color: var(--crema); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Bottoni ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--f-cond); font-weight: 600; font-size: .95rem;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 2px;
  transition: transform .4s var(--ease-out), box-shadow .4s, background-color .3s, color .3s;
  will-change: transform;
}
.btn .icon { width: 19px; height: 19px; }
.btn--fire {
  background: var(--arancio); color: #1a1206;
  box-shadow: 0 0 0 1px rgba(245, 239, 227, .15), 0 10px 30px -8px rgba(227, 144, 14, .55);
}
.btn--fire::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at 50% 120%, #ffd27a 0%, var(--brace) 40%, rgba(255, 106, 26, 0) 70%);
  transform: translateY(100%); transition: transform .6s var(--ease-out);
}
.btn--fire:hover::before { transform: translateY(0); }
.btn--fire:hover { box-shadow: 0 0 0 1px rgba(245, 239, 227, .25), 0 16px 44px -10px rgba(255, 106, 26, .8); }
.btn--ghost { color: var(--crema); box-shadow: inset 0 0 0 1px rgba(245, 239, 227, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--arancio); color: var(--arancio); }
.btn--solid { background: var(--carbone); color: var(--crema); box-shadow: inset 0 0 0 1px var(--arancio); min-height: 46px; padding: 12px 22px; }
.btn--solid:hover { background: var(--arancio); color: var(--nero); }
.btn--xl { min-height: 64px; padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Barra superiore ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  transition: background-color .5s, backdrop-filter .5s, transform .5s var(--ease-out);
}
.bar.is-scrolled { background: rgba(12, 9, 8, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(78, 45, 30, .7); }
.bar.is-hidden { transform: translateY(-100%); }
.bar__logo { width: 104px; transition: opacity .5s, transform .5s var(--ease-out); }
.home .bar:not(.is-scrolled) .bar__logo { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.bar__nav { display: none; margin-left: auto; gap: 30px; }
.bar__nav a {
  font-family: var(--f-cond); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245, 239, 227, .75); position: relative; padding: 6px 0;
}
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--arancio); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.bar__nav a:hover, .bar__nav a.is-active { color: var(--crema); }
.bar__nav a:hover::after, .bar__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.bar__cta {
  display: none; align-items: center; gap: 8px; padding: 9px 16px;
  font-family: var(--f-cond); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--arancio); box-shadow: inset 0 0 0 1px rgba(227, 144, 14, .6); border-radius: 2px;
  transition: background-color .3s, color .3s;
}
.bar__cta:hover { background: var(--arancio); color: var(--nero); }
.bar__cta .icon { width: 17px; height: 17px; }

.bar__burger { margin-left: auto; width: 46px; height: 46px; position: relative; z-index: 2; }
.bar__burger span:not(.sr) {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--crema);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out), width .5s var(--ease-out);
}
.bar__burger span:nth-child(1) { top: 18px; }
.bar__burger span:nth-child(2) { top: 26px; right: 19px; }
.bar__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.bar__burger[aria-expanded="true"] span:nth-child(2) { top: 22px; right: 11px; transform: rotate(-45deg); }

@media (min-width: 980px) {
  .bar { --bar-h: 76px; height: 76px; }
  .bar__logo { width: 120px; }
}
@media (min-width: 1120px) {
  .bar__nav, .bar__cta { display: flex; }
  .bar__burger { display: none; }
}

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--bar-h) + 30px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(227, 110, 14, .35), rgba(3, 4, 5, 0) 70%),
    var(--nero-caldo);
  clip-path: circle(0 at calc(100% - 40px) 32px);
  transition: clip-path .8s var(--ease-fire), visibility 0s .8s;
  visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; transition: clip-path .8s var(--ease-fire), visibility 0s; }
.drawer__nav { display: flex; flex-direction: column; gap: 6px; }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-west); font-size: clamp(2.1rem, 10vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease-out), color .3s;
}
.drawer__nav a small { font-family: var(--f-cond); font-size: .8rem; letter-spacing: .2em; color: var(--arancio); }
.drawer__nav a:active { color: var(--arancio); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.drawer__foot { font-family: var(--f-cond); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--cuoio); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.drawer__social { display: flex; gap: 8px; }
.drawer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(192, 140, 109, .4); border-radius: 50%; color: var(--crema); }
body.is-locked { overflow: hidden; }

/* ---------- Animazioni di ingresso ---------- */
[data-rise] { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  padding: calc(var(--bar-h) + 20px) var(--gutter) 110px;
  background:
    radial-gradient(70% 45% at 50% 108%, rgba(255, 106, 26, .38) 0%, rgba(227, 144, 14, .12) 40%, rgba(3, 4, 5, 0) 75%),
    radial-gradient(60% 50% at 50% 30%, #120c09 0%, var(--nero) 70%);
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__heat {
  position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 110, 20, .35), rgba(255, 110, 20, 0));
  filter: blur(30px);
  animation: breathe 5s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.hero__inner { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 900px; }
.hero__kicker { font-family: var(--f-cond); font-size: .78rem; letter-spacing: .45em; text-transform: uppercase; color: var(--cuoio); }
.hero__kicker span { color: var(--arancio); margin: 0 .4em; }
.hero__title { margin: 26px auto 22px; }
.hero__logo {
  width: min(92%, 640px); margin: 0 auto; height: auto;
  opacity: 0;
  animation: ignite 1.6s linear .35s forwards, glow 4s ease-in-out 2s infinite alternate;
}
/* Il logo si accende come un'insegna che prende corrente */
@keyframes ignite {
  0%   { opacity: 0;   filter: brightness(.2) saturate(0); }
  8%   { opacity: .9;  filter: brightness(1.4) saturate(1) drop-shadow(0 0 22px rgba(255, 140, 30, .7)); }
  11%  { opacity: .1;  filter: brightness(.3) saturate(.2); }
  18%  { opacity: .75; filter: brightness(1.1) saturate(1) drop-shadow(0 0 16px rgba(255, 140, 30, .5)); }
  22%  { opacity: .2;  filter: brightness(.4); }
  34%  { opacity: 1;   filter: brightness(1.2) drop-shadow(0 0 30px rgba(255, 140, 30, .6)); }
  38%  { opacity: .6;  filter: brightness(.8); }
  100% { opacity: 1;   filter: brightness(1) drop-shadow(0 0 24px rgba(255, 120, 20, .35)); }
}
@keyframes glow {
  from { filter: brightness(1) drop-shadow(0 0 18px rgba(255, 120, 20, .28)); }
  to   { filter: brightness(1.06) drop-shadow(0 0 34px rgba(255, 120, 20, .5)); }
}
.hero__claim { font-family: var(--f-body); font-style: italic; font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: rgba(245, 239, 227, .85); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 8px 16px;
  font-family: var(--f-cond); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crema); border: 1px solid rgba(192, 140, 109, .35); border-radius: 99px;
  background: rgba(12, 9, 8, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cuoio); }
.status.is-open .status__dot { background: #7bd66b; box-shadow: 0 0 0 0 rgba(123, 214, 107, .6); animation: ping 2s infinite; }
.status.is-soon .status__dot { background: var(--arancio); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(123, 214, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 214, 107, 0); } }

.hero__cta { display: flex; flex-direction: column; gap: 12px; margin: 30px auto 0; max-width: 340px; }
@media (min-width: 620px) { .hero__cta { flex-direction: row; justify-content: center; max-width: none; } }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-cond); font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--cuoio);
}
.hero__scroll i { width: 1px; height: 46px; background: rgba(192, 140, 109, .3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--arancio); animation: drip 2s var(--ease-fire) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Sezioni: ritmo comune ---------- */
.brace, .mani, .spina, .serate, .dove, .gallery,
.more-bread, .starters, .sides, .veg, .howto, .shelf, .drinks, .story, .follow, .facts {
  position: relative; z-index: 2;
  padding: clamp(90px, 14vw, 180px) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}

/* ---------- Transizione tra pagine (Chrome/Edge/Safari 18+, gli altri ignorano) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .35s var(--ease-fire) both; }
::view-transition-new(root) { animation: page-in .6s var(--ease-out) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-14px); filter: brightness(.4); } }
@keyframes page-in { from { opacity: 0; transform: translateY(24px); filter: brightness(1.6) sepia(.6); } }
.bar { view-transition-name: bar; }
.fab { view-transition-name: fab; }

/* ---------- Intestazione delle pagine capitolo ---------- */
.phero {
  position: relative; overflow: hidden;
  min-height: 72vh; min-height: 72svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--bar-h) + 60px) var(--gutter) clamp(50px, 8vw, 90px);
  background:
    radial-gradient(60% 55% at 85% 110%, rgba(255, 106, 26, .32), rgba(3, 4, 5, 0) 70%),
    radial-gradient(50% 50% at 10% 0%, rgba(78, 45, 30, .45), rgba(3, 4, 5, 0) 70%),
    var(--nero);
  border-bottom: 1px solid rgba(78, 45, 30, .7);
}
.phero__embers { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Foto vera del locale, sfumata a destra dietro il titolo */
.phero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__bg img {
  position: absolute; top: 0; right: 0; width: min(62%, 900px); height: 100%; object-fit: cover; opacity: .55;
  filter: sepia(.3) saturate(1.1) brightness(.85);
  -webkit-mask-image: radial-gradient(75% 85% at 70% 45%, #000 25%, transparent 78%);
          mask-image: radial-gradient(75% 85% at 70% 45%, #000 25%, transparent 78%);
}
@media (max-width: 700px) {
  .phero__bg img { width: 100%; opacity: .32;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%); }
}
.phero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; }
.phero__title { font-family: var(--f-west); font-weight: 400; font-size: clamp(3.2rem, 13vw, 9.5rem); line-height: .92; margin-top: 18px; text-shadow: 0 0 60px rgba(255, 106, 26, .25); }
@media (max-width: 700px) {
  .phero { min-height: 0; padding-top: calc(var(--bar-h) + 90px); }
}
.phero__intro { margin-top: 22px; max-width: 46ch; font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-style: italic; color: rgba(245, 239, 227, .82); }

/* =========================================================
   HERO: la carne sul fuoco
   ========================================================= */
.hero { place-items: start center; padding-top: calc(var(--bar-h) + clamp(10px, 4vh, 40px)); padding-bottom: 0; }
.hero__heat { z-index: 0; }
.hero__embers { z-index: 2; pointer-events: none; }
.hero__inner { z-index: 3; }
.hero__scroll { z-index: 3; }
.home .hero__scroll { display: none; }
.hero__cta { margin-top: 24px; }

.grill {
  --w: min(1150px, 96vw);
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  width: var(--w); aspect-ratio: 3 / 2;
  transform: translate(-50%, 31%);
  -webkit-mask-image: radial-gradient(58% 52% at 50% 60%, #000 38%, rgba(0, 0, 0, .55) 62%, transparent 88%);
          mask-image: radial-gradient(58% 52% at 50% 60%, #000 38%, rgba(0, 0, 0, .55) 62%, transparent 88%);
  opacity: 0; animation: grill-in 2.2s var(--ease-out) .9s forwards;
}
@keyframes grill-in { from { opacity: 0; transform: translate(-50%, 37%) scale(1.04); } to { opacity: 1; transform: translate(-50%, 31%); } }
.grill picture, .grill__img { display: block; width: 100%; height: 100%; }
.grill__img { object-fit: cover; animation: fire-flicker 3.2s steps(8) infinite; }
@keyframes fire-flicker {
  0%, 100% { filter: brightness(1) saturate(1.05); }
  15% { filter: brightness(1.07) saturate(1.1); }
  30% { filter: brightness(.96); }
  45% { filter: brightness(1.04) saturate(1.12); }
  70% { filter: brightness(.98); }
  85% { filter: brightness(1.09) saturate(1.15); }
}
.grill.has-haze picture { filter: url(#haze); }
.grill__smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Fiammata: bagliore sulla fiamma + tutto il fuoco che si alza per un attimo */
.grill__flare {
  position: absolute; left: calc(var(--fx, .25) * 100%); top: calc(var(--fy, .33) * 100%);
  width: 55%; aspect-ratio: 1; transform: translate(-50%, -55%) scale(.6);
  background: radial-gradient(closest-side, rgba(255, 220, 140, .95), rgba(255, 130, 20, .6) 35%, rgba(255, 80, 0, 0) 70%);
  mix-blend-mode: screen; opacity: 0; pointer-events: none;
}
.grill::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(45% 40% at var(--mxp, 48%) var(--myp, 58%), rgba(255, 120, 20, .55), rgba(255, 80, 0, 0) 70%);
}
.grill.is-flaring .grill__flare { animation: flare 1.5s cubic-bezier(.2, .7, .3, 1); }
.grill.is-flaring::after { animation: flare-glow 1.5s ease-out; }
@keyframes flare {
  0% { opacity: 0; transform: translate(-50%, -55%) scale(.5); }
  12% { opacity: 1; transform: translate(-50%, -70%) scale(1.25); }
  35% { opacity: .75; transform: translate(-50%, -62%) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -55%) scale(.8); }
}
@keyframes flare-glow { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.grill__touch {
  position: absolute; left: calc(var(--mx, .48) * 100%); top: calc(var(--my, .58) * 100%);
  width: 30%; height: 26%; transform: translate(-50%, -50%);
  border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.grill__touch:focus-visible { outline: 2px dashed var(--arancio); outline-offset: 6px; }
.grill__hint {
  position: absolute; left: calc(var(--mx, .48) * 100% + 13%); top: calc(var(--my, .58) * 100% - 16%);
  padding: 6px 12px; border: 1px solid rgba(227, 144, 14, .6); border-radius: 99px; background: rgba(12, 9, 8, .7);
  font-family: var(--f-cond); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--crema);
  pointer-events: none; white-space: nowrap;
  opacity: 0; animation: hint-in .8s var(--ease-out) 3.4s forwards, hint-bob 2.4s ease-in-out 4.2s infinite;
  transition: opacity .5s;
}
.grill__hint::before { content: ""; position: absolute; left: -26px; top: 50%; width: 22px; height: 1px; background: rgba(227, 144, 14, .7); }
.grill__hint.is-gone { opacity: 0 !important; animation: none; }
@keyframes hint-in { to { opacity: 1; } }
@keyframes hint-bob { 50% { transform: translateY(-4px); } }

@media (max-width: 700px) {
  .grill { --w: 118vw; aspect-ratio: 1; transform: translate(-50%, 14%); animation-name: grill-in-m;
    -webkit-mask-image: radial-gradient(52% 50% at 50% 55%, #000 40%, rgba(0, 0, 0, .5) 65%, transparent 90%);
            mask-image: radial-gradient(52% 50% at 50% 55%, #000 40%, rgba(0, 0, 0, .5) 65%, transparent 90%); }
  @keyframes grill-in-m { from { opacity: 0; transform: translate(-50%, 20%) scale(1.04); } to { opacity: 1; transform: translate(-50%, 14%); } }
  .grill__hint { left: auto; right: 22%; top: calc(var(--my, .52) * 100% - 26%); }
  .grill__hint::before { display: none; }
}


/* =========================================================
   HOME: il racconto
   ========================================================= */
.story-home { position: relative; z-index: 2; }
.tale {
  display: grid; gap: clamp(34px, 5vw, 80px); align-items: center;
  padding: clamp(70px, 10vw, 140px) var(--gutter) 0;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
@media (min-width: 900px) {
  .tale { grid-template-columns: 1fr 1fr; }
  .tale--flip .tale__text { order: 2; }
}
.tale__title { font-family: var(--f-west); font-weight: 400; font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1; margin-top: 16px; text-wrap: balance; }
.tale__title em { font-style: normal; background: linear-gradient(100deg, var(--arancio) 0%, var(--brace) 45%, #ffd27a 60%, var(--arancio) 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: embers-shift 7s linear infinite; }
.tale__text p:not(.label) { margin-top: 20px; max-width: 50ch; font-size: 1.1rem; color: rgba(245, 239, 227, .8); }
.tale__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-family: var(--f-cond); font-weight: 600; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--arancio);
}
.tale__link .icon { width: 20px; transition: transform .5s var(--ease-out); }
.tale__link:hover .icon { transform: translateX(8px); }
.tale__link:hover { color: var(--crema); }

.tale__visual--photo { aspect-ratio: 4 / 3; overflow: hidden; }
.tale__visual--tall { aspect-ratio: 4 / 5; max-width: 520px; width: 100%; margin-inline: auto; }
.tale__visual--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 45%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000 45%, transparent 100%); }

.tale__visual--taps { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 28px); padding: 20px 0; }
.tap--mini { flex: 0 0 clamp(58px, 15vw, 110px); }
.tap--mini .glass { width: 100%; }

.ticket--solo { max-width: 440px; margin: 0 auto; }
.js .ticket--solo[data-reveal].is-in { transform: rotate(-3deg); }
.ticket--solo h3 { font-size: clamp(2.2rem, 7vw, 3rem); }

.tale__visual--sign { text-align: center; padding: 30px 0; }
.sign__big {
  margin-top: 22px; font-family: var(--f-west); font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1; white-space: nowrap; color: var(--crema);
  text-shadow: 0 0 18px rgba(255, 140, 30, .55), 0 0 60px rgba(255, 106, 26, .35);
  animation: neon 6s steps(1) infinite;
}
.sign__big span { color: var(--arancio); margin: 0 .15em; }
@keyframes neon { 0%, 92%, 96%, 100% { opacity: 1; } 94% { opacity: .55; } 95% { opacity: .9; } }
.sign__small { margin-top: 12px; font-family: var(--f-cond); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--cuoio); }
.story-home + .finale, .story-home + .gallery { margin-top: clamp(60px, 9vw, 120px); }

/* =========================================================
   Sezioni delle pagine interne
   ========================================================= */
.more-bread, .starters, .sides, .veg, .howto, .shelf, .drinks, .story, .follow, .facts { padding-top: clamp(40px, 7vw, 100px); }
sup { font-size: .6em; color: var(--arancio); margin-left: 1px; }

/* La Cucina — lavagna bloomer/wraps/sandwiches */
/* Tre foto vere dei piatti, in fila (su telefono scorrono di lato) */
.mani__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); margin-top: clamp(30px, 4vw, 50px); }
.mani__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--carbone); }
.mani__photo:nth-child(2) { margin-top: clamp(14px, 3vw, 40px); }
.mani__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.3) saturate(1.1) contrast(1.05) brightness(.92); transition: transform 1.2s var(--ease-out), filter .8s; }
.mani__photo:hover img { transform: scale(1.04); filter: none; }
@media (max-width: 700px) {
  .mani__photos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .mani__photos::-webkit-scrollbar { display: none; }
  .mani__photo { scroll-snap-align: center; }
  .mani__photo:nth-child(2) { margin-top: 0; }
}

.board { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .board { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.board__col { padding: 26px 24px 18px; border: 1px solid rgba(78, 45, 30, .95); background: linear-gradient(180deg, rgba(27, 19, 15, .7), rgba(12, 9, 8, .4)); }
.board__head { font-family: var(--f-cond); font-weight: 500; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--arancio); padding-bottom: 12px; border-bottom: 1px dashed rgba(192, 140, 109, .35); }
.board li { padding: 14px 0; border-bottom: 1px solid rgba(78, 45, 30, .5); }
.board li:last-child { border-bottom: 0; }
.board strong { display: block; font-family: var(--f-west); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.board li span { display: block; margin-top: 4px; font-size: .95rem; color: rgba(245, 239, 227, .68); }

/* La Cucina — per cominciare */
.starters__list { display: grid; gap: 0; margin-top: clamp(36px, 5vw, 60px); counter-reset: st; }
@media (min-width: 800px) { .starters__list { grid-template-columns: repeat(2, 1fr); column-gap: 50px; } }
.starter { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(78, 45, 30, .9); }
.starter__n { grid-row: span 2; font-family: var(--f-cond); font-size: .8rem; letter-spacing: .2em; color: var(--arancio); }
.starter strong { font-family: var(--f-west); font-weight: 400; font-size: clamp(1.35rem, 4.5vw, 1.8rem); line-height: 1.1; }
.starter > span:last-child:not(.starter__n) { color: rgba(245, 239, 227, .65); font-size: .95rem; margin-top: 4px; }

/* La Cucina — contorni */
.sides { display: grid; gap: 34px; align-items: end; }
@media (min-width: 980px) { .sides { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.sides__text { margin-top: 22px; max-width: 46ch; color: rgba(245, 239, 227, .78); font-size: 1.08rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 16px; border: 1px solid rgba(192, 140, 109, .35); border-radius: 99px;
  font-family: var(--f-cond); font-size: .88rem; letter-spacing: .06em; color: rgba(245, 239, 227, .88);
  transition: border-color .3s, color .3s, background-color .3s;
}
.chips li:hover { border-color: var(--arancio); color: var(--arancio); background: rgba(227, 144, 14, .06); }

/* La Cucina — anche senza carne */
.veg__card {
  position: relative; overflow: hidden; padding: clamp(30px, 6vw, 64px);
  background: var(--carta); color: var(--nero-caldo);
}
.veg__card::before { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 0%, rgba(120, 70, 30, .2), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(120, 70, 30, .25), transparent 60%); }
.veg__card .label { color: #7a4a1c; }
.veg__card .label span { color: #9a4d12; }
.veg__title { font-family: var(--f-west); font-weight: 400; font-size: clamp(2.1rem, 7vw, 4.4rem); line-height: 1; margin-top: 16px; }
.veg__list { margin-top: 30px; display: grid; gap: 14px; }
@media (min-width: 900px) { .veg__list { grid-template-columns: repeat(2, 1fr); gap: 18px 40px; } }
.veg__list li { padding-left: 26px; position: relative; color: rgba(12, 9, 8, .78); }
.veg__list li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: #9a4d12; }
.veg__list strong { display: block; font-family: var(--f-west); font-weight: 400; font-size: 1.3rem; color: var(--nero-caldo); }
.veg__list sup { color: #9a4d12; }

/* Passi (come si ordina / come prenotare) */
.steps { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 60px); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 30px 26px 28px; border: 1px solid rgba(78, 45, 30, .95); background: linear-gradient(160deg, rgba(27, 19, 15, .8), rgba(12, 9, 8, .6)); }
.step__n {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  color: var(--nero); background: var(--arancio);
  box-shadow: 0 0 30px -4px rgba(255, 106, 26, .6);
}
.step__n .icon { width: 24px; height: 24px; }
.step h3 { font-family: var(--f-west); font-weight: 400; font-size: 1.7rem; margin-top: 22px; }
.step p { margin-top: 8px; color: rgba(245, 239, 227, .75); }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 57px; right: -21px; width: 22px; height: 1px; background: var(--arancio); opacity: .6; }
}
.howto__cta { margin-top: 30px; }
.fineprint { margin-top: 34px; max-width: 70ch; font-size: .85rem; color: rgba(192, 140, 109, .9); }

/* La Spina — scaffale delle bottiglie */
.shelf__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .shelf__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.bottle-label {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 28px 16px 24px; background: var(--carta); color: var(--nero-caldo);
  border-radius: 6px 6px 40% 40% / 6px 6px 14% 14%;
  box-shadow: inset 0 0 0 5px var(--carta), inset 0 0 0 6px rgba(12, 9, 8, .55), 0 18px 40px -20px rgba(0, 0, 0, .9);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .6s var(--ease-out);
}
.js .bottle-label[data-reveal] { transform: translateY(40px) rotate(var(--tilt, 0deg)); }
.js .bottle-label[data-reveal].is-in { transform: rotate(var(--tilt, 0deg)); }
.bottle-label:hover { transform: rotate(0) translateY(-4px) !important; }
.bottle-label__n { font-family: var(--f-cond); font-size: .66rem; letter-spacing: .3em; color: #9a4d12; }
.bottle-label strong { font-family: var(--f-west); font-weight: 400; font-size: clamp(1.1rem, 3.8vw, 1.5rem); line-height: 1.1; }
.bottle-label em { font-style: italic; font-size: .9rem; color: rgba(12, 9, 8, .7); }
.bottle-label__size { margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(12, 9, 8, .25); font-family: var(--f-cond); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }

/* La Spina — non solo birra */
.drinks__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .drinks__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.drink { padding: 26px 22px; border-top: 2px solid var(--arancio); background: linear-gradient(180deg, rgba(227, 144, 14, .07), rgba(227, 144, 14, 0)); }
.drink h3 { font-family: var(--f-west); font-weight: 400; font-size: 1.6rem; }
.drink p { margin-top: 8px; color: rgba(245, 239, 227, .75); font-size: .98rem; }

/* Le Serate — cronologia */
.timeline { position: relative; margin-top: clamp(40px, 6vw, 70px); display: grid; gap: 34px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--arancio), rgba(227, 144, 14, .15)); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); padding-left: 0; padding-top: 40px; gap: 30px; }
  .timeline::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--arancio), rgba(227, 144, 14, .2)); }
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--nero); border: 2px solid var(--arancio);
}
@media (min-width: 900px) { .timeline__item::before { left: 0; top: -40px; } }
.timeline__item--now::before { background: var(--arancio); box-shadow: 0 0 0 0 rgba(227, 144, 14, .6); animation: ping 2s infinite; }
.timeline time { font-family: var(--f-cond); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--arancio); }
.timeline h3 { font-family: var(--f-west); font-weight: 400; font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.1; margin-top: 8px; }
.timeline p { margin-top: 8px; color: rgba(245, 239, 227, .75); }

/* Le Serate — social */
.follow__text { margin-top: 22px; max-width: 52ch; color: rgba(245, 239, 227, .78); font-size: 1.08rem; }
.follow__grid { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 900px) { .follow__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.social-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon net go" "icon handle go"; column-gap: 16px; align-items: center;
  padding: 24px; border: 1px solid rgba(78, 45, 30, .95); background: linear-gradient(160deg, #17100c, #0d0907);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.social-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 0% 50%, rgba(255, 106, 26, .35), transparent 70%); opacity: 0; transition: opacity .5s; }
.social-card:hover { border-color: var(--arancio); transform: translateY(-3px); }
.social-card:hover::before { opacity: 1; }
.social-card__icon { grid-area: icon; width: 34px; height: 34px; color: var(--arancio); }
.social-card__net { grid-area: net; font-family: var(--f-west); font-size: 1.5rem; line-height: 1.1; }
.social-card__handle { grid-area: handle; font-size: .92rem; color: rgba(245, 239, 227, .65); word-break: break-all; }
.social-card__go { grid-area: go; color: var(--cuoio); transition: transform .5s var(--ease-out), color .3s; }
.social-card:hover .social-card__go { transform: translateX(4px) rotate(-45deg); color: var(--arancio); }

/* Dove siamo — buono a sapersi */
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
@media (min-width: 900px) { .facts__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.fact { padding: 24px 20px; border: 1px solid rgba(78, 45, 30, .95); }
.fact__icon { width: 26px; height: 26px; color: var(--arancio); }
.fact h3 { font-family: var(--f-west); font-weight: 400; font-size: 1.3rem; line-height: 1.15; margin-top: 16px; }
.fact p { margin-top: 6px; font-size: .92rem; color: rgba(245, 239, 227, .72); }

.menu-note { padding-top: clamp(40px, 7vw, 100px); }
.menu-note__text { font-family: var(--f-west); font-size: clamp(1.8rem, 5.5vw, 3.2rem); line-height: 1.1; max-width: 22ch; }
.menu-note__text em { font-style: normal; color: var(--arancio); }
.menu-note__text a { display: inline-flex; align-items: baseline; gap: .3em; }
.menu-note__text a .icon { width: .7em; height: .7em; color: var(--arancio); transition: transform .5s var(--ease-out); }
.menu-note__text a:hover .icon { transform: translateX(8px); }
.menu-note { position: relative; z-index: 2; padding-left: var(--gutter); padding-right: var(--gutter); padding-bottom: clamp(60px, 9vw, 120px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

/* =========================================================
   IL MENU (pagina /menu)
   ========================================================= */
.menu { position: relative; z-index: 2; max-width: calc(980px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(50px, 8vw, 90px); }

.menu__tabs {
  position: sticky; top: var(--bar-h); z-index: 40;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  background: rgba(3, 4, 5, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78, 45, 30, .9);
  transition: top .5s var(--ease-out);
}
body.is-bar-hidden .menu__tabs { top: 0; }
.menu__tabs-track {
  position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
/* Sfumatura ai bordi quando la barra scorre (aggiunta da JS) */
.menu__tabs-track.is-scrollable { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.menu__tabs-track.is-scrollable.at-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); }
.menu__tabs-track.is-scrollable.at-end { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px); mask-image: linear-gradient(90deg, transparent 0, #000 28px); }
.menu__tabs-track::-webkit-scrollbar { display: none; }
.menu__tab {
  flex: 0 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 11px 16px; white-space: nowrap;
  font-family: var(--f-cond); font-weight: 500; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245, 239, 227, .62); transition: color .3s;
}
.menu__tab:hover { color: var(--crema); }
.menu__tab-icon { width: 22px; height: 22px; flex: none; color: var(--cuoio); transition: color .3s, filter .3s; transform-origin: 50% 80%; }
.menu__tab:hover .menu__tab-icon { color: var(--crema); animation: tab-wiggle .5s ease-in-out; }
.menu__tab[aria-selected="true"] .menu__tab-icon { color: var(--arancio); filter: drop-shadow(0 0 6px rgba(255, 106, 26, .55)); animation: tab-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tab-wiggle { 25% { transform: rotate(-9deg); } 75% { transform: rotate(7deg); } }
@keyframes tab-pop { 0% { transform: scale(.7) translateY(3px); } 100% { transform: none; } }
.menu__tab[aria-selected="true"] { color: var(--arancio); }
.menu__ink {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--arancio); box-shadow: 0 0 14px rgba(255, 106, 26, .8);
  transform: translateX(var(--ink-x, 0)); width: var(--ink-w, 0);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}
.no-js .menu__ink { display: none; }

.menu__panels { padding-top: clamp(30px, 5vw, 50px); }
.menu__panel { scroll-margin-top: calc(var(--bar-h) + 100px); outline: none; }
.no-js .menu__panel + .menu__panel { margin-top: 60px; }
.menu__group + .menu__group { margin-top: clamp(44px, 7vw, 70px); }
.menu__group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(227, 144, 14, .5); }
.menu__group-title { font-family: var(--f-west); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: var(--crema); }
.menu__group-sub { font-family: var(--f-cond); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cuoio); }

.dishes { display: grid; }
.dishes__sub h3 { margin-top: 26px; padding-bottom: 6px; font-family: var(--f-cond); font-weight: 500; font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--arancio); }
.dish { padding: 18px 0; border-bottom: 1px solid rgba(78, 45, 30, .55); }
.dish__head { display: flex; align-items: baseline; gap: 12px; }
.dish__name { font-family: var(--f-west); font-weight: 400; font-size: clamp(1.2rem, 4vw, 1.5rem); line-height: 1.15; }
.dish__dots { flex: 1 1 auto; min-width: 20px; border-bottom: 2px dotted rgba(192, 140, 109, .35); transform: translateY(-5px); }
.dish__price { flex: none; font-family: var(--f-cond); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; color: var(--arancio); white-space: nowrap; }
.dish__prices { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 60%; }
.dish__tag {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid rgba(227, 144, 14, .45); border-radius: 99px;
  font-family: var(--f-cond); font-weight: 600; font-size: .95rem; color: var(--arancio); white-space: nowrap;
}
.dish__tag small { font-weight: 400; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cuoio); }
.dish__desc { margin-top: 6px; max-width: 62ch; font-size: .98rem; color: rgba(245, 239, 227, .7); }
@media (max-width: 600px) {
  .dish__head:has(.dish__prices) { flex-wrap: wrap; }
  .dish__head:has(.dish__prices) .dish__dots { display: none; }
  .dish__prices { max-width: none; justify-content: flex-start; width: 100%; margin-top: 4px; }
}

/* Cambio scheda: i piatti entrano uno dopo l'altro */
.menu__panel.is-entering .dish { animation: dish-in .55s var(--ease-out) both; animation-delay: calc(min(var(--i), 14) * 35ms); }
.menu__panel.is-entering .menu__group-head { animation: dish-in .5s var(--ease-out) both; }
@keyframes dish-in { from { opacity: 0; transform: translateY(14px); } }

.menu__notes { margin-top: clamp(40px, 6vw, 60px); padding: 22px 24px; border: 1px dashed rgba(192, 140, 109, .45); font-size: .92rem; color: rgba(245, 239, 227, .75); display: grid; gap: 6px; }
.menu__notes strong { color: var(--crema); font-weight: 500; }

/* Chiusura delle pagine interne */
.finale--page { background: radial-gradient(55% 65% at 50% 100%, rgba(255, 106, 26, .3), rgba(3, 4, 5, 0) 70%); }
.finale--page::after { display: none; }

/* ---------- LA BRACE ---------- */
.brace { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.brace > .label, .manifesto { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); box-sizing: content-box; }
.manifesto {
  margin-top: 34px;
  font-family: var(--f-body); font-weight: 500;
  font-size: clamp(1.6rem, 4.7vw, 3.6rem); line-height: 1.18; letter-spacing: -.01em;
  max-width: 1100px;
}
.manifesto .w { color: rgba(192, 140, 109, .22); transition: color .6s, text-shadow .6s; }
.manifesto .w.is-lit { color: var(--crema); }
.manifesto .w.is-hot.is-lit { color: var(--arancio); text-shadow: 0 0 24px rgba(255, 120, 20, .55); }
.no-js .manifesto, .manifesto:not(.is-split) { color: var(--crema); }

.marquee { margin-top: clamp(70px, 10vw, 140px); display: grid; gap: 4px; transform: rotate(-3deg); }
.marquee__row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__row span {
  font-family: var(--f-west); font-size: clamp(3.4rem, 12vw, 9.5rem); line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1.2px rgba(192, 140, 109, .55);
}
.marquee__row--solid { background: var(--arancio); }
.marquee__row--solid span { color: var(--nero); -webkit-text-stroke: 0; font-size: clamp(1.8rem, 5.5vw, 4.2rem); padding: 6px 0; }

/* ---------- LA CARNE ---------- */
.carne { position: relative; z-index: 2; background: linear-gradient(180deg, var(--nero) 0%, var(--nero-caldo) 20%, var(--nero-caldo) 80%, var(--nero) 100%); }
.carne__sticky { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.carne__sticky > *:not(.carne__bg) { position: relative; z-index: 1; }
.carne__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.carne__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .38;
  -webkit-mask-image: radial-gradient(70% 65% at 62% 45%, #000 15%, transparent 78%);
          mask-image: radial-gradient(70% 65% at 62% 45%, #000 15%, transparent 78%);
}
.carne__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--nero-caldo) 0%, rgba(12, 9, 8, .3) 35%, rgba(12, 9, 8, .55) 100%); }
@media (max-width: 700px) {
  .carne__bg img { object-position: 32% 50%; opacity: .5;
    -webkit-mask-image: radial-gradient(90% 55% at 45% 62%, #000 20%, transparent 80%);
            mask-image: radial-gradient(90% 55% at 45% 62%, #000 20%, transparent 80%); }
}
.carne__head { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.carne__hint { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--f-cond); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cuoio); }
.carne__hint .icon { width: 18px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.cuts {
  display: flex; gap: 16px; margin-top: 44px;
  padding: 10px var(--gutter) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.cuts::-webkit-scrollbar { display: none; }
.cut {
  position: relative; flex: 0 0 min(82vw, 400px); scroll-snap-align: start;
  min-height: 460px; padding: 28px 26px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(227, 144, 14, .12), rgba(0, 0, 0, 0) 60%),
    linear-gradient(160deg, rgba(27, 19, 15, .78) 0%, rgba(15, 11, 9, .86) 100%);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(78, 45, 30, .95);
  overflow: hidden;
  transition: border-color .5s, transform .6s var(--ease-out);
}
.cut::after { /* bruciatura sul bordo */
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 106, 26, .22), rgba(0, 0, 0, 0));
  opacity: 0; transition: opacity .7s;
}
.cut:hover { border-color: rgba(227, 144, 14, .6); }
.cut:hover::after { opacity: 1; }
.cut > * { position: relative; z-index: 1; }
.cut__stamp {
  position: relative; width: 132px; height: 132px; margin: 30px 0 auto auto;
  color: var(--arancio); transform: rotate(-14deg) scale(1.5); opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.cut__stamp svg { width: 100%; height: 100%; }
.cut__stamp text { fill: currentColor; font-family: var(--f-cond); font-size: 10.5px; letter-spacing: 2px; }
.cut__stamp strong {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-family: var(--f-west); font-weight: 400; font-size: 1.35rem; line-height: 1;
}
.cut__stamp small { display: block; font-family: var(--f-cond); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 3px; }
.cut.is-in .cut__stamp, .no-js .cut__stamp { transform: rotate(-14deg) scale(1); opacity: .95; filter: drop-shadow(0 0 10px rgba(255, 106, 26, .35)); }
.cut__name { font-family: var(--f-west); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1; margin-top: 26px; }
.cut__text { margin-top: 14px; color: rgba(245, 239, 227, .78); font-size: 1rem; }
.cut--end { justify-content: center; align-items: flex-start; gap: 24px; background: linear-gradient(160deg, #2a170c, #120b07); }
.cut--end p { font-family: var(--f-west); font-size: 1.8rem; line-height: 1.1; }

/* Desktop: la sezione si "blocca" e i tagli scorrono in orizzontale */
@media (min-width: 980px) {
  .carne.is-pinned .carne__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0; }
  .carne.is-pinned .cuts { overflow: visible; scroll-snap-type: none; will-change: transform; padding-bottom: 0; }
  .carne.is-pinned .carne__hint { display: none; }
  .cut { flex-basis: 380px; min-height: 480px; }
}

/* ---------- TRA LE MANI ---------- */
.sandwiches { margin-top: clamp(40px, 6vw, 70px); counter-reset: sw; }
.sw {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 26px 0; border-top: 1px solid rgba(78, 45, 30, .9);
}
.sw:last-child { border-bottom: 1px solid rgba(78, 45, 30, .9); }
.sw__tag { font-family: var(--f-cond); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--arancio); }
.sw__name {
  font-family: var(--f-west); font-weight: 400; font-size: clamp(2.2rem, 9vw, 5.4rem); line-height: 1;
  transition: transform .7s var(--ease-out), color .4s, text-shadow .4s;
}
.sw__text { color: rgba(245, 239, 227, .7); max-width: 46ch; }
@media (min-width: 900px) {
  .sw { grid-template-columns: 170px 1fr minmax(260px, 32%); align-items: center; gap: 30px; padding: 30px 0; }
  .sw:hover .sw__name { transform: translateX(18px); color: var(--arancio); text-shadow: 0 0 30px rgba(255, 106, 26, .4); }
  .sw::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(227, 144, 14, .08), rgba(227, 144, 14, 0) 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
  .sw:hover::before { opacity: 1; }
}
.mani__more, .spina__more, .serate__follow { margin-top: 44px; max-width: 58ch; color: rgba(245, 239, 227, .75); font-size: 1.08rem; }

/* ---------- LA SPINA ---------- */
.spina::before { /* luce calda da bancone */
  content: ""; position: absolute; inset: 20% 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 50% 60%, rgba(227, 144, 14, .12), rgba(0, 0, 0, 0));
}
.taps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 18px; margin-top: clamp(50px, 7vw, 90px); }
@media (min-width: 900px) { .taps { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.tap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.glass {
  position: relative; width: min(100%, 150px); aspect-ratio: 5 / 8;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  background: linear-gradient(90deg, rgba(245, 239, 227, .07), rgba(245, 239, 227, .02) 40%, rgba(245, 239, 227, .09));
  box-shadow: inset 0 0 0 2px rgba(245, 239, 227, .12);
}
.glass::before { /* orlo */
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: rgba(245, 239, 227, .35); z-index: 3;
}
.glass__liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--beer) 80%, #fff 20%), var(--beer) 30%, color-mix(in srgb, var(--beer) 75%, #000 25%));
  transition: height 2.4s cubic-bezier(.25, .8, .25, 1) var(--d, 0s);
}
.glass__liquid::before { /* schiuma */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 20px;
  background:
    radial-gradient(circle at 10% 100%, var(--head) 8px, transparent 9px),
    radial-gradient(circle at 30% 100%, var(--head) 10px, transparent 11px),
    radial-gradient(circle at 52% 100%, var(--head) 9px, transparent 10px),
    radial-gradient(circle at 74% 100%, var(--head) 11px, transparent 12px),
    radial-gradient(circle at 92% 100%, var(--head) 8px, transparent 9px),
    linear-gradient(var(--head), var(--head)) 0 100% / 100% 10px no-repeat;
  transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease-out) calc(var(--d, 0s) + 1.6s);
}
.glass__liquid i {
  position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, .45); opacity: 0;
}
.is-poured .glass__liquid { height: 80%; }
.is-poured .glass__liquid::before { transform: scaleY(1); }
.is-poured .glass__liquid i { animation: bubble 3.2s linear infinite; }
.glass__liquid i:nth-child(1) { left: 22%; animation-delay: 2s !important; }
.glass__liquid i:nth-child(2) { left: 40%; animation-delay: 2.8s !important; width: 3px; height: 3px; }
.glass__liquid i:nth-child(3) { left: 58%; animation-delay: 2.3s !important; }
.glass__liquid i:nth-child(4) { left: 70%; animation-delay: 3.4s !important; width: 3px; height: 3px; }
.glass__liquid i:nth-child(5) { left: 34%; animation-delay: 3.9s !important; width: 2px; height: 2px; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 90% { opacity: .8; } 100% { transform: translateY(-190px); opacity: 0; } }
.glass__shine { position: absolute; top: 4%; bottom: 6%; left: 16%; width: 9%; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03)); border-radius: 4px; z-index: 2; }
.tap figcaption strong { display: block; font-family: var(--f-west); font-weight: 400; font-size: clamp(1.15rem, 3.8vw, 1.5rem); line-height: 1.1; }
.tap figcaption span { display: block; margin-top: 6px; font-family: var(--f-cond); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cuoio); }

/* ---------- LE SERATE ---------- */
.tickets { display: grid; gap: 22px; margin-top: clamp(44px, 6vw, 80px); }
@media (min-width: 980px) { .tickets { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.ticket {
  --notch: 14px;
  position: relative; display: grid; grid-template-columns: 1fr 64px;
  background: var(--carta); color: var(--nero-caldo);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 64px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 64px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - 64px) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 64px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  transform-origin: 50% 100%;
}
.ticket::before { /* carta invecchiata */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(120, 70, 30, .18), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(120, 70, 30, .22), transparent 60%);
}
.js .ticket[data-reveal] { transform: translateY(40px) rotate(-2deg); }
.js .ticket[data-reveal].is-in { transform: rotate(0); }
@media (hover: hover) { .ticket { transition: transform .6s var(--ease-out) !important; } .ticket:hover { transform: translateY(-6px) rotate(-1deg) !important; } }
.ticket__main { position: relative; padding: 28px 24px 30px; }
.ticket__kicker { font-family: var(--f-cond); font-weight: 600; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #9a4d12; }
.ticket h3 { font-family: var(--f-west); font-weight: 400; font-size: clamp(2.3rem, 8vw, 3rem); line-height: 1; margin: 10px 0 12px; }
.ticket p { color: rgba(12, 9, 8, .78); }
.ticket .link { color: #9a4d12; margin-top: 14px; font-family: var(--f-cond); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.ticket__stub {
  position: relative; border-left: 2px dashed rgba(12, 9, 8, .3);
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 24px 0;
  writing-mode: vertical-rl; font-family: var(--f-cond); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(12, 9, 8, .55);
}
.ticket--hot { background: var(--arancio); }
.ticket--hot .ticket__kicker, .ticket--hot .link { color: var(--nero-caldo); }

.eq { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 22px; }
.eq i { width: 5px; background: var(--nero-caldo); height: 30%; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-duration: .7s; } .eq i:nth-child(3) { animation-duration: 1.2s; }
.eq i:nth-child(4) { animation-duration: .55s; } .eq i:nth-child(5) { animation-duration: .9s; }
.eq i:nth-child(6) { animation-duration: .65s; } .eq i:nth-child(7) { animation-duration: 1.1s; }
@keyframes eq { to { height: 100%; } }
.wave { height: 30px; margin-top: 22px; overflow: hidden; }
.wave svg { width: 200%; height: 100%; animation: wave 3s linear infinite; }
.wave path { fill: none; stroke: var(--nero-caldo); stroke-width: 2.5; }
@keyframes wave { to { transform: translateX(-50%); } }

/* ---------- GALLERIA ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 40px; }
@media (min-width: 900px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery__item { overflow: hidden; aspect-ratio: 4 / 5; background: var(--carbone); }
.gallery__item:nth-child(5n + 1) { grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(1.15) contrast(1.05) brightness(.9); transition: transform 1.2s var(--ease-out), filter .8s; }
.gallery__item:hover img { transform: scale(1.05); filter: none; }
.gallery__item video { width: 100%; height: 100%; object-fit: cover; filter: sepia(.2) saturate(1.1) contrast(1.05); }

/* ---------- DOVE SIAMO ---------- */
.dove__grid { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 70px); }
@media (min-width: 980px) { .dove__grid { grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; } }
.dove__addr { display: flex; gap: 12px; align-items: flex-start; font-size: 1.15rem; }
.dove__addr .icon { color: var(--arancio); margin-top: 3px; }
.hours { width: 100%; margin-top: 28px; border-collapse: collapse; font-family: var(--f-cond); letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid rgba(78, 45, 30, .9); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: rgba(245, 239, 227, .8); font-variant-numeric: tabular-nums; }
.hours tr.is-closed td, .hours tr.is-closed th { color: rgba(192, 140, 109, .55); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--arancio); }
.hours tr.is-today th::after { content: "oggi"; margin-left: 10px; padding: 2px 7px; font-size: .62rem; letter-spacing: .2em; background: var(--arancio); color: var(--nero); border-radius: 2px; vertical-align: 2px; }
.dove__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dove__actions .btn { flex: 1 1 200px; }

.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--carbone); border: 1px solid rgba(78, 45, 30, .95); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--cuoio); opacity: .5; }
.map__pin { position: absolute; left: 52%; top: 44%; color: var(--arancio); filter: drop-shadow(0 0 14px rgba(255, 106, 26, .8)); animation: breathe 2s ease-in-out infinite alternate; }
.map__pin .icon { width: 34px; height: 34px; }
.map__text { position: relative; z-index: 2; margin-top: auto; align-self: end; padding: 22px; width: 100%; background: linear-gradient(0deg, rgba(3, 4, 5, .95), rgba(3, 4, 5, 0)); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.map__text p { font-size: .9rem; color: rgba(245, 239, 227, .7); max-width: 34ch; }
.map.is-loaded .map__placeholder { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.75) sepia(.12) contrast(.95); }

/* ---------- FINALE ---------- */
.finale {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 16vw, 200px) var(--gutter);
  background: radial-gradient(60% 60% at 50% 100%, rgba(255, 106, 26, .28), rgba(3, 4, 5, 0) 70%);
}
.finale__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.finale__bg { position: absolute; inset: 0; z-index: 0; }
.finale__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .42;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 60%, #000 20%, transparent 80%);
          mask-image: radial-gradient(75% 70% at 50% 60%, #000 20%, transparent 80%);
}
.finale::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--nero) 0%, rgba(3, 4, 5, .35) 40%, rgba(3, 4, 5, .6) 100%); pointer-events: none; }
.finale > *:not(canvas):not(.finale__bg) { position: relative; z-index: 2; }
.finale__title { font-family: var(--f-west); font-weight: 400; font-size: clamp(2.4rem, 8.5vw, 6.6rem); line-height: 1; text-wrap: balance; margin-bottom: 44px; }
.finale__sub { margin-top: 22px; font-family: var(--f-cond); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--cuoio); }

/* ---------- FOOTER ---------- */
.foot { position: relative; z-index: 2; padding: 70px var(--gutter) calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(78, 45, 30, .9); background: var(--nero-caldo); }
.foot__brand img { width: 170px; height: auto; }
.foot__claim { margin-top: 14px; font-style: italic; color: var(--cuoio); }
.foot__cols { display: grid; gap: 34px; margin-top: 44px; }
@media (min-width: 800px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } .foot { padding-bottom: 60px; } }
.foot__cols p { margin: 10px 0; color: rgba(245, 239, 227, .82); }
.foot__social { display: flex; gap: 10px; margin-top: 14px; }
.foot__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(192, 140, 109, .35); border-radius: 50%; transition: border-color .3s, color .3s, transform .4s var(--ease-out); }
.foot__social a:hover { border-color: var(--arancio); color: var(--arancio); transform: translateY(-3px); }
.foot__legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(78, 45, 30, .6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .85rem; color: rgba(192, 140, 109, .9); }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.foot__links a:hover { color: var(--crema); }

/* ---------- WhatsApp fisso ---------- */
.fab {
  position: fixed; z-index: 70; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px;
  background: var(--arancio); color: #1a1206; border-radius: 99px;
  font-family: var(--f-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
  box-shadow: 0 12px 34px -8px rgba(255, 106, 26, .7), 0 0 0 1px rgba(245, 239, 227, .15);
  transform: translateY(140%); transition: transform .7s var(--ease-out);
}
.fab .icon { width: 24px; height: 24px; }
.fab::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--arancio); opacity: 0; animation: halo 2.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.95); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.fab.is-visible { transform: none; }
.fab.is-away { transform: translateY(140%); }
@media (min-width: 980px) { .fab__label { display: none; } .fab { width: 62px; height: 62px; padding: 0; justify-content: center; right: 26px; bottom: 26px; } }

/* ---------- Banner cookie ---------- */
.consent {
  position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 460px; padding: 24px 22px 20px;
  background: #120d0a; border: 1px solid rgba(227, 144, 14, .45);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(255, 106, 26, .5);
  font-size: .95rem;
  transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s;
}
.consent.is-open { transform: none; opacity: 1; }
.consent[hidden] { display: none; }
@media (min-width: 600px) { .consent { left: 24px; bottom: 24px; } }
.consent__title { font-family: var(--f-west); font-weight: 400; font-size: 1.45rem; margin-bottom: 8px; padding-right: 30px; }
.consent p { color: rgba(245, 239, 227, .8); }
.consent a { color: var(--arancio); text-decoration: underline; text-underline-offset: 3px; }
.consent__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--cuoio); }
.consent__x:hover { color: var(--crema); }
.consent__prefs { display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(78, 45, 30, .9); }
.consent__prefs[hidden] { display: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.consent__actions .btn { flex: 1 1 120px; }
.consent__actions .linklike { flex-basis: 100%; text-align: left; order: 9; }

.switch { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .9rem; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 44px; height: 24px; border-radius: 99px; background: rgba(192, 140, 109, .3); transition: background-color .3s; grid-row: 1; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--crema); transition: transform .3s var(--ease-out); }
.switch input:checked + .switch__ui { background: var(--arancio); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--arancio); outline-offset: 2px; }

/* ---------- Pagine legali / 404 ---------- */
.page { position: relative; z-index: 2; padding: calc(var(--bar-h) + 70px) var(--gutter) 90px; max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; }
.page .title { font-size: clamp(2.2rem, 7vw, 4rem); margin-bottom: 14px; }
.page__meta { color: var(--cuoio); font-family: var(--f-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 40px; }
.prose h2 { font-family: var(--f-west); font-weight: 400; font-size: 1.55rem; margin: 44px 0 12px; color: var(--arancio); }
.prose h3 { font-family: var(--f-cond); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; margin: 26px 0 8px; }
.prose p, .prose li { color: rgba(245, 239, 227, .84); margin: 10px 0; }
.prose ul { padding-left: 1.2em; list-style: none; }
.prose ul li { position: relative; }
.prose ul li::before { content: "✦"; position: absolute; left: -1.2em; color: var(--arancio); font-size: .7em; top: .35em; }
.prose a { color: var(--arancio); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid rgba(78, 45, 30, .95); vertical-align: top; }
.prose th { font-family: var(--f-cond); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--cuoio); }

.lost { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 100px var(--gutter); position: relative; z-index: 2; }
.lost__code { font-family: var(--f-west); font-size: clamp(6rem, 30vw, 16rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--arancio); text-shadow: 0 0 60px rgba(255, 106, 26, .35); }
.lost p { margin: 16px auto 34px; max-width: 36ch; color: rgba(245, 239, 227, .8); font-size: 1.1rem; }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
  .hero__logo { opacity: 1; }
  .manifesto .w { color: var(--crema); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
