/* Tortuga · film della sera. Il colore della pagina è il cielo: dal tramonto alla notte. */
@property --wdth { syntax: '<number>'; inherits: true; initial-value: 100; }
/* caratteri ospitati sul sito (sottoinsieme latino): nessuna richiesta a Google al caricamento */
@font-face { font-family: 'Anybody'; src: url(vendor/anybody-latin.woff2) format('woff2'); font-weight: 300 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: 'Albert Sans'; src: url(vendor/albert-sans-latin.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
  --cielo: #fbe9d7;          /* animato dallo scroll */
  --testo: #1b1f2e;
  --logo: #171f2b;

  --crema: #fbe9d7;
  --carta: #fbf3e8;
  --inchiostro: #1b1f2e;
  --grigio: #545a66;
  --notte: #171f2b;
  --oro: #d4a24c;
  --terra: #9e4318;

  --ff-display: 'Anybody', 'Arial Narrow', sans-serif;
  --ff-testo: 'Albert Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --h: 104px;
  --hc: 80px;
  --margine: clamp(1.25rem, 5vw, 4rem);
  --wrap: min(1320px, 100% - 2 * var(--margine));
}
@media (max-width: 760px) { :root { --h: 84px; --hc: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hc); scrollbar-color: var(--oro) transparent; }
html:not(.moto) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.moto) { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cielo); color: var(--testo);
  font: 400 1.0625rem/1.6 var(--ff-testo); -webkit-font-smoothing: antialiased; accent-color: var(--oro);
  overflow-x: clip;
}
::selection { background: var(--oro); color: var(--inchiostro); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--inchiostro); color: var(--crema); padding: .6rem 1rem; border-radius: 8px; }
.salta:focus { top: 1rem; }

.titolo, .parola, .posto__titolo, .ora h3, .scheda__nome, .foglio h3, .grande-stato {
  font-family: var(--ff-display); font-variation-settings: 'wdth' var(--wdth);
}
.titolo { --wdth: 72; font-weight: 800; font-size: clamp(3.2rem, 9vw, 8.5rem); line-height: .86; letter-spacing: -.02em; margin: 0 0 1.5rem; text-transform: uppercase; }

.esagono { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: .866; overflow: hidden; }
.esagono img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .85rem 1.6rem;
  border: 0; border-radius: 999px; background: var(--testo); color: var(--cielo); text-decoration: none;
  font: 600 1rem/1 var(--ff-testo); transition: transform .15s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--linea { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.link {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 0; border: 0; background: none;
  font: 600 1rem/1 var(--ff-testo); text-decoration: underline; text-underline-offset: .35em;
}
.link::after {
  content: ''; width: 1.1em; height: 1.1em; background: currentColor; transition: transform .2s var(--ease-out);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) and (pointer: fine) { .link:hover::after { transform: translateX(4px); } }
.chip {
  margin: 0; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 999px;
  font: 600 .88rem/1 var(--ff-testo); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, currentColor 40%, transparent); }
.chip.is-aperto::before { background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, .22); }
.chip:empty { display: none; }

/* ---------- Barra ---------- */
.barra { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--h); color: var(--testo); transition: background-color .25s ease; }
.barra.is-compatta {
  height: var(--hc); background: color-mix(in srgb, var(--cielo) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
@media (prefers-reduced-transparency: reduce) { .barra.is-compatta { background: var(--cielo); backdrop-filter: none; } }
.barra__in { width: var(--wrap); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.barra__logo { display: flex; align-items: center; gap: .8rem; height: 88px; color: var(--logo); text-decoration: none; transform-origin: left center; transition: transform .3s var(--ease-out); }
.is-compatta .barra__logo { transform: scale(.78); }
.barra__marchio { height: 100%; width: auto; fill: currentColor; }
.barra__parola { width: 170px; height: auto; fill: currentColor; }
@media (max-width: 760px) { .barra__logo { height: 64px; } .barra__parola { width: 120px; } }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a { font: 600 .98rem/1 var(--ff-testo); text-decoration: none; padding: .6rem 0; position: relative; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.burger { display: none; }
@media (min-width: 961px) { .barra:not(.is-compatta) .nav .chip { display: none; } } /* in cima lo stato è già nell'apertura */
@media (max-width: 960px) {
  .burger { display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; border: 0; background: var(--testo); }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--cielo); position: relative; transition: transform .3s var(--ease-out); }
  .burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cielo); padding: .5rem var(--margine) 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  }
  .is-compatta .nav { top: var(--hc); }
  .nav.is-aperto { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.4rem; padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-family: var(--ff-display); font-weight: 700; }
  .nav .chip { margin-top: 1.2rem; align-self: flex-start; }
}

/* ---------- Apertura ---------- */
.apertura { position: relative; }
.apertura::before { /* il bagliore del tramonto: fermo, non si scala con la scena */
  content: ''; position: absolute; inset: 0 0 auto; height: 100svh; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 100%, #f7c08e 0%, rgba(247, 192, 142, 0) 60%);
}
.apertura__scena {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 1.1rem;
  padding: calc(var(--h) + 2vh) var(--margine) 5vh;
}
.stemma { width: clamp(84px, 9vw, 128px); height: auto; fill: var(--oro); overflow: visible; }
.apertura__titolo { margin: 0; line-height: 0; }
.parola { --wdth: 118; display: block; white-space: nowrap; font-weight: 850; font-size: clamp(3.8rem, 14.5vw, 15rem); line-height: .82; letter-spacing: -.02em; }
.apertura__sotto { margin: 0; font: 600 clamp(.9rem, 1.4vw, 1.1rem)/1.3 var(--ff-testo); letter-spacing: .14em; text-transform: uppercase; }
.apertura__azioni { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1rem; }
.apertura__finestra { position: relative; margin: 0 var(--margine); height: 78svh; overflow: hidden; }
.apertura__finestra img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.apertura__didascalia {
  position: absolute; inset: auto 0 0; padding: 22vh var(--margine) 6vh; color: #fbe9d7;
  background: linear-gradient(180deg, transparent, rgba(12, 16, 26, .72));
}
.apertura__didascalia p { margin: 0; font-weight: 500; }
.apertura__didascalia .apertura__frase {
  --wdth: 80; margin-bottom: 1rem; font: 850 clamp(2.4rem, 6.5vw, 6rem)/.9 var(--ff-display);
  font-variation-settings: 'wdth' var(--wdth); text-transform: uppercase;
}
/* senza movimento: la finestra resta un esagono fermo */
html:not(.moto) .apertura__finestra {
  width: min(100% - 2 * var(--margine), 78svh * .866); height: auto; aspect-ratio: .866; margin: 0 auto 4rem; border-radius: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
html:not(.moto) .apertura__didascalia { text-align: center; padding: 30% 14% 26%; }
html:not(.moto) .apertura__didascalia .apertura__frase { font-size: clamp(1.8rem, 4vw, 3.4rem); }

/* con movimento: la finestra esagonale cresce fino a riempire lo schermo */
.moto .apertura { height: 100svh; overflow: hidden; }
.moto .apertura__scena { position: absolute; inset: 0; align-content: start; padding-bottom: 0; z-index: 1; }
.moto .apertura__finestra {
  --rr: 12; --cy: 83; --oy: 0; /* --oy: a finestra chiusa l'esagono inquadra il cielo arancione */
  position: absolute; inset: 0; margin: 0; height: auto; border-radius: 0; z-index: 2;
  --r: calc(var(--rr) * 1vmax); --y: calc(var(--cy) * 1%);
  clip-path: polygon(50% calc(var(--y) - var(--r)), calc(50% + var(--r) * .866) calc(var(--y) - var(--r) * .5), calc(50% + var(--r) * .866) calc(var(--y) + var(--r) * .5), 50% calc(var(--y) + var(--r)), calc(50% - var(--r) * .866) calc(var(--y) + var(--r) * .5), calc(50% - var(--r) * .866) calc(var(--y) - var(--r) * .5));
}
.moto .apertura__finestra img { object-position: 50% calc(var(--oy) * 1%); }
@media (max-width: 760px) {
  .moto .apertura__finestra { --rr: 15; --cy: 74; }
  .moto .apertura__finestra img { height: 145%; } /* spazio verticale per inquadrare il cielo */
  .parola { font-size: 15vw; --wdth: 92; }
}

/* ---------- Il posto ---------- */
.posto { padding-top: clamp(6rem, 14vh, 10rem); overflow: hidden; }
.posto__griglia { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.posto__titolo { --wdth: 60; margin: 0 0 2rem; font-weight: 850; font-size: clamp(4rem, 13vw, 12.5rem); line-height: .8; letter-spacing: -.03em; text-transform: uppercase; }
.posto__righe { list-style: none; margin: 0; padding: 0; }
.posto__righe li { font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.3; padding: 1rem 0; border-top: 1.5px solid color-mix(in srgb, currentColor 22%, transparent); }
.posto__foto { width: min(100%, 460px); justify-self: center; }
@media (max-width: 860px) { .posto__griglia { grid-template-columns: 1fr; } .posto__foto { width: min(78vw, 360px); } }

/* nido d'ape: due file di esagoni sfalsate di mezza cella, incastrate come le placche del guscio */
.nastro { --t: clamp(170px, 19vw, 280px); --g: 12px; display: grid; margin-top: clamp(4rem, 12vh, 8rem); padding-bottom: clamp(5rem, 12vh, 9rem); }
.nastro__riga { display: flex; gap: var(--g); overflow-x: auto; padding-inline: var(--margine); scrollbar-width: none; }
.nastro__riga + .nastro__riga { margin-top: calc(var(--t) * -.2887 + var(--g) * .866); padding-left: calc(var(--margine) + (var(--t) + var(--g)) / 2); }
.nastro__riga::-webkit-scrollbar { display: none; }
.moto .nastro__riga { overflow: visible; width: max-content; padding: 0; will-change: transform; }
.moto .nastro__riga + .nastro__riga { margin-left: calc((var(--t) + var(--g)) / -2); }
.nastro__voce { flex: none; width: var(--t); aspect-ratio: .866; padding: 0; border: 0; background: none; cursor: zoom-in; }
.nastro__voce img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(27, 31, 46, .08); transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nastro__voce:hover img { transform: scale(1.05); } }

/* ---------- La sera ---------- */
.ora { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(5rem, 14vh, 9rem) var(--margine); overflow: hidden; }
.ora__num {
  --wdth: 55; position: absolute; left: 3vw; bottom: -4vh; margin: 0; z-index: 0; pointer-events: none;
  font: 850 clamp(9rem, 27vw, 30rem)/.8 var(--ff-display); font-variation-settings: 'wdth' var(--wdth);
  color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .32; letter-spacing: -.03em;
}
.ora__foto { position: relative; z-index: 1; width: min(100%, 440px); justify-self: center; }
.ora__testo { position: relative; z-index: 1; max-width: 32rem; }
html:not(.moto) .ora__num { opacity: .55; }
.ora h3 { --wdth: 78; margin: 0 0 1.2rem; font-weight: 850; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: .85; text-transform: uppercase; letter-spacing: -.02em; }
.ora__testo > p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin: 0 0 1.4rem; }
.orologio { display: none; }

.moto .sera { height: 100svh; overflow: hidden; }
.moto .sera__pista { display: flex; height: 100%; width: max-content; }
.moto .ora { width: 100vw; height: 100%; padding-top: calc(var(--h) + 2vh); padding-bottom: 14vh; }
.moto .orologio {
  display: flex; position: absolute; left: var(--margine); right: var(--margine); bottom: 5vh; z-index: 3; align-items: center; gap: 1.2rem;
  font: 700 1.05rem/1 var(--ff-display); font-variant-numeric: tabular-nums;
}
.orologio__ora { min-width: 3.2em; font-size: 1.6rem; }
.orologio__barra { flex: 1; height: 2px; background: color-mix(in srgb, currentColor 25%, transparent); position: relative; overflow: hidden; border-radius: 2px; }
.orologio__barra i { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) {
  .ora { grid-template-columns: 1fr; min-height: 92svh; }
  .moto .sera { height: auto; overflow: visible; }
  .moto .sera__pista { display: block; width: auto; }
  .moto .ora { width: auto; height: auto; padding: 12vh var(--margine); }
  .moto .orologio { display: none; }
  .ora__foto { width: min(70vw, 320px); order: -1; }
  .ora__num { bottom: auto; top: 6vh; font-size: 42vw; opacity: .55; }
}

/* ---------- Musica dal vivo ---------- */
.vivo { padding: clamp(5rem, 13vh, 9rem) 0; overflow: hidden; }
.vivo__nastro { display: grid; gap: .15em; font: 850 clamp(4rem, 12vw, 11.5rem)/.9 var(--ff-display); text-transform: uppercase; letter-spacing: -.02em; }
.vivo__riga { --wdth: 80; margin: 0; display: flex; width: max-content; white-space: nowrap; font-variation-settings: 'wdth' var(--wdth); color: var(--oro); }
.vivo__riga span { display: inline-flex; align-items: center; }
.vivo__riga span::after { /* una placca del guscio fra le parole */
  content: ''; width: .3em; aspect-ratio: .866; margin: 0 .45em; background: var(--oro);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.vivo__riga--linea { color: transparent; -webkit-text-stroke: 1.5px var(--testo); }
.moto .vivo__riga { will-change: transform; }
.vivo__testo p { max-width: 34ch; margin: clamp(2.5rem, 6vh, 4rem) 0 0; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.4; }

/* ---------- La carta ---------- */
.carta { padding: clamp(6rem, 15vh, 10rem) 0 clamp(4rem, 10vh, 7rem); }
.carta__testa { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 3rem; }
.carta__guida { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.8rem; }
.carta__guida p { margin: 0 .6rem 0 0; font-size: 1.15rem; }
.freccia {
  display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: none;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: transform .15s var(--ease-out), opacity .2s ease;
}
.freccia:active { transform: scale(.94); }
.freccia:disabled { opacity: .3; cursor: default; }
.freccia svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.binario {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 2rem max((100% - 1320px) / 2, var(--margine)) 3rem; scroll-padding-inline: max((100% - 1320px) / 2, var(--margine));
  cursor: grab; perspective: 900px;
}
.binario::-webkit-scrollbar { display: none; }
.binario.is-trascinato { scroll-snap-type: none; cursor: grabbing; }
.binario.is-trascinato .scheda { pointer-events: none; }
.scheda {
  --wdth: 68; flex: none; width: clamp(250px, 23vw, 320px); aspect-ratio: 3 / 4; scroll-snap-align: start;
  display: grid; grid-template-rows: auto 1fr auto; text-align: left; gap: 1rem; padding: 1.5rem;
  border: 0; border-radius: 30px; background: var(--c); color: var(--inchiostro); position: relative; overflow: hidden;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); transform-style: preserve-3d;
  transition: --wdth .45s var(--ease-out);
}
.scheda::before { /* esagono del guscio in filigrana */
  content: ''; position: absolute; right: -18%; top: -10%; width: 70%; aspect-ratio: .866; opacity: .16;
  background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.scheda__n { font: 600 .95rem/1 var(--ff-testo); }
.scheda__nome { align-self: end; font-weight: 850; font-size: clamp(2.5rem, 3.8vw, 3.6rem); line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }
.scheda__info { display: flex; justify-content: space-between; font: 600 .95rem/1 var(--ff-testo); padding-top: 1rem; border-top: 1.5px solid rgba(27, 31, 46, .25); }
@media (hover: hover) and (pointer: fine) { .scheda:hover { --wdth: 100; } }
.scheda:active { scale: .98; }
.carta__piede { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: end; }
.carta__nota { margin: 0; font-size: .95rem; opacity: .85; max-width: 40ch; }
.citazione { margin: 0; }
.citazione p { margin: 0 0 1rem; font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1.15 var(--ff-display); font-variation-settings: 'wdth' 85; }
.citazione footer { font-size: .95rem; opacity: .9; }
.citazione cite { font-style: normal; font-weight: 600; }
@media (max-width: 860px) { .carta__piede { grid-template-columns: 1fr; } }

/* ---------- Fogli del menu (bottom sheet) ---------- */
.foglio { border: 0; padding: 0; margin: 0; background: none; width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; color: var(--inchiostro); }
.foglio[open] { display: flex; align-items: flex-end; justify-content: center; }
.foglio::backdrop { background: rgba(12, 16, 26, .55); }
.foglio__pannello {
  width: min(980px, 100%); max-height: 88dvh; display: flex; flex-direction: column; background: var(--carta);
  border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .35);
}
.foglio__testa {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2rem 1rem;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.6rem) 1.2rem; border-bottom: 1px solid rgba(27, 31, 46, .12);
  touch-action: none; cursor: grab;
}
.foglio__maniglia { position: absolute; top: .7rem; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 5px; background: rgba(27, 31, 46, .25); }
.foglio h3 { --wdth: 80; margin: 0; font-weight: 850; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: .9; text-transform: uppercase; }
.foglio__testa p { grid-column: 1; margin: 0; color: var(--grigio); font-weight: 500; }
.foglio__chiudi { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--inchiostro); }
.foglio__chiudi svg, .tondo svg { width: 20px; height: 20px; fill: none; stroke: var(--carta); stroke-width: 2.2; stroke-linecap: round; }
.foglio__corpo { overflow-y: auto; overscroll-behavior: contain; padding: .5rem clamp(1.25rem, 4vw, 2.6rem) 2.5rem; }
.voci { list-style: none; margin: 0; padding: 0; columns: 2 330px; column-gap: 3rem; }
.voce { break-inside: avoid; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(27, 31, 46, .1); }
.voce__nome { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.voce__prezzo { font: 800 1.2rem/1.3 var(--ff-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.voce__prezzo::before { content: '€ '; font-size: .75em; color: var(--terra); }
.voce__prezzo--doppio::before { content: none; }
.voce__prezzo i { font: 600 .74rem/1 var(--ff-testo); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); margin-left: .4rem; }
.voce__prezzo i:first-child { margin-left: 0; }
.voce__desc { grid-column: 1 / -1; color: var(--grigio); font-size: .96rem; line-height: 1.45; }
.voce-gruppo { break-after: avoid; padding: 1.8rem 0 .3rem; font: 600 .85rem/1 var(--ff-testo); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.voce-gruppo:first-child { padding-top: .8rem; }
.foglio__nota { margin: 1.4rem 0 0; color: var(--grigio); }
/* senza JavaScript i fogli restano leggibili in pagina */
html:not(.js) .foglio { display: block; position: static; height: auto; max-height: none; background: var(--carta); margin: 0 auto; }
html:not(.js) .foglio__pannello { max-height: none; margin: 0 auto; border-radius: 0; box-shadow: none; }
html:not(.js) .foglio__chiudi, html:not(.js) .foglio__maniglia { display: none; }

/* ---------- Dove siamo ---------- */
.dove { padding: clamp(6rem, 14vh, 10rem) 0; }
.dove__griglia { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.dove address { font: 700 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--ff-display); font-style: normal; font-variation-settings: 'wdth' 90; margin: 0 0 .8rem; }
.dove__info > p { margin: 0 0 1.6rem; opacity: .85; }
.mappa {
  position: relative; margin-top: 2.2rem; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; display: grid; place-items: center; text-align: center;
  background: #0a0f18; color: #fbe9d7; box-shadow: inset 0 0 0 1px rgba(251, 233, 215, .15);
}
.mappa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mappa__in { display: grid; gap: 1rem; justify-items: center; padding: 1.5rem; max-width: 26rem; }
.mappa__in svg { width: 40px; height: 40px; fill: none; stroke: var(--oro); stroke-width: 1.4; }
.mappa__in small { font-size: .85rem; line-height: 1.5; opacity: .8; }
.grande-stato { --wdth: 70; margin: 0 0 2rem; font-weight: 850; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: .95; text-transform: uppercase; color: var(--logo); }
.grande-stato:empty { display: none; }
.dove__orari h3 { margin: 0 0 .6rem; font: 600 .9rem/1 var(--ff-testo); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.orari { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.orari li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(251, 233, 215, .12); font-size: 1.08rem; }
.orari li.chiuso span:last-child { opacity: .6; }
.orari li.is-oggi { color: var(--oro); font-weight: 600; }
.orari li.is-oggi span:first-child::after { content: ' · stasera'; font-weight: 500; }
@media (max-width: 860px) { .dove__griglia { grid-template-columns: 1fr; } }

/* ---------- Titoli di coda ---------- */
.titoli { padding: clamp(6rem, 16vh, 11rem) var(--margine) 4rem; text-align: center; }
.titoli__rullo { max-width: 44rem; margin: 0 auto; display: grid; justify-items: center; gap: 1.6rem; }
.titoli__parola { width: min(80vw, 560px); height: auto; fill: var(--oro); }
.titoli__lista { margin: 2rem 0; display: grid; gap: 1.4rem; }
.titoli__lista div { display: grid; gap: .3rem; }
.titoli__lista dt { font: 600 .8rem/1 var(--ff-testo); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.titoli__lista dd { margin: 0; font: 700 clamp(1.2rem, 2.2vw, 1.6rem)/1.3 var(--ff-display); font-variation-settings: 'wdth' 90; }
.titoli__fondo { margin: 0; font-size: .9rem; opacity: .75; }
.titoli__lista + .titoli__fondo { margin-top: 1rem; }
/* dati obbligatori ancora mancanti: ben visibili finché non vengono inseriti */
.da-completare { outline: 1px dashed currentColor; outline-offset: 2px; padding: 0 .3em; border-radius: 3px; }

/* ---------- Pagine legali e 404 ---------- */
.pagina { --cielo: #171f2b; --testo: #fbe9d7; --logo: #d4a24c; }
.pagina__testa, .pagina__piede { width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.pagina__testa { padding: 1rem 0; }
.pagina__logo { display: flex; align-items: center; gap: .8rem; height: 96px; }
.pagina__logo img { height: 100%; width: auto; }
.pagina__logo img + img { height: auto; width: 170px; }
@media (max-width: 560px) { .pagina__logo { height: 64px; } .pagina__logo img + img { display: none; } }
.pagina__piede { padding: 2rem 0 3rem; border-top: 1px solid rgba(251, 233, 215, .15); font-size: .9rem; opacity: .8; }
.legale { width: min(46rem, 100% - 2 * var(--margine)); margin: 0 auto; padding: clamp(2rem, 6vh, 4rem) 0 5rem; }
.legale h1 { margin: 0 0 1rem; font: 850 clamp(2.6rem, 7vw, 5rem)/.9 var(--ff-display); font-variation-settings: 'wdth' 72; text-transform: uppercase; letter-spacing: -.02em; }
.legale h2 { margin: 3rem 0 .8rem; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--ff-display); font-variation-settings: 'wdth' 85; color: var(--oro); }
.legale p, .legale li { max-width: 68ch; }
.legale ul { padding-left: 1.2rem; }
.legale a:not(.btn) { color: var(--oro); }
.legale__data { opacity: .75; }
.legale__num { margin: 0; font: 850 clamp(8rem, 30vw, 20rem)/.8 var(--ff-display); font-variation-settings: 'wdth' 55; color: transparent; -webkit-text-stroke: 1.5px var(--oro); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: none; width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; }
.lightbox::backdrop { background: rgba(10, 13, 20, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .9rem; justify-items: center; padding: 4.5rem 1rem 2rem; }
.lightbox img { max-height: calc(100dvh - 9rem); width: auto; max-width: min(92vw, 1100px); object-fit: contain; border-radius: 16px; }
.lightbox figcaption { color: #fbe9d7; font-weight: 500; }
.tondo { position: fixed; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fbe9d7; }
.tondo svg { stroke: var(--inchiostro); }
.tondo:active { transform: scale(.94); }
.lightbox [data-chiudi] { top: 1rem; right: 1rem; }
.lightbox [data-prec] { left: 1rem; top: 50%; }
.lightbox [data-succ] { right: 1rem; top: 50%; }

/* ---------- Cursore esagonale (solo mouse) ---------- */
.cursore { display: none; }
.ha-cursore .cursore {
  display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  pointer-events: none; color: #fff; mix-blend-mode: difference;
}
.cursore svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 5; transition: transform .3s var(--ease-out); }
.cursore span { position: relative; font: 600 .7rem/1 var(--ff-testo); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .2s ease; white-space: nowrap; }
.cursore.is-attivo svg { transform: scale(2.3); }
.cursore.is-attivo span { opacity: 1; }
