/* ==========================================================================
   EMIPIACE — foglio di stile
   Concetto di layout: una tavola apparecchiata. Griglia editoriale asimmetrica,
   tipografia grande, pochi "sticker" illustrati, un timbro che gira.
   ========================================================================== */

:root {
  /* colori */
  --paper: #FAF6EF;
  --paper-2: #F1E8DA;
  --card: #FFFDF9;
  --ink: #2A1016;
  --muted: #75625C;
  --plum: #5C1A2B;
  --plum-2: #7B2A3F;
  --plum-deep: #3F0F1C;
  --accent: #7B2A3F;
  --gold: #E59F2E;
  --gold-2: #F4C56B;
  --gold-soft: #FBE7BE;
  --on-gold: #3F0F1C;
  --green: #3B6B3E;
  --line: rgba(42, 16, 22, .12);
  --line-strong: rgba(42, 16, 22, .3);
  --block-bg: #4A1322;
  --block-fg: #F8F0E4;
  --block-muted: rgba(248, 240, 228, .72);
  --block-line: rgba(248, 240, 228, .16);
  --btn-bg: #5C1A2B;
  --btn-fg: #FBF5EC;
  --btn-hover: #7B2A3F;
  --focus: #E59F2E;
  --shadow: 0 18px 50px -24px rgba(42, 16, 22, .35);
  --grain-opacity: .07;
  --grain-blend: multiply;

  /* tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;

  --radius: 22px;
  --gutter: max(clamp(16px, 5vw, 48px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 48px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1014;
    --paper-2: #241519;
    --card: #221318;
    --ink: #F4ECE2;
    --muted: #B9A69D;
    --plum: #8C2F47;
    --plum-2: #A33A55;
    --plum-deep: #F4ECE2;
    --accent: #F0B64F;
    --gold: #F0B64F;
    --gold-2: #F7D084;
    --gold-soft: #3A2A14;
    --on-gold: #3F0F1C;
    --green: #86B585;
    --line: rgba(244, 236, 226, .14);
    --line-strong: rgba(244, 236, 226, .34);
    --block-bg: #2B131B;
    --block-fg: #F8F0E4;
    --block-muted: rgba(248, 240, 228, .7);
    --block-line: rgba(248, 240, 228, .14);
    --btn-bg: #F0B64F;
    --btn-fg: #1B1014;
    --btn-hover: #F7D084;
    --focus: #F7D084;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
    --grain-opacity: .05;
    --grain-blend: screen;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1014;
  --paper-2: #241519;
  --card: #221318;
  --ink: #F4ECE2;
  --muted: #B9A69D;
  --plum: #8C2F47;
  --plum-2: #A33A55;
  --plum-deep: #F4ECE2;
  --accent: #F0B64F;
  --gold: #F0B64F;
  --gold-2: #F7D084;
  --gold-soft: #3A2A14;
  --on-gold: #3F0F1C;
  --green: #86B585;
  --line: rgba(244, 236, 226, .14);
  --line-strong: rgba(244, 236, 226, .34);
  --block-bg: #2B131B;
  --block-fg: #F8F0E4;
  --block-muted: rgba(248, 240, 228, .7);
  --block-line: rgba(248, 240, 228, .14);
  --btn-bg: #F0B64F;
  --btn-fg: #1B1014;
  --btn-hover: #F7D084;
  --focus: #F7D084;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
  --grain-opacity: .05;
  --grain-blend: screen;
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* fascia sopra l'header sticky, sotto la barra di sistema del telefono */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
/* grana leggera su tutta la pagina */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-2); color: var(--on-gold); }
b, strong { font-weight: 650; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); flex: none; }

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.028em;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  text-wrap: balance;
  margin: 0 0 1.4rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.05rem, 4.8vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.022em;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 96;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 36;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 34ch; color: var(--ink); }
.section-head { display: grid; gap: .25rem; max-width: 64ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .75rem; }
.section-head .muted { font-size: 1.05rem; max-width: 52ch; }

/* --------------------------------------------------------------------------
   Bottoni e chip
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .85rem 1.45rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 24px -14px rgba(42, 16, 22, .6); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { min-height: 2.55rem; padding: .55rem 1.1rem; font-size: .9rem; }
.btn:active { transform: translateY(0) scale(.98); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip {
  font: 600 .86rem/1 var(--font-body);
  padding: .68rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand-mark { width: 2rem; height: 2rem; color: var(--gold); flex: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 36;
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.6rem; }
.nav-list a {
  font: 500 .95rem/1 var(--font-body); text-decoration: none; color: var(--ink);
  padding: .5rem 0; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: none; margin: 0; color: var(--muted); font-size: .95rem; }
.nav-phone a { color: var(--ink); font-weight: 600; text-decoration: none; }

.nav-toggle {
  display: none; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--card); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  position: relative; z-index: 70;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 65;
    background: var(--paper);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.5rem;
    padding: calc(5rem + env(safe-area-inset-top, 0px)) var(--gutter-r) 3rem var(--gutter);
    transform: translateY(-2%); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: .4rem; }
  .nav-list a {
    font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.02em;
    font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 72;
  }
  .nav-actions { flex-direction: column; align-items: flex-start; }
  .nav-phone { display: block; }
  html.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .22s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .38s; }
.hero-copy > :nth-child(6) { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.1rem; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.hero-note a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-note a:hover { text-decoration: underline; text-underline-offset: .2em; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); }
.status.is-open::before { background: #3FA56B; box-shadow: 0 0 0 4px rgba(63, 165, 107, .25); }
.status.is-closed::before { background: #C9553D; box-shadow: 0 0 0 4px rgba(201, 85, 61, .22); }

.trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust li { display: grid; gap: .15rem; }
.trust strong {
  font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.trust strong small { font-size: .55em; color: var(--muted); font-weight: 400; margin-left: .1em; }
.trust span { font-size: .82rem; color: var(--muted); }

/* composizione illustrata */
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 100%; animation: fadeScale 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fadeScale { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.blob {
  position: absolute; inset: 4% 2%; border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, var(--gold-soft), transparent 68%),
    radial-gradient(circle at 70% 76%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 62%);
  filter: blur(12px);
}
.art-tagliere {
  position: absolute; left: 2%; top: 16%; width: 96%; height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 26px 28px rgba(42, 16, 22, .22));
}

.badge { position: absolute; left: 0; top: 0; width: 36%; aspect-ratio: 1; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.ring-text { font: 600 15.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.badge-core { position: absolute; inset: 29%; width: 42%; height: 42%; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* il biglietto all you can eat */
.ticket {
  position: absolute; right: -1%; bottom: 0; width: min(300px, 60%);
  background: var(--card); color: var(--ink);
  border-radius: 16px; transform: rotate(3deg);
  box-shadow: 0 30px 50px -26px rgba(42, 16, 22, .5), 0 0 0 1px var(--line);
  -webkit-mask: radial-gradient(11px at 0 66%, #0000 98%, #000), radial-gradient(11px at 100% 66%, #0000 98%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(11px at 0 66%, #0000 98%, #000), radial-gradient(11px at 100% 66%, #0000 98%, #000);
  mask-composite: intersect;
}
.ticket-main { padding: 1.1rem 1.25rem 1rem; }
.ticket-kicker { font: 700 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; }
.ticket-price { font-family: var(--font-display); font-weight: 500; font-size: 3.1rem; line-height: 1; letter-spacing: -.04em; margin: 0; font-variant-numeric: tabular-nums; }
.ticket-price .cur { font-size: .5em; vertical-align: .55em; margin-right: .1em; color: var(--muted); font-weight: 400; }
.ticket-price .dec { font-size: .55em; }
.ticket-sub { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }
.ticket-stub { padding: .85rem 1.25rem 1rem; border-top: 2px dashed var(--line-strong); }
.ticket-stub p { margin: 0; font-weight: 600; font-size: .9rem; }
.ticket-stub .fine { font-weight: 400; font-size: .76rem; color: var(--muted); margin-top: .2rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 540px; margin-top: 1rem; }
}
@media (max-width: 480px) {
  .ticket { width: 62%; }
  .ticket-price { font-size: 2.5rem; }
  .ring-text { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--gold); color: var(--on-gold);
  overflow: hidden; padding-block: .85rem;
  border-block: 1px solid rgba(63, 15, 28, .12);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.marquee-set i { font: 600 .9rem/1 var(--font-body); font-style: normal; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee-set svg { width: 14px; height: 14px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section.alt { background: var(--paper-2); }
.block { background: var(--block-bg); color: var(--block-fg); }
.block .eyebrow { color: var(--gold-2); }
.block .eyebrow::before { background: var(--gold-2); }
.block h2 em { color: var(--gold-2); }
.block .muted { color: var(--block-muted); }

/* Il locale */
.locale-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.locale-copy p { max-width: 56ch; }
.quote {
  margin: 2rem 0 0; padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--gold);
}
.quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.3;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 48; margin: 0; max-width: 30ch;
}
.quote footer { font: 600 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .9rem; }

.pillars { display: grid; }
.pillar { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.4rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-art { width: 96px; height: 96px; filter: drop-shadow(0 10px 12px rgba(42, 16, 22, .14)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pillar:hover .pillar-art { transform: rotate(-6deg) scale(1.06); }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }
.pillar p b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .locale-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pillar { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; }
  .pillar-art { width: 64px; height: 64px; }
}

/* Formule */
.formule-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.1rem; align-items: stretch; }
.formula {
  display: grid; gap: .9rem; align-content: start;
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--block-line);
}
.formula h3 { font-size: 1.7rem; }
.formula p { margin: 0; color: var(--block-muted); }
.formula .btn { justify-self: start; margin-top: .5rem; }
.block .btn-ghost { color: var(--block-fg); border-color: rgba(248, 240, 228, .4); }
.block .btn-ghost:hover { background: var(--block-fg); color: var(--block-bg); border-color: var(--block-fg); }
.price-mid { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--gold-2) !important; }

.formula.featured {
  background: var(--paper); color: var(--ink); border-color: transparent;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.formula.featured::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%); pointer-events: none;
}
.formula.featured p { color: var(--muted); }
.formula-tag {
  justify-self: start; font: 700 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-gold) !important; background: var(--gold-2); padding: .45rem .7rem; border-radius: 999px;
}
.price-big {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.04em;
  color: var(--ink) !important; font-variant-numeric: tabular-nums; margin-top: .2rem !important;
}
.price-big .cur { font-size: .45em; vertical-align: .6em; margin-right: .1em; color: var(--muted); font-weight: 400; }
.price-big .dec { font-size: .55em; }
.price-sub { font-size: .92rem; margin-top: -.5rem !important; }
.checks { display: grid; gap: .55rem; margin-top: .4rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; line-height: 1.4; }
.checks svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--green); margin-top: .1rem; }
.formula .fine { font-size: .82rem; }

.formula-notes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--block-line);
  color: var(--block-muted); font-size: .95rem; line-height: 1.5;
}
.formula-notes b { display: block; color: var(--block-fg); font-weight: 650; margin-bottom: .15rem; }
@media (max-width: 960px) { .formule-grid { grid-template-columns: 1fr 1fr; } .formula.featured { grid-column: 1 / -1; } }
@media (max-width: 600px) { .formule-grid { grid-template-columns: 1fr; } }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem); }
.menu-cat { scroll-margin-top: calc(6rem + env(safe-area-inset-top, 0px)); }
.menu-cat h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .4rem; }
.cat-note { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }
.dishes { display: grid; }
.dish {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .15rem;
  padding: .85rem 0; border-top: 1px solid var(--line);
  transition: background .2s;
}
.dish:last-child { border-bottom: 1px solid var(--line); }
.dish-name { font-weight: 550; font-size: 1.06rem; line-height: 1.3; }
.dish-price { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tag {
  display: inline-block; vertical-align: .2em; margin-left: .4rem;
  font: 700 .6rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .42rem; border-radius: 999px; border: 1px solid currentColor; color: var(--green);
}
.tag.gf { color: var(--accent); }
.menu-foot { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; max-width: 70ch; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }

/* Il rito */
.rito-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.rito-card {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.5rem; align-items: center;
  padding: 1.75rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.rito-art { width: 120px; height: 120px; filter: drop-shadow(0 14px 14px rgba(42, 16, 22, .16)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.rito-card:hover .rito-art { transform: rotate(8deg) scale(1.05); }
.rito-card h3 { margin-bottom: .4rem; }
.rito-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.rule {
  display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem;
  padding: 1.4rem 1.75rem; border-radius: var(--radius);
  background: var(--gold-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
.rule-mark { width: 44px; height: 44px; flex: none; color: var(--accent); }
.rule p { margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) {
  .rito-grid { grid-template-columns: 1fr; }
  .rito-card { grid-template-columns: 88px minmax(0, 1fr); gap: 1.1rem; padding: 1.4rem; }
  .rito-art { width: 88px; height: 88px; }
}

/* Recensioni */
.scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.score {
  display: grid; gap: .2rem; align-content: start;
  padding: 1.4rem 1.5rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.score:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.score strong { font-family: var(--font-display); font-weight: 500; font-size: 2.7rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score strong small { font-size: .45em; color: var(--muted); font-weight: 400; }
.score span { font-weight: 600; font-size: .95rem; margin-top: .3rem; }
.score small { color: var(--muted); font-size: .82rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.review {
  display: grid; gap: 1rem; align-content: space-between;
  padding: 1.4rem 1.5rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
}
.review p {
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 36; margin: 0; text-wrap: pretty;
}
.review p::before { content: "“"; color: var(--gold); margin-right: .05em; }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .84rem; color: var(--muted); }
.src { font: 700 .66rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
@media (max-width: 900px) { .scores, .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scores, .reviews { grid-template-columns: 1fr; } }

/* Social */
.social-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1rem; }
.social-card {
  position: relative; overflow: hidden; min-height: 250px;
  display: grid; gap: .3rem; align-content: end;
  padding: 1.75rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.social-card.ig { background: linear-gradient(145deg, var(--gold-soft), var(--card) 70%); }
.social-card.tt { background: var(--ink); color: var(--paper); border-color: transparent; }
.social-ico { width: 2rem; height: 2rem; margin-bottom: auto; }
.handle { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.02em; line-height: 1.05; margin-top: 1.5rem; }
.social-meta { font-size: .85rem; opacity: .75; }
.social-desc { font-size: .95rem; margin-top: .4rem; }
.sticker {
  position: absolute; top: 1.25rem; right: 1.25rem; transform: rotate(5deg);
  background: var(--gold); color: var(--on-gold);
  font: 700 .8rem/1 var(--font-body); padding: .55rem .75rem; border-radius: 10px;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5);
}
.hashtag {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 7rem); line-height: 1; letter-spacing: -.03em;
  color: var(--accent); opacity: .9; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
@media (max-width: 900px) { .social-grid { grid-template-columns: 1fr 1fr; } .social-card.ig { grid-column: 1 / -1; min-height: 220px; } }
@media (max-width: 560px) { .social-grid { grid-template-columns: 1fr; } .social-card { min-height: 200px; } }

/* Dove siamo */
.dove-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.dove-info { display: grid; gap: 2rem; }
.info-block { display: grid; gap: .75rem; justify-items: start; }
.info-block h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; }
.info-block h3 .ico { width: 1.15em; height: 1.15em; color: var(--accent); }
.info-block p { margin: 0; }
.addr { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: .6rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; white-space: nowrap; font-weight: 500; padding-left: 1rem; }
.hours tr.today td { color: var(--accent); font-weight: 650; }
.hours tr.today td:first-child::after { content: "oggi"; font: 700 .62rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; margin-left: .5rem; padding: .25rem .4rem; border-radius: 999px; background: var(--gold-2); color: var(--on-gold); vertical-align: .15em; }
.status-line { font-size: .95rem; }
.contacts { display: grid; gap: .4rem; }
.contacts li { display: flex; align-items: center; gap: .75rem; }
.contacts a { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; font-variant-numeric: tabular-nums; }
.contacts a:hover { color: var(--accent); }
.copy {
  font: 600 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
}
.copy:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.map { margin: 0; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); padding: 1rem; overflow: hidden; }
.map svg { width: 100%; height: auto; display: block; }
.map figcaption { font-size: .8rem; color: var(--muted); padding: .75rem .25rem 0; }
.map-minor path { stroke: var(--line); stroke-width: 2; fill: none; }
.map-side { stroke: var(--line-strong); stroke-width: 5; fill: none; stroke-linecap: round; }
.map-road { stroke: var(--gold-2); stroke-width: 14; fill: none; stroke-linecap: round; }
.map-walk { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 2 9; stroke-linecap: round; }
.map-label text { font: 600 11.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; fill: var(--muted); }
.map-node circle { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.map-node text { font: 600 13px var(--font-body); fill: var(--ink); }
.map-node.metro circle { fill: var(--gold); stroke: var(--ink); }
.metro-lbl { font: 800 12px var(--font-body) !important; fill: var(--on-gold) !important; letter-spacing: 0; }
.map-sub { font: 500 11.5px var(--font-body) !important; fill: var(--muted) !important; }
.pin-halo { fill: var(--plum); opacity: .18; }
.pin-dot { fill: var(--plum); }
.pin-mark { color: var(--gold-2); }
.pin-lbl { font-family: var(--font-display); font-weight: 600; font-size: 20px; fill: var(--ink); letter-spacing: -.01em; }
.services { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.services li { font: 500 .86rem/1 var(--font-body); padding: .62rem .95rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
@media (max-width: 900px) { .dove-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-foot { background: var(--block-bg); color: var(--block-fg); padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem 2rem; }
.foot-brand p { color: var(--block-muted); max-width: 40ch; margin-top: 1.25rem; font-size: .98rem; }
.site-foot .brand-name em { color: var(--gold-2); }
.site-foot .brand-mark { color: var(--gold-2); }
.foot-col h4 { font: 600 .76rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem; }
.foot-col p { color: var(--block-muted); font-size: .98rem; margin-bottom: .75rem; }
.foot-col a { color: var(--block-fg); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot-social { display: grid; gap: .55rem; }
.foot-social a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; }
.foot-social svg { width: 1.1rem; height: 1.1rem; color: var(--gold-2); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid var(--block-line);
  font-size: .84rem; color: var(--block-muted);
}
.foot-bottom a { color: var(--block-fg); }
@media (max-width: 900px) { .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
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .65rem var(--gutter-r) calc(.65rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { min-height: 2.9rem; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  .site-foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* --------------------------------------------------------------------------
   Rivelazione allo scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero-art { animation: none; }
  .badge-ring, .marquee-track { animation: none; }
  .btn, .pillar-art, .rito-art, .social-card, .score, .brand-mark { transition: none; }
}
