/* =========================================================================
   LA BRACE — design system
   Palette: crema #fffaf2 · rosso #810101 · scuri bordeaux quasi neri
   Font: Anton (display condensed) · Archivo (sub) · Montserrat (body)
   ========================================================================= */

:root {
  --cream: #fffaf2;
  --cream-dim: #efe6d8;
  --red: #810101;
  --red-bright: #b31414;
  --gold: #c8962c;
  --dark: #160404;
  --dark-2: #1f0707;
  --charcoal: #0c0303;
  --line: rgba(255, 250, 242, 0.14);
  --line-dark: rgba(22, 4, 4, 0.14);

  --f-display: "Anton", "Archivo", sans-serif;
  --f-sub: "Archivo", "Montserrat", sans-serif;
  --f-body: "Montserrat", sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
}
/* Hide scrollbar (WebKit) — keep scroll functionality */
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}
body.is-loading { overflow: hidden; height: 100vh; }
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

::selection { background: var(--red); color: var(--cream); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(2.6rem, 8vw, 8.5rem);
}
.display--sm { font-size: clamp(2rem, 5vw, 3.4rem); }
.kicker {
  display: inline-block;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.4rem;
}
.kicker--light { color: var(--cream); opacity: 0.85; }

.section { padding: clamp(4.5rem, 12vh, 11rem) var(--pad); position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-sub);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2em;
  background: var(--red);
  color: var(--cream);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease);
  z-index: 0;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--dark);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--cream); }
.btn:hover::after { transform: translateY(0); }
.btn--sm { padding: 0.8em 1.4em; font-size: 0.68rem; }
.btn--big { padding: 1.3em 2.8em; font-size: 0.9rem; }
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(255, 250, 242, 0.4);
}
.btn--ghost::after { background: var(--cream); }
.btn--ghost:hover { color: var(--dark); }

/* =========================================================================
   PRELOADER
   ========================================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: grid; place-items: center;
  color: var(--cream);
}
.preloader__inner { text-align: center; width: min(80vw, 640px); }
.preloader__logo {
  font-family: var(--f-display);
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.9; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center;
}
.pl-line { display: block; overflow: hidden; }
.pl-word { display: block; transform: translateY(110%); }
.preloader__tag {
  font-family: var(--f-sub); font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; opacity: 0; margin-top: 1.2rem; color: var(--cream-dim);
}
.preloader__bar {
  margin: 2.2rem auto 0; width: 200px; height: 2px;
  background: rgba(255, 250, 242, 0.15); overflow: hidden;
}
.preloader__fill { display: block; height: 100%; width: 0; background: var(--red-bright); }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; top: -14px; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad) 0.4rem;
  mix-blend-mode: difference;
  transition: padding 0.4s var(--ease);
}
.header--solid { mix-blend-mode: normal; }
.header__logo { height: 150px; width: auto; filter: brightness(0) invert(1); }
.header__nav { display: flex; gap: 2.2rem; }
.header__nav a {
  font-family: var(--f-sub); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream); position: relative; font-weight: 600;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--cream); transition: width 0.4s var(--ease);
}
.header__nav a:hover::after { width: 100%; }
.header__right { display: flex; align-items: center; gap: 1.4rem; }
.lang { display: flex; align-items: center; gap: 0.4rem; color: var(--cream); font-family: var(--f-sub); font-size: 0.72rem; font-weight: 600; }
.lang button { letter-spacing: 0.1em; opacity: 0.5; transition: opacity 0.3s; }
.lang button.is-active { opacity: 1; }
.header__cta { color: var(--cream); }
.header .btn { background: transparent; border: 1px solid var(--cream); }
.header .btn::after { background: var(--cream); }
.header .btn:hover { color: var(--dark); }

.burger { display: none; width: 30px; height: 16px; position: relative; }
.burger span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--cream); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { bottom: 0; }
body.nav-open .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { bottom: 7px; transform: rotate(-45deg); }

/* =========================================================================
   FULLSCREEN NAV OVERLAY
   ========================================================================= */
.navover {
  position: fixed; inset: 0; z-index: 990;
  background: var(--dark);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
  pointer-events: none;
}
body.nav-open .navover { clip-path: inset(0 0 0 0); pointer-events: auto; }
.navover__grid { display: flex; flex-direction: column; }
.navover__item {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 0.4rem 0; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.navover__num { font-family: var(--f-sub); font-size: 0.7rem; color: var(--red-bright); letter-spacing: 0.2em; }
.navover__label {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 6rem); line-height: 1.05; color: var(--cream);
  transform: translateY(110%); transition: transform 0.6s var(--ease), color 0.4s;
}
body.nav-open .navover__label { transform: translateY(0); }
.navover__item:hover .navover__label { color: var(--red-bright); }
.navover__foot {
  margin-top: 3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--cream-dim); font-family: var(--f-sub); font-size: 0.8rem; letter-spacing: 0.05em;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--dark); }
.hero__media { position: absolute; inset: 0; will-change: clip-path; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,3,3,0.9) 0%, rgba(12,3,3,0.15) 45%, rgba(12,3,3,0.55) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 40%, rgba(12,3,3,0.6) 100%);
}
.hero__content {
  position: absolute; left: var(--pad); bottom: clamp(4rem, 12vh, 8rem); z-index: 3;
  color: var(--cream); max-width: 1400px;
}
.hero__kicker {
  font-family: var(--f-sub); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.32em;
  text-transform: uppercase; margin-bottom: 1.2rem; color: var(--cream-dim);
  opacity: 0; transform: translateY(20px);
}
.hero__title {
  font-family: var(--f-display); text-transform: uppercase; line-height: 0.86;
  font-size: clamp(4rem, 17vw, 17rem); letter-spacing: 0.01em;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > * , .hero__line { will-change: transform; }
.hero__sub {
  font-family: var(--f-sub); font-weight: 400; font-size: clamp(1rem, 2.2vw, 1.7rem);
  letter-spacing: 0.02em; margin: 1.2rem 0 2rem; color: var(--cream-dim);
  opacity: 0; transform: translateY(20px);
}
.hero__cta { opacity: 0; transform: translateY(20px); }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(4rem, 12vh, 8rem); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  color: var(--cream); font-family: var(--f-sub); font-size: 0.62rem; letter-spacing: 0.25em;
  text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 60px; background: var(--cream); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--red-bright); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee {
  background: var(--red); color: var(--cream); overflow: hidden;
  padding: 1.1rem 0; white-space: nowrap; border-block: 1px solid rgba(255,250,242,0.15);
}
.marquee__track { display: inline-flex; gap: 2rem; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem); letter-spacing: 0.02em;
}

/* =========================================================================
   STORIA
   ========================================================================= */
.storia { position: relative; background: var(--cream); }
.storia__head { position: relative; max-width: var(--maxw); margin: 0 auto 3.5rem; }
.storia .display { max-width: 14ch; }
.storia__body {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.storia__media { position: relative; }
.storia__img { overflow: hidden; border-radius: 4px; aspect-ratio: 4/5; }
.storia__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.storia__graphic {
  position: absolute; right: -6%; bottom: -10%; width: 42%; opacity: 0.9;
  filter: drop-shadow(0 20px 40px rgba(129,1,1,0.25)); pointer-events: none;
}
.storia__text p { font-size: clamp(1rem, 1.25vw, 1.18rem); color: #3a2020; margin-bottom: 1.4rem; max-width: 46ch; }
.storia__stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__n { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--red); line-height: 1; }
.stat__l { font-family: var(--f-sub); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6a4a4a; margin-top: 0.5rem; }

/* =========================================================================
   DRY AGED — immersive dark
   ========================================================================= */
.dry { position: relative; background: var(--dark); color: var(--cream); overflow: hidden; padding: clamp(5rem, 14vh, 12rem) var(--pad); }
.dry__bg { position: absolute; inset: -10% 0; z-index: 0; }
.dry__bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.28; filter: grayscale(0.2) contrast(1.05); will-change: transform; }
.dry::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, var(--dark) 10%, rgba(22,4,4,0.6) 60%, rgba(22,4,4,0.85)); }
.dry__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.dry__title { max-width: 16ch; margin-bottom: 1.5rem; }
.dry__lead { max-width: 52ch; color: var(--cream-dim); font-size: clamp(1rem, 1.4vw, 1.2rem); margin-bottom: 3rem; }
.dry__table { display: grid; gap: 0; margin-bottom: 2.5rem; max-width: 1100px; }
.dry__row {
  display: grid; grid-template-columns: 0.8fr 1.4fr 1.4fr; gap: 1.5rem;
  padding: 1.05rem 0; border-top: 1px solid var(--line); align-items: baseline;
}
.dry__row--head { color: var(--red-bright); font-family: var(--f-sub); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.dry__cut { font-family: var(--f-sub); font-weight: 700; letter-spacing: 0.04em; font-size: 1.02rem; transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.dry__cell { color: var(--cream-dim); font-size: 0.92rem; line-height: 1.45; transition: color 0.4s var(--ease); }
.dry__row:not(.dry__row--head) { position: relative; transition: border-color 0.4s var(--ease), padding-left 0.45s var(--ease); }
.dry__row:not(.dry__row--head)::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, rgba(129,1,1,0.22), transparent 85%);
  z-index: -1; transition: width 0.5s var(--ease);
}
.dry__row:not(.dry__row--head):hover { border-color: var(--red-bright); padding-left: 1.1rem; }
.dry__row:not(.dry__row--head):hover::before { width: 100%; }
.dry__row:not(.dry__row--head):hover .dry__cut { color: var(--cream); transform: translateX(2px); }
.dry__row:not(.dry__row--head):hover .dry__cell { color: var(--cream); }
.dry__from { font-family: var(--f-sub); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--red-bright); margin-bottom: 2.5rem; }

/* =========================================================================
   MENU
   ========================================================================= */
.menu { background: var(--cream); }
.menu__head { max-width: var(--maxw); margin: 0 auto 2.5rem; }
.menu__intro { max-width: 52ch; color: #5a3a3a; margin-top: 1rem; font-size: 1.05rem; }
.menu__tabs { max-width: var(--maxw); margin: 0 auto 3rem; display: flex; gap: 0.5rem; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.menu__tab {
  font-family: var(--f-sub); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.9rem 1.4rem; color: #9a7a7a; position: relative; transition: color 0.3s;
}
.menu__tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); transition: width 0.4s var(--ease); }
.menu__tab.is-active { color: var(--red); }
.menu__tab.is-active::after { width: 100%; }
.menu__panel { display: none; max-width: var(--maxw); margin: 0 auto; }
.menu__panel.is-active { display: block; }

.menu__cat { margin-bottom: 3.5rem; }
.menu__cat-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.8rem; }
.menu__cat-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.6rem); color: var(--dark); line-height: 1; }
.menu__cat-lead { font-family: var(--f-sub); font-style: italic; color: var(--red); font-size: 0.9rem; letter-spacing: 0.02em; }
.menu__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 3.5rem; }
.mitem { padding: 0.9rem 0; border-bottom: 1px dashed rgba(129,1,1,0.14); }
.mitem__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.mitem__name { font-family: var(--f-sub); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; color: var(--dark); }
.mitem__note { font-weight: 400; font-style: italic; color: #a07070; font-size: 0.82rem; margin-left: 0.4rem; }
.mitem__price { font-family: var(--f-sub); font-weight: 700; color: var(--red); white-space: nowrap; font-size: 1rem; }
.mitem__price small { font-weight: 400; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-right: 0.25em; }
.mitem__desc { color: #6a4a4a; font-size: 0.9rem; margin-top: 0.25rem; max-width: 52ch; }
.mitem__all { font-size: 0.72rem; color: #b08080; margin-top: 0.3rem; letter-spacing: 0.04em; }
.menu__cat-foot { margin-top: 1.4rem; font-family: var(--f-sub); font-style: italic; color: var(--red); font-size: 0.95rem; }
.menu__sides { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.menu__sides-title { font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--red); width: 100%; }
.menu__side { font-size: 0.9rem; color: #4a3030; }
.menu__side b { color: var(--red); font-weight: 700; }

.allergens { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.allergens__title { font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--red); margin-bottom: 0.8rem; }
.allergens__text { font-size: 0.85rem; color: #6a4a4a; max-width: 70ch; margin-bottom: 1rem; }
.allergens__list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 1.2rem; }
.allergens__list li { font-size: 0.78rem; color: #7a5a5a; }
.allergens__list b { color: var(--red); }

.wine__note { max-width: 60ch; color: #7a5a5a; font-style: italic; font-size: 0.92rem; margin-bottom: 2.5rem; padding-left: 1rem; border-left: 2px solid var(--red); }

.pranzo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pranzo__text h3 { color: var(--dark); margin-bottom: 1.2rem; }
.pranzo__text p { color: #5a3a3a; max-width: 44ch; margin-bottom: 2rem; font-size: 1.05rem; }
.pranzo__img { overflow: hidden; border-radius: 4px; aspect-ratio: 3/2; }
.pranzo__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }

/* =========================================================================
   EVENTI
   ========================================================================= */
.eventi { background: var(--dark-2); color: var(--cream); position: relative; }
.eventi__head { position: relative; max-width: var(--maxw); margin: 0 auto 3.5rem; }
.eventi__head .display { color: var(--cream); max-width: 16ch; }
.eventi__intro { max-width: 50ch; color: var(--cream-dim); margin-top: 1rem; }
.eventi__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ecard { position: relative; overflow: hidden; border-radius: 4px; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; }
.ecard__img { position: absolute; inset: 0; z-index: -2; }
.ecard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ecard:hover .ecard__img img { transform: scale(1.08); }
.ecard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12,3,3,0.92) 5%, rgba(12,3,3,0.15) 60%, transparent); }
.ecard__body { padding: 2rem; width: 100%; }
.ecard__tag { display: inline-block; font-family: var(--f-sub); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); background: var(--red); padding: 0.35em 0.9em; border-radius: 100px; margin-bottom: 1rem; }
.ecard__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 0.6rem; }
.ecard__desc { color: var(--cream-dim); font-size: 0.92rem; max-width: 42ch; }
.ecard__price { margin-top: 1rem; font-family: var(--f-sub); font-weight: 700; font-size: 1.3rem; color: var(--cream); }
.ecard__price span { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); margin-left: 0.5rem; }

/* featured "event of the month": the poster carries all the info — the card
   shows only the image plus a distinct (non-red) gold label. */
.ecard--feature { display: block; min-height: 0; }
.ecard--feature .ecard__img { position: static; z-index: 0; }
.ecard--feature .ecard__img img { height: auto; }
.ecard--feature::after { content: none; }
.ecard--feature:hover .ecard__img img { transform: none; }
.ecard__tag--feature { position: absolute; top: 1.4rem; left: 1.4rem; margin: 0; z-index: 3; background: var(--gold); color: #241500; box-shadow: 0 6px 22px rgba(0,0,0,0.35); }

/* =========================================================================
   PRENOTA
   ========================================================================= */
.prenota { position: relative; background: var(--red); color: var(--cream); padding: clamp(5rem, 16vh, 12rem) var(--pad); text-align: center; overflow: hidden; }
.prenota::before, .prenota::after { content: ""; position: absolute; width: 40vw; max-width: 520px; aspect-ratio: 1; background: radial-gradient(circle, rgba(12,3,3,0.5), transparent 65%); }
.prenota::before { top: -20%; left: -10%; }
.prenota::after { bottom: -30%; right: -12%; }
.prenota__inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.prenota__title { color: var(--cream); margin: 1rem 0 1.5rem; }
.prenota__text { max-width: 46ch; margin: 0 auto 2.5rem; color: rgba(255,250,242,0.85); font-size: 1.1rem; }
.prenota .btn--big { background: var(--cream); color: var(--red); }
.prenota .btn--big::after { background: var(--dark); }
.prenota .btn--big:hover { color: var(--cream); }
.prenota__call { margin-top: 2rem; display: flex; gap: 0.6rem; justify-content: center; align-items: center; font-family: var(--f-sub); font-size: 0.85rem; letter-spacing: 0.05em; flex-wrap: wrap; }
.prenota__call span { opacity: 0.75; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.prenota__call a { font-weight: 700; border-bottom: 1px solid rgba(255,250,242,0.4); }

/* =========================================================================
   GALLERIA
   ========================================================================= */
/* NB: overflow:hidden lives on .galleria__stage (the pinned element), NOT on
   .galleria — pinning inside an overflow:hidden ancestor causes a scroll-up jump. */
.galleria { background: var(--cream); position: relative; }
.galleria__stage { display: flex; flex-direction: column; overflow: hidden; }
.galleria__head { max-width: var(--maxw); margin: 0 auto 3rem; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.galleria__head .display { max-width: 16ch; }
.galleria__drag { font-family: var(--f-sub); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 0.6rem; }
.galleria__drag::before { content: "↔"; font-size: 1.2rem; }
.galleria__track { display: flex; gap: 1.2rem; padding: 0 var(--pad); cursor: grab; will-change: transform; }
.galleria__track:active { cursor: grabbing; }
.gitem { flex: 0 0 auto; width: clamp(240px, 30vw, 440px); aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.gitem:nth-child(even) { aspect-ratio: 4/3; align-self: flex-start; margin-top: 3rem; }
.gitem:nth-child(3n) { aspect-ratio: 1; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gitem:hover img { transform: scale(1.06); }

/* desktop: unpinned horizontal strip — draggable + drifts on vertical scroll */
@media (min-width: 1000px) {
  .galleria__stage { justify-content: center; padding: clamp(3rem, 7vh, 5rem) 0; }
  .galleria__track { flex-wrap: nowrap; will-change: transform; }
}

.reels { max-width: var(--maxw); margin: 4rem auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 6px; background: var(--dark); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(12,3,3,0.4); pointer-events: none; }

/* follow / social block under the reels */
.galfollow { max-width: var(--maxw); margin: 3.5rem auto 0; padding: 0 var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.galfollow__handle { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--red); line-height: 1; transition: color 0.3s var(--ease); }
.galfollow__handle:hover { color: var(--red-bright); }
.galfollow__text { color: #6a4a4a; max-width: 42ch; font-size: 0.98rem; }
.social--lg { justify-content: center; margin-top: 0.6rem; }
.social--lg a { font-size: 0.85rem; }

/* =========================================================================
   CONTATTI
   ========================================================================= */
.contatti { background: var(--dark); color: var(--cream); position: relative; }
.contatti__head { position: relative; max-width: var(--maxw); margin: 0 auto 3.5rem; }
.contatti__head .display { color: var(--cream); }
.contatti__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); }
.contatti__info { display: flex; flex-direction: column; gap: 2rem; }
.cblock { display: flex; flex-direction: column; gap: 0.3rem; }
.cblock__label { font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--red-bright); margin-bottom: 0.4rem; }
.cblock a { color: var(--cream-dim); font-size: 1.05rem; transition: color 0.3s; width: fit-content; }
.cblock a:hover { color: var(--cream); }
.hours { display: flex; flex-direction: column; gap: 0.3rem; }
.hours li { display: flex; justify-content: space-between; gap: 2rem; max-width: 320px; font-size: 0.95rem; color: var(--cream-dim); padding: 0.15rem 0; border-bottom: 1px solid var(--line); }
.hours li.closed span:last-child { color: var(--red-bright); }
.hours li b { font-weight: 500; color: var(--cream); }
.social { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.social a { font-family: var(--f-sub); font-size: 0.8rem; letter-spacing: 0.05em; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contatti__cta { margin-top: 0.5rem; align-self: flex-start; }
.contatti__map { min-height: 420px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.contatti__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }
.mapconsent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; padding: 2rem clamp(1.2rem, 4vw, 2.5rem); background: rgba(255,250,242,0.04); }
.mapconsent__txt { max-width: 34ch; font-size: 0.9rem; line-height: 1.6; color: rgba(255,250,242,0.72); margin: 0; }
.mapconsent__link { font-family: var(--f-sub); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); opacity: 0.7; text-decoration: none; border-bottom: 1px solid rgba(255,250,242,0.3); padding-bottom: 2px; }
.mapconsent__link:hover { opacity: 1; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--charcoal); color: var(--cream); padding: 4rem var(--pad) 2.5rem; overflow: hidden; }
.footer__big { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3.5rem, 18vw, 18rem); line-height: 0.85; color: rgba(255,250,242,0.06); text-align: center; margin-bottom: 2rem; letter-spacing: 0.01em; }
.footer__row { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer__row > span { font-family: var(--f-sub); font-style: italic; color: var(--cream-dim); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--cream-dim); transition: color 0.3s; }
.footer__links a:hover { color: var(--cream); }
.footer__base { max-width: var(--maxw); margin: 1.5rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(255,250,242,0.4); }

/* =========================================================================
   MENU TEASER (home)
   ========================================================================= */
.menuteaser { background: var(--cream); overflow: hidden; position: relative; }
.menuteaser__head { position: relative; max-width: var(--maxw); margin: 0 auto 3.5rem; }
.menuteaser__head .display { max-width: 16ch; }
.menuteaser__intro { max-width: 54ch; color: #5a3a3a; margin-top: 1.2rem; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.menuteaser__cards {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.mtcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(360px, 42vw, 520px); overflow: hidden; border-radius: 6px;
  isolation: isolate; color: var(--cream);
}
.mtcard__img { position: absolute; inset: 0; z-index: -2; }
.mtcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mtcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12,3,3,0.94) 8%, rgba(12,3,3,0.35) 55%, rgba(12,3,3,0.1));
  transition: background 0.5s var(--ease);
}
.mtcard:hover .mtcard__img img { transform: scale(1.07); }
.mtcard:hover::after { background: linear-gradient(to top, rgba(129,1,1,0.92) 8%, rgba(12,3,3,0.35) 55%, rgba(12,3,3,0.1)); }
.mtcard__body { padding: 2rem; }
.mtcard__idx { font-family: var(--f-sub); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red-bright); }
.mtcard__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; margin: 0.6rem 0 0.7rem; }
.mtcard__desc { color: var(--cream-dim); font-size: 0.92rem; max-width: 34ch; margin-bottom: 1.1rem; }
.mtcard__go {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-sub); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream);
}
.mtcard__go::after { content: "→"; transition: transform 0.4s var(--ease); }
.mtcard:hover .mtcard__go::after { transform: translateX(6px); }

/* =========================================================================
   REVEAL / ANIM STATES
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(30px); }

/* directional word reveal masks */
/* hide split headings until JS wraps/masks the words (prevents plain-text FOUC,
   e.g. the menu-hero title flashing before its reveal). JS sets opacity:1. */
[data-split] { opacity: 0; }
.w { display: inline-block; overflow: hidden; padding-bottom: 0.06em; vertical-align: top; }
.w__i { display: inline-block; will-change: transform; }
.hero__line { display: block; overflow: hidden; }
.hero__lineInner { display: block; will-change: transform; }

/* clip-path image reveals */
[data-img-reveal] { will-change: clip-path; }
[data-img-reveal] img { will-change: transform; }

/* curtain wipe overlays (injected by JS) */
.curtain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  transform: scaleY(1); transform-origin: top; will-change: transform;
}
.curtain--cream { background: var(--cream); }
.curtain--dark { background: var(--dark); }

/* curtain sections need clipping (galleria clips via .galleria__stage instead,
   because it hosts the pin — see note above) */
.menuteaser, .eventi, .prenota, .contatti, .dry, .storia { overflow: hidden; }

/* =========================================================================
   DECORATIVE MEAT-CUT ENGRAVINGS — floating parallax depth (3D effect)
   Sit behind section content (z-index:-1), drifting on scroll. Clipped by the
   section's overflow:hidden so off-edge placement never causes h-scroll.
   ========================================================================= */
/* One engraving per section, scattered into the corners over the background
   whitespace (not over titles). Anchored to the section (position:relative),
   bleeding slightly off-edge — clipped by the section overflow:hidden so it
   never causes h-scroll. data-parallax-graphic drifts them gently on scroll. */
.deco {
  position: absolute; z-index: 2; pointer-events: none; user-select: none;
  filter: drop-shadow(0 18px 34px rgba(129, 1, 1, 0.28));
  will-change: transform;
}
/* Two justified patterns only (the ones that read as intentional):
   (A) bold engraving RESTING on a real image — dry over the dark scene, cut1 on
       the storia photo;
   (B) faint ghost-graphic anchored BESIDE a big headline, tucked into the empty
       space next to the ~16ch title & sitting BEHIND the text — prenota, menu, eventi.
   (storia keeps only cut1; contatti dropped — map UI is a poor anchor.) */
.deco--dry       { top: 40%; right: 4%; width: clamp(200px, 20vw, 300px); opacity: 0.5; }
.deco--menuteaser{ top: 8%; right: 14%; width: clamp(220px, 22vw, 320px); opacity: 0.15; z-index: 1; }
.deco--eventi    { top: 8%; right: 14%; width: clamp(220px, 22vw, 320px); opacity: 0.2; z-index: 1; }
.deco--prenota   { top: 14%; left: 0; right: 0; margin-inline: auto; width: clamp(200px, 23vw, 300px); opacity: 0.14; z-index: 1; filter: brightness(0) invert(1); }
.menuteaser__head, .eventi__head { z-index: 2; }
@media (max-width: 1000px) { .deco { display: none; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1000px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .burger { display: block; }
  .storia__body, .pranzo, .contatti__grid { grid-template-columns: 1fr; }
  .menu__items { grid-template-columns: 1fr; }
  .eventi__grid { grid-template-columns: 1fr; }
  .menuteaser__cards { grid-template-columns: 1fr; }
  .mtcard { min-height: 340px; }
  .storia__graphic { width: 34%; right: 0; }
  .dry__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .dry__row--head { display: none; }
  .dry__cell::before { content: attr(data-l) " — "; color: var(--red-bright); font-weight: 700; }
  .reels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .header { padding: 0.3rem var(--pad); }
  .hero__content { right: var(--pad); }
  .hero__scroll { display: none; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scrollbar-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-img-reveal] { clip-path: none !important; }
  [data-split] { opacity: 1 !important; }
  .curtain { display: none !important; }
  .w__i { transform: none !important; opacity: 1 !important; }
}
