/* =========================================================================
   DranK — v2 "Osteria notturna, modern"
   Warm dark palette (kept), modern grotesque type, image-forward, motion.
   ========================================================================= */

:root {
  /* surfaces */
  --bg:        #14100c;
  --bg-2:      #1a140e;
  --surface:   #211a12;
  --surface-2: #2a2117;
  --surface-3: #34291a;

  /* ink */
  --cream:     #f4ebd9;
  --cream-dim: #ddccac;
  --muted:     #ad9876;
  --muted-2:   #8a765a;

  /* accents */
  --gold:      #e8ad4e;
  --gold-soft: #d2ab6e;
  --terra:     #ca6e3f;
  --wine:      #8c2f38;
  --wine-br:   #b94350;
  --olive:     #9a9a55;

  /* lines */
  --line:        rgba(244,235,217,.10);
  --line-strong: rgba(244,235,217,.20);

  /* type */
  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 3.2rem);
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  --header-h: 72px;
  --catbar-h: 56px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-size: clamp(15px, .5vw + 14px, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: #2a1c08; }

/* candle glow + grain overlay */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(232,173,78,.10), transparent 55%),
    radial-gradient(90% 60% at 88% 4%, rgba(140,47,56,.10), transparent 52%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

/* helpers ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.kicker {
  font-family: var(--body); font-size: .76rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .65rem;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .8; }
.kicker.center::after { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .8; }
.h-title {
  font-family: var(--display); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--cream);
}
.h-title .accent { color: var(--gold); }
.lede { color: var(--cream-dim); max-width: 56ch; font-size: 1.06rem; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.section { padding: clamp(3.8rem, 9vw, 7.5rem) 0; }

/* buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 100px; font-weight: 600; font-size: .96rem;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #2a1c08; box-shadow: 0 10px 30px -12px rgba(232,173,78,.6); }
.btn--gold:hover { background: #f3bd63; box-shadow: 0 16px 36px -12px rgba(232,173,78,.7); }
.btn--gold:hover svg { transform: translateX(4px); }
.btn--ghost { border-color: var(--line-strong); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-br); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.site-header.scrolled { background: rgba(15,11,7,.78); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a { font-size: .93rem; font-weight: 500; color: var(--cream-dim); position: relative; padding: .2rem 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0; background: var(--gold); transition: width .3s var(--ease-out); }
.nav__links a:hover, .nav__links a.active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__cta { padding: .58rem 1.2rem; }
.lang-flags { display: flex; align-items: center; gap: .4rem; }
.lang-flags a { width: 30px; height: 21px; border-radius: 5px; overflow: hidden; display: block; opacity: .42;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s; }
.lang-flags a:hover { opacity: .85; transform: translateY(-1px); }
.lang-flags a.active { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--gold); }
.lang-flags svg { width: 100%; height: 100%; display: block; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; z-index: 61; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span::before { position: relative; top: -7px; }
.nav__toggle span::after  { position: relative; top: 5px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: -8% 0 0 0; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 116%; object-fit: cover; object-position: center 42%;
  filter: saturate(.92) contrast(1.04) brightness(.9);
  animation: kenburns 22s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) } to { transform: scale(1.13) translateY(-1.5%) } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,12,8,.5) 0%, rgba(16,12,8,.16) 28%, rgba(16,12,8,.68) 70%, var(--bg) 100%),
    radial-gradient(75% 55% at 30% 116%, rgba(232,173,78,.22), transparent 62%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(3.5rem, 8vw, 6.5rem); padding-top: calc(var(--header-h) + 2rem); width: 100%; }
.hero__inner > :where(.hero__kicker, h1, .hero__sub, .hero__meta) { text-shadow: 0 2px 30px rgba(8,5,2,.45); }
.hero__kicker { color: var(--gold); margin-bottom: 1.4rem; }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-optical-sizing: auto;
  font-size: clamp(2.7rem, 8vw, 6rem); line-height: .98; letter-spacing: -.035em; max-width: 15ch;
  text-wrap: balance;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; transform: translateY(105%); animation: lineUp .9s var(--ease-out) forwards; }
.hero h1 .ln:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .28s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .41s; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
@keyframes lineUp { to { transform: none; } }
.hero__sub { margin-top: 1.5rem; max-width: 46ch; color: var(--cream-dim); font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  opacity: 0; animation: fadeUp .8s var(--ease-out) .62s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; opacity: 0; animation: fadeUp .8s var(--ease-out) .74s forwards; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; margin-top: 2.4rem;
  font-size: .8rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .86s forwards; }
.hero__meta b { color: var(--cream); font-weight: 600; }
.hero__meta .dot { color: var(--gold); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; box-shadow: 0 0 0 0 rgba(232,173,78,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,173,78,.55)} 70%{box-shadow:0 0 0 9px rgba(232,173,78,0)} 100%{box-shadow:0 0 0 0 rgba(232,173,78,0)} }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px) } to { opacity: 1; transform: none } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3;
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: .9rem 0; }
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--cream-dim); letter-spacing: .01em; display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--gold); font-size: .7rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--bg-2); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__body p + p { margin-top: 1.05rem; }
.about__body .lede { margin-top: 1.2rem; }
.pullquote { margin: 1.8rem 0 0; padding-left: 1.2rem; border-left: 2px solid var(--gold);
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--cream); font-weight: 500; }
.pullquote cite { display: block; margin-top: .6rem; font-family: var(--body); font-size: .85rem; font-style: normal; color: var(--muted); letter-spacing: .02em; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__media figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; font-size: .82rem; color: var(--cream);
  background: linear-gradient(transparent, rgba(16,12,8,.0)); padding: .5rem .8rem; backdrop-filter: blur(2px);
  background: rgba(16,12,8,.55); border: 1px solid var(--line); border-radius: 100px; width: fit-content; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.4rem; }
.value { padding: 1.3rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, transform .3s var(--ease-out); }
.value:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.value .ico { color: var(--gold); margin-bottom: .6rem; }
.value h4 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.value p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* =====================================================================
   TERRITORIO band (parallax)
   ===================================================================== */
.territorio { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.territorio__bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.territorio__bg img { width: 100%; height: 124%; object-fit: cover; filter: saturate(.9) brightness(.7); }
.territorio__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,12,8,.86), rgba(16,12,8,.5) 60%, rgba(16,12,8,.3)); }
.territorio .wrap { position: relative; z-index: 1; padding-block: clamp(3rem,7vw,5rem); }
.territorio p { max-width: 50ch; margin-top: 1rem; color: var(--cream-dim); }
.territorio .wines { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.territorio .wines span { font-size: .82rem; padding: .4rem .9rem; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--cream); background: rgba(16,12,8,.4); }

/* =====================================================================
   LIMITED feature (home)
   ===================================================================== */
.limited { background: linear-gradient(180deg, transparent, rgba(140,47,56,.06) 45%, transparent), var(--bg); }
.limited__card { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); }
.limited__media { position: relative; min-height: 380px; overflow: hidden; }
.limited__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.limited__card:hover .limited__media img { transform: scale(1.05); }
.limited__media .tag { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2; background: var(--gold); color: #2a1c08;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .42rem .85rem; border-radius: 100px; }
.limited__body { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.limited__body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; margin: .7rem 0 .85rem; letter-spacing: -.02em; }
.limited__body p { color: var(--cream-dim); }
.limited__price { font-family: var(--display); color: var(--gold); font-size: 2.1rem; margin-top: 1.3rem; font-weight: 600; }
.limited__price small { font-family: var(--body); color: var(--muted); font-size: .8rem; display: block; letter-spacing: .02em; font-weight: 400; }

/* =====================================================================
   HIGHLIGHTS
   ===================================================================== */
.highlights__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 330px; display: flex; align-items: flex-end; border: 1px solid var(--line); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease-out); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 32%, rgba(16,12,8,.4) 58%, rgba(16,12,8,.93) 100%); }
.card:hover img { transform: scale(1.07); }
.card__body { padding: 1.4rem; }
.card__body .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card__body h4 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin-top: .2rem; letter-spacing: -.01em; }
.card__body p { color: var(--cream-dim); font-size: .88rem; margin-top: .3rem; }
.card__arrow { position: absolute; top: 1.2rem; right: 1.2rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(16,12,8,.5); border: 1px solid var(--line-strong); display: grid; place-content: center; color: var(--cream); transition: .3s var(--ease-out); }
.card:hover .card__arrow { background: var(--gold); color: #2a1c08; transform: rotate(-45deg); }

/* =====================================================================
   INFO
   ===================================================================== */
.info { background: var(--bg-2); }
.info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,4rem); }
.hours { width: 100%; border-collapse: collapse; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours td { padding: .8rem 0; }
.hours td:first-child { color: var(--cream); font-weight: 500; }
.hours td:last-child { text-align: right; color: var(--cream-dim); font-variant-numeric: tabular-nums; }
.hours tr.today td:first-child::after { content: "Stasera"; margin-left: .6rem; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #2a1c08; background: var(--gold); padding: .14rem .5rem; border-radius: 100px; vertical-align: middle; }
html[lang="en"] .hours tr.today td:first-child::after { content: "Tonight"; }
.hours tr.closed td:last-child { color: var(--wine-br); }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { color: var(--gold); flex: none; margin-top: .15rem; }
.contact-list a:hover { color: var(--gold); }
.contact-list .lbl { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.6rem; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-content: center; color: var(--cream-dim); transition: .3s var(--ease-out); }
.socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.map-embed { width: 100%; min-height: 400px; height: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); filter: grayscale(.35) contrast(1.05) brightness(.9); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #0f0b07; border-top: 1px solid var(--line); padding: clamp(2.6rem,6vw,4rem) 0 2rem; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.4rem; }
.footer__brand img { height: 42px; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 32ch; font-size: .9rem; }
.footer__cols { display: flex; gap: clamp(2rem,6vw,5rem); flex-wrap: wrap; }
.footer__col h5 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer__col a, .footer__col p { color: var(--cream-dim); font-size: .9rem; display: block; padding: .22rem 0; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: var(--muted-2); font-size: .78rem; }
.footer__bottom a:hover { color: var(--muted); }

/* =====================================================================
   MENU PAGE
   ===================================================================== */
.menu-hero { padding-top: calc(var(--header-h) + clamp(2.6rem,6vw,4.6rem)); padding-bottom: clamp(1.6rem,4vw,2.6rem); text-align: center; }
.menu-hero .h-title { margin-inline: auto; }
.menu-hero .lede { margin: 1rem auto 0; }
.menu-hero__meta { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.menu-hero__meta .dot { color: var(--gold); margin: 0 .5rem; }

/* sticky category bar — centered, scrolls when overflowing */
.cat-bar { position: sticky; top: var(--header-h); z-index: 45; background: rgba(15,11,7,.92); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.cat-bar__scroll { display: flex; justify-content: safe center; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .7rem var(--gutter); scroll-behavior: smooth; min-height: var(--catbar-h); }
.cat-bar__scroll::-webkit-scrollbar { display: none; }
.cat-bar a { flex: none; padding: .52rem 1.05rem; border-radius: 100px; font-size: .86rem; font-weight: 500; color: var(--cream-dim); border: 1px solid transparent; white-space: nowrap; transition: .25s var(--ease-out); cursor: pointer; }
.cat-bar a:hover { color: var(--cream); background: var(--surface); }
.cat-bar a.menu-active { background: var(--gold); color: #2a1c08; font-weight: 600; }

.menu-body { padding-bottom: clamp(3rem,8vw,6rem); }
.menu-cat { padding-top: clamp(2.6rem,6vw,4.2rem); scroll-margin-top: calc(var(--header-h) + var(--catbar-h) + 8px); }
.menu-cat__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.7rem; }
.menu-cat__head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem,3.6vw,2.7rem); color: var(--cream); white-space: nowrap; letter-spacing: -.02em; }
.menu-cat__head .rule { flex: 1; height: 1px; background: var(--line-strong); }
.menu-cat__head .count { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.menu-sub { font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 2rem 0 .6rem; }
.menu-sub:first-child { margin-top: 0; }

/* item rows — BIGGER images */
.menu-list { display: grid; gap: .1rem; }
.m-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.3rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.m-item:last-child { border-bottom: 0; }
.m-item__thumb { grid-row: span 2; width: 140px; height: 140px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line-strong); cursor: zoom-in; transition: transform .4s var(--ease-out), box-shadow .4s; }
.m-item__thumb:hover { transform: scale(1.04); box-shadow: var(--shadow); }
.m-item.no-thumb { grid-template-columns: 1fr auto; }
.m-item__main { min-width: 0; align-self: center; }
.m-item.has-thumb .m-item__main { align-self: start; }
.m-item__name { font-family: var(--display); font-weight: 600; font-size: 1.16rem; color: var(--cream); display: inline; letter-spacing: -.01em; }
.m-item__price { font-family: var(--display); font-size: 1.16rem; color: var(--gold); white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: .5rem; align-self: center; }
.m-item__desc { color: var(--muted); font-size: .93rem; margin-top: .3rem; max-width: 60ch; }
.m-item__allerg { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-left: .5rem; vertical-align: middle; }
.allg { font-size: .62rem; font-weight: 700; letter-spacing: .03em; color: var(--gold-soft); border: 1px solid var(--line-strong); border-radius: 6px; padding: .12rem .4rem; line-height: 1.4; cursor: pointer; transition: .2s; }
.allg:hover, .allg:focus-visible { background: var(--gold); color: #2a1c08; border-color: var(--gold); outline: none; }
.m-item__toppings { font-size: .83rem; color: var(--muted-2); margin-top: .4rem; }
.m-item__toppings b { color: var(--muted); font-weight: 600; }

@media (min-width: 760px) { .menu-list.is-drinks { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; } }

/* allergen popover */
.allg-pop { position: absolute; z-index: 80; background: var(--surface-3); color: var(--cream); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: .5rem .8rem; font-size: .82rem; box-shadow: var(--shadow); pointer-events: none;
  opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; max-width: 240px; }
.allg-pop.show { opacity: 1; transform: none; }
.allg-pop b { color: var(--gold); }

/* legend */
.legend { margin-top: clamp(2.6rem,6vw,4rem); padding: 1.7rem clamp(1.2rem,4vw,2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legend h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin-bottom: 1.1rem; }
.legend__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .55rem .9rem; }
.legend__grid div { font-size: .86rem; color: var(--cream-dim); }
.legend__grid b { color: var(--gold-soft); font-weight: 700; display: inline-block; min-width: 2.2em; }
.legend__notes { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.legend__notes p { padding: .12rem 0; }

/* =====================================================================
   LIMITED MODAL (menu, after burgers)
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem;
  background: rgba(8,6,3,.7); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.modal.show { opacity: 1; pointer-events: auto; }
.modal__card { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); transform: translateY(24px) scale(.96); transition: transform .5s var(--ease-out); }
.modal.show .modal__card { transform: none; }
.modal__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media .tag { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: #2a1c08; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 100px; }
.modal__close { position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(8,6,3,.6); border: 1px solid var(--line-strong); color: var(--cream); display: grid; place-content: center; transition: .25s; }
.modal__close:hover { background: var(--wine); }
.modal__body { padding: 1.5rem 1.6rem 1.8rem; }
.modal__body .k { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.modal__body h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; margin: .4rem 0 .6rem; letter-spacing: -.01em; }
.modal__body p { color: var(--cream-dim); font-size: .92rem; }
.modal__price { font-family: var(--display); font-weight: 600; color: var(--gold); font-size: 1.6rem; margin-top: 1rem; }

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 1.5rem;
  background: rgba(8,6,3,.85); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(640px, 92vw); transform: scale(.94); transition: transform .4s var(--ease-out); }
.lightbox.show figure { transform: none; }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox figcaption { text-align: center; margin-top: 1rem; color: var(--cream); font-family: var(--display); font-size: 1.1rem; }
.lightbox figcaption span { display: block; color: var(--gold); font-family: var(--body); font-size: .9rem; margin-top: .2rem; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(8,6,3,.6); border: 1px solid var(--line-strong); color: var(--cream); display: grid; place-content: center; }

/* back to top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #2a1c08; display: grid; place-content: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: .35s var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* reveal on scroll (with stagger via inline --d) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE  (mobile-first care)
   ===================================================================== */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 460px; }
  .limited__card { grid-template-columns: 1fr; }
  .limited__media { min-height: 300px; }
  .info__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; --catbar-h: 52px; }
  /* no backdrop-filter on mobile: a filtered ancestor would re-anchor the fixed
     nav drawer to the header box instead of the viewport, breaking the menu */
  .site-header.scrolled { backdrop-filter: none; background: rgba(16,12,8,.95); }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); background: var(--bg-2); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .4s var(--ease-out); z-index: 59; }
  .nav__links a { font-size: 1.5rem; font-family: var(--display); font-weight: 600; color: var(--cream); }
  body.nav-open .nav__links { transform: none; }
  body.nav-open::after { content: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .values { grid-template-columns: 1fr; gap: .8rem; }
  .footer__top { flex-direction: column; }
  .hero h1 { max-width: 100%; }
  .territorio__bg::after { background: linear-gradient(180deg, rgba(16,12,8,.55), rgba(16,12,8,.85)); }
}
@media (max-width: 520px) {
  .m-item { grid-template-columns: auto 1fr; gap: .8rem 1rem; }
  .m-item__thumb { width: 112px; height: 112px; }
  .m-item__price { grid-column: 2; justify-self: start; padding-left: 0; margin-top: .35rem; align-self: start; }
  .hero__meta { gap: .6rem 1rem; }
  .btn { padding: .85rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .ln > span, .hero__sub, .hero__actions, .hero__meta { opacity: 1; transform: none; animation: none; }
  .hero__bg img { animation: none; }
}
