/* Macelleria Gaspare Vario — foglio di stile del sito (v3) */

:root {
  --granata: #7A2339;
  --granata-hover: #63192C;
  --granata-scuro: #4E1422;
  --granata-notte: #2E0B14;
  --rosa: #F0CBD3;
  --rosa-testo: #EFDFE3;
  --rosa-tenue: #D9B9C1;
  --oro: #B8925A;
  --oro-chiaro: #D9B98A;
  --inchiostro: #1E1517;
  --testo: #5B4F52;
  --testo-forte: #463B3E;
  --carta: #FFFDF9;
  --crema: #F7F1EA;
  --crema-scura: #EFE6DC;
  --linea: #E6DAD3;
  --stella: #B07C1F;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Josefin Sans', system-ui, sans-serif;
  --corpo: 'Mulish', system-ui, sans-serif;
  --gutter: 96px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--corpo); background: var(--crema); color: var(--inchiostro); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
a { color: var(--granata); }
a:hover { color: var(--granata-hover); }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
figure { margin: 0; }
.wrap { width: min(1248px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--granata); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
::selection { background: var(--granata); color: #fff; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 13px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--granata); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--oro); }
.on-dark .eyebrow { color: var(--oro-chiaro); }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.01em; }
.title em, .hero h1 em { font-style: italic; color: var(--granata); }
.on-dark .title em, .hero h1 em { color: var(--oro-chiaro); }
.lead { font-size: 18px; line-height: 1.7; color: var(--testo); }
.on-dark .lead { color: var(--rosa-testo); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.section-head .lead { max-width: 460px; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow { transform: translateX(5px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font: 600 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--oro); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 0; font: 600 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(46, 11, 20, .22); }
.btn--primary { background: var(--granata); color: #fff; }
.btn--primary:hover { background: var(--granata-hover); color: #fff; }
.btn--white { background: #fff; color: var(--granata-scuro); }
.btn--white:hover { color: var(--granata-scuro); background: var(--carta); }
.btn--gold { background: var(--oro); color: #fff; }
.btn--gold:hover { background: #A57F48; color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ghost { border-color: var(--inchiostro); color: var(--inchiostro); }
.btn--ghost:hover { color: #fff; background: var(--granata); }

/* ---------- Granata con venatura di marmo ---------- */
.granata { position: relative; isolation: isolate; background-color: var(--granata-scuro); color: #fff; }
.granata::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url(../img/marmo.jpg) center top / 1600px auto; mix-blend-mode: multiply; opacity: .5; pointer-events: none; }

/* ---------- Header (trasparente sopra l'apertura, bianco quando si scorre) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); color: #fff; transition: background-color .35s, box-shadow .35s, color .35s, height .35s; }
.site-header.is-solid, .site-header--solid { background: var(--carta); color: var(--inchiostro); box-shadow: 0 1px 0 var(--linea); }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.logo { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo__name { font: 300 27px/1 var(--display); letter-spacing: .06em; }
.logo__sub { font: 400 11px/1 var(--display); letter-spacing: .66em; color: var(--oro-chiaro); }
.is-solid .logo__sub, .site-header--solid .logo__sub { color: var(--granata); }
.nav { display: flex; align-items: center; gap: 34px; font: 600 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.nav a:not(.btn) { position: relative; color: inherit; text-decoration: none; padding: 14px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 13px; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid currentColor; border-radius: 0; color: inherit; cursor: pointer; }

/* ---------- Hero home con effetto 3D ---------- */
.hero { position: relative; height: max(760px, min(100svh, 980px)); overflow: clip; display: flex; flex-direction: column; align-items: center; text-align: center; view-timeline: --hero block; view-timeline-inset: 0; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -30%; width: 1300px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(217, 185, 138, .22), rgba(217, 185, 138, 0)); pointer-events: none; z-index: 0; }
.hero__text { position: relative; z-index: 3; padding: calc(var(--header-h) + 56px) var(--gutter) 0; display: flex; flex-direction: column; align-items: center; }
.hero__inner { display: flex; flex-direction: column; align-items: inherit; gap: 26px; }
.hero__kicker { display: flex; align-items: center; gap: 18px; font: 600 13px/1 var(--display); letter-spacing: .34em; color: var(--oro-chiaro); }
.hero__kicker::before, .hero__kicker::after { content: ""; width: 48px; height: 1px; background: var(--oro); }
.hero h1 { max-width: 980px; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -.015em; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 6px; }

.stage { position: absolute; inset: 0; z-index: 1; perspective: 1400px; pointer-events: none; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--ty, 0) * -5deg)) rotateY(calc(var(--tx, 0) * 7deg)); will-change: transform; }
.stage__year { position: absolute; left: 50%; bottom: 140px; transform: translate3d(calc(-50% + var(--tx, 0) * -40px), calc(var(--ty, 0) * -20px), -260px); font: 600 clamp(180px, 30vw, 440px)/.8 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(217, 185, 138, .35); white-space: nowrap; user-select: none; }
.stage__people { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; transform: translate3d(calc(var(--tx, 0) * 14px), calc(var(--ty, 0) * 8px), 40px); }
.stage__people img { width: min(1060px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(20, 4, 9, .45)); }
.badge { position: absolute; z-index: 4; right: var(--gutter); top: 44%; width: 156px; height: 156px; border-radius: 50%; background: var(--carta); color: var(--granata-scuro); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 0 0 6px rgba(217, 185, 138, .35), 0 24px 50px rgba(0, 0, 0, .3); transform: translate3d(calc(var(--tx, 0) * 26px), calc(var(--ty, 0) * 16px), 0); }
.badge:hover { color: var(--granata-scuro); }
.badge__num { font: 500 50px/1 var(--serif); }
.badge__stars { color: var(--stella); font-size: 14px; letter-spacing: 3px; }
.badge__label { font: 600 11px/1 var(--display); letter-spacing: .16em; }
.scroll-cue { position: absolute; z-index: 4; left: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 14px; font: 600 11px/1 var(--display); letter-spacing: .3em; color: var(--rosa-tenue); text-decoration: none; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--oro), transparent); animation: cue 2.4s var(--ease) infinite; }
.scroll-cue:hover { color: #fff; }

/* ---------- Striscia che scorre ---------- */
.ticker { height: 72px; overflow: hidden; display: flex; align-items: center; background: var(--carta); border-bottom: 1px solid var(--linea); font: 500 italic 28px/1 var(--serif); color: var(--granata-scuro); white-space: nowrap; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.ticker__group span { color: var(--oro); font: normal 16px/1 var(--display); }

/* ---------- Sezioni ---------- */
.section { padding: 128px 0; }
.section--paper { background: var(--carta); }
.section--cream { background: var(--crema); }
.section--tight { padding: 96px 0; }

/* Dichiarazione iniziale */
.manifesto .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 96px; align-items: end; }
.manifesto p.big { font: 500 clamp(30px, 3.2vw, 44px)/1.22 var(--serif); color: var(--inchiostro); }
.manifesto p.big em { color: var(--granata); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--linea); padding-top: 28px; }
.figures div { display: flex; flex-direction: column; gap: 8px; }
.figures strong { font: 500 56px/1 var(--serif); color: var(--granata); }
.figures span { font-size: 14px; line-height: 1.45; color: var(--testo); }

/* ---------- Il banco: griglia a mosaico ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 20px; }
.tile { position: relative; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--granata-notte); }
.tile:hover { color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(30, 6, 12, .82), rgba(30, 6, 12, 0)); }
.tile__label { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.tile__label h3 { font: 500 34px/1.05 var(--serif); }
.tile__label p { font-size: 15px; color: rgba(255, 255, 255, .86); max-width: 380px; }
.tile__label .arrow { color: var(--oro-chiaro); }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--big .tile__label h3 { font-size: 52px; }
.tile--wide { grid-column: span 2; }
.tile--order { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: var(--granata-scuro); }
.tile--order::after { display: none; }
.tile--order h3 { font: 500 36px/1.08 var(--serif); }
.tile--order p { color: var(--rosa-testo); font-size: 15px; margin-top: 12px; }

/* ---------- Eccellenze ---------- */
.excellence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ex { min-width: 0; position: relative; display: flex; flex-direction: column; background: var(--carta); border: 1px solid var(--linea); text-decoration: none; color: var(--inchiostro); transition: transform .45s var(--ease), box-shadow .45s; }
.ex:hover { color: var(--inchiostro); transform: translateY(-8px); box-shadow: 0 30px 60px rgba(46, 11, 20, .14); }
.ex__visual { height: 300px; display: flex; align-items: flex-end; justify-content: center; padding: 28px 22px 0; background: radial-gradient(closest-side, #fff, var(--crema) 120%); overflow: hidden; }
.ex__visual img { height: 94%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(46, 11, 20, .18)); transition: transform .7s var(--ease); }
.ex:hover .ex__visual img { transform: translateY(-6px) scale(1.03); }
.ex__visual--photo { padding: 0; }
.ex__visual--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.ex__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--linea); }
.ex__tag { font: 600 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--oro); }
.ex h3 { font: 500 30px/1.08 var(--serif); }
.ex p { font-size: 15px; line-height: 1.6; color: var(--testo); }

/* ---------- Chi siamo (home) ---------- */
.about { padding: 120px 0; }
.about .wrap { display: grid; grid-template-columns: 420px 1fr; align-items: center; gap: 96px; }
.about__board { display: flex; justify-content: center; }
.sway { width: 340px; height: auto; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .4)); transform-origin: 50% 2%; animation: sway 6s ease-in-out infinite alternate; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text p { font-size: 18px; line-height: 1.7; color: var(--rosa-testo); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 0; margin-top: 4px; border-block: 1px solid rgba(217, 185, 138, .35); }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats strong { font: 500 54px/1 var(--serif); color: #fff; }
.stats span { font-size: 14px; color: var(--rosa-tenue); }

/* ---------- Fascia con foto ferma (effetto parallax) ---------- */
.fixband { position: relative; overflow: clip; height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--granata-notte); color: #fff; }
.fixband__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-scroll .fixband, .cv-scroll .photo-hero { clip-path: inset(0); }
.cv-scroll .fixband__img { position: fixed; height: 100vh; height: 100lvh; }
.fixband::after { content: ""; position: absolute; inset: 0; background: rgba(46, 11, 20, .66); }
.fixband__content { position: relative; z-index: 1; max-width: 960px; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.fixband--short { height: 460px; }
.quote__stars { color: var(--oro-chiaro); font-size: 22px; letter-spacing: 8px; }
.quote blockquote { margin: 0; font: 500 italic clamp(34px, 4.6vw, 68px)/1.08 var(--serif); }
.quote figcaption { font: 600 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--rosa-tenue); }
.fixband h2 { font: 500 clamp(40px, 4.6vw, 66px)/1.05 var(--serif); }
.fixband p { font-size: 19px; color: #EDE3E5; }

/* ---------- Video ---------- */
.video .wrap { display: grid; grid-template-columns: 340px 1fr; align-items: center; gap: 72px; }
.video__text { display: flex; flex-direction: column; gap: 20px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 80px rgba(46, 11, 20, .18); }

/* ---------- Recensioni ---------- */
.reviews__layout { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.reviews__summary { display: flex; flex-direction: column; gap: 24px; }
.score { display: flex; align-items: flex-end; gap: 18px; }
.score__num { font: 500 120px/.8 var(--serif); color: var(--granata); }
.score__meta { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; color: var(--testo); font-size: 15px; }
.stars { color: var(--stella); letter-spacing: 3px; font-size: 22px; line-height: 1; }
.bars { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--testo); }
.bars div { display: flex; align-items: center; gap: 12px; }
.bars i { flex: 1; height: 6px; background: var(--linea); position: relative; overflow: hidden; }
.bars i b { position: absolute; inset: 0 auto 0 0; background: var(--oro); }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review { position: relative; padding: 34px 32px 30px; background: var(--carta); border: 1px solid var(--linea); display: flex; flex-direction: column; gap: 16px; }
.review::before { content: "“"; position: absolute; right: 26px; top: 6px; font: 500 96px/1 var(--serif); color: var(--crema-scura); }
.review .stars { font-size: 16px; }
.review p { flex: 1; font: 500 24px/1.3 var(--serif); color: var(--inchiostro); }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review footer i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--granata); color: #fff; font: 500 18px/1 var(--serif); font-style: normal; }
.review footer span { display: flex; flex-direction: column; color: var(--testo); }
.review footer strong { color: var(--inchiostro); }
.reviews__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Dove siamo ---------- */
.visit__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: stretch; }
.visit__map { min-height: 540px; border: 1px solid var(--linea); overflow: hidden; }
.visit__map iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: block; filter: saturate(.85); }
.visit__info { display: flex; flex-direction: column; gap: 30px; }
.address { font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 1.5; }
.address strong { font: 500 30px/1.1 var(--serif); margin-bottom: 6px; }
.address a { font-weight: 700; padding: 8px 0; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours caption { text-align: left; font: 600 12px/1 var(--display); letter-spacing: .24em; color: var(--oro); padding-bottom: 12px; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--linea); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--linea); color: var(--testo); }
.hours tr.today th, .hours tr.today td { color: var(--granata); font-weight: 700; }
.visit__actions { display: flex; gap: 12px; }
.visit__actions .btn { flex: 1; padding: 0 18px; }

/* ---------- Footer ---------- */
.site-footer { padding: 96px 0 44px; color: var(--rosa-testo); font-size: 15px; line-height: 1.8; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(217, 185, 138, .3); }
.site-footer__top p { font: 500 clamp(32px, 3.4vw, 48px)/1.1 var(--serif); color: #fff; max-width: 640px; }
.site-footer__top p em { color: var(--oro-chiaro); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer__grid > div, .site-footer__grid > nav { display: flex; flex-direction: column; }
.site-footer h2 { font: 600 11px/1.8 var(--display); letter-spacing: .26em; color: var(--oro-chiaro); padding-bottom: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--oro-chiaro); }
.site-footer .btn--white, .site-footer .btn--white:hover { color: var(--granata-scuro); }
.site-footer .logo__name { color: #fff; font-size: 32px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: var(--rosa-tenue); }

/* ---------- Intestazioni delle pagine interne ---------- */
.page-hero { padding: calc(var(--header-h) + 88px) 0 88px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.breadcrumb { font: 600 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--rosa-tenue); }
.breadcrumb a { color: var(--rosa-tenue); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font: 500 clamp(52px, 7vw, 104px)/.98 var(--serif); letter-spacing: -.015em; }
.page-hero h1 em { color: var(--oro-chiaro); }
.page-hero p { max-width: 640px; font-size: 19px; line-height: 1.65; color: var(--rosa-testo); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(217, 185, 138, .55); color: #fff; font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background-color .25s, color .25s; }
.chip:hover { color: var(--granata-scuro); background: #fff; border-color: #fff; }

.photo-hero { position: relative; overflow: clip; height: 82svh; min-height: 560px; max-height: 820px; display: flex; align-items: flex-end; background: var(--granata-notte); color: #fff; }
.photo-hero__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-scroll .photo-hero__img { position: fixed; height: 100vh; height: 100lvh; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 11, 20, .88), rgba(46, 11, 20, .35) 60%, rgba(46, 11, 20, .5)); }
.photo-hero .wrap { position: relative; z-index: 1; padding-bottom: 88px; display: flex; flex-direction: column; gap: 18px; }
.photo-hero h1 { font: 500 clamp(54px, 8vw, 112px)/.95 var(--serif); }
.photo-hero p { font-size: 20px; color: #EDE3E5; }

/* ---------- Schede prodotto ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--carta); border: 1px solid var(--linea); overflow: hidden; color: var(--inchiostro); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { color: var(--inchiostro); transform: translateY(-6px); box-shadow: 0 26px 50px rgba(46, 11, 20, .13); }
.card__img { height: 250px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font: 500 28px/1.1 var(--serif); }
.card p { font-size: 15px; line-height: 1.6; color: var(--testo); }
.card__placeholder { height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--crema-scura); color: #85777A; font: 600 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }

.category { padding: 96px 0 24px; }
.category__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 22px; margin-bottom: 36px; border-bottom: 1px solid var(--linea); }
.category__head h2 { font: 500 52px/1 var(--serif); }
.category__head p { color: var(--testo); max-width: 420px; }

/* Vetrina editoriale (pasta, miele, olio, mozzarella, pollo) */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--linea); }
.feature--flip .feature__visual { order: 2; }
.feature__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)); }
.feature__visual img { max-height: 520px; width: auto; max-width: 100%; filter: drop-shadow(0 26px 26px rgba(46, 11, 20, .2)); }
.feature__visual--photo img { max-height: none; width: 100%; height: 480px; object-fit: cover; filter: none; box-shadow: 0 30px 60px rgba(46, 11, 20, .16); }
.feature__visual--poster img { max-height: 560px; box-shadow: 0 30px 60px rgba(46, 11, 20, .25); filter: none; }
.feature__text { display: flex; flex-direction: column; gap: 18px; }
.feature__text h3 { font: 500 clamp(36px, 3.6vw, 52px)/1.04 var(--serif); }
.feature__text .lead { max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.tags span { padding: 9px 14px; background: var(--carta); border: 1px solid var(--linea); font: 600 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Chi siamo ---------- */
.story .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--crema-scura); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #85777A; font: 600 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.portrait::after { content: ""; position: absolute; z-index: 1; inset: 18px; border: 1px solid var(--oro); pointer-events: none; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__cap { position: absolute; z-index: 2; right: -24px; bottom: 40px; text-align: right; align-items: flex-end; padding: 18px 24px; background: var(--granata-scuro); color: #fff; display: flex; flex-direction: column; gap: 4px; letter-spacing: normal; text-transform: none; font: 400 14px/1.3 var(--corpo); }
.portrait__cap strong { font: 500 26px/1 var(--serif); }
.story__text { display: flex; flex-direction: column; gap: 22px; }
.story__year { font: 500 150px/.8 var(--serif); color: var(--granata); letter-spacing: -.03em; }
.story__text p { font-size: 18px; line-height: 1.75; color: var(--testo-forte); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 30px 28px 0 0; border-top: 1px solid var(--linea); position: relative; display: flex; flex-direction: column; gap: 10px; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--oro); }
.timeline strong { font: 500 44px/1 var(--serif); color: var(--granata); }
.timeline span { font-size: 16px; line-height: 1.55; color: var(--testo-forte); }
.team-panel { position: relative; overflow: clip; height: 560px; display: flex; align-items: flex-end; justify-content: center; margin: 48px 0; perspective: 1400px; }
.team-panel img { width: min(1180px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(20, 4, 9, .45)); transform: rotateX(calc(var(--ty, 0) * -4deg)) rotateY(calc(var(--tx, 0) * 6deg)) translate3d(calc(var(--tx, 0) * 12px), 0, 0); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people div { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--linea); }
.people h3 { font: 500 38px/1 var(--serif); }
.people strong { font: 600 11px/1 var(--display); letter-spacing: .24em; color: var(--oro); }
.people p { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--testo); }
.work figure { display: flex; flex-direction: column; gap: 20px; }
.work .work__img { height: 540px; overflow: hidden; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work figure:hover img { transform: scale(1.05); }
.work figcaption { display: flex; flex-direction: column; gap: 8px; }
.work figcaption strong { font: 500 30px/1.1 var(--serif); }
.work figcaption span { font-size: 16px; line-height: 1.6; color: var(--testo); }
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.award { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 32px; background: var(--carta); border: 1px solid var(--linea); }
.award img { width: 100%; height: 280px; object-fit: cover; object-position: center top; box-shadow: 0 18px 36px rgba(46, 11, 20, .18); }
.award div { display: flex; flex-direction: column; gap: 12px; }
.award h3 { font: 500 32px/1.08 var(--serif); }
.award p { font-size: 15px; line-height: 1.6; color: var(--testo); }

/* ---------- Pagina recensioni ---------- */
.rating-hero { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: end; }
.rating-hero .score__num { color: #fff; font-size: 200px; }
.rating-hero .bars { color: var(--rosa-tenue); max-width: 420px; }
.rating-hero .bars i { background: rgba(255, 255, 255, .16); }
.rating-hero .bars i b { background: var(--oro-chiaro); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 32px; align-items: start; }
.steps li { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--linea); }
.steps ol { display: contents; }
.steps strong { font: 500 44px/1 var(--serif); color: var(--granata); }
.steps h3 { font: 500 26px/1.1 var(--serif); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--testo); }
.qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px; background: var(--carta); border: 1px solid var(--linea); text-align: center; font-size: 13px; color: var(--testo); }
.qr img { width: 200px; height: 200px; }

/* ---------- Dove siamo ---------- */
.open-status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 16px; border: 1px solid rgba(217, 185, 138, .45); font: 600 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E0A0AE; }
.open-status.is-open::before { background: #7FD39B; box-shadow: 0 0 0 4px rgba(127, 211, 155, .2); }
.open-status--light { color: var(--inchiostro); border-color: var(--linea); background: var(--carta); }
.open-status--light::before { background: var(--granata); }
.open-status--light.is-open::before { background: #2E8B57; box-shadow: 0 0 0 4px rgba(46, 139, 87, .15); }
.visit-teaser { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.visit-teaser__text { display: flex; flex-direction: column; gap: 22px; }
.visit-teaser .visit__map, .visit-teaser .visit__map iframe { min-height: 440px; }
.place { position: relative; }
.place__map { height: 620px; border: 1px solid var(--linea); overflow: hidden; }
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.place__card { position: absolute; top: 40px; right: 40px; width: 360px; padding: 36px 34px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px rgba(46, 11, 20, .3); }
.place__card address { font-style: normal; display: flex; flex-direction: column; gap: 4px; color: var(--rosa-testo); }
.place__card address strong { font: 500 32px/1.1 var(--serif); color: #fff; }
.place__phone { font: 500 30px/1 var(--serif); color: var(--oro-chiaro); text-decoration: none; }
.place__phone:hover { color: #fff; }
.place__apps { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 18px; border-top: 1px solid rgba(217, 185, 138, .3); font: 600 11px/1.6 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.place__apps span { width: 100%; color: var(--rosa-tenue); }
.place__apps a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--oro); }
.place__apps a:hover { color: var(--oro-chiaro); }
.info-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.info-grid .hours { font-size: 18px; }
.info-grid .hours th, .info-grid .hours td { padding: 16px 0; }
.tips > div { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--crema); border: 1px solid var(--linea); color: var(--granata); }
.tips h3 { font: 500 28px/1.1 var(--serif); color: var(--inchiostro); }
.tips p { font-size: 16px; line-height: 1.6; color: var(--testo); }

/* ---------- Animazioni ---------- */
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes appear { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: none; } }
@keyframes rise { from { opacity: 0; translate: 0 56px; } to { opacity: 1; translate: none; } }
@keyframes sink { to { translate: 0 160px; } }
@keyframes lift { to { translate: 0 -110px; opacity: 0; } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.cv-in { animation: appear 1.1s var(--ease) both; }
.cv-in2 { animation: appear 1.4s .3s var(--ease) both; }

@supports (animation-timeline: view()) {
  .cv-scroll .cv-up { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
  .cv-scroll .cv-sink { animation: sink linear both; animation-timeline: --hero; animation-range: exit; }
  .cv-scroll .cv-lift { animation: lift linear both; animation-timeline: --hero; animation-range: exit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage__rig, .stage__year, .stage__people, .badge, .team-panel img { transform: none !important; }
}

/* =====================================================================
   Stile moderno (v5): pulsanti a pillola, menu flottante, logo,
   angoli morbidi, card che si sollevano, motivo di sfondo, vetrina prodotti
   ===================================================================== */
:root { --r: 20px; --r-s: 14px; }

/* Motivo di icone sulle sezioni chiare */
.section--paper, .section--cream, .category { background-image: url(../img/motivo-carne.svg); background-size: 480px 480px; background-repeat: repeat; }
.section--cream { background-position: 240px 120px; }

/* Pulsanti a pillola */
.btn { min-height: 54px; padding: 0 28px; border-radius: 999px; font: 600 15px/1 var(--corpo); letter-spacing: .005em; text-transform: none; gap: 12px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(46, 11, 20, .55); }
.btn .arrow { width: 28px; height: 28px; margin-right: -14px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; background: rgba(255, 255, 255, .18); }
.btn--white .arrow, .btn--ghost .arrow { background: var(--granata); color: #fff; }
.btn--ghost-light .arrow { background: #fff; color: var(--granata-scuro); }
.btn--white { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.btn--ghost { border-color: rgba(30, 21, 23, .22); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--granata); border-color: var(--granata); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.link-arrow { font: 600 15px/1 var(--corpo); letter-spacing: 0; text-transform: none; border-bottom: 0; gap: 12px; }
.link-arrow .arrow { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid currentColor; font-size: 14px; transition: transform .25s var(--ease), background-color .25s, color .25s; }
.link-arrow:hover .arrow { background: var(--granata); border-color: var(--granata); color: #fff; }
.chip { border-radius: 999px; font: 600 14px/1 var(--corpo); letter-spacing: 0; text-transform: none; padding: 0 20px; background: rgba(255, 255, 255, .06); }
.tags span { border-radius: 999px; font: 600 13px/1 var(--corpo); letter-spacing: 0; text-transform: none; }

/* Menu flottante a pillola */
.site-header { top: 14px; height: auto; padding: 0 20px; background: none !important; box-shadow: none !important; pointer-events: none; }
.site-header .bar { pointer-events: auto; max-width: 1320px; margin: 0 auto; height: 72px; padding: 0 10px 0 14px; border-radius: 999px; background: rgba(46, 11, 20, .32); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.site-header.is-solid .bar, .site-header--solid .bar { background: rgba(255, 253, 249, .88); border-color: rgba(30, 21, 23, .08); box-shadow: 0 18px 40px -20px rgba(46, 11, 20, .35); }
.nav { gap: 4px; font: 600 15px/1 var(--corpo); letter-spacing: 0; text-transform: none; }
.nav a:not(.btn) { padding: 13px 16px; border-radius: 999px; transition: background-color .25s; }
.nav a:not(.btn)::after { display: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.is-solid .nav a:not(.btn):hover, .is-solid .nav a[aria-current="page"], .site-header--solid .nav a:not(.btn):hover, .site-header--solid .nav a[aria-current="page"] { background: rgba(122, 35, 57, .09); color: var(--granata); }
.nav .btn { min-height: 52px; margin-left: 8px; padding: 0 22px; font-size: 15px; }
.menu-toggle { border-radius: 50%; border-color: rgba(255, 255, 255, .35); }
.is-solid .menu-toggle { border-color: rgba(30, 21, 23, .15); }

/* Logo: sigillo GV + nome */
.logo { flex-direction: row; align-items: center; gap: 12px; }
.logo__mark { --m: 48px; position: relative; display: block; width: var(--m); height: var(--m); flex: none; color: var(--oro-chiaro); perspective: calc(var(--m) * 8); }
.logo__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid currentColor; transform-style: preserve-3d; }
.logo__ring--b { inset: 10%; border-width: .7px; opacity: .6; }
.logo__gv { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 4%; font: 600 calc(var(--m) * .365)/1 var(--serif); letter-spacing: .02em; }
/* Animazione del sigillo: due cerchi fanno una giravolta in senso opposto su assi inclinati */
.logo__mark.gira .logo__ring--a { animation: sigillo-a 1.8s cubic-bezier(.5,0,.25,1) both; }
.logo__mark.gira .logo__ring--b { animation: sigillo-b 1.8s cubic-bezier(.5,0,.25,1) .4s both; }
.logo__mark.gira .logo__gv { animation: sigillo-gv 1.8s ease both; }
@keyframes sigillo-a { from { transform: rotateZ(-24deg) rotateY(0); } to { transform: rotateZ(-24deg) rotateY(360deg); } }
@keyframes sigillo-b { from { transform: rotateZ(24deg) rotateY(0); } to { transform: rotateZ(24deg) rotateY(-360deg); } }
@keyframes sigillo-gv { 0%, 100% { transform: scale(1); } 40% { transform: scale(.9); } }
.is-solid .logo__mark, .site-header--solid .logo__mark { color: var(--granata); }
.logo__text { display: flex; flex-direction: column; gap: 5px; }
.logo__name { font: 600 25px/1 var(--serif); letter-spacing: .01em; }
.logo__sub { font: 600 9.5px/1 var(--display); letter-spacing: .34em; }
.site-footer .logo { margin-bottom: 18px; }
.site-footer .logo__mark { --m: 60px; }
.site-footer .logo__name { font-size: 32px; }

/* Angoli morbidi */
.card, .tile, .ex, .review, .award, .tips > div, .qr, .portrait, .visit__map, .place__map, .place__card, .video video, .work .work__img, .team-panel, .feature__visual--photo img, .feature__visual--poster img, .award img, .open-status { border-radius: var(--r); }
.ex__visual { border-radius: var(--r) var(--r) 0 0; }
.open-status { border-radius: 999px; }
.portrait::after { border-radius: calc(var(--r) - 6px); }
.portrait__cap { border-radius: var(--r-s); }
.card__placeholder { border-radius: 0; }

/* Recensioni (e altre card) che si sollevano al passaggio del mouse */
.reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review { transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.review:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(46, 11, 20, .35); border-color: transparent; }
.tips > div, .award { transition: transform .45s var(--ease), box-shadow .45s; }
.tips > div:hover, .award:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(46, 11, 20, .35); }
.tile { transition: transform .45s var(--ease), box-shadow .45s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(46, 11, 20, .55); }

/* ---------- Prodotti: vetrina a mosaico per categoria ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; }
.showcase--flip .showcase__intro { order: 2; }
.showcase__intro { position: relative; min-height: 660px; overflow: hidden; border-radius: var(--r); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.showcase__intro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.showcase__intro:hover img { transform: scale(1.04); }
.showcase__intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30, 6, 12, .92) 0%, rgba(30, 6, 12, .45) 45%, rgba(30, 6, 12, .1) 75%); }
.showcase__text { padding: 44px 44px 48px; display: flex; flex-direction: column; gap: 16px; }
.showcase__num { font: 500 italic 22px/1 var(--serif); color: var(--oro-chiaro); }
.showcase__text h2 { font: 500 clamp(48px, 5vw, 76px)/.95 var(--serif); letter-spacing: -.01em; }
.showcase__text p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 420px; }
.showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ptile { position: relative; min-height: 320px; overflow: hidden; border-radius: var(--r); color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--granata-notte); transition: transform .45s var(--ease), box-shadow .45s; }
.ptile:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(46, 11, 20, .6); }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.ptile:hover img { transform: scale(1.07); }
.ptile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(30, 6, 12, .88) 0%, rgba(30, 6, 12, .25) 55%, rgba(30, 6, 12, 0) 80%); }
.ptile__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.ptile h3 { font: 500 32px/1.02 var(--serif); }
.ptile p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .84); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.ptile:hover p, .ptile:focus-within p { max-height: 80px; opacity: 1; }
.ptile__tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font: 600 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.ptile--soon { background: var(--crema-scura); color: var(--testo); }
.ptile--soon::after { display: none; }
.ptile--soon .ptile__body { width: 100%; }
.ptile--soon h3 { color: var(--inchiostro); }
.ptile--soon p { max-height: none; opacity: 1; color: var(--testo); }
.ptile__icon { position: absolute; top: 24px; left: 24px; color: #8F7F82; }
@media (hover: none) { .ptile p { max-height: none; opacity: 1; } }

/* ---------- Catalogo prodotti (v6): schede con prodotto scontornato e rotazione 3D ---------- */
.catalog { margin-top: 28px; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 56px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--linea); }
.catalog__head h3 { font: 500 38px/1.05 var(--serif); }
.catalog__head p { color: var(--testo); max-width: 460px; }
.catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(46, 11, 20, .4); border-color: transparent; }
.pcard__stage { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; padding: 22px; background: radial-gradient(60% 60% at 50% 55%, #fff 0%, var(--crema) 100%); perspective: 900px; }
.pcard__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 20px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 11, 20, .22), rgba(46, 11, 20, 0)); transition: transform .45s var(--ease), opacity .45s; }
.pcard:hover .pcard__stage::after { transform: scale(.85); opacity: .7; }
.pcard__stage img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(46, 11, 20, .2)); transform: rotateY(calc(var(--tx, 0) * 16deg)) rotateX(calc(var(--ty, 0) * -12deg)) translateZ(0); transition: scale .5s var(--ease); }
.pcard:hover .pcard__stage img { scale: 1.06; }
.pcard__stage--wide img { max-height: 70%; }
.pcard__stage .pcard__badge { position: absolute; z-index: 2; top: 14px; right: 14px; width: 78px; height: auto; max-height: none; scale: 1 !important; filter: drop-shadow(0 6px 10px rgba(46, 11, 20, .25)); transform: rotate(8deg); }
.pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--linea); }
.pcard__tag { font: 600 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
.pcard h4 { margin: 0; font: 500 25px/1.1 var(--serif); color: var(--inchiostro); }
.pcard p { font-size: 14px; line-height: 1.55; color: var(--testo); }
.brand-note { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 18px 22px; border-radius: var(--r); background: var(--carta); border: 1px solid var(--linea); color: var(--testo); font-size: 15px; }
.brand-note strong { color: var(--inchiostro); }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .nav { gap: 22px; }
  .grid--4, .excellence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about .wrap { grid-template-columns: 320px 1fr; gap: 56px; }
  .sway { width: 290px; }
  .manifesto .wrap, .story .wrap { gap: 56px; }
  .badge { width: 128px; height: 128px; }
  .badge__num { font-size: 40px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps .qr { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .awards { grid-template-columns: 1fr; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 860px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 9px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; background: var(--carta); color: var(--inchiostro); border-bottom: 1px solid var(--linea); box-shadow: 0 20px 30px rgba(30, 21, 23, .12); }
  .nav.is-open { display: flex; }
  .site-header:has(.nav.is-open) { background: var(--carta); color: var(--inchiostro); }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; }

  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .title { font-size: 40px; }

  .hero { height: max(680px, min(100svh, 820px)); text-align: left; align-items: stretch; }
  .hero__text { padding-top: calc(var(--header-h) + 32px); align-items: flex-start; }
  .hero__inner { gap: 18px; }
  .hero__kicker::before { display: none; }
  .hero__kicker::after { display: none; }
  .hero h1 { font-size: 48px; }
  .hero__actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .stage__year { bottom: 150px; font-size: 200px; }
  .stage__people { height: 230px; overflow: hidden; }
  .stage__people img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 610px; max-width: none; }
  .badge, .scroll-cue { display: none; }

  .ticker { height: 56px; font-size: 22px; }
  .ticker__group { gap: 30px; padding-right: 30px; }

  .manifesto .wrap { grid-template-columns: 1fr; gap: 36px; }
  .figures strong { font-size: 42px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 12px; }
  .tile--big { grid-column: span 2; grid-row: span 1; }
  .tile--wide { grid-column: span 2; }
  .tile--big .tile__label h3, .tile__label h3 { font-size: 26px; }
  .tile__label { left: 16px; right: 16px; bottom: 14px; }
  .tile__label p { display: none; }
  .tile--order { grid-column: span 2; padding: 24px; }
  .tile--order h3 { font-size: 28px; }
  .excellence, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ex__visual { height: 190px; padding: 16px 12px 0; }
  .ex__body { padding: 16px 16px 20px; gap: 6px; }
  .ex h3 { font-size: 22px; }
  .ex p { display: none; }

  .about { padding: 72px 0; }
  .about .wrap { grid-template-columns: 1fr; gap: 32px; }
  .sway { width: 230px; }
  .about__text p { font-size: 16px; }
  .stats strong { font-size: 36px; }
  .stats span { font-size: 12px; }

  .fixband { height: 480px; }
  .fixband--short { height: 400px; }
  .video .wrap, .reviews__layout, .visit__layout, .story .wrap, .rating-hero { grid-template-columns: 1fr; gap: 32px; }
  .score__num { font-size: 92px; }
  .rating-hero .score__num { font-size: 120px; }
  .review { padding: 26px 22px 22px; }
  .review p { font-size: 21px; }
  .visit__map, .visit__map iframe { min-height: 320px; }
  .visit-teaser, .info-grid { grid-template-columns: 1fr; gap: 32px; }
  .visit-teaser .visit__map, .visit-teaser .visit__map iframe { min-height: 300px; }
  .place__map { height: 380px; }
  .place__card { position: static; width: auto; margin-top: -2px; padding: 28px 22px; box-shadow: none; }
  .tips > div { padding: 24px 20px; }
  .visit__actions { flex-direction: column; }

  .site-footer { padding-top: 64px; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; }

  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .category { padding: 64px 0 8px; }
  .category__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .category__head h2 { font-size: 38px; }
  .card__img, .card__placeholder { height: 140px; }
  .card__body { padding: 14px 14px 18px; gap: 4px; }
  .card h3 { font-size: 21px; }
  .card p { font-size: 13px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature--flip .feature__visual { order: 0; }
  .feature__visual { min-height: 0; }
  .feature__visual img { max-height: 320px; }
  .feature__visual--photo img { height: 260px; }
  .feature__visual--poster img { max-height: 420px; }
  .photo-hero { height: 70svh; min-height: 460px; }
  .photo-hero .wrap { padding-bottom: 48px; }
  .story__year { font-size: 104px; }
  .portrait__cap { right: 10px; bottom: 10px; padding: 10px 14px; }
  .portrait__cap strong { font-size: 19px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .timeline strong { font-size: 34px; }
  .team-panel { height: 250px; }
  .team-panel img { width: 600px; max-width: none; }
  .people, .work .grid { grid-template-columns: 1fr; }
  .work .work__img { height: 400px; }
  .award { grid-template-columns: 1fr; padding: 22px; }
  .award img { height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .steps .qr { flex-direction: column; }
}

/* ---------- Stile moderno (v5): tablet e smartphone ---------- */
@media (max-width: 1180px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase--flip .showcase__intro { order: 0; }
  .showcase__intro { min-height: 460px; }
  .nav a:not(.btn) { padding: 12px 10px; }
}
@media (max-width: 860px) {
  .site-header { top: 10px; padding: 0 10px; }
  .site-header .bar { height: 62px; padding: 0 8px 0 10px; }
  .logo { gap: 10px; }
  .logo__mark { --m: 40px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 8px; letter-spacing: .26em; }
  .menu-toggle { width: 46px; height: 46px; }
  .nav { top: calc(var(--header-h) + 2px); left: 10px; right: 10px; padding: 10px; border-radius: 24px; border: 1px solid var(--linea); box-shadow: 0 30px 60px -20px rgba(46, 11, 20, .35); }
  .nav a:not(.btn) { padding: 16px 14px; border-bottom: 0; border-radius: 14px; }
  .nav .btn { margin: 8px 0 0; }
  .site-header:has(.nav.is-open) .bar { background: var(--carta); color: var(--inchiostro); border-color: var(--linea); }
  .site-header:has(.nav.is-open) .logo__mark { color: var(--granata); }
  .btn { min-height: 52px; }
  .showcase { gap: 12px; }
  .showcase__intro { min-height: 340px; }
  .showcase__text { padding: 24px 22px 26px; gap: 10px; }
  .showcase__text h2 { font-size: 46px; }
  .showcase__text p { font-size: 15px; }
  .showcase__grid { gap: 12px; }
  .ptile { min-height: 200px; }
  .ptile__body { padding: 14px 14px 16px; }
  .ptile h3 { font-size: 23px; }
  .ptile p { display: none; }
  .ptile__tag { font-size: 9px; padding: 5px 9px; }
  .reviews__list { grid-template-columns: 1fr; }
}

/* ---------- Catalogo prodotti (v6): tablet e smartphone ---------- */
@media (max-width: 1180px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 40px; }
  .catalog__head h3 { font-size: 30px; }
  .catalog__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__stage { height: 150px; padding: 14px; }
  .pcard__stage .pcard__badge { width: 52px; top: 8px; right: 8px; }
  .pcard__body { padding: 12px 14px 16px; }
  .pcard h4 { font-size: 19px; }
  .pcard p { display: none; }
  .pcard__tag { font-size: 9px; letter-spacing: .14em; }
}

/* =====================================================================
   v7: cartello orizzontale intero (Antico Casale) su sfondo sfocato,
   respiro tra il punteggio 4,9 e i pulsanti
   ===================================================================== */
.sign { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; background: var(--granata-scuro); }
.sign::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url(../img/mozzarella-antico-casale.jpg) center / cover; filter: blur(22px) brightness(.5) saturate(1.15); }
.sign img, .ex__visual--photo.sign img, .feature__visual--photo.sign img { width: auto; height: auto; max-width: 88%; max-height: 82%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); filter: none; }
.ex:hover .ex__visual.sign img { transform: translateY(-4px) scale(1.02); }
.feature__visual--photo.sign { height: 480px; border-radius: var(--r); box-shadow: 0 30px 60px rgba(46, 11, 20, .16); }
.award__img.sign { height: 230px; border-radius: var(--r); box-shadow: 0 18px 36px rgba(46, 11, 20, .18); }
.award__img.sign img { max-width: 92%; max-height: 86%; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.award:has(.award__img) { grid-template-columns: 1fr; align-content: start; }
.award:has(.award__foto) { grid-template-columns: 1fr; align-content: start; }
.award img.award__foto { width: 100%; height: auto; object-fit: contain; object-position: center; }
.reviews__summary { gap: 44px; }
.reviews__summary .score { padding-bottom: 6px; }
@media (max-width: 860px) {
  .feature__visual--photo.sign { height: 280px; }
  .award:has(.award__img), .award:has(.award__foto) { grid-template-columns: 1fr; }
  .award img.award__foto { height: auto; }
  .award__img.sign { height: 240px; }
  .reviews__summary { gap: 32px; }
}

/* Mozzarella: il cartello intero, più grande, senza tagli */
#mozzarella { grid-template-columns: 1fr 1.4fr; gap: 56px; }
#mozzarella .feature__visual--photo img { height: auto; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 860px) {
  #mozzarella { grid-template-columns: 1fr; gap: 28px; }
  #mozzarella .feature__visual--photo img { height: auto; }
}

/* =====================================================================
   v10: le tavole dei prodotti. Il tagliere di marmo sta al centro della
   pagina; scorrendo, i prodotti arrivano uno alla volta (il tagliere resta
   fermo), poi la tavola si completa e sotto c'è l'elenco dei prodotti.
   ===================================================================== */
.category { overflow-x: clip; }
.tavola { margin-top: 8px; }
.tavola__pin { --pad: max(40px, calc((100vw - 1480px) / 2)); --lato: 230px; display: grid; grid-template-columns: minmax(var(--lato), 1fr) auto minmax(var(--lato), 1fr); align-items: center; column-gap: 34px; margin-inline: calc(50% - 50vw); padding-inline: var(--pad); }
.tavola__stage { position: relative; isolation: isolate; overflow: hidden; width: min(calc(100vw - 2 * var(--pad) - 2 * (var(--lato) + 34px)), calc((100svh - var(--header-h) - 48px) * var(--ar))); margin-inline: auto; border-radius: 28px; box-shadow: 0 50px 90px -50px rgba(46, 11, 20, .55); }
.tavola__stage::after { content: ""; position: absolute; inset: 14px; z-index: 40; border: 1px solid rgba(184, 146, 90, .45); border-radius: 18px; pointer-events: none; }
.tavola--marmo .tavola__stage { background: radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%), url(../img/marmo.jpg) center / cover, #F3EFEB; }
.tavola--granata .tavola__stage { background: radial-gradient(ellipse at 50% 30%, rgba(170, 62, 90, .5), rgba(0, 0, 0, 0) 62%), linear-gradient(rgba(84, 22, 37, .9), rgba(52, 12, 22, .95)), url(../img/marmo.jpg) center / cover, var(--granata-scuro); }
.tavola__item, .tavola__deco { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z, 1); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
.tavola__item { padding: 0; margin: 0; border: 0; background: none; cursor: pointer; transition: transform .8s var(--ease), opacity .5s; -webkit-tap-highlight-color: transparent; }
.tavola__item img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(46, 11, 20, .28)) drop-shadow(0 3px 3px rgba(46, 11, 20, .22)); }
.tavola--granata .tavola__item img { filter: drop-shadow(0 20px 16px rgba(0, 0, 0, .5)) drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.tavola__deco { display: block; height: auto; filter: drop-shadow(0 8px 10px rgba(46, 11, 20, .25)); pointer-events: none; transition: opacity .5s, filter .5s; }
.tavola__item:focus-visible { outline: 2px solid var(--oro); outline-offset: 6px; border-radius: 12px; }
.tavola__num { position: absolute; left: 50%; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--oro); color: #fff; font: 600 11px/28px var(--display); letter-spacing: .04em; text-align: center; transform: translate(-50%, -40%) rotate(calc(var(--r, 0deg) * -1)); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); transition: background .3s, color .3s, transform .4s; }
/* un prodotto in evidenza (passandoci sopra o sul suo nome) */
.tavola.is-focus .tavola__item:not(.is-on), .tavola.is-focus .tavola__deco { opacity: .28; }
.tavola__item.is-on { z-index: 30; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1.08); }
.tavola__item.is-on .tavola__num { background: var(--granata); transform: translate(-50%, -40%) rotate(calc(var(--r, 0deg) * -1)) scale(1.15); }
.tavola--granata .tavola__item.is-on .tavola__num { background: #fff; color: var(--granata); }
/* didascalia sul tagliere: nome e descrizione del prodotto in evidenza */
.tavola__cap { position: absolute; z-index: 45; left: 30px; bottom: 30px; max-width: min(380px, 62%); margin: 0; padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 5px; border-radius: 14px; background: rgba(255, 253, 249, .9); color: var(--inchiostro); box-shadow: 0 18px 40px -18px rgba(46, 11, 20, .45); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.tavola--granata .tavola__cap { background: rgba(30, 6, 12, .86); color: #fff; }
.tavola.is-focus .tavola__cap, .tavola.is-scelto .tavola__cap { opacity: 1; transform: none; }
.tavola__cap-tag { font: 600 10px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--oro); }
.tavola--granata .tavola__cap-tag { color: var(--oro-chiaro); }
.tavola__cap strong { font: 500 28px/1.08 var(--serif); }
.tavola__cap-desc { font-size: 14px; line-height: 1.5; color: var(--testo); }
.tavola--granata .tavola__cap-desc { color: rgba(255, 255, 255, .82); }
/* entrata dei prodotti quando la tavola compare */
.tavola.is-attesa:not(.is-in) .tavola__item, .tavola.is-attesa:not(.is-in) .tavola__deco { opacity: 0; }
.tavola.is-in .tavola__item, .tavola.is-in .tavola__deco { animation: tavola-in 1s var(--ease) var(--d, 0ms) backwards; }
@keyframes tavola-in { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
/* invito sotto il tagliere */
.tavola__aiuto { margin: 18px 0 0; text-align: center; font: 600 10.5px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
/* scritte ai lati del tagliere */
.tavola__lato { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.tavola__voce { display: grid; grid-template-columns: 1fr 30px; gap: 12px; align-items: baseline; width: 100%; padding: 14px 6px; margin: 0; border: 0; border-bottom: 1px solid var(--linea); background: none; color: inherit; font: inherit; text-align: right; cursor: pointer; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tavola__voce:last-child { border-bottom: 0; }
.tavola__voce .tavola__n { order: 2; }
.tavola__lato--dx .tavola__voce { grid-template-columns: 30px 1fr; text-align: left; }
.tavola__lato--dx .tavola__voce .tavola__n { order: 0; }
.tavola__n { font: 600 12px/1 var(--display); letter-spacing: .1em; color: var(--oro); transition: color .3s; }
.tavola__t { display: flex; flex-direction: column; }
.tavola__t strong { font: 500 22px/1.1 var(--serif); color: var(--inchiostro); transition: color .3s, transform .4s var(--ease); }
.tavola__t em { margin-top: 6px; font: 600 9.5px/1 var(--display); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--testo); }
.tavola__desc { margin-top: 7px; font-size: 13px; line-height: 1.45; color: var(--testo); }
.tavola__voce.is-on .tavola__n { color: var(--granata); }
.tavola__voce.is-on strong, .tavola__voce:hover strong { color: var(--granata); }
.tavola__lato--sx .tavola__voce.is-on strong, .tavola__lato--sx .tavola__voce:hover strong { transform: translateX(-5px); }
.tavola__lato--dx .tavola__voce.is-on strong, .tavola__lato--dx .tavola__voce:hover strong { transform: translateX(5px); }
.tavola__voce:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; border-radius: 8px; }
/* elenco sotto il tagliere: solo dove ai lati non c'è spazio */
.tavola__legenda { display: none; list-style: none; margin: 24px 0 0; padding: 0; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.tavola__legenda li { border-bottom: 1px solid var(--linea); }
.tavola__legenda button { width: 100%; height: 100%; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; padding: 14px 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tavola__legenda li.is-on .tavola__n { color: var(--granata); }
.tavola__legenda li.is-on strong { color: var(--granata); }
@media (max-width: 1100px) {
  .tavola__pin { display: flex; justify-content: center; margin-inline: 0; padding-inline: 0; }
  .tavola__lato { display: none; }
  .tavola__stage { width: min(100%, calc((100svh - var(--header-h) - 40px) * var(--ar))); }
  .tavola__legenda { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 28px; }
}
@media (max-width: 860px) {
  .tavola__stage { width: min(100%, calc((100svh - var(--header-h) - 32px) * var(--ar))); border-radius: 20px; }
  .tavola__stage::after { inset: 8px; border-radius: 14px; }
  .tavola__num { width: 20px; height: 20px; font-size: 9px; line-height: 20px; }
  .tavola__cap { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 11px 14px 12px; gap: 3px; }
  .tavola__cap strong { font-size: 20px; }
  .tavola__cap-desc { font-size: 12.5px; }
  .tavola__legenda { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .tavola__legenda button { grid-template-columns: 24px 1fr; gap: 6px; padding: 12px 0; }
  .tavola__t strong { font-size: 18px; }
  .tavola__t em { font-size: 8.5px; letter-spacing: .14em; }
  .tavola__legenda .tavola__desc { display: none; }
}

/* =====================================================================
   Telefono: rifiniture
   ===================================================================== */
@media (max-width: 860px) {
  /* tavole: il tagliere è più alto e i prodotti stanno nella parte alta, così la didascalia in basso non li copre */
  .tavola__stage { aspect-ratio: calc(var(--ar) * .8) !important; width: min(100%, calc((100svh - var(--header-h) - 32px) * var(--ar) * .8)); }
  .tavola__item, .tavola__deco { top: calc(var(--y) * .8); }
  .tavola__t em { font-size: 9.5px; letter-spacing: .14em; }
  .ptile__tag { font-size: 10px; }
}
.page-hero p.open-status { font-size: 12px; line-height: 1.2; letter-spacing: .16em; max-width: none; }
@media (max-width: 560px) {
  .tips { grid-template-columns: 1fr; }
  .open-status, .page-hero p.open-status { font-size: 11px; letter-spacing: .1em; }
}

/* =====================================================================
   Prodotto scelto: ogni prodotto ha già la sua misura "grande" e al suo
   posto viene solo rimpicciolito; scegliendolo torna grande al centro del
   tagliere. Si anima unicamente transform/opacity.
   ===================================================================== */
.tavola.is-misura .tavola__item, .tavola.is-misura .tavola__num { transition: none; }
.tavola.is-zoom .tavola__item { width: var(--fw, var(--w)); transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--k, 1)); }
.tavola.is-zoom .tavola__item.is-on { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(calc(var(--k, 1) * 1.08)); }
.tavola.is-scelto .tavola__item:not(.is-feat), .tavola.is-scelto .tavola__deco { opacity: .28; }
.tavola.is-zoom .tavola__item.is-feat { z-index: 30; transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) rotate(0deg) scale(1); }
.tavola.is-zoom .tavola__item.is-feat .tavola__num { background: var(--granata); }
.tavola--granata.is-zoom .tavola__item.is-feat .tavola__num { background: #fff; color: var(--granata); }
/* telefono: l'apertura e la foto della squadra ondeggiano con un'animazione CSS (niente calcoli a ogni fotogramma) */
.hero.is-float .stage__rig { animation: rig-ondeggia 11s ease-in-out infinite; }
.team-panel.is-float img { animation: squadra-ondeggia 11s ease-in-out infinite; }
@keyframes rig-ondeggia { 0%, 100% { transform: rotateX(0deg) rotateY(-3deg); } 50% { transform: rotateX(-.9deg) rotateY(3deg); } }
@keyframes squadra-ondeggia { 0%, 100% { transform: rotateY(-2.6deg); } 50% { transform: rotateX(-.7deg) rotateY(2.6deg); } }
@media (prefers-reduced-motion: reduce) { .hero.is-float .stage__rig, .team-panel.is-float img { animation: none; } }

/* =====================================================================
   v11: targhette e didascalie che non coprono i prodotti; su telefono e
   tablet l'elenco dei prodotti sta sopra e sotto il tagliere
   ===================================================================== */
/* numerino: appena sopra il bordo del prodotto, non sopra la carne */
.tavola__num { left: var(--bx, 50%); top: var(--by, 0%); }
.tavola__num, .tavola .tavola__num { transform: translate(-50%, -112%) rotate(calc(var(--r, 0deg) * -1)) scale(calc(1 / var(--k, 1))); }
.tavola__item.is-on .tavola__num, .tavola .tavola__item.is-on .tavola__num { transform: translate(-50%, -112%) rotate(calc(var(--r, 0deg) * -1)) scale(calc(1.08 / var(--k, 1))); }
.tavola.is-zoom .tavola__item.is-feat .tavola__num { transform: translate(-50%, -125%) scale(1.2); }
/* didascalia in basso al centro, sotto il prodotto in primo piano */
.tavola__cap { left: 50%; right: auto; bottom: 26px; align-items: center; text-align: center; max-width: min(460px, 78%); padding: 12px 22px 14px; transform: translate(-50%, 10px); }
.tavola.is-focus .tavola__cap, .tavola.is-scelto .tavola__cap { transform: translate(-50%, 0); }
.tavola__cap strong { font-size: 26px; }
@media (min-width: 1101px) {
  /* al computer, a tavola completa, le scritte ai lati bastano: nessun riquadro sopra i prodotti */
  .tavola:not(.is-scelto) .tavola__cap { opacity: 0 !important; }
}
@media (max-width: 1100px) {
  .tavola__pin { flex-direction: column; align-items: stretch; gap: 14px; }
  .tavola__stage { order: 1; width: min(100%, calc((100svh - var(--header-h) - 230px) * var(--ar))); margin-inline: auto; }
  .tavola .tavola__lato { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; justify-content: stretch; }
  .tavola__lato--sx { order: 0; }
  .tavola__lato--dx { order: 2; }
  .tavola .tavola__voce, .tavola .tavola__lato--dx .tavola__voce { grid-template-columns: 24px 1fr; gap: 6px; padding: 7px 2px; border-bottom: 0; text-align: left; }
  .tavola .tavola__voce .tavola__n { order: 0; }
  .tavola .tavola__voce em, .tavola .tavola__voce .tavola__desc { display: none; }
  .tavola .tavola__voce strong { font-size: 17px; transform: none !important; }
  .tavola .tavola__legenda { display: none; }
  .tavola__cap { bottom: 12px; max-width: none; width: calc(100% - 24px); }
}
@media (max-width: 860px) {
  .tavola__stage { width: min(100%, calc((100svh - var(--header-h) - 230px) * var(--ar) * .8)); }
  .tavola__cap strong { font-size: 19px; }
  .tavola__num { width: 22px; height: 22px; font-size: 9.5px; line-height: 22px; }
}
/* tagliere grande (molti prodotti): più alto dello schermo, a sinistra; i nomi tutti a destra e restano in vista scorrendo */
.tavola--grande .tavola__stage { width: 100%; }
@media (min-width: 1101px) {
  .tavola--grande .tavola__pin { grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); align-items: start; column-gap: 44px; }
  .tavola--grande .tavola__lato--sx { display: none; }
  .tavola--grande .tavola__stage { margin: 0; }
  .tavola--grande .tavola__lato--dx { position: sticky; top: calc(var(--header-h) + 28px); justify-content: flex-start; gap: 0; }
  .tavola--grande .tavola__voce { padding: 10px 6px; }
  .tavola--grande .tavola__desc { display: none; }
}

/* =====================================================================
   v12: chi siamo e dove siamo da telefono
   ===================================================================== */
.team-scorri { display: none; }
@media (max-width: 860px) {
  /* apertura di Chi siamo: si vedono tutti e tre i volti */
  .photo-hero { height: 400px; min-height: 0; }
  .photo-hero__img, .cv-scroll .photo-hero__img { position: absolute; height: 100%; object-position: 53% 50% !important; }
  .photo-hero h1 { font-size: 44px; }
  .photo-hero p { font-size: 16px; }
  .photo-hero .wrap { padding-bottom: 28px; gap: 10px; }

  /* le persone: si scorre da Gaspare a Mariella a Maurizio */
  .team-panel, .people { display: none; }
  .team-scorri { display: block; margin-top: 26px; }
  .team-scorri__pan { overflow: hidden; border-radius: var(--r); }
  .team-scorri__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .team-scorri__track::-webkit-scrollbar { display: none; }
  .team-scorri__tela { position: relative; width: 280%; padding-top: 34px; }
  .team-scorri__tela img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(20, 4, 9, .45)); }
  .team-scorri__fermo { position: absolute; top: 0; bottom: 0; left: var(--c); width: 1px; scroll-snap-align: center; scroll-snap-stop: always; }
  .team-scorri__testi { display: grid; padding: 20px 4px 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
  .team-scorri__testo { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; opacity: 0; will-change: opacity, transform; }
  .team-scorri__testo.is-on { opacity: 1; }
  .team-scorri h3 { margin: 0; font: 500 30px/1.05 var(--serif); color: var(--inchiostro); }
  .team-scorri strong { font: 600 10px/1 var(--display); letter-spacing: .2em; color: var(--oro); }
  .team-scorri p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--testo); }
  .team-scorri__punti { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .team-scorri__punti span { width: 7px; height: 7px; border-radius: 50%; background: var(--linea); transition: background .3s, width .3s; }
  .team-scorri__punti span.is-on { width: 22px; border-radius: 4px; background: var(--granata); }

  /* le tappe: un elenco pulito, anno a sinistra e testo a destra */
  .timeline { grid-template-columns: 1fr; row-gap: 0; border-bottom: 1px solid var(--linea); }
  .timeline li { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; gap: 14px; padding: 22px 0; }
  .timeline li::before { display: none; }
  .timeline strong { font-size: 36px; }
  .timeline span { font-size: 15px; }

  /* dove siamo: il riquadro dell'indirizzo sotto la mappa */
  .place__card { margin-top: 14px; box-shadow: 0 24px 40px -30px rgba(46, 11, 20, .6); }
  .place__card .eyebrow { letter-spacing: .16em; }
}
}

/* Telefono: niente riquadro blu del browser quando si tocca un pulsante o un link;
   al suo posto un leggero segno nei colori del sito */
html { -webkit-tap-highlight-color: transparent; }
.menu-toggle:focus:not(:focus-visible), .nav a:focus:not(:focus-visible) { outline: none; }
.menu-toggle:active { background: rgba(122, 35, 57, .1); }
@media (max-width: 860px) { .nav a:not(.btn):active { background: rgba(122, 35, 57, .09); color: var(--granata); } }

/* Tirando la pagina oltre l'inizio o la fine (iPhone) si vede il granata
   dell'apertura e del piè di pagina, non una striscia chiara */
html { background-color: var(--granata-scuro); }

/* =====================================================================
   v14 (telefono)
   ===================================================================== */
/* nessun riquadro blu o contorno quando si tocca il logo, un link o un pulsante */
a, button, label, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.logo { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (max-width: 860px) {
  /* Home: la foto con il 1989 sale subito sotto i pulsanti, senza vuoto in mezzo */
  .hero { height: auto; }
  .hero__text { padding-bottom: 282px; }
  .stage__year { bottom: 128px; }
  /* Home: la card "Ordina prima" cresce col testo e il pulsante non lo copre */
  .bento { grid-auto-rows: minmax(210px, auto); }
  .tile--order { gap: 22px; }
}

/* =====================================================================
   v15
   ===================================================================== */
/* arrivando da un link a una sezione si salta lì subito, senza scorrimento animato */
html.salto { scroll-behavior: auto; }
/* festivi e orari speciali sotto la tabella (arrivano dalla scheda Google) */
.hours-speciali { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: rgba(122, 35, 57, .07); font-size: 15px; color: var(--inchiostro); }
.hours-speciali strong { font: 600 11px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--granata); }
@media (max-width: 860px) {
  /* Home: scorrendo, la foto d'apertura scende solo di poco */
  .cv-scroll .cv-sink { animation-name: sink-poco; }
  @keyframes sink-poco { to { translate: 0 36px; } }
}
.hours-speciali[hidden] { display: none; }

/* v16: giorno con orario speciale o festivo direttamente nella tabella */
.hours__nota { display: block; margin-top: 3px; font: 600 10.5px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--granata); }
.hours tr.is-speciale td { color: var(--granata); font-weight: 600; }

/* =====================================================================
   v31: scorrimento fluido (Lenis) e animazioni allo scorrimento (GSAP ScrollTrigger)
   Senza JavaScript, o se le librerie non si caricano, restano le animazioni CSS qui sopra.
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* con GSAP attivo le animazioni legate allo scorrimento le guida lo script */
html.gsap .cv-scroll .cv-up, html.gsap .cv-scroll .cv-sink, html.gsap .cv-scroll .cv-lift { animation: none; }
html.gsap .cv-up { translate: 0 var(--cv-y, 0px); }
html.gsap .cv-sink { translate: 0 var(--cv-sink, 0px); }
html.gsap .cv-lift { translate: 0 var(--cv-lift, 0px); }
html.gsap .cv-par { translate: 0 var(--cv-par, 0px); }
/* arrivando da un link a una sezione: la pagina resta nascosta finché non è già lì (niente cima che poi salta) */
html.salto-attesa main, html.salto-attesa .site-footer { visibility: hidden; }
