/* ═══════════════════════════════════════════════════════════
   LIVE FISH & SUSHI — Fusion Restaurant, Capo Vaticano
   Palette: Nero Lava · Avorio · Oro Live · Sabbia · Verde Notte
   Type:    Italiana (display) · Cormorant Garamond italic (accento)
            Manrope (testo / interfaccia)
   ═══════════════════════════════════════════════════════════ */

:root {
  --nero:        #0B0A08;
  --carbone:     #14120E;
  --carbone-2:   #1B1812;
  --verde-notte: #0C100C;
  --oro:         #D9A83C;
  --oro-chiaro:  #EEB60D;
  --oro-scuro:   #C69420;
  --avorio:      #F1EBDE;
  --sabbia:      #A99E8F; /* 7.5:1 su nero — AAA */
  --nero-rgb:    11 10 8;
  --errore:      #C65B4E;

  /* superficie chiara (sezioni "di luce" come la Delivery) */
  --crema:       #EFE8DA;
  --inchiostro:  #17130F;
  --terra:       #6E6355; /* muted su chiaro, >=4.5:1 */
  --oro-bruno:   #A0791C; /* oro leggibile su crema */
  --linea-scura: rgb(23 19 15 / .16);
  --linea:       rgba(217, 168, 60, .22);
  --linea-soft:  rgba(241, 235, 222, .08);
  --linea-input: rgba(241, 235, 222, .5); /* bordo campi: >=3:1 (WCAG 1.4.11) */

  --font-display: "Italiana", serif;
  --font-accent:  "Cormorant Garamond", serif;
  --font-body:    "Manrope", sans-serif;

  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --dur:       .9s;

  --pad-section: clamp(5.5rem, 12vw, 10rem);
  --gap-head:    clamp(3.5rem, 9vw, 5rem); /* testata sezione → contenuto */
  --container:   1200px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--nero);
  color: var(--avorio);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* il wrapper <picture> non deve creare un box: l'img eredita i contesti di layout
   (height:100% della Delivery, aspect-ratio delle cornici, flex dei bottoni) */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
address { font-style: normal; }
::selection { background: var(--oro); color: var(--nero); }

/* Scrollbar su misura: traccia nera, thumb d'oro (desktop) */
html { scrollbar-width: thin; scrollbar-color: rgba(217, 168, 60, .45) var(--nero); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--nero); }
::-webkit-scrollbar-thumb {
  background: rgba(217, 168, 60, .35);
  border-radius: 999px;
  border: 2px solid var(--nero);
}
::-webkit-scrollbar-thumb:hover { background: rgba(217, 168, 60, .6); }

/* Grana film su tutta la pagina: il racconto è analogico (vinile, candele),
   la superficie non deve essere digitalmente piatta */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000; /* sopra ogni layer, lightbox inclusa: la grana è uniforme */
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 200;
  background: var(--oro);
  color: var(--nero);
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  transform: translateY(-200%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ── Layout primitives ───────────────────────────────────── */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--pad-section); position: relative; scroll-margin-top: 4.5rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.4rem;
}
/* filetto che accompagna l'etichetta: a sinistra, o ai due lati se centrata */
.eyebrow::before {
  content: "";
  flex: none;
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .8;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  flex: none;
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: .8;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
  text-wrap: balance;
}
.section-title.center { text-align: center; }
.section-title .gold { color: var(--oro); }

.muted { color: var(--sabbia); }

em { font-family: var(--font-accent); font-style: italic; font-size: 1.12em; letter-spacing: .01em; line-height: 1; }
strong { font-weight: 600; color: var(--avorio); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap; /* le CTA non vanno mai su due righe */
  border-radius: 999px;
  transition: color .35s var(--ease-out), background-color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out),
              filter .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--oro-scuro), var(--oro-chiaro));
  color: #171204;
}
.btn-gold:hover { filter: brightness(1.12); }
/* riflesso che attraversa la pill all'hover */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .38) 50%, transparent 58%);
  transform: translateX(-110%);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
}
.btn-gold:hover::after { transform: translateX(110%); }

.btn-ghost {
  border: 1px solid var(--linea);
  color: var(--avorio);
  background: rgb(var(--nero-rgb) / .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--oro); color: var(--oro); }

.btn-small { padding: .58rem 1.25rem; font-size: .67rem; letter-spacing: .18em; }

.section-cta { text-align: center; margin-top: 4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.section-cta.left { justify-content: flex-start; margin-top: 2.6rem; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: transform .5s var(--ease-out), background-color .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
/* velo di leggibilità sopra l'hero, sparisce quando la barra diventa solida */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40%;
  background: linear-gradient(rgb(var(--nero-rgb) / .62), transparent);
  pointer-events: none;
  z-index: -1;
  transition: opacity .5s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled {
  background: rgb(var(--nero-rgb) / .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--linea-soft);
}
.site-header.menu-open { z-index: 130; }

.header-inner {
  width: min(100% - 3rem, 1360px);
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: .9rem;
  transition: padding .45s var(--ease-out);
}
/* versione minimal quando si scrolla: barra più sottile, marchio ridotto */
.site-header.is-scrolled .header-inner { padding-block: .5rem; }
/* il crest vive nell'hero: qui attracca (fade+scale) solo superata metà viewport,
   ancorato al centro geometrico della barra */
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(calc(-50% + 10px)) scale(.72);
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s;
}
.brand img { width: 44px; transition: transform .4s var(--ease-out); }
.site-header.brand-in .brand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-50%) scale(1);
}
.brand:hover img { transform: rotate(8deg); }

/* azioni rapide con icona: ogni voce è una conversione */
.header-quick { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 1.9rem); justify-self: start; }
.header-quick a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--avorio);
  padding-block: .3rem;
  white-space: nowrap;
  transition: color .3s;
}
.header-quick svg { color: var(--oro); flex: none; }
.header-quick a:hover { color: var(--oro-chiaro); }

.header-actions { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.4rem); justify-self: end; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--avorio);
  white-space: nowrap;
  transition: color .3s;
}
.header-tel svg { color: var(--oro); flex: none; }
.header-tel:hover { color: var(--oro-chiaro); }
.header-social { gap: .45rem; }
.header-social a { width: 30px; height: 30px; }
.header-social svg { width: 13px; height: 13px; }

/* hamburger nel cerchio d'oro, sempre presente: l'overlay è la navigazione */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: .6rem;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--linea);
  border-radius: 50%;
  transition: border-color .3s, transform .3s var(--ease-out);
  z-index: 130;
}
.nav-toggle:hover { border-color: var(--oro); transform: translateY(-1px); }
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: var(--avorio);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav-toggle.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ── Selettore lingua ────────────────────────────────────── */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .6rem .85rem;
  border: 1px solid var(--linea);
  border-radius: 999px;
  color: var(--avorio);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  transition: border-color .3s, color .3s, transform .3s var(--ease-out);
}
.lang-toggle:hover { border-color: var(--oro); color: var(--oro-chiaro); transform: translateY(-1px); }
.lang-toggle svg { color: var(--oro); flex: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  min-width: 158px;
  background: var(--carbone-2);
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: .4rem;
  z-index: 140;
  box-shadow: 0 18px 50px rgb(0 0 0 / .55);
}
.lang-menu[hidden] { display: none; }
.lang-menu li + li { margin-top: 1px; }
.lang-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .62rem .9rem;
  border-radius: 9px;
  font-size: .84rem;
  color: var(--sabbia);
  text-align: left;
  transition: background-color .25s, color .25s;
}
.lang-menu button:hover { background: rgb(217 168 60 / .12); color: var(--avorio); }
.lang-menu button.is-active { color: var(--oro); }
.lang-menu button.is-active::after { content: "✓"; margin-left: auto; font-size: .8em; }

/* riga lingua nell'overlay mobile */
.mobile-lang { display: flex; gap: .5rem; flex-wrap: wrap; }
.mobile-lang button {
  min-width: 44px;
  min-height: 44px;
  padding: .5rem .95rem;
  border: 1px solid var(--linea);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--sabbia);
  transition: background-color .3s, color .3s, border-color .3s;
}
.mobile-lang button:hover { border-color: var(--oro); color: var(--oro); }
.mobile-lang button.is-active { background: var(--oro); border-color: var(--oro); color: #171204; }

/* ── Mobile menu ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgb(var(--nero-rgb) / .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow-y: auto;
  padding: 5.5rem clamp(1.5rem, 8vw, 4rem) 2.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
/* margini auto: centrato quando c'è spazio, scrollabile senza clipping quando manca */
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  width: min(100%, 560px); /* anche su desktop l'overlay resta un indice editoriale compatto */
}
.mobile-menu .mobile-menu-foot { margin-bottom: auto; width: min(100%, 560px); }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--linea-soft);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 6vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out),
              color .3s, padding-left .35s var(--ease-out);
}
.mobile-menu nav a:first-child { border-top: 1px solid var(--linea-soft); }
/* icona su misura a chiudere la riga: ogni voce è un'azione riconoscibile */
.mobile-menu nav a svg {
  flex: none;
  color: var(--oro);
  opacity: .78;
  transition: opacity .3s, transform .35s var(--ease-out);
}
.mobile-menu nav a:hover svg,
.mobile-menu nav a:active svg { opacity: 1; transform: scale(1.08); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover,
.mobile-menu nav a:active { color: var(--oro); padding-left: .5rem; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 1.4rem; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-tel { font-size: .9rem; color: var(--sabbia); letter-spacing: .1em; padding: .6rem 0; }

.social-row { display: flex; gap: .8rem; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--linea);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--sabbia);
  transition: color .3s, border-color .3s, transform .3s var(--ease-out);
}
.social-row a:hover { color: var(--oro); border-color: var(--oro); transform: translateY(-2px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 7rem 1.5rem 7.5rem;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.8);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    /* velo nero leggerissimo e uniforme */
    linear-gradient(rgb(var(--nero-rgb) / .15), rgb(var(--nero-rgb) / .15)),
    radial-gradient(ellipse at center, rgb(var(--nero-rgb) / .25) 0%, rgb(var(--nero-rgb) / .78) 100%),
    linear-gradient(to bottom, rgb(var(--nero-rgb) / .55), rgb(var(--nero-rgb) / .25) 40%, var(--nero) 98%);
}

.hero-content { display: flex; flex-direction: column; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--oro);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: .55rem 1.3rem;
  margin-bottom: 2.8rem;
  background: rgb(var(--nero-rgb) / .4);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 1.2s ease .5s, border-color .35s, color .35s;
}
.hero.is-loaded .hero-badge { opacity: 1; }
.hero-badge:hover { border-color: var(--oro); color: var(--oro-chiaro); }
.badge-star { font-size: .95em; color: var(--oro-chiaro); margin-left: .3rem; }
.badge-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.badge-logo { flex: none; display: block; }
.badge-sep { opacity: .55; }

.hero-title { display: flex; flex-direction: column; align-items: center; }

/* il marchio è il protagonista del lockup, al posto della parola */
.hero-logo {
  width: min(clamp(230px, 26vw, 360px), 34vh);
  height: auto;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, .5));
  opacity: 0;
  transform: translateY(16px) scale(.94);
  transition: opacity 1.3s var(--ease-out) .15s, transform 1.3s var(--ease-out) .15s;
}
.hero.is-loaded .hero-logo { opacity: 1; transform: none; }

.hero-sub-title {
  font-family: var(--font-display);
  font-size: clamp(.85rem, 4.7vw, 2rem);
  letter-spacing: .52em;
  margin-right: -.52em;
  text-transform: uppercase;
  color: var(--oro);
  margin-top: 1.8rem;
  opacity: 0;
  transition: opacity 1.4s ease .9s;
}
.hero.is-loaded .hero-sub-title { opacity: 1; }

.hero-tagline {
  margin-top: 2.2rem;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  letter-spacing: .06em;
  color: var(--avorio);
  opacity: 0;
  transition: opacity 1.4s ease 1.15s;
}
.hero.is-loaded .hero-tagline { opacity: .92; }
.hero-tagline em { color: var(--oro-chiaro); }

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease-out) 1.35s, transform 1.1s var(--ease-out) 1.35s;
}
.hero.is-loaded .hero-cta { opacity: 1; transform: none; }

.hero-foot {
  position: absolute;
  bottom: 2.2rem;
  inset-inline: 0;
  /* tre colonne uguali: la linea centrale resta in asse col titolo
     anche se i testi laterali hanno larghezze diverse */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  transition: opacity 1.6s ease 1.7s;
}
.hero-foot .hero-place { justify-self: start; }
.hero-foot .scroll-hint { justify-self: center; grid-column: 2; }
.hero-foot .hero-motto { justify-self: end; }
.hero.is-loaded .hero-foot { opacity: 1; }
.hero-place, .hero-motto {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sabbia);
}
.scroll-hint {
  width: 1px; height: 44px;
  background: var(--linea);
  position: relative;
  overflow: hidden;
}
.scroll-hint span {
  position: absolute;
  top: -40%;
  width: 100%; height: 40%;
  background: var(--oro-chiaro);
  animation: scroll-drop 2.2s var(--ease-out) infinite;
}
@keyframes scroll-drop { to { top: 110%; } }

/* ═══════════════ PHILOSOPHY ═══════════════ */
.philosophy { background: var(--nero); }

.vertical-label {
  position: absolute;
  top: var(--pad-section);
  right: clamp(.6rem, 3vw, 2.5rem);
  writing-mode: vertical-rl;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .6em;
  text-transform: uppercase;
  color: var(--linea);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}
.philosophy-copy p { margin-bottom: 1.35rem; color: var(--sabbia); max-width: 56ch; font-size: 1.0625rem; }
.philosophy-copy p:last-child { margin-bottom: 0; color: var(--avorio); }

.philosophy-figure { position: relative; }
.philosophy-figure figcaption {
  margin-top: 1.2rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sabbia);
}

/* Cornice galleria — foto con filo d'oro sfalsato dietro */
.frame-offset {
  position: relative;
  border-radius: 14px;
  isolation: isolate;
}
.frame-offset::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--oro);
  opacity: .5;
  border-radius: inherit;
  translate: 18px 18px;
  z-index: -1;
  pointer-events: none;
}
.frame-clip {
  overflow: hidden;
  border-radius: inherit;
  border: 1px solid var(--linea-soft);
}
.frame-clip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.frame-offset:hover .frame-clip img { transform: scale(1.045); }

/* ═══════════════ MARQUEE ═══════════════ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--linea-soft);
  padding-block: 1.5rem;
  background: var(--carbone);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.marquee-reverse { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--sabbia);
  white-space: nowrap;
  padding-right: .5rem;
}
.marquee-track i {
  font-style: normal;
  color: var(--oro);
  font-size: .8em;
  margin-inline: 1.4rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ MENU ═══════════════ */
.menu { background: var(--nero); }
.menu-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: var(--gap-head); }
.menu-intro p { color: var(--sabbia); margin-bottom: 1.2rem; font-size: 1.0625rem; }
.menu-intro-final { color: var(--oro-chiaro) !important; font-size: 1.15rem; }

.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.menu-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.menu-card:hover img { transform: scale(1.05); }
/* la card è tutta un link al menù: il gesto di hover già lo prometteva */
.menu-card-link {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: inherit;
}
.menu-card:has(.menu-card-link:focus-visible) {
  outline: 2px solid var(--oro);
  outline-offset: 4px;
}
/* freccia in cerchietto: segnala che la card apre il menù (nuova scheda) */
.menu-card-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--linea);
  color: var(--oro);
  background: rgb(var(--nero-rgb) / .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translate(6px, -6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out),
              background-color .3s, color .3s;
}
.menu-card:hover .menu-card-arrow,
.menu-card:has(.menu-card-link:focus-visible) .menu-card-arrow {
  opacity: 1;
  transform: none;
}
.menu-card:hover .menu-card-arrow { background: var(--oro); color: #171204; border-color: var(--oro); }
/* su touch non c'è hover: la freccia resta sempre visibile come affordance */
@media (hover: none) {
  .menu-card-arrow { opacity: 1; transform: none; }
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(var(--nero-rgb) / .96) 0%, rgb(var(--nero-rgb) / .8) 32%, rgb(var(--nero-rgb) / .42) 58%, rgb(var(--nero-rgb) / .08) 100%);
  transition: background-color .5s;
}
.menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid var(--linea-soft);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color .5s;
}
.menu-card:hover::after { border-color: var(--linea); }
.menu-card-body {
  position: relative;
  z-index: 2;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  text-shadow: 0 1px 14px rgb(var(--nero-rgb) / .6);
}
.menu-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.12;
  transition: color .45s var(--ease-out);
}
.menu-card:hover h3 { color: var(--oro-chiaro); }
.menu-card h3::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--oro);
  margin-block: .75rem;
  transition: width .5s var(--ease-out);
}
.menu-card:hover h3::after { width: 76px; }
.menu-card p {
  color: rgba(241, 235, 222, .88);
  font-size: .9rem;
  line-height: 1.65;
}

/* ═══════════════ ATMOSPHERE ═══════════════ */
.atmosphere { background: linear-gradient(var(--verde-notte), var(--nero)); }
.atmosphere-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: var(--gap-head);
}
.atmosphere-head .section-title { margin-bottom: 0; }
.atmosphere-intro p { color: var(--sabbia); margin-bottom: 1.2rem; font-size: 1.0625rem; }
.atmosphere-intro p:last-child { margin-bottom: 0; }

.rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.5rem);
  padding-bottom: 3.5rem; /* compensa il translateY della card centrale */
}
.room:nth-child(2) { transform: translateY(3.5rem); }
.room:nth-child(2).reveal { transform: translateY(calc(3.5rem + 34px)); }
.room:nth-child(2).reveal.is-visible { transform: translateY(3.5rem); }
.room h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 1.6rem;
}
.room p { color: var(--sabbia); font-size: 1rem; margin-top: .5rem; }
.room .frame-clip img { aspect-ratio: 3 / 4.2; }

/* ═══════════════ SIGNATURE ═══════════════ */
.signature { background: var(--nero); }
.signature-head { text-align: center; margin-bottom: var(--gap-head); }

/* Spotlight: lista tipografica + anteprima nella cornice */
.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}
.signature-list { display: grid; }
.sig-media { display: none; }
.sig-item {
  position: relative;
  border-bottom: 1px solid var(--linea-soft);
  padding-block: 1.6rem;
  transition: opacity var(--dur) var(--ease-out) var(--reveal-delay, 0s),
              transform var(--dur) var(--ease-out) var(--reveal-delay, 0s),
              border-color .5s;
}
.sig-item:first-child { border-top: 1px solid var(--linea-soft); }
.sig-item::before {
  /* indicatore oro del piatto attivo */
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 1.9rem;
  width: 3px;
  height: 0;
  background: linear-gradient(var(--oro-chiaro), var(--oro-scuro));
  border-radius: 2px;
  transition: height .5s var(--ease-out);
}
.sig-item.is-active::before { height: 2.1rem; }
.sig-name {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--avorio);
  cursor: pointer;
  transition: color .45s var(--ease-out), translate .45s var(--ease-out);
}
.sig-item:hover .sig-name { translate: 8px 0; }
.sig-item.is-active .sig-name { color: var(--oro); }
.sig-desc {
  color: var(--sabbia);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 46ch;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .6s var(--ease-out), opacity .5s var(--ease-out), margin-top .5s var(--ease-out);
}
.sig-item.is-active .sig-desc { max-height: 8em; opacity: 1; margin-top: .7rem; }

.signature-preview { width: min(100%, 440px); justify-self: end; }
.signature-preview .frame-clip img {
  aspect-ratio: 4 / 5;
  transition: opacity .3s ease, transform 1.4s var(--ease-out);
}
.signature-preview.is-fading .frame-clip img { opacity: 0; }

.signature .section-cta { margin-top: 4.5rem; }

/* ═══════════════ DELIVERY ═══════════════ */
/* parentesi di luce nel racconto scuro: la sezione respira su crema */
.delivery { background: var(--crema); color: var(--inchiostro); }
.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: stretch;
}
.delivery-sub { color: var(--sabbia); max-width: 44ch; }

.delivery-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
}
.delivery-media {
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--linea-soft);
}
.delivery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease-out);
}
/* ingresso: la foto "si assesta" da una scala leggermente maggiore */
.delivery-visual.reveal .delivery-media img { transform: scale(1.1); }
.delivery-visual.reveal.is-visible .delivery-media img { transform: scale(1); }

/* due opzioni distinte, separate da un "oppure" */
.delivery-options {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.1rem;
  align-items: stretch;
  max-width: 560px;
}
.delivery-option {
  border: 1px solid var(--linea-soft);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.4rem;
  transition: opacity var(--dur) var(--ease-out) var(--reveal-delay, 0s),
              transform var(--dur) var(--ease-out) var(--reveal-delay, 0s),
              translate .4s var(--ease-out),
              border-color .45s;
}
.delivery-option.reveal { transform: translateX(-44px); }
.delivery-option.reveal.is-visible { transform: none; }
.delivery-option:hover { border-color: var(--linea); translate: 0 -4px; }
.delivery-divider {
  align-self: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--oro);
  padding-inline: .2rem;
}
.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  color: var(--oro);
  margin-bottom: 1rem;
  transition: background-color .4s, color .4s, border-color .4s,
              scale .4s var(--ease-out), rotate .4s var(--ease-out);
}
.delivery-option:hover .point-icon {
  background: var(--oro);
  color: #171204;
  border-color: var(--oro);
  scale: 1.08;
  rotate: -8deg;
}
.delivery-note {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
  color: var(--sabbia);
  font-size: .9rem;
  max-width: 560px;
}
.delivery-note svg { flex: none; color: var(--oro); }
.delivery-option h3 {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--oro);
}
.delivery-option p { color: var(--sabbia); font-size: .9rem; line-height: 1.6; margin-top: .35rem; }

/* tema chiaro della Delivery: stessi gesti, inchiostro e ori bruniti */
.delivery .eyebrow { color: var(--oro-bruno); }
.delivery .section-title .gold { color: var(--oro-bruno); }
.delivery .delivery-sub,
.delivery .delivery-option p,
.delivery .delivery-note { color: var(--terra); }
.delivery .delivery-option { border-color: var(--linea-scura); background: rgb(255 253 248 / .35); }
.delivery .delivery-option:hover { border-color: rgb(160 121 28 / .5); }
.delivery .delivery-option h3,
.delivery .delivery-divider,
.delivery .delivery-note svg { color: var(--oro-bruno); }
.delivery .point-icon { border-color: rgb(160 121 28 / .45); color: var(--oro-bruno); }

/* ═══════════════ REVIEWS ═══════════════ */
.reviews { background: var(--nero); text-align: center; }
.reviews-grid {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: var(--gap-head);
  flex-wrap: wrap;
}
/* riga piattaforma: badge con il logo, punteggio e invito a leggere */
.review-row {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  text-align: left;
  padding: .5rem .3rem;
  transition: transform .45s var(--ease-out);
}
.review-row:hover { transform: translateY(-3px); }
.review-badge {
  width: 54px;
  height: 54px;
  flex: none;
  background: var(--avorio);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.review-badge-ta { color: var(--nero); }
.review-data { display: grid; gap: .4rem; justify-items: start; }
.review-line { display: flex; align-items: baseline; gap: .8rem; }
.review-score {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--avorio);
}
.review-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sabbia);
  transition: color .3s;
}
.review-arrow { transition: transform .35s var(--ease-out); }
.review-row:hover .review-link { color: var(--oro-chiaro); }
.review-row:hover .review-arrow { transform: translateX(4px); }
.review-stars {
  position: relative;
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .3em;
  line-height: 1;
}
.stars-base { color: rgba(217, 168, 60, .28); }
.stars-fill {
  position: absolute;
  inset: 0;
  /* 4.6/5: (4 passi da 1.3em + 0.6 glifo da 1em) / larghezza totale 6.5em */
  width: 89.2%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--oro);
}
/* Google è a 4.7: (4×1.3em + 0.7em) / 6.5em */
.stars-4-7 .stars-fill { width: 90.8%; }

/* ═══════════════ MOMENTS ═══════════════ */
.moments { background: var(--nero); padding-bottom: 0; overflow: hidden; }
.moments-head { text-align: center; margin-bottom: var(--gap-head); }

.filmstrip { display: grid; gap: clamp(.8rem, 1.6vw, 1.4rem); padding-bottom: var(--pad-section); }
.filmstrip-row { overflow: hidden; padding-block: 10px; margin-block: -10px; }
.filmstrip-row:focus-visible { outline-offset: -3px; }
.filmstrip-track {
  display: flex;
  width: max-content;
  animation: marquee 96s linear infinite;
}
.filmstrip-track.filmstrip-reverse { animation-direction: reverse; }
/* velocità leggermente diverse per riga: il muro respira in modo organico */
.filmstrip-row:nth-child(1) .filmstrip-track { animation-duration: 88s; }
.filmstrip-row:nth-child(2) .filmstrip-track { animation-duration: 106s; }
.filmstrip-row:nth-child(3) .filmstrip-track { animation-duration: 94s; }
.filmstrip-row:nth-child(4) .filmstrip-track { animation-duration: 116s; }
@media (hover: hover) {
  .filmstrip-row:hover .filmstrip-track { animation-play-state: paused; }
}
.filmstrip-row:focus-within .filmstrip-track,
.filmstrip-row:focus .filmstrip-track { animation-play-state: paused; }
.strip-btn {
  flex: none;
  padding: 0;
  /* margin al posto di gap: ogni metà misura S+9g e translateX(-50%) chiude il loop senza scatti */
  margin-right: clamp(.8rem, 1.6vw, 1.4rem);
  border-radius: 10px;
  cursor: zoom-in;
}
.strip-btn:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.filmstrip-track img {
  height: clamp(190px, 20vw, 300px);
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  filter: saturate(.92);
  transition: filter .5s, opacity .5s, transform .7s var(--ease-out);
}
/* focus cinematografico: la foto attiva resta viva, le altre si attenuano
   (solo con hover reale o focus da tastiera: niente stati appiccicosi su touch) */
@media (hover: hover) {
  .filmstrip-row:hover .strip-btn:not(:hover) img { opacity: .4; filter: saturate(.55); }
  .strip-btn:hover img { opacity: 1; filter: saturate(1.08); transform: scale(1.03); }
}
.filmstrip-row:has(:focus-visible) .strip-btn:not(:focus-visible) img { opacity: .4; filter: saturate(.55); }
.strip-btn:focus-visible img { opacity: 1; filter: saturate(1.08); transform: scale(1.03); }

/* ═══════════════ AGENDA — EVENTI AL LIVE ═══════════════ */
.agenda { background: var(--nero); }
.agenda-head { text-align: center; max-width: 760px; margin-inline: auto; }
.agenda-head .section-title { margin-bottom: 1.4rem; }
.agenda-intro { color: var(--sabbia); font-size: 1.0625rem; max-width: 52ch; margin-inline: auto; }

.agenda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  max-width: 1080px;
  margin: var(--gap-head) auto 0;
}
.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(4rem, 6vw, 5rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--linea-soft);
}
.agenda-item:first-child { border-top: 1px solid var(--linea-soft); }
.agenda-item::before {
  /* indicatore oro del prossimo evento — stesso gesto della lista Signature */
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 2.4rem;
  width: 3px;
  height: 0;
  background: linear-gradient(var(--oro-chiaro), var(--oro-scuro));
  border-radius: 2px;
  transition: height .6s var(--ease-out);
}
.agenda-item.is-next::before { height: 2.6rem; }

.agenda-date {
  display: grid;
  justify-items: center;
  gap: .1rem;
  padding-top: .2rem;
}
.agenda-every {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--oro);
  opacity: .85;
}
.agenda-day {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--avorio);
  transition: color .45s var(--ease-out);
}
.agenda-item.is-next .agenda-day { color: var(--oro); }

.agenda-tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: .55rem;
}
.agenda-when { color: var(--sabbia); letter-spacing: .18em; margin-left: .3rem; white-space: nowrap; }
.agenda-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--avorio);
  text-wrap: balance;
  transition: color .45s var(--ease-out);
}
.agenda-title em { text-transform: none; color: var(--oro); }
@media (hover: hover) {
  .agenda-item:hover .agenda-title { color: var(--oro-chiaro); }
}
.agenda-desc {
  color: var(--sabbia);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 52ch;
  margin-top: .55rem;
}

.agenda-poster { width: min(100%, 440px); justify-self: end; }
.agenda-poster-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.2rem;
}
.agenda-poster .frame-clip img { aspect-ratio: 4 / 5; object-fit: cover; }

.agenda-note { text-align: center; color: var(--sabbia); font-size: .85rem; margin-top: 2.6rem; }
.agenda-note a { color: var(--oro); transition: color .3s; }
.agenda-note a:hover { color: var(--oro-chiaro); }
.agenda .section-cta { margin-top: 3.2rem; }

/* Widget Trustindex sotto le card dei punteggi
   (clip orizzontale: il suo slider interno sborda di qualche px sui layout stretti) */
.reviews-widget { margin-top: 3rem; overflow: clip visible; }

/* ═══════════════ LOCATION ═══════════════ */
.location { background: var(--carbone); border-block: 1px solid var(--linea-soft); }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.location-info address {
  color: var(--sabbia);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}
.location-hours dt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: .5rem;
}
.location-hours dd { color: var(--sabbia); }

.location-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--linea-soft);
  aspect-ratio: 4 / 3;
}
.location-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(88%) hue-rotate(185deg) saturate(.4) brightness(.9) contrast(.92);
}

/* su touch la mappa si attiva al tocco, così lo scroll di pagina non resta intrappolato */
.map-guard { display: none; }
@media (pointer: coarse) {
  .legal-header .btn-small { min-height: 44px; padding-block: .8rem; }
  .legal-header .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .location-map { position: relative; }
  .location-map:not(.is-active) iframe { pointer-events: none; }
  .location-map .map-guard {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    translate: -50% 0;
    white-space: nowrap;
    min-height: 44px;
    padding: .7rem 1.4rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--avorio);
    background: rgb(var(--nero-rgb) / .82);
    border: 1px solid var(--linea);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .location-map.is-active .map-guard { display: none; }
}

/* ═══════════════ CTA FINALE ═══════════════ */
.finale {
  /* brace ambrata che sale dal fondo: l'ultima chiamata della serata */
  background:
    radial-gradient(58% 54% at 50% 100%, rgb(196 110 18 / .25), transparent 72%),
    var(--nero);
  text-align: center;
  overflow: hidden; /* il watermark gigante resta dentro la sezione */
}
.finale .container { position: relative; z-index: 1; }
/* marchio enorme a solo contorno dietro la CTA: chiusura editoriale */
.finale-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  font-family: var(--font-display);
  font-size: clamp(13rem, 32vw, 28rem);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(217, 168, 60, .05); /* riempimento appena accennato (fallback senza stroke) */
  -webkit-text-stroke: 1px rgba(217, 168, 60, .16);
  pointer-events: none;
  user-select: none;
}
.finale-motto {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--oro-chiaro);
  margin-bottom: 1.6rem;
}
.finale-info { color: var(--sabbia); letter-spacing: .04em; }
.finale .section-cta { margin-top: 2.6rem; }
.btn-big { padding: 1.15rem 3rem; font-size: .85rem; }
.finale-alt { margin-top: 1.5rem; font-size: .95rem; color: var(--sabbia); }
.finale-alt a {
  color: var(--oro);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color .3s;
}
.finale-alt a:hover { color: var(--oro-chiaro); }

.newsletter-note.is-error { color: var(--errore); }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--carbone);
  border-top: 1px solid var(--linea-soft);
  padding-top: 5.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr 1.4fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  padding-bottom: 4rem;
}
.footer-brand img { margin-bottom: 1.4rem; }
.footer-brand h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 6.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}
.footer-legal { color: var(--sabbia); font-size: .84rem; line-height: 1.9; margin-bottom: 1.6rem; }

.footer-col h4 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.4rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col li { color: var(--sabbia); font-size: .92rem; }
.footer-col a {
  display: inline-block;
  padding-block: .35rem;
  margin-block: -.3rem;
  transition: color .3s;
}
.footer-col a:hover { color: var(--oro); }

.footer-news p { color: var(--sabbia); font-size: .92rem; margin-bottom: 1.2rem; }
.newsletter-form { display: flex; gap: .6rem; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--linea-input);
  border-radius: 999px;
  padding: .68rem 1.2rem;
  color: var(--avorio);
  font: inherit;
  font-size: .88rem;
  transition: border-color .3s;
}
.newsletter-form input::placeholder { color: var(--sabbia); }
.newsletter-form input:focus { outline: none; border-color: var(--oro); }
.newsletter-note { margin-top: .8rem; font-size: .8rem; color: var(--oro-chiaro); min-height: 1.2em; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
  border-top: 1px solid var(--linea-soft);
  font-size: .78rem;
  color: var(--sabbia);
  padding-right: calc(52px + 2.4rem); /* spazio per i bottoni flottanti */
}
.footer-bottom p { line-height: 2.2; } /* respiro tra le righe quando va a capo */
.footer-bottom a { white-space: nowrap; } /* i nomi dei link non si spezzano */
.footer-bottom a {
  display: inline-block;
  padding-block: .55rem;
  margin-block: -.55rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s;
}
.footer-bottom a:hover { color: var(--oro); }
.footer-motto {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--oro);
}

/* ═══════════════ PAGINE LEGALI ═══════════════ */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--nero-rgb) / .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea-soft);
}
.legal-header .header-inner { padding-block: 1rem; }

.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem clamp(4rem, 9vw, 7rem);
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: .8rem;
}
.legal-updated { color: var(--sabbia); font-size: .85rem; margin-bottom: 3rem; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--oro);
  margin: 2.8rem 0 1rem;
}
.legal h2 b, .legal h2 strong { font-weight: 400; }
.legal p { color: var(--sabbia); margin-bottom: 1rem; }
.legal p b, .legal p strong, .legal li b, .legal li strong { color: var(--avorio); font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 1.2rem 1.2rem; color: var(--sabbia); }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: .5rem; }
.legal li p { margin-bottom: .2rem; }
.legal a { color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--oro-chiaro); }
.legal code {
  font-family: ui-monospace, monospace;
  font-size: .88em;
  color: var(--avorio);
}
.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.4rem;
  border: 1px solid var(--linea-soft);
  border-radius: 12px;
  /* aloni d'oro ai bordi quando c'è contenuto nascosto oltre il margine */
  background:
    linear-gradient(to right, var(--nero) 34%, transparent) left / 48px 100% no-repeat local,
    linear-gradient(to left, var(--nero) 34%, transparent) right / 48px 100% no-repeat local,
    linear-gradient(to right, rgba(217, 168, 60, .22), transparent) left / 16px 100% no-repeat scroll,
    linear-gradient(to left, rgba(217, 168, 60, .22), transparent) right / 16px 100% no-repeat scroll,
    var(--nero);
}
.legal table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .88rem; }
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--linea-soft);
  color: var(--sabbia);
}
.legal thead td, .legal th {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oro);
}
.legal tbody tr:last-child td { border-bottom: none; }
.legal-footer {
  border-top: 1px solid var(--linea-soft);
  padding: 1.6rem 1.5rem;
  text-align: center;
  font-size: .78rem;
  color: var(--sabbia);
}
.legal-footer p { max-width: 640px; margin-inline: auto; }
.legal-footer a {
  display: inline-block;
  padding-block: .35rem;
  margin-block: -.35rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-footer a:hover { color: var(--oro); }

/* ═══════════════ PAGINA 404 ═══════════════ */
.not-found {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(58% 54% at 50% 100%, rgb(196 110 18 / .22), transparent 72%),
    var(--nero);
}
.not-found .container { padding-block: 6rem; }
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 12rem);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--oro);
}
.not-found-title { margin-top: 1rem; }
.not-found p:not(.eyebrow) { color: var(--sabbia); max-width: 46ch; margin: 0 auto; }
.not-found .section-cta { margin-top: 2.8rem; }

/* ═══════════════ LIGHTBOX GALLERIA ═══════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem 2rem;
  background: rgb(var(--nero-rgb) / .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(88vw, 1000px); text-align: center; }
.lightbox-figure img {
  max-height: 76vh;
  max-width: 100%;
  width: auto;
  margin-inline: auto;
  border-radius: 12px;
  border: 1px solid var(--linea-soft);
  animation: lb-in .45s var(--ease-out);
}
@keyframes lb-in { from { opacity: 0; transform: scale(.965); } }
.lightbox-figure figcaption {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  align-items: baseline;
  margin-top: 1.1rem;
}
.lightbox-caption {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sabbia);
}
.lightbox-count {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--oro);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--linea);
  background: var(--carbone-2);
  color: var(--avorio);
  transition: color .3s, border-color .3s, background-color .3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  color: var(--nero);
  background: var(--oro);
  border-color: var(--oro);
}
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-prev { left: clamp(.8rem, 3vw, 2.4rem); top: 50%; translate: 0 -50%; }
.lightbox-next { right: clamp(.8rem, 3vw, 2.4rem); top: 50%; translate: 0 -50%; }
body.lightbox-open .marquee-track,
body.lightbox-open .filmstrip-track { animation-play-state: paused; }

/* ═══════════════ PAUSA ANIMAZIONI (WCAG 2.2.2) ═══════════════ */
.motion-toggle {
  position: fixed;
  right: 1.4rem;
  bottom: calc(1.4rem + 52px + .75rem); /* impilato sopra il bottone WhatsApp */
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--carbone-2);
  border: 1px solid var(--linea);
  color: var(--sabbia);
  transition: color .3s, border-color .3s;
}
.motion-toggle:hover { color: var(--oro); border-color: var(--oro); }
.motion-toggle .icon-play { display: none; }
body.motion-paused .motion-toggle .icon-pause { display: none; }
body.motion-paused .motion-toggle .icon-play { display: block; }
body.motion-paused .marquee-track,
body.motion-paused .filmstrip-track { animation-play-state: paused !important; }
/* pausa anche quando fuori viewport (risparmio compositor) */
.marquee.is-offscreen .marquee-track,
.filmstrip-row.is-offscreen .filmstrip-track { animation-play-state: paused; }

/* ═══════════════ WHATSAPP FLOAT ═══════════════ */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--carbone-2);
  border: 1px solid var(--linea);
  color: var(--oro);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: transform .45s var(--ease-out), background-color .35s, color .35s,
              opacity .45s var(--ease-out), visibility .45s;
}
.wa-float.is-shown { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); background: var(--oro); color: var(--nero); }

@media (max-width: 560px) {
  /* un controllo per lato: pausa a sinistra, WhatsApp a destra */
  .motion-toggle { right: auto; left: 1rem; bottom: 1rem; }
  .wa-float { right: 1rem; bottom: 1rem; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1320px) {
  .vertical-label { display: none; } /* sotto questa soglia finirebbe dietro la foto */
}

@media (min-width: 901px) and (max-width: 1200px) {
  /* le due opzioni affiancate qui sarebbero strette: si impilano */
  .delivery-options { grid-template-columns: 1fr; max-width: 480px; }
  .delivery-divider { justify-self: center; padding-inline: 0; }
}

@media (min-width: 561px) {
  /* stessa altezza riservata alle descrizioni: i titoli delle card si allineano */
  .menu-card p { min-height: calc(5 * 1.65em); }
}

/* la barra perde pezzi con grazia: prima i social, poi il numero, poi le etichette */
@media (max-width: 1280px) {
  .header-social { display: none; }
}
@media (max-width: 1120px) {
  .header-tel span { display: none; }
}
@media (max-width: 940px) {
  .header-quick { gap: .9rem; }
  .header-quick a span { display: none; } /* restano le icone-azione, con aria-label implicito nel testo nascosto */
}
@media (max-width: 640px) {
  .header-actions .btn { display: none; } /* la CTA vive nell'overlay */
}
@media (max-width: 560px) {
  /* selettore lingua compatto: resta il codice, sparisce l'icona */
  .lang-toggle { padding: .6rem .7rem; }
  .lang-toggle svg { display: none; }
}
@media (min-width: 901px) {
  /* su schermi larghi l'indice dell'overlay si centra, restando allineato a sinistra al suo interno */
  .mobile-menu { align-items: center; }
}

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-figure { max-width: 440px; margin-inline: auto; }
  .atmosphere-head { grid-template-columns: 1fr; align-items: start; }
  .delivery-grid { grid-template-columns: 1fr; }
  /* su mobile la vetrina torna a card impilate: foto + titolo + descrizione */
  .signature-grid { grid-template-columns: 1fr; }
  .signature-preview { display: none; }
  .signature-list { gap: 3rem; display: grid; max-width: 440px; margin-inline: auto; width: 100%; }
  .sig-item, .sig-item:first-child { border: 0; padding-block: 0; }
  .sig-item::before { display: none; }
  .sig-media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--linea-soft);
    margin-bottom: 1.1rem;
  }
  .sig-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .sig-name { pointer-events: none; cursor: default; }
  .sig-name, .sig-item.is-active .sig-name { color: var(--avorio); translate: none; }
  .sig-name::after {
    content: "";
    display: block;
    width: 40px; height: 1px;
    background: var(--oro);
    margin-top: .8rem;
    transition: none;
  }
  .sig-desc, .sig-item.is-active .sig-desc { max-height: none; opacity: 1; margin-top: .65rem; }
  .delivery-visual { justify-self: center; width: min(100%, 440px); }
  .delivery-media { height: auto; }
  .delivery-media img { height: auto; aspect-ratio: 3 / 4; }
  /* a tutta larghezza le due opzioni tornano affiancate, con l'"oppure" in mezzo */
  .delivery-options { grid-template-columns: 1fr auto 1fr; max-width: 720px; margin-top: 2.2rem; }
  .delivery-divider { justify-self: center; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agenda-grid { grid-template-columns: 1fr; }
  .agenda-poster { justify-self: center; }
}

/* sotto i 640 le opzioni delivery si impilano, compatte: icona a fianco del testo
   (DOPO il blocco 900: a queste larghezze deve vincere questa regola) */
@media (max-width: 640px) {
  .delivery-options { grid-template-columns: 1fr; max-width: 480px; }
  .delivery-divider { justify-self: center; }
  .delivery-option {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: .15rem;
    align-items: center;
    padding: 1.1rem 1.15rem;
  }
  .delivery-option .point-icon { grid-row: 1 / span 2; width: 40px; height: 40px; margin-bottom: 0; }
  .delivery-option h3 { align-self: end; }
  .delivery-option p { margin-top: 0; align-self: start; }
}

@media (max-width: 720px) {
  .rooms { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; padding-bottom: 0; row-gap: 3rem; }
  .room:nth-child(2).reveal { transform: translateY(34px); }
  .room:nth-child(2).reveal.is-visible { transform: none; }

  .header-inner { padding-block: .7rem; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .hero-place, .hero-motto { display: none; }
  .hero-badge { padding-block: .75rem; } /* tap area ≥ 44px */

  /* agenda compatta: giorno più piccolo, barra oro nascosta (starebbe fuori dal container) */
  .agenda-item { grid-template-columns: 3.8rem minmax(0, 1fr); gap: 1.1rem; padding-block: 1.7rem; }
  .agenda-item::before { display: none; }
  .agenda-day { font-size: 1.4rem; }
  .agenda-every { font-size: .85rem; }
  .agenda-date { padding-top: .1rem; }
}

/* sotto i 430 il badge diventa due righe centrate: più leggibile del rimpicciolimento */
@media (max-width: 430px) {
  .hero-badge {
    flex-direction: column;
    gap: .35rem;
    padding: .7rem 1.5rem;
    font-size: .68rem;
    letter-spacing: .18em;
  }
  .badge-sep { display: none; }
  /* "Pranzo & Cena" è un blocco non separabile: qui serve un corpo più piccolo */
  .finale .section-title { font-size: 2.15rem; }
}

@media (max-width: 380px) {
  .hero-cta .btn { padding-inline: 1rem; font-size: .72rem; letter-spacing: .16em; white-space: nowrap; }
  .agenda .section-cta .btn,
  .finale .section-cta .btn { width: 100%; white-space: nowrap; padding-inline: 1.2rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; padding-right: 1.5rem; }
  .review-row { width: 100%; max-width: 340px; margin-inline: auto; }
  .menu-cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .delivery .section-cta .btn { width: 100%; max-width: 380px; }
}

/* ═══════════════ VIEWPORT BASSI (landscape phone, tablet, laptop 768px) ═══════════════ */
@media (max-height: 820px) {
  .hero { padding-top: 5rem; padding-bottom: 7.5rem; }
  .hero-badge { margin-bottom: 1.6rem; }
  .hero-logo { width: min(230px, 28vh); }
  .hero-tagline { margin-top: 1.4rem; }
  .hero-cta { margin-top: 2rem; }
  .hero-foot { bottom: 1.4rem; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero .hero-badge, .hero .hero-sub-title, .hero .hero-tagline,
  .hero .hero-cta, .hero .hero-foot, .hero .hero-logo { opacity: 1; transform: none; }
  .marquee-track, .filmstrip-track { animation: none; }
  /* galleria consultabile manualmente quando il movimento è ridotto */
  .filmstrip-row { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
}

/* tabelle legali: raggiungibili e scorribili da tastiera */
.legal-table-wrap:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
