/* Mòvat: palette originale, font DejaVu Sans del PDF, risorse locali. */
@font-face { font-family: 'DejaVu Sans'; src: url('DejaVuSans.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DejaVu Sans'; src: url('DejaVuSans-Bold.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  --wine: #850610; --wine-dark: #62040c; --ink: #211d1b; --muted: #706861;
  --ivory: #fffdf5; --paper: #fffdf5; --line: #e4dcd1; --header-height: 104px; --sticky-header-height: 105px;
  --font-sans: 'DejaVu Sans', Arial, sans-serif;
  --font-serif: 'DejaVu Sans', Arial, sans-serif;
  --font-handwritten: 'Segoe Print', 'Bradley Hand', Noteworthy, 'Chalkboard SE', 'Comic Sans MS', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-header-height) + 24px); }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
::selection { background: var(--wine); color: #fff; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
/* I titoli ricevono il focus per annunciare la nuova sezione agli screen reader.
   Non sono controlli: niente cornice sul titolo, mentre link e pulsanti
   mantengono il loro indicatore di focus da tastiera. */
.page h1[tabindex="-1"]:focus { outline: none; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
p, h1, h2, h3 { margin: 0; }
h1, h2 { color: var(--wine); }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 400; line-height: 1.15; letter-spacing: -.045em; }
.wrap { width: 100%; max-width: 1192px; padding-inline: 40px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--wine); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); max-width: 1440px; margin-inline: auto; padding: 16px 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; max-width: 100%; flex-shrink: 0; }
.brand-symbol { width: 25px; height: auto; flex-shrink: 0; }
.brand-lockup { display: block; }
.brand-lockup > img { width: 156px; height: auto; }
.brand-lockup > span { display: block; margin-top: 2px; text-align: center; text-transform: uppercase; font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif; font-size: 7.7px; line-height: 1; font-weight: 700; letter-spacing: .085em; color: var(--wine); white-space: nowrap; }
.site-nav { display: flex; gap: clamp(24px, 3.8vw, 56px); align-items: center; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 1px; background: var(--wine); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--wine); }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.page { min-height: calc(100svh - var(--header-height) - 280px); }
.hero { position: relative; min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); display: grid; place-items: center; padding: 0 24px var(--header-height); overflow: hidden; }
.hero-logo { width: min(76vw, 58vh, 520px); width: min(76vw, 58svh, 520px); aspect-ratio: 1; object-fit: contain; clip-path: ellipse(48.05% 49.1% at 49.72% 49.8%); mix-blend-mode: normal; }
.hero.is-assembling .hero-logo { opacity: 0; }
.logo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: normal; }
.empty-page { padding-top: 64px; min-height: calc(100svh - var(--header-height)); }
.story-page { overflow: hidden; background: var(--ivory); }
.story-hero { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 2fr); column-gap: 56px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 105px); }
.story-kicker { color: var(--wine); font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .18em; }
.story-hero .story-kicker { grid-column: 1; padding-top: 13px; }
.story-hero h1 { grid-column: 2; max-width: 820px; font-size: clamp(52px, 8.3vw, 108px); line-height: .95; letter-spacing: -.065em; }
.story-hero h1 em { display: block; font-style: normal; color: var(--ink); }
.story-lead { grid-column: 2; max-width: 750px; margin-top: 45px; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.38; letter-spacing: -.03em; }
.story-copy { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 2fr); column-gap: 56px; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.story-marker { color: var(--wine); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-text { max-width: 800px; }
.story-text p { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.76; letter-spacing: -.018em; }
.story-text p + p { margin-top: 28px; }
.story-text strong { color: var(--wine); font-weight: 700; }
.story-passage { display: flow-root; }
.story-passage + .story-passage { margin-top: 42px; }
.story-polaroid { position: relative; z-index: 0; margin-top: 7px; padding: 7px 7px 12px; background: #fffdfa; border: 1px solid #e7dfd5; box-shadow: 0 12px 28px #35251b1a, 0 3px 8px #35251b14; }
.story-polaroid::before { content: ''; position: absolute; z-index: 1; top: -9px; left: 50%; width: 54px; height: 18px; background: rgba(222, 207, 183, .68); transform: translateX(-50%) rotate(-2deg); }
.story-polaroid-right { float: right; margin-right: 3px; margin-bottom: 13px; margin-left: 25px; transform: rotate(1.25deg); }
.story-polaroid-left { float: left; margin-right: 25px; margin-bottom: 13px; margin-left: 3px; transform: rotate(-1.1deg); }
.story-polaroid-portrait { width: clamp(155px, 21vw, 205px); }
.story-polaroid-wide { width: clamp(205px, 29vw, 280px); }
.story-polaroid-photo { overflow: hidden; background: #e7ded3; }
.story-polaroid-portrait .story-polaroid-photo { aspect-ratio: 4 / 5; }
.story-polaroid-wide .story-polaroid-photo { aspect-ratio: 16 / 10; }
.story-polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-polaroid-portrait:first-of-type .story-polaroid-photo img { object-position: center 35%; }
.story-polaroid figcaption { min-height: 42px; display: flex; align-items: center; padding: 9px 4px 0; color: #111; font: 400 clamp(14px, 1.5vw, 17px)/1.3 var(--font-handwritten); letter-spacing: .005em; }
.story-statement { background: var(--wine); color: var(--ivory); }
.story-statement p { padding-top: clamp(76px, 10vw, 145px); padding-bottom: clamp(80px, 11vw, 155px); font-size: clamp(38px, 6.7vw, 86px); line-height: 1.08; letter-spacing: -.06em; }
.story-statement strong { color: #fff; font-weight: 700; }
.story-finale { border-top: 0; }
.contacts-page { max-width: 1192px; padding-block: 58px 68px; text-align: center; }
.contacts-page h1 { margin-bottom: 36px; }
.map-frame { position: relative; width: 100%; height: clamp(350px, 51vw, 480px); background: var(--ivory); border: 1px solid var(--line); }
.map-placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; font-size: 12px; }
.contact-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.contact-icon { width: 14px; height: 14px; flex: 0 0 14px; color: var(--wine); }
.map-name { font-size: 22px; color: var(--wine); margin-bottom: 4px; }
.map-privacy { max-width: 390px; font-size: 11px; line-height: 1.7; color: var(--muted); margin: 16px 0; }
.map-placeholder .text-link { margin-top: 16px; }
.map-embed, .map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-caption { display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; margin-top: 24px; }
.contact-caption a { min-height: 44px; display: inline-flex; align-items: center; }
.contact-caption p { color: inherit; }
.map-help { margin-top: 15px; color: var(--muted); font-size: 10px; }
.site-footer { border-top: 1px solid var(--line); background: var(--ivory); }
.footer-inner { padding-block: 32px 18px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.footer-brand { grid-column: 2; justify-self: center; }
.footer-brand .brand-symbol { width: 24px; }
.footer-brand .brand-lockup > img { width: 148px; }
.footer-brand .brand-lockup > span { font-size: 7.3px; }
.social-links { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.social-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.social-link svg { width: 20px; height: 20px; transition: transform .2s; }
.social-link:hover svg { transform: translateY(-3px); }
.footer-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; font-size: 11px; font-style: normal; }
.footer-details a { min-height: 44px; min-width: 0; display: flex; align-items: center; gap: 8px; }
.footer-details a > span { min-width: 0; overflow-wrap: anywhere; }
.footer-details a:nth-child(2) { justify-content: center; }
.footer-details a:last-child { justify-content: flex-end; }
.footer-details a:hover { color: var(--wine); }
.footer-privacy { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; font-size: 10px; color: var(--muted); }
.footer-privacy a, .footer-privacy button { display: inline-flex; align-items: center; min-height: 36px; }
.footer-privacy button { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.button { min-height: 44px; border: 1px solid var(--wine); background: var(--wine); color: #fff; padding: 11px 18px; line-height: 1.4; font-size: 11px; text-align: center; transition: background .2s; border-radius: 2px; }
.button:hover { background: var(--wine-dark); }
.button-quiet { background: transparent; color: var(--wine); }
.button-quiet:hover { color: #fff; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.cookie-banner { position: fixed; z-index: 50; right: 24px; bottom: 24px; width: min(440px, calc(100% - 48px)); padding: 27px; border: 1px solid #d9c7b9; background: var(--paper); box-shadow: 0 14px 56px #30220e24; border-radius: 4px; }
.cookie-kicker { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--wine); }
.cookie-banner h2 { margin: 9px 0 12px; font-size: 27px; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; }
.cookie-banner > p:not(.cookie-kicker) { font-size: 11px; line-height: 1.75; color: var(--muted); }
.cookie-banner > .text-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 10px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; font-size: 27px; line-height: 1; color: var(--wine); background: none; border: 0; }
.cookie-dismiss { position: absolute; right: 6px; top: 6px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.cookie-actions .button { padding-inline: 7px; }
.cookie-dialog { width: min(560px, calc(100% - 32px)); max-height: 90vh; max-height: 90svh; padding: 28px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); overflow-y: auto; }
.cookie-dialog::backdrop { background: #211d1b88; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; margin: -8px -8px 12px 0; }
.cookie-dialog h2 { font-size: 27px; line-height: 1.2; font-weight: 400; margin-bottom: 12px; letter-spacing: -.03em; }
.cookie-dialog > p { font-size: 12px; color: var(--muted); }
.preference-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 22px 0; font-size: 12px; }
.preference-row:first-of-type { margin-top: 24px; }
.preference-row h3, .preference-row strong { font-size: 12px; font-weight: 700; color: var(--wine); text-transform: none; letter-spacing: 0; }
.preference-row p, .preference-description { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; line-height: 1.8; }
.required-label { font-size: 10px; color: var(--muted); }
.preference-row input { flex: 0 0 25px; width: 25px; height: 25px; accent-color: var(--wine); cursor: pointer; }
.dialog-policy { margin-bottom: 20px; }
.policy-page { max-width: 900px; padding-block: 64px 80px; }
.policy-page > p { font-size: 13px; line-height: 1.9; margin-top: 18px; }
.policy-page .policy-intro { color: var(--wine); font-size: 17px; margin-top: 20px; }
.policy-page h2 { font-size: 24px; font-weight: 400; margin: 38px 0 12px; letter-spacing: -.025em; }
.policy-page a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-page > .button { margin-top: 24px; }
.policy-table-wrap { overflow-x: auto; margin-top: 28px; }
.policy-page table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
.policy-page caption { text-align: left; padding-bottom: 12px; color: var(--wine); font-size: 12px; }
.policy-page td, .policy-page th { padding: 15px 12px; border: 1px solid var(--line); vertical-align: top; }
.policy-page th { font-weight: 700; }
.policy-page th small { font-weight: 400; }
.policy-page .policy-date { font-size: 10px; color: var(--muted); margin-top: 40px; }
.noscript-note { padding-block: 20px; font-size: 12px; }
.menu-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 47px; }
.eyebrow { font-size: 10px; letter-spacing: .23em; font-weight: 650; margin-bottom: 13px; }
.intro-aside { display: flex; align-items: flex-end; gap: 48px; padding-bottom: 7px; }
.intro-aside > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.pdf-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.4; min-height: 40px; padding: 9px 0 9px 1px; border-bottom: 1px solid var(--wine); white-space: nowrap; transition: color .2s ease; }
.pdf-link svg { width: 17px; height: 17px; }
.pdf-link:hover { color: var(--wine); }
html.pdf-open { overflow: hidden; }
.pdf-dialog { width: min(1120px, calc(100% - 32px)); height: min(900px, calc(100vh - 32px)); height: min(900px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; margin: auto; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); overflow: hidden; }
.pdf-dialog:not([open]) { display: none; }
.pdf-dialog[open] { display: flex; flex-direction: column; }
.pdf-dialog::backdrop { background: #211d1b99; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; flex-shrink: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.pdf-toolbar h2 { font-size: 18px; line-height: 1.3; font-weight: 400; }
.pdf-actions { display: flex; align-items: center; gap: 18px; }
.pdf-download { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.pdf-close { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--wine); border-radius: 2px; background: var(--wine); color: #fff; font-size: 12px; }
.pdf-close > span { font-size: 22px; line-height: 1; }
.pdf-close:hover { background: var(--wine-dark); }
.pdf-viewer { flex: 1 1 auto; min-height: 0; background: #e7e2da; }
.pdf-viewer iframe { display: block; width: 100%; height: 100%; border: 0; }
.pdf-help { flex-shrink: 0; padding: 10px 20px; font-size: 10px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); }
.menu-nav-shell { position: sticky; z-index: 10; top: var(--sticky-header-height); background: rgba(255, 253, 245, .97); border-block: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); scroll-margin-top: 0; }
.menu-nav { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.category-tab { position: relative; display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 18px 21px; color: var(--muted); white-space: nowrap; font-size: 14px; font-weight: 550; transition: color .2s ease, background .2s ease; }
.category-tab:first-child { padding-left: 0; }
.category-tab::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.category-tab[aria-selected="true"] { color: var(--wine); }
.category-tab[aria-selected="true"]::after { transform: scaleX(1); }
.category-tab:hover { color: var(--wine); background: rgba(133, 6, 16, .025); }
.category-tab:focus-visible { outline-offset: -7px; }
.menu-content { min-height: 550px; }
.menu-panel { padding-top: 47px; scroll-margin-top: 92px; }
.menu-panel + .menu-panel { padding-top: 80px; }
.js .menu-panel { padding-top: 47px; }
.js .menu-panel[hidden] { display: none; }
.menu-panel.is-entering { animation: panel-in .32s ease-out both; }
@keyframes panel-in { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 37px; }
.section-kicker { font-size: 9px; letter-spacing: .17em; color: var(--muted); margin-bottom: 8px; }
.menu-page h2 { font-family: var(--font-serif); color: var(--wine); font-size: 41px; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.panel-subtitle { color: var(--muted); font-size: 12px; margin-top: 10px; }
.menu-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.menu-column { min-width: 0; }
.menu-group { margin-bottom: 43px; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--wine); }
.menu-page h3 { color: var(--wine); font-size: 11px; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.group-price { color: var(--wine); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.group-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 12px 0 5px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 13px 0; border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.item-copy { min-width: 0; }
.item-name { font-size: 14px; font-weight: 500; line-height: 1.5; }
.allergens { color: var(--muted); font-size: 10px; font-weight: 400; white-space: nowrap; }
.item-price { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.item-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 4px; }
.has-description { padding-block: 16px; }
.has-description .item-name { font-size: 15px; }
.menu-item:hover { border-color: #c5a1a2; }
.menu-feature { padding: 23px 25px; background: var(--wine); color: #fff; border-radius: 2px; }
.menu-feature .group-heading { padding: 0; border: 0; }
.menu-feature h3 { color: var(--ivory); font-size: 11px; }
.menu-feature .group-price { color: #fff; font-size: 23px; font-family: var(--font-serif); }
.menu-feature .group-note { color: #f2dddd; margin-top: 11px; }
.menu-bottom { border-top: 1px solid var(--line); padding-top: 25px; padding-bottom: 47px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.allergen-note { color: var(--muted); font-size: 10px; line-height: 1.8; }


/* Il menù usa la stessa famiglia e gli stessi pesi del PDF. */
.menu-page h1, .menu-page h2, .menu-page h3 { font-family: var(--font-sans); }
.menu-page h1, .empty-page h1, .contacts-page h1, .story-page h1 { font-family: var(--font-sans); font-weight: 700; }
.menu-page h1, .empty-page h1, .contacts-page h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.menu-page h1 em { font-style: normal; font-weight: inherit; }
.menu-page h2 { font-size: 34px; font-weight: 700; }
.menu-page .item-name, .menu-page .item-price, .menu-page .group-price { font-weight: 700; }
@media (min-width: 1500px) { .wrap { max-width: 1260px; } .policy-page { max-width: 900px; } }
@media (max-width: 1050px) {
  .wrap { padding-inline: 32px; }
  .header-inner { padding-inline: 32px; grid-template-columns: 1fr auto; }
  .category-tab { padding-inline: 13px; font-size: 12px; gap: 9px; }
  .menu-columns { gap: 45px; }
}
@media (max-width: 760px) {
  :root { --header-height: 124px; --sticky-header-height: 125px; }
  .wrap { padding-inline: 24px; }
  .header-inner { padding: 13px 24px 7px; grid-template-columns: 1fr; gap: 4px; justify-items: center; }
  .site-header .brand { justify-self: start; gap: 8px; }
  .site-header .brand-symbol { width: 21px; }
  .site-header .brand-lockup > img { width: 127px; }
  .site-header .brand-lockup > span { font-size: 6.3px; }
  .site-nav { width: 100%; max-width: 460px; justify-content: center; gap: 28px; }
  .site-nav a { font-size: 11px; }
  .hero { padding-inline: 16px; }
  .empty-page, .policy-page { padding-top: 42px; }
  .story-hero { display: block; padding-top: 48px; padding-bottom: 66px; }
  .story-hero .story-kicker { padding-top: 0; margin-bottom: 23px; }
  .story-hero h1 { font-size: clamp(50px, 15vw, 78px); }
  .story-lead { margin-top: 32px; font-size: 21px; line-height: 1.48; }
  .story-copy { grid-template-columns: 1fr; gap: 23px; padding-top: 62px; padding-bottom: 65px; }
  .story-text p { font-size: 16px; line-height: 1.8; }
  .story-text p + p { margin-top: 22px; }
  .story-passage + .story-passage { margin-top: 32px; }
  .story-polaroid { padding: 6px 6px 10px; }
  .story-polaroid-portrait { width: 40%; }
  .story-polaroid-wide { width: 49%; }
  .story-polaroid-right { margin-right: 2px; margin-bottom: 10px; margin-left: 16px; transform: rotate(.8deg); }
  .story-polaroid-left { margin-right: 16px; margin-bottom: 10px; margin-left: 2px; transform: rotate(-.75deg); }
  .story-polaroid figcaption { min-height: 38px; padding: 7px 3px 0; font-size: 13px; }
  .story-statement p { font-size: clamp(38px, 11.5vw, 62px); line-height: 1.12; }
  .contacts-page { padding-top: 38px; padding-bottom: 46px; }
  .contacts-page h1 { margin-bottom: 25px; }
  .map-frame { height: 380px; }
  .contact-caption { font-size: 11px; }
  .menu-intro { padding-top: 35px; padding-bottom: 30px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .intro-aside { padding-bottom: 0; }
  .pdf-link { font-size: 11px; min-height: 40px; padding-block: 5px; gap: 8px; }
  .pdf-dialog { width: calc(100% - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); }
  .pdf-toolbar { padding: 8px 12px; column-gap: 10px; }
  .pdf-toolbar h2 { font-size: 14px; }
  .pdf-actions { gap: 10px; }
  .pdf-close { padding-inline: 10px; font-size: 11px; }
  .pdf-help { padding: 9px 12px; font-size: 9px; }
  .menu-nav { display: flex; padding-inline: 24px; gap: 21px; scrollbar-width: none; }
  .menu-nav::-webkit-scrollbar { display: none; }
  .category-tab { flex: 0 0 auto; padding: 17px 0; min-height: 62px; gap: 8px; font-size: 11px; }
  .menu-panel, .js .menu-panel { padding-top: 31px; scroll-margin-top: calc(var(--sticky-header-height) + 78px); }
  .panel-heading { padding-bottom: 28px; gap: 16px; }
  .menu-page h2 { font-size: clamp(24px, 5vw, 32px); }
  .section-kicker { font-size: 8px; margin-bottom: 8px; }
  .panel-subtitle { font-size: 11px; margin-top: 8px; }
  .menu-columns { grid-template-columns: 1fr; gap: 0; }
  .menu-group { margin-bottom: 33px; }
  .group-heading { padding-bottom: 11px; gap: 12px; }
  h3 { font-size: 11px; letter-spacing: .05em; }
  .menu-item { padding-block: 12px; gap: 15px; }
  .item-name { font-size: 13px; }
  .item-price { font-size: 12px; }
  .has-description { padding-block: 15px; }
  .has-description .item-name { font-size: 14px; }
  .menu-bottom { flex-direction: column; align-items: flex-start; padding-block: 23px 26px; gap: 12px; }
  .allergen-note { font-size: 10px; }
  .footer-inner { padding-block: 18px 10px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .footer-brand { grid-column: 1; justify-self: start; gap: 7px; }
  .footer-brand .brand-symbol { width: 18px; }
  .footer-brand .brand-lockup > img { width: 105px; }
  .footer-brand .brand-lockup > span { font-size: 5.2px; }
  .footer-top .social-links { grid-column: 2; justify-content: flex-end; gap: 0; }
  .footer-details { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 16px; row-gap: 0; margin-top: 8px; font-size: 11px; line-height: 1.4; }
  .footer-details a, .footer-details a:nth-child(2), .footer-details a:last-child { justify-content: center; gap: 6px; text-align: center; }
  .footer-details a:first-child { flex-basis: 100%; }
  .footer-details svg { width: 16px; height: 16px; }
  .footer-privacy { gap: 16px; margin-top: 6px; padding-top: 4px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); max-width: 440px; padding: 19px; }
  .cookie-banner h2 { font-size: 23px; margin-block: 7px; }
  .cookie-banner > p:not(.cookie-kicker) { font-size: 10px; line-height: 1.6; }
  .cookie-banner .cookie-kicker { font-size: 8px; }
  .cookie-banner .cookie-actions { margin-top: 5px; }
  .cookie-dialog { padding: 22px; }
  .cookie-dialog h2 { font-size: 24px; }
  .preference-row { gap: 16px; }
  .policy-page td, .policy-page th { padding: 10px 8px; }
  .policy-page table { min-width: 530px; }
}
@media (max-width: 370px) {
  .wrap { padding-inline: 19px; }
  .header-inner { padding-inline: 19px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 10px; }
  .menu-page h1, .empty-page h1, .contacts-page h1 { font-size: 34px; }
  .story-hero h1 { font-size: 47px; }
  .story-polaroid figcaption { font-size: 12px; }
  .menu-item { gap: 9px; }
  .item-name, .has-description .item-name { font-size: 12px; }
  .item-price { font-size: 11px; }
  .menu-feature { padding: 20px 17px; }
  .menu-feature .group-price { font-size: 19px; }
  .cookie-actions { gap: 5px; }
  .cookie-actions .button { font-size: 10px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero.is-assembling .hero-logo { opacity: 1; }
  .logo-canvas { display: none !important; }
}
@media print {
  body { color: #000; background: #fff; font-size: 10pt; }
  .site-header, .site-footer, .cookie-banner, .cookie-dialog, .pdf-dialog, .skip-link, .logo-canvas, .noscript-note { display: none !important; }
  .page:not(.menu-page) { display: none !important; }
  .page.menu-page, .menu-panel[hidden] { display: block !important; }
  .wrap { max-width: none; padding-inline: 0; }
  .menu-intro, .menu-nav-shell, .menu-bottom { display: none; }
  .menu-panel { padding-top: 0 !important; break-before: page; animation: none; }
  .menu-panel:first-child { break-before: auto; }
  .menu-columns { grid-template-columns: 1fr 1fr; gap: 30px; }
  .menu-item { break-inside: avoid; padding-block: 6px; }
  .group-heading { break-after: avoid; }
  .menu-feature { border: 1px solid #999; background: #fff; color: #000; }
  .menu-feature h3, .menu-feature .group-price, .menu-feature .group-note { color: #000; }
}

/* Su mobile: classiche, gourmet, pizza al taglio, consegna. */
@media screen and (max-width: 760px) {
  #pizze-pinse .menu-column { display: contents; }
  #pizza-classiche { order: 1; }
  #pizza-gourmet { order: 2; }
  #pizza-taglio { order: 3; }
  #pizza-consegna { order: 4; }
}

/* Servizi: stessa palette e tipografia del sito. */
.services-page { padding-top: 48px; padding-bottom: 64px; }
.services-header { padding-bottom: 36px; border-bottom: 1px solid var(--wine); }
.services-page h1 { font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; }
.services-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.services-list li { display: flex; align-items: baseline; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--wine); font-size: 17px; line-height: 1.6; }
.service-number { font-size: 10px; letter-spacing: .08em; flex: 0 0 22px; }
.services-contact { margin-top: 44px; padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--wine); color: var(--ivory); border-radius: 2px; }
.services-contact h2 { font-size: 19px; color: inherit; }
.services-contact p { margin-top: 6px; font-size: 12px; }
.services-phone { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; font-size: 21px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid currentColor; }
.services-phone:hover { opacity: .8; }
.services-phone:focus-visible { outline-color: var(--ivory); }
@media (max-width: 760px) {
 .services-page { padding-top: 35px; padding-bottom: 46px; }
 .services-header { padding-bottom: 28px; }
 .services-list { grid-template-columns: 1fr; }
 .services-list li { font-size: 15px; padding-block: 21px; }
 .services-contact { margin-top: 30px; padding: 24px; align-items: flex-start; flex-direction: column; gap: 16px; }
 .services-contact h2 { font-size: 17px; }
 .services-phone { font-size: clamp(16px, 4.7vw, 21px); gap: 12px; }
}

/* Correzione smartphone: link sempre visibili e anteprima PDF fluida. */
.pdf-viewer.is-mobile-preview { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pdf-pages { width: 100%; padding: 8px; }
.pdf-pages figure { margin: 0 0 12px; }
.pdf-pages img { display: block; width: 100%; height: auto; background: var(--ivory); }
.pdf-pages figcaption { padding: 5px 2px; color: var(--wine); font-size: 11px; }
@media screen and (max-width: 760px) {
 .header-inner { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
 .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; min-width: 0; gap: 8px; }
 .site-nav a { justify-content: center; white-space: nowrap; text-align: center; font-size: clamp(11px, 3.1vw, 13px); }
 .menu-nav { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: clamp(4px, 1.1vw, 10px); padding-inline: clamp(10px, 3vw, 24px); overflow-x: auto; }
 .category-tab, .category-tab:first-child { flex: 0 0 auto; min-width: 0; min-height: 48px; padding: 10px 0; justify-content: center; white-space: nowrap; text-align: center; line-height: 1.4; font-size: clamp(8px, 2.4vw, 12px); }
 .category-label { min-width: 0; white-space: nowrap; }
 .pdf-dialog { width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
 .pdf-toolbar { display: block; padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
 .pdf-toolbar h2 { margin-bottom: 4px; }
 .pdf-actions { width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
 .pdf-help { padding-bottom: max(9px, env(safe-area-inset-bottom)); }
}

/* Visible local information and navigation for independent pages. */
.home-intro { padding-block: 44px 64px; border-top: 1px solid var(--line); }
.home-intro h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; max-width: 850px; }
.home-intro p { max-width: 760px; margin-top: 20px; font-size: 15px; }
.home-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.breadcrumb { padding-top: 18px; font-size: 11px; color: var(--muted); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.services-intro { margin-top: 22px; max-width: 720px; font-size: 14px; }

/* Home: un solo logo nella prima schermata, centrato sopra l'introduzione. */
.home-page .header-inner { grid-template-columns: 1fr; justify-items: center; }
.home-page .hero {
  min-height: calc(100vh - var(--sticky-header-height));
  min-height: calc(100svh - var(--sticky-header-height));
  padding-block: 24px;
}
@media (max-width: 760px) {
  .home-page { --header-height: 76px; --sticky-header-height: 77px; }
  .home-page .header-inner { padding-block: 12px; }
}
