/* Armando & Griselda — versione esplosiva. Fondo delle sequenze #1A090F, una sola voce: Bricolage Grotesque. */
@font-face {
  font-family: 'Bricolage';
  src: url(../fonts/bricolage.woff2) format('woff2');
  font-weight: 200 800;
  font-stretch: 100% 100%;
  font-display: swap;
}

:root {
  --night: #1a090f;       /* fondo delle due sequenze, campionato dai fotogrammi */
  --surface: #2c111b;     /* amarena */
  --text: #fde9ec;        /* panna rosata */
  --text2: #d9a9b4;       /* rosa antico */
  --pink: #ff4f7b;        /* lampone neon */
  --gold: #e6bf72;        /* oro del vassoio */
  --berry: #a8122a;       /* rosso lampone della glassa: la scia e la frutta realistica */
  --ink: #18080a;
  --paper: #fde9ec;
  --paper-ink: #2a0a14;
  --paper-ink2: #6b2a3c;
  --g: clamp(16px, 4vw, 64px);
  --nav-h: 64px;
  --ab: 0px;              /* altezza barra azioni mobile */
  --font: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit }
p { margin: 0 }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: -999px; top: 8px }
.skip:focus { left: 16px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 12px }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px }
.anchor { position: absolute; top: 0 }

/* voce display: stessa famiglia, stretta e piena */
.fit { display: inline-block; white-space: nowrap; font-stretch: 100%; font-weight: 750; letter-spacing: -.025em; line-height: .94 }
.display { font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn--pink { background: var(--pink); color: var(--ink) }
.btn--pink:hover { background: var(--gold) }
.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--text) 55%, transparent) }
.btn--ghost:hover { background: var(--text); color: var(--night) }
.btn--dark { background: var(--ink); color: var(--pink) }
.btn--dark:hover { background: var(--night); color: var(--gold) }
.btn--xl { min-height: 60px; padding: 0 30px; font-size: 1.125rem }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--g);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), background-color .3s;
}
.nav.is-hidden { transform: translateY(-110%) }
.nav.is-solid { background: color-mix(in oklch, var(--night) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px) }
.nav__brand { margin-right: auto; font-weight: 750; font-stretch: 100%; font-size: 1.375rem; letter-spacing: -.02em; text-decoration: none }
.nav__brand span { color: var(--pink) }
.nav__links { display: flex; gap: 24px }
.nav__links a { text-decoration: none; font-weight: 550; opacity: .82 }
.nav__links a:hover { opacity: 1; color: var(--pink) }
.nav__cta { min-height: 40px; padding: 0 16px; font-size: .9375rem }
/* in cima la barra è trasparente sul rosa della pasticceria, il primo tempo: inchiostro scuro e azione scura. Senza JS resta piena */
html.js .nav:not(.is-solid) { color: var(--paper-ink) }
html.js .nav:not(.is-solid) .nav__brand span, html.js .nav:not(.is-solid) .nav__links a:hover { color: #fff }
html.js .nav:not(.is-solid) .nav__cta { background: var(--paper-ink); color: #ffe7cf }
html.js .nav:not(.is-solid) .nav__cta:hover { background: #fff; color: var(--paper-ink) }
html:not(.js) .nav { background: color-mix(in oklch, var(--night) 86%, transparent) }

.status {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px;
  font-weight: 650; font-size: .875rem; background: color-mix(in oklch, var(--text) 10%, transparent);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--text2) }
.status[data-open="true"]::before { background: #63e38a }
.status[data-open="false"]::before { background: var(--pink) }
.kicker { font-size: .9375rem; line-height: 1.35; color: var(--text2) }
.kicker strong { color: var(--text); font-weight: 650 }

/* ---------- 1. hero «Dalle 7 alle 22»: cinque tempi; ogni parola entra come una tenda ---------- */
/* il colore di ogni banda è il fondo misurato sul suo video: il quadrato dei fotogrammi si fonde con la pagina */
.day { position: relative; background: #1e3560 }
.day__list { list-style: none; margin: 0; padding: 0 }
.t {
  --band: #1e3560; --ink: #ffe3ad;
  position: relative; height: 100svh; min-height: 560px; overflow: clip; background: var(--band); color: var(--ink);
  isolation: isolate;   /* ogni tempo è un livello a sé: la tenda successiva copre tutto, quadrato e parola compresi */
}
.t--pasticceria { --band: #fd4a72; --ink: #2a0a14 }
.t--colazione { --band: #f8b61c; --ink: #2b1605 }
.t--spritz { --band: #482668; --ink: #ffbe73 }
.t--focaccia { --band: #ca291b; --ink: #ffe6c2 }
.t--pane { --band: #1e3560; --ink: #ffe3ad }
.t__sq { position: absolute; z-index: 1; left: 50%; top: 0; translate: -50% 0; height: 100%; aspect-ratio: 1 }
.t__poster, .t__still, .t__canvas { position: absolute; inset: 0; width: 100%; height: 100% }
.t__still { display: none }
.t__word {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav-h) + 1.5svh); margin: 0; text-align: center;
  font-size: clamp(3.5rem, 12vw, 24svh); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94;
  text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.t__word span { display: inline-block }
.t__when {
  position: absolute; z-index: 2; left: var(--g); bottom: 5svh; max-width: 18ch; margin: 0;
  font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 700; font-stretch: 100%; line-height: 1.1; letter-spacing: -.015em;
}
.day__intro { position: absolute; z-index: 3; right: var(--g); bottom: 5svh; display: grid; justify-items: end; gap: 14px; max-width: 26ch; text-align: right }
.day__h { margin: 0; font-size: clamp(1.75rem, 2.4vw, 2.375rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.02em; line-height: .95 }
.day__h > span:first-child { color: #fff }   /* sul rosa della pasticceria */
.day__sub { display: block; margin-top: 8px; font-size: clamp(.9375rem, 1.05vw, 1.0625rem); font-weight: 600; font-stretch: 100%; letter-spacing: -.01em; line-height: 1.3; opacity: .82 }
.t .status { background: color-mix(in oklch, var(--ink) 14%, transparent) }
.t .status[data-open="false"]::before { background: var(--ink) }
.day__hint { display: none }
.day__end { position: relative; z-index: 3; padding: 12svh var(--g); background: #1e3560; color: #ffe7cf; display: grid; gap: 16px; justify-items: start }
.day__end-h { font-size: clamp(2.75rem, 6vw, 6.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }
.day__end-h span { color: var(--pink) }
.day__end .kicker { color: #bccbec } .day__end .kicker strong { color: #ffe7cf }
.day__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px }
/* il post vero del bar nel tempo spritz (foto del cliente, da Instagram). Su desktop sta a destra del calice: in altezza
   tra la parola (alta 0,94 × il corpo, che riempie il 94% della larghezza) e il fondo, in larghezza fino a 40px dal bordo
   del calice (al 70% del quadrato, scalato 1,05). Testata e piede valgono circa 100px, la foto è 4:5 */
.igp {
  --igp-w: clamp(240px, min((93.5svh - 188px - min(10.76vw, 23.5svh)) / 1.25, 50vw - 21svh - var(--g) - 40px), 480px);
  position: absolute; z-index: 2; right: var(--g); bottom: 5svh; display: block; width: var(--igp-w);
  background: #fffaf7; color: var(--paper-ink); border-radius: 14px; overflow: hidden; text-decoration: none;
  transform-origin: 50% 100%; box-shadow: 0 34px 60px -24px rgb(18 4 30 / .7), 0 12px 24px -12px rgb(18 4 30 / .5);
}
.igp__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px }
.igp__av {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fd4a72; color: var(--paper-ink); font-size: .6875rem; font-weight: 800; letter-spacing: -.02em;
}
.igp__who { flex: 1; min-width: 0; display: grid; font-size: .875rem; line-height: 1.25 }
.igp__who strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.igp__who small { font-size: .75rem; opacity: .68 }
.igp__ig { flex: none; width: 22px; height: 22px }
.igp picture, .igp__img { display: block; width: 100% }
.igp picture { background: #d9d0cb }   /* finché la foto arriva */
.igp__foot { display: flex; justify-content: space-between; gap: 8px; padding: 11px 12px 12px; font-size: .875rem; font-weight: 650 }
.igp:hover .igp__foot, .igp:focus-visible .igp__foot { text-decoration: underline; text-underline-offset: 3px }
.igp:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px }
@media (min-width: 768px) and (max-aspect-ratio: 6/5) {   /* tablet in verticale: il calice prende tutta la larghezza, il post gli va sopra */
  .igp { --igp-w: clamp(240px, min((93.5svh - 188px - min(10.76vw, 23.5svh)) / 1.25, 52vw), 480px) }
}

/* con il motion: le cinque bande una sopra l'altra nello stage fermo, ogni tempo entra con la sua tenda */
html.js:not(.reduce) .day__stage { position: relative; height: 100svh; min-height: 560px; overflow: clip }
html.js:not(.reduce) .t { position: absolute; inset: 0; height: auto; min-height: 0 }
html.js:not(.reduce) .t + .t { clip-path: inset(0 0 0 100%) }
/* apertura: la pasticceria è un fermo, quindi entra lei. Stato di partenza già al primo disegno, poi lo porta a zero il JS */
html.js:not(.reduce) .t:first-child .t__word { overflow: clip }
html.js:not(.reduce) .t:first-child .t__word span { transform: translateY(105%) }
html.js:not(.reduce) .t:first-child .t__poster { transform: translateY(3%) scale(1.08) }
html.js:not(.reduce) .day__end {
  position: absolute; inset: auto auto 7svh var(--g); padding: 0; background: none; max-width: 36rem; visibility: hidden;
}
html.js:not(.reduce) .day__hint {
  display: block; position: absolute; z-index: 3; left: 50%; bottom: 2.2svh; translate: -50% 0;
  font-size: .8125rem; font-weight: 650; letter-spacing: .02em; opacity: .75;
}
/* senza JS o con reduced motion: cinque fermi, uno per tempo, con il gesto già compiuto */
html:not(.js) .t__poster, html.reduce .t__poster, html:not(.js) .t__canvas, html.reduce .t__canvas { display: none }
html:not(.js) .t__still, html.reduce .t__still { display: block }
html:not(.js) .igp, html.reduce .igp { rotate: -2deg }

@media (max-width: 767px) {
  .t__sq { top: calc(var(--nav-h) + 8svh); translate: -50% 0; width: 112vw; height: auto }   /* il filo esce da dietro la parola */
  .t__word { font-size: clamp(2.75rem, 17vw, 9rem) }
  .t__when { bottom: calc(var(--ab) + 18px) }
  /* su telefono il nome è già nella barra: il titolo resta per i lettori di schermo, orario e azioni sono nel riquadro finale */
  .day__intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
  .t__word { top: calc(var(--nav-h) + 6px) }
  /* su telefono il post è quadrato e più grande: sale sopra il calice e lo copre tutto. Centrato tra la parola (in basso a
     62px + 0,94 × il corpo) e la barra delle azioni, ma mai più giù del bordo del calice (al 19,5% del quadrato già scalato
     1,05, cioè nav + 8svh + 21,9vw) meno 14px, se no il bordo spunta sopra la card */
  .igp {
    --igp-w: clamp(220px, min(84vw, 100svh - 310px - min(10.53vw, 14.1svh)), 420px); left: 0; right: 0; margin-inline: auto;
    bottom: max((100svh + var(--ab) - min(10.53vw, 14.1svh) - var(--igp-w) - 158px) / 2, 92svh - var(--nav-h) - 21.9vw - var(--igp-w) - 84px);
  }
  /* senza motion la banda dello spritz si allunga e il post scende sotto il quadrato */
  html:not(.js) .t--spritz, html.reduce .t--spritz { height: auto; min-height: 100svh; padding: calc(var(--nav-h) + 8svh + 112vw + 12px) 0 calc(var(--ab) + 28px) }
  html:not(.js) .igp, html.reduce .igp { --igp-w: min(84vw, 420px); position: relative; inset: auto }
  html.js:not(.reduce) .day__hint { bottom: calc(var(--ab) + 4px); left: auto; right: var(--g); translate: none }
  html.js:not(.reduce) .day__end { left: var(--g); right: var(--g); bottom: auto; top: calc(var(--nav-h) + 16px) }
  .day__cta .btn { flex: 1 }
}

/* ---------- striscia: tutto quello che c'è al banco ---------- */
.ticker { overflow: clip; background: var(--pink); color: var(--ink); padding: 14px 0 }
.ticker__track { display: flex; width: max-content; background: var(--pink); animation: ticker 38s linear infinite }
.ticker span {
  display: flex; align-items: center; gap: .5em; padding-right: .5em; white-space: nowrap;
  font-size: clamp(2rem, 5.2vw, 4.75rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.02em; line-height: 1;
}
.ticker span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--night) }
@keyframes ticker { to { transform: translateX(-50%) } }
html.reduce .ticker__track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--g) }
html.reduce .ticker span:nth-child(n + 7) { display: none }

/* ---------- 3. frutta realistica: il lampone parte e la sua scia rosso lampone apre la sezione ---------- */
.frutta { position: relative; background: var(--berry) }
.frutta__stage { position: relative; height: 100svh; min-height: 600px; overflow: clip; background: var(--night) }
.frutta__trail { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none }
.frutta__intro {
  position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--nav-h) + 5svh); margin: 0; text-align: center;
  font-size: clamp(2.75rem, 8.4vw, 8.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94; color: var(--text);
}
.frutta__fly { position: absolute; z-index: 2; left: 50%; top: 64%; width: min(34vw, 50svh); translate: -50% -50% }
.frutta__berry { position: relative; z-index: 1; display: block; width: 100%; height: auto; transform-origin: 50% 100% }
.frutta__shadow { position: absolute; left: 6%; right: 6%; bottom: -5%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .7), transparent) }
/* sul rosso: i loro dolci che fluttuano girati, dietro al testo */
.frutta__float { position: absolute; inset: 0; z-index: 2; pointer-events: none }
.frutta__float img { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; rotate: var(--r); filter: drop-shadow(0 2.4vw 2.6vw rgb(60 0 10 / .45)); animation: galleggia 7s ease-in-out var(--d) infinite alternate }
@keyframes galleggia { from { translate: 0 0 } to { translate: 0 -2.2vw } }
html.js:not(.reduce) .frutta__float { visibility: hidden }
html:not(.js) .frutta__float, html.reduce .frutta__float { display: none }
@media (max-width: 767px) { .frutta__float img { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: calc(var(--w) * 1.9) } }
@media (min-width: 768px) and (min-height: 860px) { .frutta__float img { top: var(--yt, var(--y)) } }
.frutta__reveal { position: absolute; z-index: 3; left: var(--g); right: var(--g); bottom: 8svh; display: grid; gap: 18px; justify-items: start; color: #fde9ec }
.frutta__h { margin: 0; font-size: clamp(3rem, 9.4vw, 10rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }
.frutta__copy { max-width: 36ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; line-height: 1.3; letter-spacing: -.015em }
.btn--light { background: #fde9ec; color: #5a0716 }
.btn--light:hover { background: var(--gold) }
html.js:not(.reduce) .frutta__reveal { visibility: hidden }
/* senza motion: il lampone fermo sul fondo scuro, sotto la parte rossa con il testo */
html:not(.js) .frutta__trail, html.reduce .frutta__trail { display: none }
html:not(.js) .frutta__stage, html.reduce .frutta__stage { height: auto; min-height: 0; padding-top: calc(var(--nav-h) + 4svh); display: grid; justify-items: center }
html:not(.js) .frutta__intro, html.reduce .frutta__intro { position: static }
html:not(.js) .frutta__fly, html.reduce .frutta__fly { position: relative; left: auto; top: auto; translate: none; margin: 5svh 0 8svh }
html:not(.js) .frutta__reveal, html.reduce .frutta__reveal { position: static; justify-self: stretch; padding: 10svh var(--g) 2svh; background: var(--berry) }
.frutta .vetrina { background: var(--berry) }
.frutta .vetrina__h { color: #fde9ec }
.frutta .fr__d { color: rgb(253 233 236 / .78) }
.frutta .fr data { color: var(--gold) }
@media (max-width: 767px) {
  .frutta__fly { width: 74vw; top: 60% }
  .frutta__reveal { bottom: calc(var(--ab) + 20px) }
  .frutta__reveal .btn { width: 100% }
}

.vetrina { padding: clamp(72px, 9vw, 140px) var(--g) clamp(96px, 12vw, 180px) }
.vetrina__h { margin: 0 0 clamp(28px, 4vw, 56px); font-size: clamp(2.75rem, 8.4vw, 8rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94; color: var(--gold) }
.vetrina__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px }
.fr { display: grid; grid-template-columns: 1fr auto; align-content: start; column-gap: 8px }
.fr img { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; background: var(--surface) }
.fr__n { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.02em; line-height: 1 }
.fr__d { grid-column: 1; margin-top: 4px; font-size: .9375rem; color: var(--text2) }
.fr data { grid-column: 2; grid-row: 2; font-weight: 750; color: var(--gold); font-variant-numeric: tabular-nums }
.fr--wide { grid-column: 1 / -1 }
.fr--wide img { aspect-ratio: 16 / 10 }
@media (min-width: 900px) {
  .vetrina__grid { grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 20px }
  .fr--wide { grid-column: auto }
  .fr--wide img { aspect-ratio: auto; height: calc(100% - 0px); max-height: none }
  .fr--wide { grid-template-rows: 1fr auto auto }
  .fr--wide img { height: 100%; min-height: 0 }
}

/* ---------- 4. torte su ordinazione ---------- */
.torte { position: relative; overflow: clip; isolation: isolate; background: var(--pink); color: var(--ink); padding: clamp(80px, 10vw, 150px) 0 0 }
.torte__h { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column-reverse; padding: 0 var(--g) }
.torte__sub { font-size: clamp(1.625rem, 3.4vw, 3.25rem); font-weight: 750; font-stretch: 85%; letter-spacing: -.02em; line-height: 1 }
.torte__word { display: block; margin-top: clamp(8px, 2vw, 24px); text-align: center; color: var(--night) }
.torte__word .fit { line-height: .8 }
/* sul telefono una torta sola, intera e al centro (la prima, matrimoni); le altre due da 900 px in su */
.torte__row { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 12px; margin: -14vw 0 0; padding: 0 var(--g) }
.cake { position: relative; flex: none; margin: 0 }
.cake:not(:first-child) { display: none }
.cake img { height: min(58svh, 124vw); width: auto; max-width: 100%; object-fit: contain }
.cake figcaption {
  position: absolute; bottom: 14px; left: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: .875rem; white-space: nowrap;
}
@media (min-width: 900px) {
  .torte__row { margin-top: -20vw; justify-content: space-between; gap: 2vw }
  .cake:not(:first-child) { display: block }
  .cake img { height: min(66svh, 34vw); max-width: none }
  .cake figcaption { bottom: 100%; left: 0; right: 0; width: fit-content; margin: 0 auto 12px; background: var(--paper); color: var(--ink) }
}

/* configuratore: il bancone su cui poggiano le torte */
.ordina {
  position: relative; z-index: 3; display: grid; gap: 26px;
  margin: 0; padding: clamp(32px, 5vw, 72px) var(--g) clamp(56px, 7vw, 96px);
  background: var(--ink); color: var(--text);
}
.ordina__h { margin: 0 0 10px; font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .88 }
.ordina__lead { max-width: 44ch; color: var(--text2); font-size: 1.0625rem }
.ordina__f { margin: 0; padding: 0; border: 0; min-width: 0 }
.ordina__f legend, .ordina__f .legend { display: block; margin-bottom: 12px; padding: 0; font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { position: relative; cursor: pointer }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 1.0625rem; box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--text) 40%, transparent);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--text) }
.chip input:checked + span { background: var(--pink); color: var(--ink); box-shadow: none }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px }
.ordina__row { display: grid; gap: 20px }
.ordina__f--field input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 1.0625rem; color-scheme: dark;
}
.ordina__f--field input::placeholder { color: color-mix(in oklch, var(--text2) 80%, transparent) }
.ordina__send { display: grid; gap: 16px; align-items: center; padding-top: 8px; border-top: 1px solid color-mix(in oklch, var(--text) 14%, transparent) }
.ordina__msg { padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: var(--surface); color: var(--text); font-size: 1rem; line-height: 1.4; max-width: 60ch }
@media (min-width: 900px) {
  .ordina { grid-template-columns: 1fr 1fr; column-gap: 6vw; row-gap: 32px }
  .ordina__head { grid-row: span 2 }
  .ordina__row { grid-column: 2; grid-template-columns: 220px 1fr }
  .ordina__send { grid-column: 1 / -1; grid-template-columns: 1fr auto; column-gap: 32px }
}

/* ---------- 5. il banco ---------- */
.banco { position: relative; background: var(--paper); color: var(--paper-ink); padding: clamp(64px, 7vw, 112px) var(--g) }
.banco__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 3.5vw, 48px) }
.banco__head p { margin: 0 }
/* titolo su una riga: sale da sotto il bordo dell'h2 (main.js) */
.banco__h { margin: 0; overflow: clip; font-size: clamp(3.25rem, 6.4vw, 6.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }
.banco__t { display: block }
.banco__intro { font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); font-weight: 600; line-height: 1.32; max-width: 40ch; letter-spacing: -.01em }
.banco__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px }
.cat { border-top: 2px solid var(--paper-ink) }
/* due per riga sul telefono: «Pizza e focaccia» (~7,3 em con la maschera delle righe) resta su una riga */
.cat__name { margin: 0; padding: 12px 0; font-size: min(2.5rem, 5.8vw); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .9 }
.cat__img { margin: 0; aspect-ratio: 4 / 3; overflow: clip; background: var(--surface) }
.cat__img img { width: 100%; height: 100%; object-fit: cover }

@media (min-width: 1000px) {
  .banco__head { grid-template-columns: 1fr minmax(0, 40ch); align-items: end; column-gap: 5vw; row-gap: 12px }
  .banco__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px }
  /* un quarto di riga: il nome più lungo («Pizza e focaccia», 6,7 em) resta su una riga dentro la colonna */
  .cat__name { padding: 18px 0 16px; font-size: min(3.25rem, calc(3vw - 3px)) }
}

/* ---------- 6. recensioni ---------- */
.voci { display: grid; gap: clamp(56px, 8vw, 112px); padding: clamp(96px, 13vw, 200px) var(--g) }
.voci__h { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 650; color: var(--text2) }
.voci__score { display: block; color: var(--gold); font-size: clamp(4.5rem, 12vw, 10rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }
.voce { margin: 0 }
.voce p { margin-bottom: 20px; font-size: clamp(2rem, 5.4vw, 5rem); font-weight: 750; font-stretch: 85%; line-height: 1.02; letter-spacing: -.02em; max-width: 19ch }
.voce footer { color: var(--text2); font-size: 1rem }
.voce--r { justify-self: end; text-align: right }
.voce--r p { margin-left: auto }
.voci__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
/* il logo di Instagram al posto della scritta: l'icona dell'app con il suo gradiente */
.ig {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  transition: transform .25s;
}
.ig:hover { transform: scale(1.08) }
.ig svg { width: 28px; height: 28px }

/* ---------- 7. dove e quando ---------- */
.dove { display: grid; gap: 40px; background: var(--paper); color: var(--paper-ink); padding: clamp(80px, 11vw, 160px) var(--g) }
.dove__h { margin: 0 0 22px; max-width: 12ch; font-size: clamp(3rem, 7.4vw, 7rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .88 }
.status--paper { background: color-mix(in oklch, var(--paper-ink) 8%, transparent) }
.dove__map { position: relative; display: block; aspect-ratio: 1100 / 640; overflow: clip; background: #f3d3db; align-self: end }
.dove__map img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .7, .2, 1) }
.dove__map:hover img { scale: 1.04 }
.dove__map-cta { position: absolute; right: 14px; bottom: 14px; padding: 12px 20px; border-radius: 999px; background: var(--pink); color: var(--ink); font-weight: 700 }
.dove__map small { position: absolute; left: 10px; bottom: 8px; font-size: .6875rem; color: var(--paper-ink2) }
.week { width: 100%; max-width: 520px; margin-top: 28px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 1.125rem }
.week th, .week td { padding: 11px 0; border-bottom: 1px solid color-mix(in oklch, var(--paper-ink) 15%, transparent); text-align: left; font-weight: 500 }
.week td { text-align: right }
.week tr.is-today th, .week tr.is-today td { font-weight: 750 }
.week tr.is-today th::after { content: " · oggi"; color: var(--paper-ink2); font-weight: 600 }
@media (min-width: 1000px) {
  .dove { grid-template-columns: 1fr 1.25fr; column-gap: 6vw; align-items: stretch }
  .dove__map { aspect-ratio: auto; min-height: 100% }
}

/* ---------- 8. finale ---------- */
.finale { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 100svh; overflow: clip }
.finale__media { position: absolute; inset: 0; z-index: -1; overflow: clip }
.finale__media img { width: 100%; height: 100%; object-fit: cover }
.finale__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--night) 8%, rgb(26 9 15 / .74) 48%, rgb(26 9 15 / .32));
}
.finale__body { padding: 0 var(--g) clamp(56px, 8vw, 120px) }
.finale__h { margin: 0 0 18px; font-size: clamp(4rem, 13vw, 13rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: .94 }
.finale__h span { display: block }
.finale__today { margin-bottom: 32px; font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.02em; line-height: 1; color: var(--gold) }
.finale__cta { display: flex; flex-wrap: wrap; gap: 12px }

/* ---------- footer ---------- */
.foot { padding: 48px var(--g) calc(48px + var(--ab)); border-top: 1px solid color-mix(in oklch, var(--text) 12%, transparent); color: var(--text2); font-size: .9375rem; display: grid; gap: 10px }
.foot__brand { color: var(--text); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.025em; line-height: 1 }
.foot__brand span { color: var(--pink) }
.foot__note { max-width: 70ch; font-size: .8125rem }

/* ---------- barra azioni mobile ---------- */
.actionbar { display: none }
@media (max-width: 767px) {
  :root { --nav-h: 56px; --ab: 72px }
  .nav__links, .nav__cta { display: none }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in oklch, var(--night) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid color-mix(in oklch, var(--text) 12%, transparent);
  }
  .actionbar a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; font-weight: 650; font-size: .9375rem; text-decoration: none }
  .actionbar a.is-main { background: var(--pink); color: var(--ink) }
}
@media (min-width: 768px) and (max-width: 1099px) { .nav__links { display: none } }
