/* Lanzani Fratelli — anteprima. Direzione: "la bottega dello stracciaio":
   cartellini scritti a pennarello, tenda a righe, bilancia, metro da sarta, cuciture. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("/assets/fonts/kalam-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f0e6;
  --paper-2: #eee4d2;
  --card: #fffaf1;
  --ink: #1d1f22;
  --ink-2: #2a2d31;
  --muted: #5d6268;
  --line: #ddd2bf;
  --red: #b62a2f;
  --red-dark: #8f1f24;
  --yellow: #f3d24f;
  --pink: #f6a9c2;
  --blue: #8cc2ee;
  --green: #8fd6a2;
  --wa: #17784a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Kalam", "Comic Sans MS", "Segoe Print", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- tipografia ---------- */
.kicker { display: inline-flex; align-items: center; gap: .55rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.kicker--light { color: var(--yellow); }
.kicker__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(182, 42, 47, .16); }
.h2 { font: 560 clamp(2.3rem, 5.4vw, 4.2rem)/1.02 var(--serif); letter-spacing: -.012em; word-spacing: .06em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.h2 em, .hero__title em { font-style: italic; font-weight: 480; color: var(--red); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34rem; margin-top: 1.25rem; }
.label { display: block; font: 600 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.stars { color: #e3a11a; letter-spacing: .08em; }

.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head__side { max-width: 26rem; color: var(--muted); }

/* ---------- pulsanti ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.4rem;
  border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 650 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(29, 31, 34, .5); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-dark); }
.btn--green { --bg: var(--wa); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--small { min-height: 2.6rem; padding: .55rem 1rem; font-size: .92rem; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.round {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; cursor: pointer; font-size: 1.2rem;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.round:hover { background: var(--ink); color: #fff; }
.round:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }

/* ---------- metro da sarta (avanzamento pagina) ---------- */
.tape { position: fixed; inset: 0 0 auto 0; height: 9px; z-index: 120; pointer-events: none; }
.tape__fill {
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(29, 31, 34, .85) 0 1.5px, transparent 1.5px 40px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(29, 31, 34, .7) 0 1px, transparent 1px 8px) left bottom / 100% 4px no-repeat,
    var(--yellow);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0);
}

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(246, 240, 230, .88); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(29, 31, 34, .35); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.4rem; padding-top: 6px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; line-height: 1; }
.brand__name { font: 850 1.25rem/1 var(--sans); letter-spacing: .06em; }
.brand__box { background: var(--red); color: #fff; font: 750 .62rem/1 var(--sans); letter-spacing: .32em; padding: 3px 4px 3px 7px; }
.brand--light .brand__name { color: #fff; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 550; font-size: .95rem; position: relative; padding-block: .3rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__call { flex: none; }

.status { display: inline-flex; align-items: center; gap: .45rem; font: 600 .82rem/1.2 var(--sans); padding: .4rem .75rem; border-radius: 999px; background: #fde7e5; color: var(--red-dark); white-space: nowrap; }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex: none; }
.status[hidden] { display: none; }
.status.is-open { background: #dcf3e3; color: #13633c; }
.status.is-open::before { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19, 99, 60, .5); } 100% { box-shadow: 0 0 0 9px rgba(19, 99, 60, 0); } }
.status--big { font-size: .9rem; padding: .5rem .9rem; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 981px) and (max-height: 800px) { .hero { padding-block: 2rem 3rem; } }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.hero__title { font: 600 clamp(3rem, min(7.4vw, 11svh), 6.4rem)/.95 var(--serif); letter-spacing: -.02em; word-spacing: .08em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.hero__title em { display: inline-block; position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: -.06em; height: .12em;
  background: repeating-linear-gradient(90deg, var(--red) 0 .28em, transparent .28em .44em);
  transform: scaleX(0); transform-origin: left; animation: sew 1.2s .9s var(--ease) forwards;
}
@keyframes sew { to { transform: scaleX(1); } }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 33rem; margin-top: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.hero__proof li { display: flex; flex-direction: column; gap: .15rem; }
.hero__proof strong { font-weight: 700; }
.hero__proof span:not(.stars) { color: var(--muted); font-size: .94rem; }

.hero__visual { position: relative; padding-top: 14px; }
.frame { position: relative; aspect-ratio: 1200 / 775; }
.frame > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(29, 31, 34, .55); }

/* la tenda a righe che si arrotola e scopre il negozio */
.awning, .awning-roll, .awning-roll__valance {
  background-image: repeating-linear-gradient(90deg, var(--red) 0 30px, #f7efe0 30px 60px);
}
.awning {
  position: absolute; inset: 0; border-radius: var(--radius);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(0, 0, 0, .1) 46px 48px, rgba(255, 255, 255, .08) 48px 50px),
    repeating-linear-gradient(90deg, var(--red) 0 30px, #f7efe0 30px 60px);
  animation: awning-up 1.7s .45s cubic-bezier(.72, 0, .2, 1) both;
}
.awning-roll {
  position: absolute; left: -2.5%; width: 105%; height: 30px; top: -14px; border-radius: 15px; z-index: 2;
  box-shadow: inset 0 -9px 10px -4px rgba(0, 0, 0, .45), inset 0 8px 8px -5px rgba(255, 255, 255, .55), 0 10px 18px -8px rgba(0, 0, 0, .5);
  animation: roll-up 1.7s .45s cubic-bezier(.72, 0, .2, 1) both;
}
.awning-roll__valance {
  position: absolute; left: 2.4%; right: 2.4%; top: 22px; height: 26px; z-index: -1;
  -webkit-mask: radial-gradient(circle at 15px 9px, #000 14.5px, transparent 15px) 0 0 / 30px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
  mask: radial-gradient(circle at 15px 9px, #000 14.5px, transparent 15px) 0 0 / 30px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .25)) brightness(.96);
}
@keyframes awning-up { from { clip-path: inset(0 0 0 0 round var(--radius)); } to { clip-path: inset(0 0 100% 0 round var(--radius)); } }
@keyframes roll-up { from { top: calc(100% - 22px); } to { top: -14px; } }

.tag {
  position: relative; display: inline-block;
  font: 700 1.3rem/1.15 var(--hand); color: var(--ink);
  padding: .7rem 1rem .6rem; background: var(--yellow);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 12px 20px -12px rgba(0, 0, 0, .45);
  transform: rotate(-2.5deg);
}
.tag::before { /* nastro adesivo */
  content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px;
  background: rgba(255, 255, 255, .55); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transform: rotate(3deg);
}
.tag--yellow { background: var(--yellow); }
.tag--pink { background: var(--pink); }
.tag--blue { background: var(--blue); }
.tag--green { background: var(--green); }
.hero__tag { position: absolute; right: -.5rem; bottom: -1.6rem; z-index: 3; transform: rotate(4deg); animation: tag-in .8s 2s var(--ease) both; }
@keyframes tag-in { from { opacity: 0; transform: translateY(-14px) rotate(-8deg); } to { opacity: 1; transform: rotate(4deg); } }

/* ---------- nastro reparti ---------- */
.ribbon-wrap { overflow: hidden; padding-block: 1.5rem; margin-block: -1.5rem; position: relative; z-index: 1; }
.ribbon { position: relative; background: var(--red); color: #fff7ea; overflow: hidden; padding-block: 1rem; transform: rotate(-1.2deg); margin-inline: -2%; box-shadow: 0 14px 30px -18px rgba(143, 31, 36, .8); }
.ribbon::before, .ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(255, 247, 234, .55); }
.ribbon::before { top: 6px; }
.ribbon::after { bottom: 6px; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__list { display: flex; flex: none; }
.ribbon__list li { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--hand); padding-inline: 1.1rem; white-space: nowrap; display: flex; align-items: center; gap: 2.2rem; }
.ribbon__list li::after { content: "✂"; font-family: var(--sans); font-size: .8em; opacity: .7; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- al chilo ---------- */
.kilo { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 100%); }
.kilo__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.kilo__scale { max-width: 440px; width: 100%; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(29, 31, 34, .28)); }
.scale__tick { stroke: var(--ink); stroke-width: 1.5; }
.scale__tick--major { stroke-width: 3.5; }
.scale__num { font: 600 21px var(--sans); fill: var(--ink); text-anchor: middle; dominant-baseline: middle; }
.scale__brand { font: 800 15px var(--sans); letter-spacing: .22em; fill: var(--red); text-anchor: middle; }
.scale__unit { font: italic 500 30px var(--serif); fill: var(--ink); text-anchor: middle; }
.scale__note { font: 700 19px var(--hand); fill: var(--muted); text-anchor: middle; }
.scale__needle { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(var(--a, -135deg)); }

.steps { display: grid; gap: 1rem; margin-top: 2.2rem; counter-reset: s; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps__n { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--red); color: #fff; font: italic 600 1.35rem/1 var(--serif); }
.steps h3 { font: 600 1.35rem/1.2 var(--serif); }
.steps p { color: var(--muted); margin-top: .2rem; }

/* cucitura che si "cuce" entrando in vista */
.stitch { max-width: var(--wrap); margin: 0 auto; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 24px); clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease); opacity: .7; }
html.js .stitch[data-reveal] { opacity: .7; transform: none; }
.stitch.is-in, html:not(.js) .stitch { clip-path: inset(0 0 0 0); }

/* ---------- reparti ---------- */
.depts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
.dept { display: flex; flex-direction: column; }
.dept__photo { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--paper-2); }
.dept__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.dept:hover .dept__photo img { transform: scale(1.06); }
.dept__tag { align-self: flex-start; margin: -1.9rem 0 0 .9rem; max-width: calc(100% - 1.8rem); transform-origin: 50% -10px; }
.dept:nth-child(even) .dept__tag { transform: rotate(2deg); }
.dept:hover .dept__tag { animation: swing 1.1s var(--ease); }
@keyframes swing { 0% { transform: rotate(-2.5deg); } 25% { transform: rotate(4deg); } 50% { transform: rotate(-3deg); } 75% { transform: rotate(1.5deg); } 100% { transform: rotate(-2.5deg); } }
.dept__tag h3 { font: inherit; }
.dept > p { margin-top: 1rem; color: var(--muted); padding-inline: .2rem; }

.news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.4rem); background: var(--card); border: 2px dashed #c9bda8; border-radius: 18px; }
.news__copy { max-width: 36rem; }
.news__title { font: 600 1.6rem/1.15 var(--serif); margin-bottom: .4rem; }
.news__copy p:not(.news__title) { color: var(--muted); }
.news__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- dal 1975 ---------- */
.story { background: var(--ink); color: #f6f0e6; overflow: hidden; }
.story .lead { color: #c9c4ba; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__year {
  font: 700 clamp(6rem, 19vw, 15rem)/.85 var(--serif); letter-spacing: -.05em; font-variation-settings: "opsz" 144;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  background: linear-gradient(90deg, var(--red), #e2524f) 0 0 / 0% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 2.2s var(--ease), opacity .8s var(--ease), transform .8s var(--ease) !important;
}
.story__year.is-in, html:not(.js) .story__year { background-size: 100% 100%; }
.reasons { margin-top: 2.2rem; display: grid; }
.reasons li { padding-block: 1.1rem; border-top: 2px dashed rgba(246, 240, 230, .2); }
.reasons h3 { font: 600 1.3rem/1.2 var(--serif); color: #fff; }
.reasons p { color: #c9c4ba; margin-top: .25rem; }

/* ---------- recensioni ---------- */
.reviews__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.reviews__score { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; text-align: left; color: var(--muted); font-size: .95rem; }
.reviews__num { font: 600 3.6rem/1 var(--serif); color: var(--ink); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.note { position: relative; padding: 2.2rem 1.7rem 1.6rem; background: #fff6c9; box-shadow: 0 18px 30px -20px rgba(29, 31, 34, .45); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.note:nth-child(2) { background: #fde0ea; transform: rotate(1.2deg); }
.note:nth-child(3) { background: #dcecfb; transform: rotate(-.6deg); }
.note:hover { transform: rotate(0) translateY(-4px); }
.note::before { content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f06a6e, var(--red) 60%, var(--red-dark)); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }
.note blockquote { font: italic 450 1.3rem/1.4 var(--serif); }
.note blockquote::before { content: "“"; }
.note blockquote::after { content: "”"; }
.note figcaption { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; font: 700 1.1rem/1 var(--hand); }

/* ---------- galleria ---------- */
.gallery { padding-bottom: clamp(4.5rem, 10vw, 8rem); overflow: hidden; }
.gallery .head { margin-bottom: 2rem; }
.gallery__nav { display: flex; gap: .6rem; }
.gallery__track {
  display: flex; gap: clamp(.9rem, 2vw, 1.4rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  padding-bottom: .5rem;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track li { flex: none; width: clamp(260px, 34vw, 470px); scroll-snap-align: start; }
.gallery__track li:nth-child(odd) { margin-top: 1.5rem; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.05); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 21, 23, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }

/* ---------- pop-up promo federe ---------- */
.promo { width: min(72rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; border-radius: 16px; overflow: auto; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.promo[open] { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); animation: promo-in .6s var(--ease); }
.promo::backdrop { background: rgba(20, 21, 23, .7); }
.promo__img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 52% 50%; background: var(--red-dark); }
.promo__body { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.promo__body h2 { font: 600 clamp(1.7rem, 4.4vw, 2.4rem)/1.1 var(--serif); }
.promo__small { font-size: .88rem; color: var(--muted); }
.promo__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; padding-top: .4rem; }
.promo__x { position: absolute; top: .7rem; right: .7rem; background: var(--card); }
@keyframes promo-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (max-width: 640px) {
  .promo[open] { grid-template-columns: 1fr; }
  .promo__img { height: 11rem; min-height: 0; object-position: center 40%; }
}
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 4.5rem 1rem 5.5rem; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(1200px, 100%); height: auto; max-height: calc(100dvh - 11rem); width: auto; object-fit: contain; border-radius: 6px; }
.lightbox__fig figcaption { font-size: .95rem; color: #d9d4ca; text-align: center; }
.lightbox .round { position: absolute; border-color: rgba(255, 255, 255, .6); color: #fff; }
.lightbox .round:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; font-size: 1.6rem !important; }
.lightbox__prev { left: 1rem; bottom: 1.2rem; }
.lightbox__next { right: 1rem; bottom: 1.2rem; }

/* ---------- visita ---------- */
.visit { background: var(--paper-2); }
.visit__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.facade { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(29, 31, 34, .5); position: sticky; top: 6rem; }
.facade img { width: 100%; }
.facade__ink { position: absolute; inset: 0; width: 100%; height: calc(100% - 2.6rem); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.ink { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ink-text { font: 700 58px var(--hand); fill: #fff; opacity: 0; transform: rotate(-4deg); transform-box: fill-box; transform-origin: center; }
.facade.is-in .ink--loop, html:not(.js) .ink { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s .3s var(--ease); }
.facade.is-in .ink--arrow { stroke-dashoffset: 0; transition: stroke-dashoffset .6s 1.4s var(--ease); }
.facade.is-in .ink--head { stroke-dashoffset: 0; transition: stroke-dashoffset .3s 1.95s var(--ease); }
.facade.is-in .ink-text, html:not(.js) .ink-text { opacity: 1; transition: opacity .5s 1.1s; }
.facade figcaption { background: var(--ink); color: #f6f0e6; padding: .7rem 1rem; font-size: .9rem; height: 2.6rem; }

.visit__info { display: grid; gap: 1.2rem; }
.hours, .contact, .parking { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.hours__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .8rem; }
.hours h3 { font: 600 1.45rem/1.2 var(--serif); }
.hours__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .6rem; border-bottom: 1px dashed var(--line); border-radius: 6px; }
.hours__list > div:last-child { border-bottom: 0; }
.hours__list dt { font-weight: 600; }
.hours__list dd { color: var(--muted); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .9rem; text-align: right; }
.hours__list .is-today { background: var(--yellow); border-color: transparent; }
.hours__list .is-today dt::after { content: " · oggi"; font: 700 .95rem var(--hand); color: var(--red-dark); }
.hours__list .is-today dd { color: var(--ink); }
.hours__note { margin-top: .8rem; font-size: .88rem; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact a { font: 600 1.35rem/1.2 var(--serif); text-decoration: none; color: var(--red); }
.contact strong { font-weight: 600; }
.parking__title { font: 600 1.25rem/1.2 var(--serif); margin-bottom: 1.1rem; }
.parking__note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.walk { display: flex; align-items: center; gap: .4rem; }
.walk__stop { flex: none; display: grid; place-items: center; height: 2.4rem; min-width: 2.4rem; padding-inline: .7rem; border-radius: 999px; font-weight: 750; font-size: .88rem; }
.walk__stop--shop { background: var(--red); color: #fff; }
.walk__stop--p { background: #2357a8; color: #fff; padding: 0; font-size: 1.05rem; border-radius: 8px; }
.walk__leg { position: relative; flex: 4 1 0; text-align: center; font: 700 1rem/1 var(--hand); color: var(--muted); padding-bottom: .9rem; }
.walk__leg--short { flex-grow: 3; }
.walk__leg::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); background-size: 12px 3px; animation: march 1s linear infinite; }
@keyframes march { to { background-position: 12px 0; } }
.visit__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); }
.faq__list details { border-bottom: 2px dashed var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.3 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--ink); font: 400 1.4rem/1 var(--sans); transition: transform .35s var(--ease), background-color .2s, color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq__list details p { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.faq__list details[open] p { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.faq__list a { color: var(--red); font-weight: 600; }

/* ---------- cta finale ---------- */
.final { background: var(--red); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }
.final::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 14px; pointer-events: none; }
.final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.final__title { font: 560 clamp(2rem, 4.6vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; max-width: 15ch; }
.final__phone { text-decoration: none; font: 600 clamp(2rem, 5vw, 3.8rem)/1 var(--serif); letter-spacing: -.02em; padding: 1.2rem 1.8rem; background: #fff; color: var(--red); border-radius: 18px; transform: rotate(-1.5deg); transition: transform .4s var(--ease), box-shadow .4s; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.final__phone .label { color: var(--muted); }
.final__phone:hover { transform: rotate(0) scale(1.03); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c9c4ba; padding-block: 3.5rem 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer strong { color: #fff; }
.footer__script { margin-top: .6rem; font: italic 500 1.5rem/1 var(--serif); color: #f08b8e; }
.footer__links { display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; background: linear-gradient(rgba(255, 255, 255, .12) 0 0) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat; font-size: .85rem; }

/* ---------- barra di chiamata (telefono) ---------- */
.callbar { display: none; }

/* ---------- comparsa allo scorrimento ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js .note[data-reveal].is-in { transform: rotate(-1.5deg); }
html.js .note:nth-child(2)[data-reveal].is-in { transform: rotate(1.2deg); }
html.js .note:nth-child(3)[data-reveal].is-in { transform: rotate(-.6deg); }
html.js .note[data-reveal].is-in:hover { transform: rotate(0) translateY(-4px); }
html.js .facade[data-reveal] { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .nav { display: none; }
  .header .status { margin-left: auto; }
  .depts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}
@media (max-width: 899px) {
  .hero__grid, .kilo__grid, .story__grid, .visit__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy .kicker { align-self: flex-start; }
  .hero__visual { margin-block: 1.6rem .4rem; order: 2; }
  .hero__lead, .hero__actions, .hero__proof { order: 3; }
  .hero__title, .hero__lead, .hero__actions, .hero__proof { max-width: 40rem; }
  .hero__tag { right: .6rem; bottom: -1.2rem; font-size: 1.1rem; }
  .kilo__scale { max-width: 320px; }
  .story__year { text-align: center; }
  .facade { position: relative; top: 0; }
  .notes { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 699px) {
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px)); }
  .header__call { display: none; }
  .header__inner { min-height: 3.9rem; }
  .depts__grid { grid-template-columns: 1fr; }
  .dept__photo { aspect-ratio: 4 / 3; }
  .gallery__track li:nth-child(odd) { margin-top: 0; }
  .gallery__track li { width: 80vw; }
  .gallery__nav { display: none; }
  .contact { grid-template-columns: 1fr; }
  .faq__list details p { padding-right: 0; }
  .final__phone { width: 100%; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .callbar {
    display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    padding: .6rem max(.75rem, env(safe-area-inset-left, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(246, 240, 230, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.1rem; border-radius: 999px; text-decoration: none; font-weight: 650; }
  .callbar a:first-child { flex: 1.6; background: var(--red); color: #fff; }
  .callbar a:last-child { flex: 1; border: 2px solid var(--ink); }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.1rem; }
  .status { font-size: .74rem; padding: .35rem .6rem; }
  .walk__leg { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .awning { display: none; }
  .ribbon__track { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- pagine semplici: privacy e 404 ---------- */
.plain { min-height: 100vh; display: flex; flex-direction: column; }
.plain main { flex: 1; }
.plain__back { margin-left: auto; }
.legal { max-width: calc(46rem + var(--gutter) * 2); padding-block: clamp(3rem, 7vw, 5rem); }
.legal__date { margin-top: 1rem; color: var(--muted); }
.legal section { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 2px dashed var(--line); }
.legal h3 { font: 600 1.35rem/1.25 var(--serif); margin-bottom: .7rem; }
.legal p + p { margin-top: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-top: .6rem; display: grid; gap: .35rem; }
.legal a { color: var(--red); }
.legal__end { margin-top: 2.5rem; color: var(--muted); font-size: .92rem; }
.lost { padding-block: clamp(4rem, 12vw, 8rem); }
.lost__tag { margin-bottom: 2rem; font-size: 1.6rem; }
