/* La Baia di Moltrasio - luxury restaurant, Lake Como
   Display: Playfair Display + Karla */

:root {
  --bg: #0c0e10;
  --bg-2: #121518;
  --bg-3: #181c21;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #b5b0a6;
  --muted-2: #8f8a82;

  /* acqua di Como */
  --accent: #7aacb8;
  --accent-strong: #9dc8d2;
  --accent-deep: #4a7d8a;
  --focus-ring: rgba(122, 172, 184, 0.45);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif: var(--display);
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 104px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.65rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

:where(a, button, .btn, .link-underline, .nav-links a, .lang-toggle button, .menu-btn):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

:where(.field input, .field select, .field textarea):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 0;
  border-color: var(--accent);
}

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: 0.01em; }
.display {
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
}
h2.section-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; }
.lead {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 56ch;
}
em.it, .accent-line { font-style: italic; color: var(--accent-strong); }
.hero .lead { color: rgba(255, 255, 255, 0.86); }
.section-head .lead,
.dishes-head .lead {
  font-family: var(--sans);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.85rem 1.75rem;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-strong);
}
.btn-primary:hover {
  background: rgba(122, 172, 184, 0.14);
  border-color: var(--accent-strong);
  color: var(--text);
}
.btn-primary--solid {
  background: rgba(122, 172, 184, 0.12);
  border-color: var(--accent-strong);
  color: var(--text);
}
.btn-primary--solid:hover {
  background: rgba(122, 172, 184, 0.22);
  color: #fff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 10, 12, 0.2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn .ico { width: 1.05em; height: 1.05em; }

.link-underline {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-strong);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent-deep);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-underline:hover { gap: 0.85em; color: var(--text); }

/* ---------- nav (floating dock) ---------- */
.nav {
  position: fixed;
  top: 1.15rem;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.nav-dock {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.45rem 0.4rem 0.65rem;
  border: 1px solid rgba(122, 172, 184, 0.42);
  border-radius: 11px;
  background: rgba(10, 12, 14, 0.52);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled .nav-dock {
  background: rgba(10, 12, 14, 0.82);
  border-color: rgba(122, 172, 184, 0.55);
}

.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.95rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.nav-links a:focus-visible { border-bottom-color: var(--accent-strong); }

.nav-dock-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.35rem;
  margin-left: 0.15rem;
  border-left: 1px solid rgba(122, 172, 184, 0.22);
}
.lang-toggle { display: flex; align-items: center; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.lang-toggle button { padding: 4px 5px; color: var(--muted-2); transition: color 0.2s var(--ease); }
.lang-toggle button.active { color: var(--accent-strong); }
.lang-toggle .sep { opacity: 0.35; }

.nav-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.menu-btn {
  display: none;
  pointer-events: auto;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(122, 172, 184, 0.48);
  border-radius: 11px;
  background: rgba(10, 12, 14, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  z-index: 2;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-bar,
.nav-menu-brand,
.nav-menu-foot { display: none; }
.nav-menu-links { display: contents; }

.nav-logo {
  display: none;
  pointer-events: auto;
}

/* ---------- hero (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.55) 0%, rgba(8, 10, 12, 0.12) 28%, transparent 50%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.82) 0%, rgba(8, 10, 12, 0.55) 32%, rgba(8, 10, 12, 0.18) 58%, transparent 78%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.hero-copy { max-width: 36rem; }
.hero-copy h1 { margin-bottom: 1.8rem; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45); }
.hero-copy .lead { margin-bottom: 2.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(8, 10, 12, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- hero v3 (home3) — scroll exit ---------- */
.hero3-scroll-track {
  --hero3-exit-vh: 55;
  position: relative;
  z-index: 2;
  height: calc(100dvh + var(--hero3-exit-vh) * 1dvh);
}

.hero3-scroll-track--static {
  height: auto;
}

.hero--v3 {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 100dvh;
}

.hero3-scroll-track--static .hero--v3 {
  position: relative;
  height: auto;
  min-height: 100dvh;
}

.hero--v3 .hero-bg--v3 {
  z-index: 0;
  transform: translate3d(
    calc(var(--hero3-progress, 0) * min(22vw, 9rem)),
    calc(var(--hero3-progress, 0) * 1.5vh),
    0
  ) scale(calc(1 + var(--hero3-progress, 0) * 0.06));
  opacity: calc(1 - var(--hero3-progress, 0) * 0.98);
  filter: brightness(calc(1 - var(--hero3-progress, 0) * 0.55));
  will-change: transform, opacity, filter;
}

.hero--v3 .hero-scrim--v3 {
  z-index: 1;
  opacity: calc(1 - var(--hero3-progress, 0) * 0.75);
}

.hero3-darken {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #131515;
  opacity: calc(
    var(--hero3-progress, 0) * 0.96 *
    (1 - clamp(0, (var(--hero3-progress, 0) - 0.62) / 0.28, 1))
  );
}

.hero-inner--v3 {
  z-index: 3;
}

.hero-copy--v3 {
  opacity: calc(1 - var(--hero3-progress, 0));
  transform: translate3d(
    calc(var(--hero3-progress, 0) * max(-18vw, -5.5rem)),
    calc(var(--hero3-progress, 0) * 2vh),
    0
  );
  will-change: transform, opacity;
}
@media (max-width: 860px) {
  .hero-copy--v3 {
    transform: translate3d(
      calc(var(--hero3-progress, 0) * max(-8vw, -1.5rem)),
      calc(var(--hero3-progress, 0) * 1.5vh),
      0
    );
  }
}

/* scroll cue idle: overlay scuro + invito quando lo scroll è fermo */
.hero-scroll-cue {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: var(--scroll-cue-idle, 0);
  pointer-events: none;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-scroll-cue__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 52% 42% at 50% 50%,
      rgba(4, 6, 8, 0.88) 0%,
      rgba(6, 8, 10, 0.72) 42%,
      rgba(8, 10, 12, 0.42) 100%
    );
}
.hero-scroll-cue__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2.75rem;
  border-radius: 1.25rem;
  background: rgba(4, 6, 8, 0.45);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  transform: translateY(calc((1 - var(--scroll-cue-idle, 0)) * 14px));
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-scroll-cue__mouse {
  position: relative;
  width: 2.65rem;
  height: 4.25rem;
  border: 2.5px solid rgba(157, 200, 210, 0.98);
  border-radius: 999px;
  box-shadow: 0 0 36px rgba(122, 172, 184, 0.45);
}
.hero-scroll-cue__mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.7rem;
  width: 0.4rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent-strong);
  transform: translateX(-50%);
  animation: hero-scroll-cue-wheel 1.4s var(--ease) infinite;
}
.hero-scroll-cue__label {
  font-size: 0.88rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.65);
}
@keyframes hero-scroll-cue-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  70% { opacity: 0; transform: translateX(-50%) translateY(0.95rem); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0.95rem); }
}

.page-home3 .nav-wrap {
  transform: translate3d(
    0,
    calc((1 - var(--baia-nav-reveal, 0)) * var(--hero3-progress, 0) * -130%),
    0
  );
  opacity: calc(1 - var(--hero3-progress, 0) * (1 - var(--baia-nav-reveal, 0)));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  will-change: transform, opacity;
}

.page-home3 .nav-dock {
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* ---------- scroll video (home3) ---------- */
.scroll-video-section {
  --scroll-video-vh: 500;
  --scroll-video-overlap-vh: 55;
  position: relative;
  margin-top: calc(var(--scroll-video-overlap-vh) * -1dvh);
  height: calc(var(--scroll-video-vh) * 1dvh);
}

.scroll-video-section--static {
  height: auto;
  min-height: 100dvh;
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100dvh;
  overflow: hidden;
  background: #131515;
  opacity: calc(clamp(0, (var(--hero3-progress, 0) - 0.28) / 0.38, 1));
}

.scroll-video-section--static .scroll-video-sticky {
  position: relative;
  min-height: 100dvh;
}

#baiaScrollCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.1) contrast(1.08) brightness(1.05);
}

.scroll-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  filter: saturate(1.1) contrast(1.08) brightness(1.05);
}

.scroll-video-section--static .scroll-video-poster {
  display: block;
}

.scroll-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.35) 0%, rgba(8, 10, 12, 0.08) 35%, rgba(8, 10, 12, 0.55) 100%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.45) 0%, transparent 55%);
}

.scroll-video-welcome {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) clamp(2.5rem, 8vh, 4.5rem);
  pointer-events: none;
}

.scroll-video-welcome__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.scroll-video-welcome__eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.26em;
}

.scroll-video-welcome__title {
  max-width: none;
  margin-bottom: 0;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.55);
}

.scroll-video-welcome__subtitle {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 1.1rem;
  font-size: clamp(1.18rem, 1.85vw, 1.45rem);
}

.scroll-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) clamp(2.5rem, 8vh, 4.5rem);
  pointer-events: none;
}

.scroll-video-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-video-eyebrow,
.scroll-video-title,
.scroll-video-lead {
  opacity: 0;
  will-change: transform, opacity;
}

.scroll-video-title {
  max-width: 22ch;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.scroll-video-lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0.85rem;
}

.scroll-video-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #131515;
  opacity: calc(1 - clamp(0, (var(--hero3-progress, 0) - 0.35) / 0.3, 1));
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.scroll-video-loader span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.scroll-video-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-scroll-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(2.25rem, 6vh, 3.5rem);
  transform: translateX(-50%);
  z-index: 5;
  width: min(720px, 90vw);
  pointer-events: none;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}
.hero-scroll-progress__track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(122, 172, 184, 0.45),
    0 0 28px rgba(122, 172, 184, 0.22),
    inset 0 1px 2px rgba(0, 0, 0, 0.22);
}
.hero-scroll-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 38%, var(--accent-strong) 72%, #c8e8ee 100%);
  box-shadow:
    0 0 22px rgba(157, 200, 210, 0.9),
    0 0 8px rgba(255, 255, 255, 0.35);
}
.baia-scroll-progress {
  --settle: var(--baia-bar-settle, 0);
  opacity: var(--baia-scroll-progress-opacity, 0);
  left: calc(50% - (50% * var(--settle)));
  bottom: calc(clamp(0.75rem, 2vh, 1.25rem) * (1 - var(--settle)));
  width: calc(min(720px, 90vw) * (1 - var(--settle)) + 100% * var(--settle));
  transform: translateX(calc(-50% * (1 - var(--settle))));
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, calc(0.35 * (1 - var(--settle)))));
  transition:
    opacity 0.35s ease,
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}
.baia-scroll-progress .hero-scroll-progress__track {
  height: calc(5px + (1px - 5px) * var(--settle));
  border-radius: calc(999px * (1 - var(--settle)));
  background: color-mix(
    in srgb,
    rgba(255, 255, 255, 0.22) calc((1 - var(--settle)) * 100%),
    transparent
  );
  box-shadow:
    0 0 0 calc(2px * (1 - var(--settle))) rgba(122, 172, 184, calc(0.45 * (1 - var(--settle)))),
    0 0 calc(28px * (1 - var(--settle))) rgba(122, 172, 184, calc(0.22 * (1 - var(--settle)))),
    inset 0 calc(1px * (1 - var(--settle))) calc(2px * (1 - var(--settle))) rgba(0, 0, 0, calc(0.22 * (1 - var(--settle))));
  transition:
    height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s ease,
    box-shadow 0.45s ease;
}
.baia-scroll-progress .hero-scroll-progress__fill {
  width: calc(max(var(--baia-scroll-progress, 0), var(--settle)) * 100%);
  box-shadow:
    0 0 calc(22px * (1 - var(--settle))) rgba(157, 200, 210, calc(0.9 * (1 - var(--settle)))),
    0 0 calc(8px * (1 - var(--settle))) rgba(255, 255, 255, calc(0.35 * (1 - var(--settle))));
  transition: width 0.2s linear, box-shadow 0.45s ease;
}

/* ---------- trust strip (hero → conversion) ---------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 21, 24, 0.98), rgba(12, 14, 16, 0.98));
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
}
.trust-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.trust-strip span::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-deep));
  flex: none;
}
.trust-strip span::after {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-deep), transparent);
  flex: none;
}
.trust-strip strong {
  color: var(--accent-strong);
  font-weight: 500;
}
.trust-strip--overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  border-block: none;
  border-top: 1px solid rgba(122, 172, 184, 0.22);
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 12, 0.5) 30%, rgba(8, 10, 12, 0.94) 100%);
  pointer-events: none;
}
.trust-strip--overlay .trust-strip-inner {
  padding-block: clamp(1rem, 2.5vw, 1.35rem);
}
.hero--v2:has(.trust-strip--overlay) .hero-slide-dots {
  bottom: clamp(4.8rem, 11vh, 6rem);
}

/* ---------- site loader (home2 + home) ---------- */
body.is-loading { overflow: hidden; }
html.hero-scroll-locked,
html.hero-scroll-locked body {
  overflow: hidden;
}
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* su home attuale: loader solo se il boot è lento */
.page-home3 .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-home3 .site-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.page-home3 .site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader-inner {
  text-align: center;
  padding: 2rem;
  min-width: min(320px, 80vw);
}
.site-loader-brand {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 2rem;
}
.site-loader-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 1rem;
}
.site-loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
  transition: width 0.25s var(--ease);
}
.site-loader-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.site-loader-sep {
  margin-inline: 0.35em;
  opacity: 0.55;
}

/* home boot: hero fade-in */
.page-home3.is-loading .hero--v3,
.page-home3.is-loading .nav {
  opacity: 0;
}
.page-home3 .hero--v3 {
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-home3.is-ready .hero--v3 {
  opacity: 1;
}
.page-home3 .nav {
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.page-home3.is-loading .nav {
  transition: none;
}
.page-home3.is-ready .nav {
  opacity: 1;
}

/* ---------- hero v2 (home2) ---------- */
.hero-scroll-track {
  --hero-open-scrub-vh: 180;
  --hero-hold-vh: 50;
  --hero-hold-first-vh: 28;
  --hero-fade-vh: 18;
  --hero-close-vh: 90;
  --hero-close-scrub-vh: 90;
  --hero-close-hold-vh: 45;
  --hero-close-fade-vh: 18;
  min-height: 100vh;
  min-height: 100dvh;
  height: calc(
    var(--hero-open-scrub-vh) * 1vh +
    var(--hero-hold-first-vh) * 1vh +
    (var(--hero-slides, 4) - 1) * var(--hero-hold-vh) * 1vh +
    (var(--hero-slides, 4) - 1) * var(--hero-fade-vh) * 1vh +
    var(--hero-close-vh) * 1vh
  );
  height: calc(
    var(--hero-open-scrub-vh) * 1dvh +
    var(--hero-hold-first-vh) * 1dvh +
    (var(--hero-slides, 4) - 1) * var(--hero-hold-vh) * 1dvh +
    (var(--hero-slides, 4) - 1) * var(--hero-fade-vh) * 1dvh +
    var(--hero-close-vh) * 1dvh
  );
  position: relative;
}
.menu-food-hero {
  position: relative;
  z-index: 1;
}
.menu-food-hero .menu-hero-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--nav-h) clamp(1.25rem, 4vw, 2rem) clamp(5rem, 10vh, 6.5rem);
  padding-top: clamp(5.5rem, 16vh, 9rem);
  pointer-events: none;
  transform: translateY(calc(var(--menu-copy-center, 0) * 24dvh));
  will-change: transform;
}
.menu-food-hero .menu-hero-inner.is-slides-phase {
  padding-top: clamp(5.5rem, 16vh, 9rem);
}
.menu-food-hero .menu-hero-inner.is-centered-phase {
  padding-top: clamp(5.5rem, 16vh, 9rem);
}
.menu-food-hero .hero-copy--v2 {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.menu-food-hero .menu-hero-inner.is-slides-phase .hero-subtitle-v2,
.menu-food-hero .menu-hero-inner.is-centered-phase .hero-subtitle-v2 {
  margin-bottom: 2.2rem;
}
.menu-food-hero .hero-subtitle-v2 {
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.85vw, 1.45rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.86);
}
.menu-food-hero .menu-hero-actions {
  opacity: 1;
  pointer-events: auto;
}
.menu-food-hero .hero-slide-dots {
  display: none;
}
.menu-hero-scroll-progress {
  opacity: var(--menu-scroll-progress-opacity, 0);
  transition: opacity 0.35s ease;
}
.menu-hero-scroll-progress .hero-scroll-progress__fill,
.menu-hero-scroll-progress__fill {
  width: calc(var(--menu-scroll-progress, 0) * 100%);
}
.hero--scroll {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  --spot-light: 0;
  --spot-y: 48%;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(calc(0.68 + var(--spot-light) * 0.32)) saturate(calc(0.93 + var(--spot-light) * 0.07));
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  opacity: var(--video-opacity, 1);
}
#menuHeroOpenCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.menu-open-scrub-active .hero-video-wrap video {
  display: none;
}
.hero-close-video-wrap {
  position: absolute;
  inset: 0;
  opacity: var(--close-video-opacity, 0);
  pointer-events: none;
}
#menuHeroCloseCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.menu-close-scrub-active .hero-close-video-wrap video {
  display: none;
}
.hero-cycle-video-wrap {
  position: absolute;
  inset: 0;
  opacity: var(--cycle-video-opacity, 0);
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse
        calc(30% + var(--spot-light) * 66%)
        calc(22% + var(--spot-light) * 52%)
        at 50% var(--spot-y),
      transparent 0%,
      rgba(8, 10, 12, calc(0.18 - var(--spot-light) * 0.16)) 48%,
      rgba(2, 3, 4, calc(0.58 - var(--spot-light) * 0.5)) 100%
    ),
    radial-gradient(
      ellipse 120% 90% at 50% 115%,
      rgba(0, 0, 0, calc(0.2 - var(--spot-light) * 0.14)) 0%,
      transparent 55%
    );
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: opacity;
}
.hero-slide:first-child { opacity: 0; }
.hero--v2 {
  align-items: flex-start;
  justify-content: center;
}
.hero-scrim--v2 {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, calc(0.38 - var(--spot-light) * 0.14)) 0%,
    rgba(8, 10, 12, calc(0.07 - var(--spot-light) * 0.04)) 38%,
    rgba(8, 10, 12, calc(0.22 - var(--spot-light) * 0.1)) 100%
  );
}
.hero-inner--v2 {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-top: clamp(5.5rem, 16vh, 9rem);
}
.hero-slide-dots {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.55rem;
  pointer-events: none;
}
.hero-slide-dots span {
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-slide-dots span.is-active {
  background: var(--accent-strong);
  transform: scaleY(1.6);
}
.hero-copy--v2 {
  max-width: none;
  width: 100%;
  text-align: center;
  opacity: var(--hero-copy-opacity, 0);
}
.hero-title-v2 {
  font-family: "Cinzel", var(--display);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.55);
}
.hero-title-v2__white { color: #fff; }
.hero-title-v2__gold {
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 42%, var(--accent-deep) 68%, #b5d8e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle-v2 {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.8rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero-actions--v2 {
  justify-content: center;
}

/* ---------- generic section spacing ---------- */
.section-pad { padding-block: clamp(5rem, 11vw, 9rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { display: inline-block; margin-bottom: 1.2rem; }
.section-head .lead { margin-top: 1.4rem; }

/* ---------- chef ---------- */
.chef { background: var(--bg-2); border-block: 1px solid var(--line); }
.page-home3 #chef {
  position: relative;
  border-block-start-color: color-mix(in srgb, var(--line) calc((1 - var(--baia-chef-divider, 0)) * 100%), transparent);
}
.page-home3 #chef::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 38%, var(--accent-strong) 72%, #c8e8ee 100%);
  opacity: var(--baia-chef-divider, 0);
  transform: scaleX(var(--baia-chef-divider, 0));
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.chef-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.chef-figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.chef-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.1s var(--ease) 0.35s, transform 1.1s var(--ease) 0.35s;
  pointer-events: none;
}
.chef-figure.in::after {
  opacity: 0.4;
  transform: scale(1);
}
.chef-figure img,
.chef-figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease), opacity 0.55s ease;
}
.chef-figure.is-leaving video {
  opacity: 0;
}
.chef-figure.in img,
.chef-figure.in video { transform: scale(1.03); }
.chef-figure.is-leaving.in video { transform: scale(1.03); }
/* pagina team: immagini senza effetti, niente cornice in nessuna modalità */
.page-team .chef-figure::after { display: none; }
.chef-body .eyebrow { display: inline-block; margin-bottom: 1rem; }
.chef-body h2 {
  margin-bottom: 1.6rem;
  position: relative;
}
.chef-body h2::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
  transition: width 1s var(--ease) 0.45s;
}
.chef-body h2.in::after { width: 4.5rem; }
.chef-body p { color: var(--muted); margin-bottom: 1.2rem; max-width: 54ch; }
.chef-sign {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-strong);
  letter-spacing: 0.12em;
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), letter-spacing 1.4s var(--ease);
}
.chef-sign.in { letter-spacing: 0.01em; }
.chef-role { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.4rem; }
.chef-stats,
.events-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--line), var(--line));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 0;
  transition: background-size 0.9s var(--ease) 0.55s;
}
.chef-stats.in,
.events-stats.in { background-size: 100% 1px; }
.chef-stats .stat,
.events-stats .stat {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(0.65s + var(--stat-i, 0) * 0.12s);
}
.chef-stats.in .stat,
.events-stats.in .stat { opacity: 1; transform: none; }
.chef-stats .stat .n,
.events-stats .stat .n {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chef-stats .stat .l,
.events-stats .stat .l {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 0.5rem;
}
.chef-cta { margin-top: 2rem; }

/* chef directional reveals */
.chef .reveal-left {
  opacity: 0;
  transform: translateX(-44px) scale(0.97);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.chef .reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.chef .reveal-left.in,
.chef .reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ---------- dishes ---------- */
.dishes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.dishes-head .lead { margin-top: 1.2rem; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.dish {
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.dish:hover {
  border-color: rgba(122, 172, 184, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.dish .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease), opacity 0.25s var(--ease); }
.dish:hover .ph img { transform: scale(1.05); }
.dish .info { padding: 1.3rem 1.3rem 1.5rem; }
.dish .info h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.dish .info p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.dishes-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; text-align: center; flex-direction: column; }
.dishes-cta p { color: var(--muted); max-width: 48ch; }

/* ---------- events (mirror opposto dello chef: testo sx, media dx) ---------- */
.events { background: var(--bg); border-block: 1px solid var(--line); }
.events-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.events-figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
}
.events-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.1s var(--ease) 0.35s, transform 1.1s var(--ease) 0.35s;
  pointer-events: none;
}
.events-figure.in::after {
  opacity: 0.4;
  transform: scale(1);
}
.events-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
}
.events-figure.in img { transform: scale(1.03); }
.events-body .eyebrow { display: inline-block; margin-bottom: 1rem; }
.events-body h2 {
  margin-bottom: 1.6rem;
  position: relative;
}
.events-body h2::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 1.1rem;
  margin-inline-start: auto;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-deep));
  transition: width 1s var(--ease) 0.45s;
}
.events-body h2.in::after { width: 4.5rem; }
.events-body p { color: var(--muted); margin-bottom: 1.2rem; max-width: 54ch; }
.events-stats {
  margin-bottom: 1.75rem;
  background-position: 100% 0;
}
.events-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

/* ---------- location (immersive full screen) + form ---------- */
.visit-immersive {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(5rem, 10vh, 7rem);
}
.visit-bg {
  position: absolute;
  inset: 0;
}
.visit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visit-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.82) 0%, rgba(12, 14, 16, 0.55) 42%, rgba(12, 14, 16, 0.25) 70%, rgba(12, 14, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 14, 16, 0.45) 0%, transparent 30%, transparent 68%, rgba(12, 14, 16, 0.6) 100%);
  pointer-events: none;
}
.visit-immersive .container { position: relative; z-index: 1; }
.visit-hero-copy {
  text-align: center;
  margin-bottom: clamp(3.25rem, 8vh, 5rem);
}
.visit-book-title {
  display: inline-block;
  margin-bottom: 1.4rem;
}
.visit-hero-copy .hero-subtitle-v2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.85vw, 1.45rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.86);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.visit-info p {
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 54ch;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico { color: var(--accent); width: 1.25rem; height: 1.25rem; flex: none; margin-top: 3px; }
.contact-list .lbl { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.contact-list .val { color: var(--text); }
.contact-list .val span { color: var(--muted); display: block; font-size: 0.92rem; }
.visit-map-actions { margin-top: 0.9rem; }
.visit-map {
  position: relative;
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(12, 14, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.map-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: 10px;
  display: block;
  /* mappa notte senza API key: invert + hue-rotate */
  filter: invert(0.92) hue-rotate(180deg) brightness(0.9) contrast(1.05) saturate(0.55);
}

/* form — colonna destra in contatti */
.visit-immersive .reserve {
  background: rgba(18, 21, 24, 0.82);
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: none;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.visit-immersive .reserve h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.85rem;
}
.visit-immersive .reserve .sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
}
.reserve-section {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.reserve-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.reserve-head .section-title { margin-bottom: 0.75rem; }
.reserve-head .sub { color: var(--muted); font-size: 1.02rem; max-width: 48ch; }
.reserve {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 52rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  padding: 0.8rem 0.9rem; font-size: 0.95rem; transition: border-color 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.field-consent { margin-top: 0.25rem; }
.consent-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.consent-label input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: rgba(122, 172, 184, 0.22);
}
.consent-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--accent-strong);
  clip-path: polygon(14% 44%, 0 65%, 42% 100%, 100% 18%, 82% 0, 40% 62%);
}
.consent-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.4rem; }
.form-note { font-size: 0.8rem; color: var(--muted-2); }
.form-success {
  grid-column: 1 / -1; display: none; gap: 0.75rem; align-items: center;
  padding: 1rem 1.1rem; border: 1px solid var(--accent-deep);
  background: rgba(122, 172, 184, 0.1); color: var(--accent-strong); font-size: 0.95rem;
}
.form-success.show { display: flex; }
.form-success .ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- full menu page ---------- */
.page-menu .nav { position: fixed; }
.page-menu { padding-top: 0; }
.menu-page-hero {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vh, 4rem));
  padding-bottom: clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122, 172, 184, 0.08), transparent 60%),
    var(--bg);
}
.menu-page-hero .section-title { margin-bottom: 1rem; }
.menu-page-lead {
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.85vw, 1.45rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.menu-page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}
.menu-page-toc a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu-page-toc a:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
}
/* hero fotografico pagina menù */
.menu-page-hero--photo {
  position: relative;
  min-height: clamp(20rem, 58vh, 34rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vh, 3rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  background: var(--bg);
}
.menu-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.menu-page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 17, 0.55) 0%, rgba(10, 14, 17, 0.15) 40%, rgba(10, 14, 17, 0.82) 100%);
}
.menu-page-hero__content {
  position: relative;
  z-index: 1;
}
.menu-page-hero--photo .menu-page-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 0;
}
.menu-page-hero--photo .section-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.menu-page-body {
  padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(4rem, 10vh, 6rem);
}
.menu-page-layout {
  max-width: 48rem;
}
.menu-section {
  margin-bottom: clamp(3rem, 7vh, 4.5rem);
  padding-bottom: clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid var(--line);
}
.menu-section:last-of-type { border-bottom: none; }
.menu-section__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.menu-section__sub {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 1.5rem;
}
.menu-section__sub--inline { margin-top: 2rem; }
.menu-dish {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.menu-dish:first-of-type { border-top: none; padding-top: 0; }
.menu-dish--compact { padding: 0.95rem 0; }
.menu-dish__it {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.menu-dish__all {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
}
.menu-dish__en {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 58ch;
}
.menu-dish__pair {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}
.menu-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 0.45rem;
}
.menu-note--single { display: block; margin-bottom: 1.25rem; border-top: none; padding-top: 0; }
.menu-note__en { color: var(--muted-2); font-size: 0.88rem; }
.menu-suppliers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.menu-suppliers li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.menu-suppliers li:first-child { border-top: none; }
.menu-suppliers strong { font-weight: 500; color: var(--text); }
.menu-suppliers span { color: var(--muted); }
.menu-allergens {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.menu-allergens li::marker { color: var(--accent); }
.menu-allergen-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.menu-allergen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.18rem 0.42rem 0.18rem 0.32rem;
  border: 1px solid rgba(122, 172, 184, 0.35);
  border-radius: 999px;
  background: rgba(122, 172, 184, 0.08);
  color: var(--accent-strong);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.menu-allergen-badge:hover,
.menu-allergen-badge[aria-expanded="true"] {
  background: rgba(122, 172, 184, 0.18);
  border-color: var(--accent);
  color: var(--text);
}
.menu-allergen-badge:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
.menu-allergen-badge--compact {
  padding: 0.14rem 0.36rem 0.14rem 0.28rem;
  font-size: 0.68rem;
}
.menu-allergen-badge i {
  font-size: 0.95em;
  line-height: 1;
}
.menu-allergen-badge__num {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.menu-allergen-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.menu-allergen-legend__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.menu-allergen-legend__item:first-child { border-top: none; padding-top: 0; }
.menu-allergen-legend__text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.menu-dietary-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.menu-dietary-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.menu-dietary-legend__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 172, 184, 0.35);
  color: var(--accent-strong);
  background: rgba(122, 172, 184, 0.08);
}
.menu-dietary-legend__icon i { font-size: 1rem; line-height: 1; }
.menu-dietary-legend__img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  border-radius: 0.2rem;
}
.menu-dish__title-wrap { min-width: 0; }
.menu-dish__title-wrap .menu-allergen-badges { margin-top: 0.55rem; }
.menu-allergen-tooltip {
  position: fixed;
  z-index: 400;
  transform: translate(-50%, -100%);
  max-width: 14rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 0.35rem;
  background: var(--bg-3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.menu-allergen-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg-3);
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.menu-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1rem, 3vh, 2rem);
}
.page-menu .menu-section[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.page-menu .nav-wrap {
  opacity: 1;
  transform: none;
  filter: none;
}
.menu-pdf-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
@media (min-width: 720px) {
  .menu-pdf-grid { grid-template-columns: 1fr 1fr; }
}
.menu-pdf-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 0.85rem;
}
.menu-pdf-card__icon {
  font-size: 1.75rem;
  color: var(--accent-strong);
  line-height: 1;
}
.menu-pdf-card__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  margin: 0;
}
.menu-pdf-card__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
.menu-page-layout--wide { max-width: 56rem; }
.menu-list-root { min-height: 12rem; }
.menu-dish__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 1.5rem;
}
.menu-dish__head .menu-dish__it { margin-bottom: 0; flex: 1; min-width: 0; }
.menu-dish__price {
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--accent-strong);
  white-space: nowrap;
}
.menu-dish__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 58ch;
}
/* banner prenotazione */
.book-banner {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border: 1px solid rgba(122, 172, 184, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 90% 120% at 15% 0%, rgba(122, 172, 184, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(122, 172, 184, 0.08), rgba(255, 255, 255, 0.02) 60%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}
.book-banner__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(168, 212, 222, 0.12), transparent 70%);
  pointer-events: none;
}
.book-banner__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 400;
  margin: 0;
  max-width: 22ch;
}
.book-banner__sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
  line-height: 1.6;
}
.book-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

/* ---------- team page ---------- */
.page-team .nav {
  position: fixed;
  z-index: 100;
}
.page-team .nav-wrap {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (max-width: 860px) {
  .page-team .nav { z-index: 120; }
}
/* scroll più reattivo: niente smooth globale su questa pagina */
html:has(.page-team) {
  scroll-behavior: auto;
}

/* hero video full screen */
.team-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(74, 125, 138, 0.16), transparent 60%),
    var(--bg);
}
.team-hero__media {
  position: absolute;
  inset: 0;
  contain: strict;
  pointer-events: none;
}
.team-hero__fallback,
.team-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.team-hero__video {
  z-index: 1;
}
.team-hero.is-video-playing .team-hero__fallback {
  visibility: hidden;
}
.team-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 16, 0.62) 0%,
    rgba(12, 14, 16, 0.28) 42%,
    rgba(12, 14, 16, 0.45) 72%,
    var(--bg) 100%
  );
  pointer-events: none;
}
.team-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: var(--nav-h);
  pointer-events: none;
}
.team-hero__eyebrow { display: inline-block; margin-bottom: 1.4rem; }
.team-hero__sub {
  margin-top: 1.4rem;
  color: var(--muted);
}
.team-hero__cue {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  bottom: clamp(1.6rem, 4vh, 2.8rem);
  left: 50%;
  width: 1px;
  height: clamp(2.4rem, 6vh, 4rem);
  background: linear-gradient(180deg, transparent, var(--accent) 55%, transparent);
  animation: team-cue 2.6s var(--ease) infinite;
}
@keyframes team-cue {
  0% { transform: translateX(-50%) scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: translateX(-50%) scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: translateX(-50%) scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* timeline storia chef */
.team-timeline {
  list-style: none;
  margin: 1.8rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.team-timeline li {
  position: relative;
  padding-left: 1.7rem;
}
.team-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(122, 172, 184, 0.14);
}
.team-timeline li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(0.42em + 13px);
  bottom: -1.05rem;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-deep), transparent);
}
.team-timeline li:last-child::after { display: none; }
.team-timeline__label {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent-strong);
}
.team-timeline__text {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.15rem;
  max-width: 50ch;
}

/* sezioni team */
.team-section { background: var(--bg); }
.team-section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.team-sec-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.team-sec-head .eyebrow { display: inline-block; margin-bottom: 1rem; }
.team-sec-lead {
  color: var(--muted);
  margin-top: 1.2rem;
}

/* mosaico squadra: gruppo cucina (4:3) + video sala (16:9) + strip volti */
.team-mosaic { margin-top: clamp(2.5rem, 6vh, 4rem); }
.team-mosaic__featured {
  display: grid;
  /* 3fr:4fr = stesse altezze per 4:3 e 16:9 */
  grid-template-columns: 3fr 4fr;
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
}
.team-mosaic__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  margin: 0;
}
.team-mosaic__item { aspect-ratio: 4 / 3; }
.team-mosaic__item--wide { aspect-ratio: 16 / 9; }
.team-mosaic__item img,
.team-mosaic__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .team-mosaic__item img,
  .team-mosaic__item video {
    transition: transform 1.4s var(--ease);
  }
  .team-mosaic__item:hover img,
  .team-mosaic__item:hover video { transform: scale(1.03); }
  .team-mosaic__face img { transition: transform 1.2s var(--ease); }
  .team-mosaic__face:hover img { transform: scale(1.05); }
}
.team-mosaic__item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 2vw, 1.4rem) clamp(0.8rem, 1.6vw, 1.1rem);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, transparent, rgba(12, 14, 16, 0.72));
  pointer-events: none;
}
.team-mosaic__faces {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  margin-top: clamp(0.9rem, 1.8vw, 1.5rem);
}
.team-mosaic__face {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  margin: 0;
}
.team-mosaic__face::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.team-mosaic__face:hover::after {
  opacity: 0.4;
  transform: scale(1);
}
.team-mosaic__face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* cta finale */
.team-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 100% at 50% 100%, rgba(74, 125, 138, 0.12), transparent 65%),
    var(--bg);
}
.team-cta__title { margin-inline: auto; }
.team-cta__sub {
  color: var(--muted);
  margin: 1.2rem auto 0;
  max-width: 48ch;
}
.team-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .team-hero__content { padding-top: calc(var(--nav-h) * 0.6); }
  .team-mosaic__featured { grid-template-columns: 1fr; }
  .team-mosaic__faces {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .team-mosaic__faces::-webkit-scrollbar { display: none; }
  .team-mosaic__face {
    flex: 0 0 58vw;
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-hero__cue { display: none; }
}

.contact-list .val a { transition: color 0.2s var(--ease); }
.contact-list .val a:hover { color: var(--accent-strong); }

.book-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
}
.book-bar__inner {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(8, 10, 12, 0.97);
  border-top: 1px solid rgba(122, 172, 184, 0.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.42);
}
.book-bar__call {
  flex: none;
  width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(122, 172, 184, 0.45);
  border-radius: 11px;
  color: var(--accent-strong);
  background: rgba(122, 172, 184, 0.1);
  font-size: 1.25rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.book-bar__call:hover { background: rgba(122, 172, 184, 0.18); border-color: var(--accent); }
.book-bar__cta {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding-inline: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer .brand-name { font-family: var(--serif); font-size: 1.6rem; }
.footer .brand-sub { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.footer p.about { color: var(--muted); margin-top: 1.2rem; max-width: 38ch; font-size: 0.95rem; }
.footer .col h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; font-family: var(--sans); font-weight: 500; }
.footer .col a, .footer .col p { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.65rem; transition: color 0.2s var(--ease); }
.footer .col a:hover { color: var(--accent-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 0.82rem; color: var(--muted-2); }
.footer-legal { margin-left: 0.55rem; white-space: nowrap; }
.footer-legal a { color: var(--muted-2); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--text); border-bottom-color: currentColor; }
@media (max-width: 640px) {
  .footer-legal { display: block; margin-left: 0; margin-top: 0.3rem; }
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }
.reveal.d6 { transition-delay: 0.48s; }

/* ---------- responsive ---------- */
@media (min-width: 861px) {
  .hero--scroll { --spot-y: calc(42% + 130px); }
}
@media (max-width: 1024px) {
  .nav-links a { font-size: 0.92rem; padding: 0.5rem 0.7rem; }
  .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.72rem; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root {
    --nav-h: 72px;
    --book-bar-h: 4.75rem;
  }
  body.menu-open { overflow: hidden; }

  .nav {
    top: 0;
    padding-inline: 0;
    z-index: 120;
  }
  .nav-wrap {
    position: relative;
    min-height: var(--nav-h);
    padding-inline: var(--gutter);
    align-items: stretch;
  }
  /* home: toggle/logo nascosti all'inizio, come il menu desktop che rientra solo col reveal */
  .page-home3 .nav-wrap {
    opacity: var(--baia-nav-reveal, 0);
    transform: translate3d(0, calc((1 - var(--baia-nav-reveal, 0)) * -120%), 0);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  }
  .page-home3.nav-revealed .nav-wrap,
  .page-home3.menu-open .nav-wrap {
    opacity: var(--baia-nav-reveal, 0);
    pointer-events: auto;
  }
  /* a menu aperto .nav-wrap non deve avere transform né will-change: un antenato
     trasformato diventa il riferimento della tendina fixed, che resterebbe
     schiacciata nella barra invece di coprire lo schermo */
  .page-home3.menu-open .nav-wrap {
    opacity: 1;
    transform: none;
    will-change: auto;
    transition: none;
  }
  .nav-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: var(--nav-h);
    pointer-events: auto;
    position: relative;
    z-index: 3;
  }
  .nav-logo {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
  }
  .nav-logo img {
    display: block;
    width: auto;
    height: 34px;
  }
  .nav-mobile-spacer {
    display: block;
    width: 44px;
    flex: none;
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  body.menu-open .menu-btn {
    position: relative;
    z-index: 220;
    border-color: rgba(122, 172, 184, 0.65);
    background: rgba(10, 12, 14, 0.94);
  }
  .nav.scrolled .nav-mobile-bar,
  body.menu-open .nav-mobile-bar {
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.92) 0%, rgba(8, 10, 12, 0.55) 72%, transparent 100%);
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  /* la barra (logo + X) deve stare sopra la tendina aperta (z 200) */
  body.menu-open .nav-mobile-bar { z-index: 210; }

  .nav-dock {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    pointer-events: none;
  }
  .nav-dock-actions { display: none; }

  .nav-menu-brand,
  .nav-menu-foot,
  .nav-menu-links { display: block; }

  .nav-links {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: calc(var(--nav-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0));
    border: none;
    border-radius: 0;
    background: rgba(8, 10, 12, 0.98);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4%);
    transition:
      opacity 0.4s var(--ease),
      visibility 0.4s var(--ease),
      transform 0.45s var(--ease);
  }
  body.menu-open .nav-links {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-menu-brand {
    flex: none;
    margin-bottom: clamp(1.75rem, 5vh, 2.75rem);
  }
  .nav-menu-brand img {
    width: min(18rem, 78vw);
    margin-inline: auto;
  }
  .nav-menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(22rem, 100%);
  }
  .nav-menu-links a {
    width: 100%;
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    letter-spacing: 0.06em;
    text-align: center;
  }
  .nav-menu-links a:last-child { border-bottom: none; }
  .nav-menu-foot {
    flex: none;
    margin-top: clamp(1.5rem, 4vh, 2.5rem);
  }
  .lang-toggle--menu {
    justify-content: center;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }
  .lang-toggle--menu button { padding: 6px 8px; }

  /* sezione Baia: la barra Prenota (fissa in basso) non deve coprire titolo,
     sottotitolo e barra di avanzamento, che stanno sul bordo inferiore */
  .scroll-video-overlay {
    padding-bottom: calc(clamp(2.5rem, 8vh, 4.5rem) + var(--book-bar-h) + env(safe-area-inset-bottom, 0));
  }
  .baia-scroll-progress {
    bottom: calc((clamp(0.75rem, 2vh, 1.25rem) + var(--book-bar-h) + env(safe-area-inset-bottom, 0)) * (1 - var(--settle)));
  }

  .book-bar { display: block; }
  body.has-scrolled .book-bar {
    pointer-events: auto;
    transform: none;
  }
  body.has-scrolled:not(.menu-open) {
    padding-bottom: calc(var(--book-bar-h) + env(safe-area-inset-bottom, 0));
  }
  body.menu-open .book-bar {
    transform: translateY(110%);
    pointer-events: none;
  }
  body.has-scrolled .book-bar[aria-hidden="false"] .book-bar__inner { pointer-events: auto; }

  /* hero: alza le scritte dal bordo inferiore */
  .hero.hero--v3 {
    padding-bottom: 3.25rem;
  }
  .hero-copy--v3 {
    padding-bottom: 0.5rem;
  }

  /* cucina mobile: fascia foto sotto i pulsanti, senza crop aggressivo */
  .menu-food-hero .hero-media {
    filter: brightness(calc(0.86 + var(--spot-light) * 0.2)) saturate(calc(0.96 + var(--spot-light) * 0.06));
  }
  .menu-food-hero .hero--scroll {
    --spot-y: 58%;
  }
  .menu-food-hero .hero-scrim--v2 {
    background: linear-gradient(
      180deg,
      rgba(8, 10, 12, calc(0.28 - var(--spot-light) * 0.12)) 0%,
      rgba(8, 10, 12, calc(0.04 - var(--spot-light) * 0.03)) 42%,
      rgba(8, 10, 12, calc(0.16 - var(--spot-light) * 0.08)) 100%
    );
  }
  .menu-food-hero .hero-spotlight {
    background:
      radial-gradient(
        ellipse
          calc(34% + var(--spot-light) * 64%)
          calc(26% + var(--spot-light) * 50%)
          at 50% var(--spot-y),
        transparent 0%,
        rgba(8, 10, 12, calc(0.1 - var(--spot-light) * 0.1)) 50%,
        rgba(2, 3, 4, calc(0.4 - var(--spot-light) * 0.36)) 100%
      ),
      radial-gradient(
        ellipse 120% 90% at 50% 115%,
        rgba(0, 0, 0, calc(0.12 - var(--spot-light) * 0.1)) 0%,
        transparent 55%
      );
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.65) 0%, rgba(8, 10, 12, 0.35) 40%, rgba(8, 10, 12, 0.55) 100%),
      linear-gradient(90deg, rgba(8, 10, 12, 0.75) 0%, rgba(8, 10, 12, 0.45) 70%, transparent 100%);
  }
  .hero-copy { max-width: none; }
  .hero-title-v2 { letter-spacing: 0.1em; }
  .hero-subtitle-v2 { letter-spacing: 0.14em; }

  .chef-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .chef-figure { max-width: 460px; aspect-ratio: 4 / 3; }

  .events-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .events-figure { max-width: 460px; aspect-ratio: 4 / 3; margin-inline: auto; }

  .visit-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 16 / 11; }

  /* footer più compatto */
  .footer {
    padding-block: 2rem 1.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .footer .brand-name { font-size: 1.25rem; }
  .footer p.about {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: none;
  }
  .footer .col h4 { margin-bottom: 0.55rem; }
  .footer .col a,
  .footer .col p {
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
  }
  .footer-bottom {
    margin-top: 1.35rem;
    padding-top: 0.9rem;
    gap: 0.35rem 1rem;
  }
  .footer-bottom p { font-size: 0.74rem; }

  .trust-strip-inner { grid-template-columns: 1fr; gap: 0.85rem; }
  .trust-strip span::before,
  .trust-strip span::after { display: none; }
  .trust-strip--overlay { bottom: calc(var(--book-bar-h) + 0.5rem); }
  .hero--v2:has(.trust-strip--overlay) .hero-slide-dots {
    bottom: clamp(7.5rem, 16vh, 8.5rem);
  }
}
@media (max-width: 560px) {
  .dish-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn, .dishes-cta .btn { width: 100%; justify-content: center; }
  .chef-stats { gap: 1.5rem; }
  .menu-suppliers li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .menu-dish__all { white-space: normal; }
  .menu-page-cta .btn { width: 100%; justify-content: center; }
  .footer p.about { display: none; }
  .footer-grid {
    gap: 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .hero-scroll-track,
  .menu-food-hero { height: auto !important; }
  .menu-food-hero .menu-hero-scroll-progress { opacity: 1 !important; --menu-scroll-progress-opacity: 1; }
  .baia-scroll-progress { opacity: 1 !important; --baia-scroll-progress-opacity: 1; }
  .hero--scroll { position: relative !important; }
  .hero3-scroll-track { height: auto !important; }
  .hero--v3 { position: relative !important; }
  .hero-scroll-cue { display: none !important; }
  .hero--v3 .hero-bg--v3,
  .hero-copy--v3,
  .page-home3 .nav-wrap {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .hero3-darken { display: none !important; }
  .scroll-video-section { height: auto !important; margin-top: 0 !important; }
  .scroll-video-sticky { position: relative !important; opacity: 1 !important; }
  #baiaScrollCanvas { display: none !important; }
  .scroll-video-poster { display: block !important; }
  .scroll-video-welcome__inner {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-video-eyebrow,
  .scroll-video-title,
  .scroll-video-lead,
  .scroll-video-cta {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-video-loader { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chef .reveal-left,
  .chef .reveal-right { opacity: 1 !important; transform: none !important; }
  .chef-stats .stat { opacity: 1 !important; transform: none !important; }
  .chef-stats { background-size: 100% 1px !important; }
  .chef-body h2::after { width: 4.5rem !important; }
  .chef-figure::after { opacity: 0.4 !important; transform: none !important; }
  .chef-figure.is-leaving video { opacity: 1 !important; }
  .chef-sign.in { letter-spacing: 0.01em !important; }
  .dish, .dish .ph img, .btn, .link-underline { transition: none !important; }
  .book-bar { display: none !important; }
  body.has-scrolled { padding-bottom: 0 !important; }
  body { padding-bottom: 0 !important; }
}

/* Form prenotazione: errore invio + campo honeypot anti-spam */
.form-error {
  display: none;
  align-items: center;
  gap: 0.6rem;
  grid-column: 1 / -1;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(214, 69, 69, 0.45);
  background: rgba(214, 69, 69, 0.1);
  color: #f3b1b1;
  font-size: 0.95rem;
}
.form-error.show { display: flex; }
.form-error .ico { width: 1.25rem; height: 1.25rem; flex: none; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
