/* Ca' dei Gobj, v2
   Tema unico scuro (scelta di brand: sala serale, brace, birreria).
   Forme: bottoni e chip a pillola, immagini e riquadri raggio 20px.
   Accento unico: brace (#f0612b). */
:root {
  color-scheme: dark;
  --bg: #111110;
  --bg-2: #181817;
  --bg-3: #212120;
  --line: rgba(241, 239, 233, .1);
  --line-2: rgba(241, 239, 233, .2);
  --text: #f1efe9;
  --muted: #a6a39c;
  --dim: #8a8780;
  --ember: #f0612b;
  --ember-ink: #160b06;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --r: 20px;
  --wrap: 1400px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 100; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.sentinel { position: absolute; top: 0; left: 0; height: 1px; width: 1px; }

/* Display: Archivo stretto, maiuscolo */
.display, .h2 {
  font-family: var(--display); font-weight: 800; font-stretch: 72%;
  text-transform: uppercase; line-height: .88; letter-spacing: -.01em;
}
.h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .9; }
.ember { color: var(--ember); }
.label { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Bottoni (pillola) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 1px solid transparent;
  font: 500 .98rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn i { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(3px); }
.btn-ember { background: var(--ember); color: var(--ember-ink); }
.btn-ember:hover { background: #ff7442; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(17,17,16,.35); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.solid, .site-header.always-solid {
  background: rgba(17,17,16,.82); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: .93rem; color: var(--muted);
  transition: color .2s, background-color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-status { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.nav-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #7ccf7f; }
.nav-status.closed .dot { background: var(--dim); }
.nav .btn { min-height: 42px; padding: 0 1.15em; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1081px) { .nav-menu { display: flex; align-items: center; gap: 22px; } }
@media (max-width: 1240px) and (min-width: 1081px) { .nav-status { display: none; } }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--bg); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase;
    font-size: 2.4rem; line-height: 1; padding: 10px 0; color: var(--text); border-radius: 0; background: none !important;
  }
  .nav-right { margin-top: 22px; flex-direction: column; align-items: stretch; }
  .nav-right .btn { width: 100%; min-height: 52px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 clamp(36px, 6vh, 64px); min-height: 92dvh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-title { font-size: clamp(3.6rem, 12.6vw, 13.4rem); margin: 0; }
.hero-title .row { display: flex; align-items: center; gap: .12em; white-space: nowrap; }
.chip {
  display: inline-block; height: .72em; width: 1.6em; border-radius: 999px; overflow: hidden; flex: none;
  background: var(--bg-3);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.chip.round { width: .72em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; margin-top: clamp(28px, 5vh, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 38ch; margin: 0; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .row { animation: rise 1.2s var(--ease) both; }
  .hero-title .row:nth-child(2) { animation-delay: .1s; }
  .hero-title .chip { animation: chipIn 1.3s var(--ease) .35s both; }
  .hero-bottom { animation: fade 1s var(--ease) .5s both; }
}
@keyframes rise { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes chipIn { from { clip-path: inset(0 50% round 999px); } to { clip-path: inset(0 0 round 999px); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero-title { font-size: 14.6vw; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}

/* Foto della stube che si apre allo scroll */
.reveal-photo { padding: 0 var(--gutter); }
.reveal-photo figure { margin: 0 auto; max-width: var(--wrap); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 10; position: relative; }
.reveal-photo img { width: 100%; height: 100%; object-fit: cover; }
.reveal-photo figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(17,17,16,.75)); pointer-events: none; }
.reveal-photo figcaption {
  position: absolute; z-index: 1; left: clamp(18px, 3vw, 40px); right: clamp(18px, 3vw, 40px); bottom: clamp(16px, 2.6vw, 34px);
  font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 40ch; color: rgba(241,239,233,.92);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .reveal-photo { padding: 0; }
    .reveal-photo figure { max-width: none; animation: openUp linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .reveal-photo img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes openUp { from { clip-path: inset(0 18% round 20px); } to { clip-path: inset(0 0 round 0); } }
@keyframes settle { from { transform: scale(1.16); } to { transform: scale(1); } }
@media (max-width: 760px) { .reveal-photo figure { aspect-ratio: 4 / 5; } }

/* Marquee (unico della pagina) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 24px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; white-space: nowrap;
}
.marquee-track span i { color: var(--ember); font-size: .6em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sezioni ---------- */
.section { padding: clamp(88px, 12vw, 170px) 0; }

/* Manifesto: le parole si accendono allo scroll */
.manifesto { font-family: var(--display); font-weight: 600; font-stretch: 90%; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.015em; max-width: 24ch; margin: 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifesto .w { color: #3d3c39; animation: lightUp linear both; animation-timeline: view(); animation-range: cover 15% cover 40%; }
    .manifesto .w.ember { color: #4a2a1d; animation-name: lightUpEmber; }
  }
}
@keyframes lightUp { to { color: var(--text); } }
@keyframes lightUpEmber { to { color: var(--ember); } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(64px, 8vw, 120px); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: .9; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: .97rem; max-width: 22ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* Indice dei piatti con anteprima che segue il cursore */
.dish-index { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.dish-row { border-bottom: 1px solid var(--line); }
.dish-row a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) 150px; align-items: center; gap: 24px;
  padding: 24px 0; text-decoration: none; transition: padding .5s var(--ease);
}
.dish-name { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 4.2rem); line-height: .95; transition: color .3s var(--ease); }
.dish-desc { color: var(--muted); font-size: .98rem; }
.dish-cat { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.dish-cat i { font-size: 1.25rem; color: var(--ember); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s var(--ease); }
.dish-thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .dish-row a:hover { padding-left: 20px; }
  .dish-row a:hover .dish-name { color: var(--ember); }
  .dish-row a:hover .dish-cat i { opacity: 1; transform: none; }
}
.dish-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 280px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); will-change: transform; background: var(--bg-3);
}
.dish-preview.on { opacity: 1; }
.dish-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.dish-preview img.active { opacity: 1; }
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .dish-preview { display: none; }
  .dish-row a { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 18px; padding: 16px 0; }
  .dish-thumb { display: block; grid-row: span 2; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
  .dish-name { font-size: 1.8rem; align-self: end; }
  .dish-desc { font-size: .9rem; align-self: start; }
  .dish-cat { display: none; }
}
.more-link { margin-top: 36px; }

/* Bento della brace: 4 celle */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.cell { border-radius: var(--r); overflow: hidden; position: relative; background: var(--bg-2); }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell:hover img { transform: scale(1.03); }
.cell-a { grid-column: span 7; grid-row: span 2; min-height: 600px; }
.cell-b { grid-column: span 5; background: var(--ember); color: var(--ember-ink); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.cell-b i { font-size: 2.4rem; }
.cell-b p { font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
.cell-c { grid-column: span 5; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--bg); }
.cell-d { grid-column: span 12; aspect-ratio: 21 / 8; }
.cuts { list-style: none; margin: 14px 0 0; padding: 0; }
.cuts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 13px 0; }
.cuts li + li { border-top: 1px solid var(--line); }
.cuts .n { font-weight: 500; }
.cuts .d { grid-column: 1; color: var(--dim); font-size: .88rem; }
.cuts .p { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--mono); }
@media (max-width: 900px) {
  .cell-a, .cell-b, .cell-c, .cell-d { grid-column: span 12; grid-row: auto; }
  .cell-a { min-height: 0; aspect-ratio: 4 / 5; }
  .cell-d { aspect-ratio: 4 / 3; }
}

/* Pizza e birra */
.pour { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.pour-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; }
.pour-media img { width: 100%; height: 100%; object-fit: cover; }
.pour p { color: var(--muted); max-width: 46ch; margin: 28px 0 0; }
.taps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 34px; padding: 0; }
.taps li { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: .92rem; }
@media (max-width: 900px) { .pour { grid-template-columns: 1fr; } }

/* Eventi a tutta larghezza */
.events { position: relative; min-height: 88dvh; display: flex; align-items: flex-end; overflow: hidden; }
.events-bg { position: absolute; inset: 0; }
.events-bg img { width: 100%; height: 100%; object-fit: cover; }
.events::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,16,.8), rgba(17,17,16,.35) 70%), linear-gradient(180deg, rgba(17,17,16,.5), rgba(17,17,16,.3) 40%, rgba(17,17,16,.95)); }
.events .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); }
.events .h2 { font-size: clamp(3.2rem, 9vw, 9rem); max-width: 11ch; }
.events p { color: rgba(241,239,233,.85); max-width: 44ch; font-size: 1.1rem; margin: 26px 0 32px; }
.events-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .events-bg img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes drift { from { transform: scale(1.15) translateY(-4%); } to { transform: scale(1.02) translateY(4%); } }

/* Orari e contatti */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.panel { background: var(--bg-2); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.panel h3 { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin-bottom: 18px; }
.now { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.now .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ccf7f; }
.now.closed .dot { background: var(--dim); }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 400; }
.hours th { color: var(--muted); }
.hours td { text-align: right; font-family: var(--mono); font-size: .9rem; }
.hours tr.today th, .hours tr.today td { color: var(--ember); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list small { display: block; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-size: 1.06rem; transition: color .2s; }
.contact-list a:hover { color: var(--ember); }
.map { border-radius: var(--r); overflow: hidden; min-height: 380px; background: var(--bg-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
@media (max-width: 1000px) { .visit { grid-template-columns: 1fr 1fr; } .map { grid-column: 1 / -1; } }
@media (max-width: 640px) { .visit { grid-template-columns: 1fr; } }

/* Chiusura prenota */
.book { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 90px); }
.book .display { font-size: clamp(3.4rem, 11vw, 11rem); }
.book-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.book-row p { color: var(--muted); margin: 0; max-width: 36ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--muted); font-size: .94rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { width: 64px; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.2rem; color: var(--text); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--text); color: var(--bg); }
.wordmark {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .8;
  font-size: 19.5vw; letter-spacing: -.02em; color: var(--bg-3); margin: 56px 0 0; white-space: nowrap; user-select: none; text-align: center;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: .84rem; color: var(--dim); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Barra prenota su mobile */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    display: grid; grid-template-columns: auto 1fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(33,33,32,.88); border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { min-height: 48px; }
  .mobile-bar .btn-ghost { width: 48px; padding: 0; background: transparent; }
}

/* Comparsa allo scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Pagine interne ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(3.6rem, 12vw, 12rem); }
.page-hero p { color: var(--muted); max-width: 46ch; font-size: 1.12rem; margin: 26px 0 0; }
.page-hero-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.page-hero-img { width: clamp(180px, 22vw, 320px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; flex: none; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-hero-img { display: none; } }

/* Menù */
.menu-nav { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(17,17,16,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.menu-nav ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 12px var(--gutter); max-width: var(--wrap); overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; text-decoration: none; font-size: .9rem; color: var(--muted); transition: all .25s var(--ease); }
.menu-nav a:hover { color: var(--text); border-color: var(--text); }
.menu-nav a.active { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
.menu-intro { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 32px; }
.menu-intro span { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.menu-section { padding-top: clamp(64px, 8vw, 110px); scroll-margin-top: calc(var(--nav-h) + 70px); }
.menu-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.menu-section-head h2 { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .9; }
.menu-section-head .count { font-family: var(--mono); font-size: .8rem; color: var(--dim); text-transform: uppercase; }
.menu-note { color: var(--muted); font-size: .94rem; margin: 0 0 8px; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); margin-top: 16px; }
.menu-item { padding: 20px 0; border-top: 1px solid var(--line); }
.menu-item-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.menu-item h3 { font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.menu-item .dots { display: none; }
.menu-item .price { font-family: var(--mono); font-size: 1rem; white-space: nowrap; }
.menu-item p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.menu-item .alc { font-family: var(--mono); font-size: .78rem; color: var(--dim); margin-top: 4px; }
.sizes, .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sizes span { font-family: var(--mono); font-size: .8rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; }
.badge { font-size: .74rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.badge-new { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
.allergeni { display: flex; gap: 16px; align-items: flex-start; margin-top: 64px; padding: 24px 28px; border-radius: var(--r); background: var(--bg-2); }
.allergeni i { font-size: 1.6rem; color: var(--ember); flex: none; }
.allergeni p { margin: 0; color: var(--muted); }
.allergeni strong { color: var(--text); font-weight: 500; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }

/* Lavora con noi */
.jobs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.jobs .lead { color: var(--muted); font-size: 1.12rem; max-width: 44ch; }
.roles { display: grid; gap: 12px; margin-top: 32px; }
.role { border-radius: var(--r); padding: 26px; background: var(--bg-2); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.role i { grid-row: span 2; font-size: 1.8rem; color: var(--ember); }
.role h3 { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.role p { margin: 0; color: var(--muted); font-size: .96rem; }
.form { background: var(--bg-2); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.form h2 { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 2.6rem; line-height: .95; margin-bottom: 10px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--text); padding: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.choice-group { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.file-input { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 22px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--bg); color: var(--muted); cursor: pointer; font-weight: 400 !important; }
.file-input i { font-size: 1.6rem; color: var(--text); }
.file-input input { font-size: .9rem; max-width: 100%; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .94rem; margin: 6px 0 24px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ember); flex: none; }
.check a { color: var(--text); }
.form .btn { width: 100%; }
.hidden { display: none; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 44px 0 14px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--ember); }

.center-page { min-height: 100dvh; display: flex; align-items: center; }
.center-page .hero-actions { margin-top: 32px; }
