/* ==========================================================================
   BM Black & White — foglio di stile
   Palette rigorosamente monocromatica: nero, bianco caldo e grigi.
   ========================================================================== */

:root {
  --ink: #0d0d0d;
  --ink-2: #161616;
  --ink-3: #242424;
  --paper: #f4f2ee;
  --paper-2: #e9e6e0;
  --white: #ffffff;
  --mute: #75726d;
  --mute-l: #a9a59e;
  --line: rgba(13, 13, 13, .12);
  --line-l: rgba(255, 255, 255, .16);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 84px;
  --tile-w: radial-gradient(120% 90% at 50% 30%, #2a2a2a 0%, #121212 60%, #0a0a0a 100%);
  --tile-b: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #f2f0ec 55%, #e4e1db 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 300 17px/1.65 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 500; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 880px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- tipografia */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.display, .shead h2, .shead h1 {
  font: 300 clamp(38px, 5.2vw, 72px)/1.02 var(--serif); letter-spacing: -.01em;
}
.display em, .shead h2 em, .hero__title em { font-style: italic; font-weight: 300; }
.display--light { color: var(--white); }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor; white-space: nowrap;
}
.link svg { width: 18px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(5px); }
.link--light { color: var(--white); }

/* -------------------------------------------------------------- bottoni */
.btn {
  --b: var(--ink); --f: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--b); background: var(--b); color: var(--f);
  font: 400 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; transition: transform .35s var(--ease); }
.btn:hover { background: transparent; color: var(--b); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { --b: var(--white); --f: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; transition: background .25s;
}
.icon-btn:hover { background: rgba(0, 0, 0, .06); }
.icon-btn svg { width: 22px; height: 22px; }

/* -------------------------------------------------------------- topbar + header */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 12px; letter-spacing: .08em; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar__r { display: flex; gap: 26px; }
.topbar__r a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__r a:hover { color: var(--white); }
.topbar__r svg { width: 15px; height: 15px; }

.hdr {
  position: sticky; top: 0; z-index: 60; height: var(--hdr-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: background .35s, color .35s, border-color .35s;
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.has-over .hdr--over { position: fixed; left: 0; right: 0; top: 38px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; color: var(--white); }
.has-over .hdr--over .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.has-over .hdr--over .hdr__cta { --b: var(--white); --f: var(--ink); }
.has-over .hdr--over.is-solid { top: 0; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); border-color: var(--line); }
.has-over .hdr--over.is-solid .hdr__cta { --b: var(--ink); --f: var(--white); }
.has-over .hdr--over.is-solid .icon-btn:hover { background: rgba(0, 0, 0, .06); }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__txt { display: flex; align-items: center; gap: 12px; }
.logo__txt > b { font: 500 34px/1 var(--serif); letter-spacing: .02em; padding-right: 12px; border-right: 1px solid currentColor; }
.logo__name { display: flex; flex-direction: column; font: 400 13px/1.15 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.logo__name small { font-size: 9px; letter-spacing: .34em; opacity: .62; margin-top: 4px; }
.logo--light { color: var(--white); }

.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav > a, .nav__dd > a {
  position: relative; font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 0;
}
.nav > a::after, .nav__dd > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav__dd:hover > a::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta, .nav__dd-btn { display: none !important; }
.nav__dd { position: relative; }
.dd {
  position: absolute; top: 100%; left: -28px; padding-top: 22px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav__dd:hover .dd, .nav__dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd__in {
  display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 2px 28px; padding: 26px 28px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.dd__in a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--line); transition: padding .25s; }
.dd__in a:hover { padding-left: 6px; }
.dd__in a span { font: italic 400 14px/1 var(--serif); color: var(--mute); }
.dd__all { grid-column: 1 / -1; justify-content: space-between; border-bottom: 0 !important; margin-top: 8px; font-size: 12px !important; letter-spacing: .18em; text-transform: uppercase; }

.hdr__act { display: flex; align-items: center; gap: 4px; }
.hdr__cta { margin-left: 10px; }
.burger { display: none; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: var(--white); font-size: 10px; line-height: 18px; text-align: center; font-weight: 500;
}
.has-over .hdr--over:not(.is-solid) .badge { background: var(--white); color: var(--ink); }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* -------------------------------------------------------------- hero */
.hero { position: relative; height: calc(100vh - 38px); height: calc(100svh - 38px); min-height: 620px; max-height: 1080px; background: var(--ink); overflow: hidden; color: var(--white); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active .hero__img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%),
              linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 35%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 90px; }
.hero__title { font: 300 clamp(48px, 7.4vw, 112px)/.98 var(--serif); letter-spacing: -.015em; max-width: 12ch; margin-bottom: 26px; }
.hero__text { max-width: 470px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__slide.is-active .hero__content > * { animation: rise 1s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero__chip {
  position: absolute; z-index: 3; right: var(--gut); bottom: 120px; display: grid; grid-template-columns: 1fr auto; gap: 2px 22px; align-items: center;
  padding: 16px 20px; min-width: 260px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .3s;
}
.hero__chip:hover { background: rgba(255, 255, 255, .2); }
.hero__chip span { grid-column: 1; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.hero__chip strong { grid-column: 1; font: 400 22px/1.15 var(--serif); }
.hero__chip em { grid-column: 1; font-style: normal; font-size: 12px; opacity: .75; letter-spacing: .04em; }
.hero__chip svg { grid-column: 2; grid-row: 1 / 4; }
.hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; gap: 28px; }
.hero__dots { display: flex; gap: 8px; flex: 1; max-width: 460px; }
.hero__dots button { flex: 1; height: 24px; display: flex; align-items: center; }
.hero__dots span { position: relative; display: block; width: 100%; height: 1px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__dots span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dots .is-done span::after { transform: scaleX(1); }
.hero__dots .is-active span::after { animation: fill var(--hero-t, 7s) linear forwards; }
.hero.is-paused .hero__dots .is-active span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__count { font: 400 14px/1 var(--sans); letter-spacing: .2em; color: rgba(255, 255, 255, .7); }
.hero__count b { color: var(--white); font-weight: 400; }
.hero__arrows { margin-left: auto; margin-right: 72px; display: flex; gap: 8px; }
.hero__arrows .icon-btn { border: 1px solid rgba(255, 255, 255, .4); }
.hero__arrows .icon-btn:hover { background: var(--white); color: var(--ink); }

/* -------------------------------------------------------------- sezioni */
.sec { padding: clamp(72px, 9vw, 140px) 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--white); }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead > div { max-width: 680px; }
.shead p { margin-top: 20px; color: var(--mute); max-width: 520px; }
.shead p a { text-decoration: underline; text-underline-offset: 3px; }
.shead--light .eyebrow, .shead--light p { color: rgba(255, 255, 255, .7); }
.shead--light .link { color: var(--white); }

/* intro + numeri */
.intro { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.intro__text p { color: var(--mute); }
.intro__text .lead { color: var(--ink); }
.intro__text .link { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.stats > div { padding: 30px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 300 clamp(42px, 4.6vw, 68px)/1 var(--serif); margin-bottom: 12px; }
.stats span { font-size: 14px; color: var(--mute); line-height: 1.45; display: block; }

/* categorie */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.3; overflow: hidden; padding: 20px; }
.cat--bianco { background: var(--tile-w); color: var(--white); }
.cat--nero { background: var(--tile-b); color: var(--ink); }
.cat__num { font: italic 300 22px/1 var(--serif); opacity: .6; }
.cat img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 12px 4px; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .22)); }
.cat:hover img { transform: scale(1.07) translateY(-4px); }
.cat__body h3 { font: 400 26px/1.1 var(--serif); margin-bottom: 6px; }
.cat__body em { display: block; font-style: normal; font-size: 13px; line-height: 1.45; opacity: .66; min-height: 3.2em; }
.cat__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.cat__more svg { width: 16px; transition: transform .35s var(--ease); }
.cat:hover .cat__more svg { transform: translateX(5px); }

/* bianco | nero */
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: clamp(480px, 70vw, 820px); color: var(--white); }
.duo__half { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(28px, 4vw, 64px); }
.duo__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo__half:hover img { transform: scale(1.05); }
.duo__half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 55%); }
.duo__txt { position: relative; z-index: 2; }
.duo__txt strong { display: block; font: 300 clamp(40px, 5vw, 76px)/1 var(--serif); }
.duo__txt em { display: block; font-style: normal; margin: 10px 0 22px; opacity: .8; }
.duo__mid {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 12px; text-align: center;
  font: italic 300 20px/1.15 var(--serif); pointer-events: none;
}
.duo__mid svg { width: 76px; height: 76px; padding: 14px; border-radius: 50%; background: var(--white); color: var(--ink); stroke-width: 1; }
.duo__mid span { text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

/* rail prodotti */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 28px; }
.rail__nav .icon-btn { border: 1px solid var(--line); }
.rail__nav .icon-btn:hover { background: var(--ink); color: var(--white); }

/* card prodotto */
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.tile { position: absolute; inset: 0; transition: opacity .55s var(--ease); }
.tile img { position: absolute; inset: 0; padding: 11% 9%; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .25)); }
.tile--bianco { background: var(--tile-w); }
.tile--nero { background: var(--tile-b); }
.card[data-finish="bianco"] .tile--nero, .card[data-finish="nero"] .tile--bianco { opacity: 0; }
@media (hover: hover) {
  .card:hover .tile img { transform: scale(1.05); }
}
.card__body { display: grid; gap: 4px; padding: 18px 2px 0; }
.card__code { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.card__title { font: 400 25px/1.15 var(--serif); }
.card__title a::after { content: ""; position: absolute; inset: 0 0 52px; }
.card__dims { font-size: 14px; color: var(--mute); }
.card__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.swatch { display: flex; gap: 8px; }
.swatch__b { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--mute-l); position: relative; }
.swatch--bianco { background: var(--white); }
.swatch--nero { background: var(--ink); }
.swatch--misto { background: linear-gradient(90deg, var(--white) 50%, var(--ink) 50%); }
.card[data-finish="bianco"] .swatch__b.swatch--bianco, .card[data-finish="nero"] .swatch__b.swatch--nero { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--ink); }
.card__add { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; }
.card__add svg { width: 16px; height: 16px; transition: transform .3s; }
.card__add:hover svg { transform: rotate(90deg); }
.card__add.is-added { color: var(--mute); }
.sec--ink .card__body, .sec--ink .card__title { color: var(--white); }
.sec--ink .card__foot { border-color: var(--line-l); }

/* masonry ambientazioni */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry--home { columns: 4 240px; }
.masonry__item { break-inside: avoid; margin: 0 0 18px; }
.masonry__item.is-hidden { display: none; }
.zoom { position: relative; display: block; width: 100%; overflow: hidden; background: var(--ink-3); }
.zoom img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.zoom:hover img { transform: scale(1.045); }
.zoom__ic { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.8); transition: .35s var(--ease); }
.zoom:hover .zoom__ic, .zoom:focus-visible .zoom__ic { opacity: 1; transform: none; }
.masonry figcaption { padding: 12px 0 4px; display: grid; gap: 2px; }
.masonry figcaption span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; opacity: .6; }
.masonry figcaption strong { font: 400 21px/1.2 var(--serif); }
.masonry figcaption em { font-style: normal; font-size: 13px; opacity: .65; }
.masonry--light figcaption span, .masonry--light figcaption em { color: var(--mute); opacity: 1; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.split__media { position: relative; aspect-ratio: 1 / 1.08; }
.split__cut { position: absolute; left: 0; top: 0; width: 62%; height: 84%; object-fit: contain; padding: 7%; background: var(--tile-w); }
.split__cut--paper { background: var(--tile-b); }
.split__scene { position: absolute; right: 0; bottom: 0; width: 56%; height: 72%; object-fit: cover; border: 10px solid var(--white); }
.split__txt .display { margin-bottom: 26px; }
.split__txt p { color: var(--mute); }
.ticks { list-style: none; margin: 28px 0 36px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(90deg, var(--ink) 50%, var(--white) 50%); border: 1px solid var(--ink); transform: translateY(-1px); }

/* per chi / perché / step */
.who { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.who__i { padding: 34px 30px 38px 0; border-bottom: 1px solid var(--line); }
.who__i:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.who__i span, .steps span { font: italic 300 18px/1 var(--serif); color: var(--mute); }
.who__i h3, .why__i h3, .steps h3 { font: 400 27px/1.15 var(--serif); margin: 14px 0 10px; }
.who__i p, .why__i p, .steps p { color: var(--mute); font-size: 15px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why__i { background: var(--white); padding: 36px 32px; }
.why__i h3 { margin-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 1px solid var(--ink); }

/* settori */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sector { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 60%); }
.sector:hover img { transform: scale(1.06); }
.sector span { position: relative; z-index: 2; }
.sector h3 { font: 400 24px/1.1 var(--serif); }
.sector em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-top: 10px; }
.sector em svg { width: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq .shead { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__i summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary h3 { font: 400 23px/1.25 var(--serif); }
.faq__i summary svg { transition: transform .35s var(--ease); }
.faq__i[open] summary svg { transform: rotate(45deg); }
.faq__i p { color: var(--mute); padding: 0 48px 26px 0; }

/* testo SEO */
.seo-text .display { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 30px; }
.seo-text p { color: #4a4844; }
.seo-text a { text-decoration: underline; text-underline-offset: 3px; }
.seo-text strong { color: var(--ink); }

/* band CTA */
.band { position: relative; padding: clamp(110px, 14vw, 200px) 0; color: var(--white); background-color: var(--ink); background-position: center; background-size: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .2)); }
.band__in { position: relative; max-width: 760px; margin-left: 0; }
.band__in .wrap { padding: 0; }
.band p { color: rgba(255, 255, 255, .82); max-width: 520px; margin: 24px 0 34px; }
.band .wrap.band__in { max-width: var(--wrap); margin: 0 auto; }
.band .band__in > * { max-width: 720px; }

/* form */
.form-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form-intro p { color: rgba(255, 255, 255, .72); margin: 24px 0 32px; max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span, .form__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0;
  color: var(--white); font-size: 17px; transition: border-color .25s; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; padding-right: 28px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a8a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .72); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--white); flex: none; }
.check a { text-decoration: underline; }
.check.is-invalid span { color: #ff8a8a; }
.hp { position: absolute; left: -9999px; }
.form__msg { font-size: 15px; min-height: 1.4em; }
.form__selected { padding: 18px; border: 1px solid rgba(255, 255, 255, .2); }
.form__selected .form__label { display: block; margin-bottom: 12px; }
.fsel { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.fsel img { width: 44px; height: 44px; object-fit: contain; background: var(--ink-3); padding: 4px; }
.fsel b { font-weight: 400; }
.fsel span { color: rgba(255, 255, 255, .6); font-size: 13px; }
.fsel .x { margin-left: auto; opacity: .6; }
.fsel .x:hover { opacity: 1; }
.fsel .x svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------- page head */
.phead { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 90px); background: var(--ink); color: var(--white); }
.phead--tall { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 9vw, 130px); }
/* testata con foto intera: testo a sinistra, immagine a destra con le sue proporzioni (nessun taglio) */
.phead--split { display: flex; align-items: center; padding: 0; overflow: hidden; }
.phead--split .phead__txt { flex: 1; min-width: 0; max-width: none; margin: 0; padding-block: clamp(48px, 6vw, 96px);
  padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding-right: clamp(24px, 4vw, 64px); }
.phead__media { flex: none; position: relative; margin: 0; width: min(58vw, calc(var(--ar) * min(660px, 72vh))); aspect-ratio: var(--ar); }
.phead__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phead__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 64px; background: linear-gradient(90deg, var(--ink), rgba(13, 13, 13, 0)); pointer-events: none; }
@media (max-width: 900px) {
  .phead--split { flex-direction: column; align-items: stretch; }
  .phead__media { order: -1; width: 100%; max-height: 64vh; }
  .phead__media::before { inset: auto 0 0 0; width: auto; height: 48px; background: linear-gradient(0deg, var(--ink), rgba(13, 13, 13, 0)); }
  .phead--split .phead__txt { padding: 32px var(--gut) 48px; }
}
.phead .wrap { position: relative; }
.phead h1 { max-width: 18ch; margin-bottom: 20px; }
.phead p { max-width: 560px; color: rgba(255, 255, 255, .8); }
.phead .hero__ctas { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 34px; }
.crumbs a:hover { color: var(--white); }
.crumbs--dark { color: var(--mute); margin-bottom: 28px; }
.crumbs--dark a:hover { color: var(--ink); }
.crumbs [aria-current] { color: inherit; opacity: .9; }

/* -------------------------------------------------------------- collezione */
.toolbar { position: relative; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toolbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; min-height: 76px; padding-bottom: 14px; }
.toolbar .chips { width: 100%; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; }
.chips::-webkit-scrollbar { display: none; }
.chips--center { justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.chip { flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; letter-spacing: .04em; transition: .25s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.toolbar__r { display: flex; align-items: center; gap: 14px; flex: none; }
.finish-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 40px; }
.finish-switch button { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 40px; font-size: 13px; transition: .25s; }
.finish-switch i, .finish-pick i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--mute-l); }
.finish-switch .is-active { background: var(--ink); color: var(--white); }
.select select { padding: 9px 34px 9px 14px; border: 1px solid var(--line); border-radius: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; font-size: 13px; -webkit-appearance: none; appearance: none; }
.filter-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 40px; }
.filter-search svg { width: 16px; height: 16px; color: var(--mute); }
.filter-search input { width: 130px; padding: 9px 0; border: 0; background: none; font-size: 13px; outline: 0; }
.coll { padding-bottom: clamp(70px, 9vw, 130px); }
.coll__count { margin: 34px 0 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.coll__count b { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 22px; }
.card.is-hidden { display: none; }
.empty { text-align: center; padding: 60px 0; color: var(--mute); }
.empty .btn { margin-top: 18px; }

/* -------------------------------------------------------------- scheda prodotto */
.pdp { padding: 34px 0 clamp(70px, 8vw, 120px); }
.pdp__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.stage { position: sticky; top: calc(var(--hdr-h) + 24px); }
.stage__main { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; }
.stage__tile { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.stage__tile img { position: absolute; inset: 0; padding: 9%; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28)); }
[data-finish="bianco"] .stage__tile.tile--nero, [data-finish="nero"] .stage__tile.tile--bianco { opacity: 0; pointer-events: none; }
.stage__label { position: absolute; left: 20px; bottom: 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--white); transition: color .4s; }
[data-finish="nero"] .stage__label { color: var(--ink); }
.stage__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb { position: relative; width: 92px; height: 92px; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .25s; }
.thumb img { position: absolute; inset: 0; padding: 10px; width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { outline-color: var(--ink); }
.pinfo { padding-top: 10px; }
.pinfo .eyebrow a:hover { color: var(--ink); }
.pinfo__title { font: 300 clamp(46px, 5vw, 76px)/1 var(--serif); margin-bottom: 12px; }
.pinfo__code { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.pinfo__code b { color: var(--ink); }
.pinfo__desc { font: italic 300 23px/1.45 var(--serif); color: #3a3835; margin-bottom: 28px; }
.specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--mute); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; }
.pinfo .form__label { color: var(--mute); display: block; margin-bottom: 12px; }
.pinfo .form__label b { color: var(--ink); font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: 14px; }
.finish-pick { display: flex; gap: 10px; margin-bottom: 26px; }
.finish-pick button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1px solid var(--line); font-size: 14px; transition: .25s; }
.finish-pick button:hover { border-color: var(--ink); }
.finish-pick .is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.finish-pick i { width: 18px; height: 18px; }
.pinfo__buy { display: flex; gap: 10px; margin-bottom: 10px; }
.pinfo__buy .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 42px; height: 50px; display: grid; place-items: center; }
.qty button svg { width: 16px; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pinfo__notes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.pinfo__notes li::before { content: "— "; }
.pinfo__sizes { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.sizes { display: grid; gap: 8px; }
.sizes a { display: flex; align-items: center; gap: 14px; padding: 8px; border: 1px solid var(--line); transition: border-color .25s; }
.sizes a:hover { border-color: var(--ink); }
.sizes img { width: 56px; height: 56px; object-fit: contain; background: var(--tile-w); padding: 6px; }
.sizes span { display: grid; font-size: 14px; color: var(--mute); }
.sizes b { color: var(--ink); font-weight: 400; letter-spacing: .08em; }

/* proporzioni */
.scale-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.scale-grid .display { margin-bottom: 24px; }
.scale-grid p { color: var(--mute); }
.scale { position: relative; height: clamp(320px, 38vw, 460px); padding-left: 46px; }
.scale__ruler { position: absolute; left: 0; top: 0; bottom: 0; width: 40px; border-right: 1px solid var(--line); }
.scale__ruler span { position: absolute; right: 8px; transform: translateY(50%); font-size: 11px; color: var(--mute); }
.scale__ruler span::after { content: ""; position: absolute; right: -9px; top: 50%; width: 6px; height: 1px; background: var(--mute-l); }
.scale__floor { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 5vw, 70px); border-bottom: 1px solid var(--ink); }
.scale__fig { position: relative; display: flex; justify-content: center; }
.scale__fig > span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.scale__person { height: 100%; width: auto; fill: #bfbbb4; stroke: none; }
.scale__fig--statue img { height: 100%; width: auto; max-width: none; object-fit: contain; transition: opacity .5s; }
.scale__fig--statue .scale__b { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
.scale__b, [data-finish-scope="nero"] .scale__w { opacity: 0; }
[data-finish-scope="nero"] .scale__b { opacity: 1; }
[data-finish-scope="nero"] .scale__b { position: static; transform: none; }
[data-finish-scope="nero"] .scale__w { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

/* contatti */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card { display: grid; gap: 6px; align-content: start; padding: 30px 26px; border: 1px solid var(--line); transition: border-color .25s, background .25s; }
a.contact-card:hover { border-color: var(--ink); }
.contact-card svg { width: 28px; height: 28px; margin-bottom: 18px; }
.contact-card span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.contact-card strong { font: 400 23px/1.25 var(--serif); word-break: break-word; }
.contact-card em { font-style: normal; font-size: 14px; color: var(--mute); }

.legal h1 { margin-bottom: 30px; }
.legal h2 { font: 400 28px/1.2 var(--serif); margin: 36px 0 10px; }
.legal p { color: #4a4844; }
.legal .btn { margin-top: 12px; }
.note { font-size: 13px; color: var(--mute); margin-top: 26px; padding: 14px 18px; background: var(--paper); }

/* -------------------------------------------------------------- overlay: drawer, search, lightbox */
.drawer, .search, .lightbox { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open, .search.is-open, .lightbox.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__hd { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer__hd h2 { font: 400 28px/1 var(--serif); }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer__empty { flex: 1; padding: 34px 26px; color: var(--mute); }
.drawer__empty p:first-child { font: 400 26px/1.2 var(--serif); color: var(--ink); }
.drawer__empty .btn { margin-top: 18px; }
.drawer__ft { padding: 20px 26px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.qitem { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qitem__img { position: relative; width: 76px; height: 76px; }
.qitem__img img { position: absolute; inset: 0; padding: 8px; width: 100%; height: 100%; object-fit: contain; }
.qitem__img.tile--bianco { background: var(--tile-w); }
.qitem__img.tile--nero { background: var(--tile-b); }
.qitem h3 { font: 400 21px/1.15 var(--serif); }
.qitem small { display: block; font-size: 12px; color: var(--mute); letter-spacing: .04em; margin: 2px 0 8px; }
.qitem__ctl { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.qitem__ctl select { border: 1px solid var(--line); padding: 4px 6px; font-size: 13px; background: var(--white); }
.qitem__ctl .qty button { width: 28px; height: 30px; }
.qitem__ctl .qty input { width: 28px; font-size: 14px; }
.qitem__x { align-self: start; opacity: .5; }
.qitem__x:hover { opacity: 1; }
.qitem__x svg { width: 18px; }

.search { background: rgba(255, 255, 255, .98); opacity: 0; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.search.is-open { opacity: 1; }
.search__in { padding-top: clamp(40px, 10vh, 110px); padding-bottom: 60px; }
.search__bar { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.search__bar > svg { width: 28px; height: 28px; }
.search__bar input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 300 clamp(26px, 4vw, 46px)/1.2 var(--serif); }
.search__res { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 30px; }
.sres { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); transition: border-color .2s; }
.sres:hover, .sres:focus-visible { border-color: var(--ink); }
.sres img { width: 60px; height: 60px; object-fit: contain; background: var(--tile-w); padding: 6px; }
.sres b { display: block; font: 400 20px/1.15 var(--serif); }
.sres span { font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.search__hint { grid-column: 1 / -1; color: var(--mute); }

.lightbox { background: rgba(8, 8, 8, .96); color: var(--white); display: grid; place-items: center; opacity: 0; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; max-width: min(1300px, 92vw); display: grid; justify-items: center; gap: 16px; }
.lightbox__fig img { max-height: 78vh; width: auto; max-width: 100%; }
.lightbox__fig figcaption { text-align: center; display: grid; gap: 8px; }
.lightbox__fig figcaption span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .6; }
.lightbox__fig figcaption strong { font: 400 26px/1.2 var(--serif); }
.lb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.lb-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; font-size: 13px; transition: .2s; }
.lb-links a:hover { background: var(--white); color: var(--ink); }
.lb-links i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); }
.lightbox .icon-btn { position: absolute; color: var(--white); border: 1px solid rgba(255, 255, 255, .3); }
.lightbox .icon-btn:hover { background: var(--white); color: var(--ink); }
.lightbox__x { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; }
.lightbox__next { right: 20px; top: 50%; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s var(--ease);
  border: 1px solid rgba(255, 255, 255, .25);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: var(--white); padding: 14px 22px; font-size: 14px; display: flex; gap: 16px; align-items: center;
  transition: transform .45s var(--ease), opacity .3s; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); max-width: calc(100% - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast button { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.is-locked { overflow: hidden; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .nav { gap: 24px; }
  .hdr__cta { display: none; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .toolbar__in { flex-wrap: wrap; gap: 0 20px; padding-bottom: 12px; }
  .chips { width: 100%; }
}
@media (max-width: 1024px) {
  :root { --hdr-h: 70px; }
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .burger { display: inline-grid; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: calc(var(--hdr-h) + 50px) var(--gut) 40px; background: var(--white); color: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a, .nav__dd > a { font: 300 34px/1.1 var(--serif); letter-spacing: 0; text-transform: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after, .nav__dd > a::after { display: none; }
  .nav__dd { display: grid; grid-template-columns: 1fr auto; }
  .nav__dd > a { grid-column: 1; }
  .nav__dd-btn { display: grid !important; place-items: center; width: 54px; border-bottom: 1px solid var(--line); }
  .nav__dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dd { position: static; grid-column: 1 / -1; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__dd.is-open .dd { display: block; }
  .dd__in { grid-template-columns: 1fr; border: 0; box-shadow: none; padding: 8px 0 8px 14px; }
  .nav__cta { display: inline-flex !important; margin-top: 30px; }
  .has-over .hdr--over { top: 38px; }
  body.nav-open .hdr { background: var(--white) !important; color: var(--ink) !important; }
  .hdr__in { gap: 12px; justify-content: space-between; }
  .hdr__act { margin-left: auto; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__txt > b { font-size: 29px; }
  .logo__name { font-size: 11px; }
  .intro__grid, .split, .form-grid, .faq, .scale-grid, .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 3) { margin-top: 28px; }
  .who, .why, .steps { grid-template-columns: repeat(2, 1fr); }
  .who__i:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .who__i:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
  .stage { position: static; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .hero__chip { bottom: 100px; min-width: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; padding: 10px 18px; letter-spacing: .14em; line-height: 1.3; }
  .topbar__r { gap: 18px; }
  .topbar__r a:last-child { display: none; }
  .logo__name small { display: none; }
  .hero { min-height: 560px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .2) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 170px; }
  .hero__chip { left: var(--gut); right: auto; bottom: 86px; padding: 10px 14px; gap: 0 14px; }
  .hero__chip strong { font-size: 18px; }
  .hero__chip em { display: none; }
  .hero__count { display: none; }
  .hero__arrows { margin-right: 60px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .shead { flex-direction: column; align-items: flex-start; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { padding: 14px; }
  .cat__body h3 { font-size: 22px; }
  .cat__body em { display: none; }
  .duo { grid-template-columns: 1fr; height: auto; }
  .duo__half { min-height: 420px; }
  .duo__mid { display: none; }
  .rail__track { grid-auto-columns: 74%; gap: 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .card__title { font-size: 21px; }
  .card__dims { font-size: 12px; }
  .card__add span { display: none; }
  .swatch__b { width: 20px; height: 20px; }
  .masonry, .masonry--home { columns: 2 150px; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .masonry figcaption em { display: none; }
  .masonry figcaption strong { font-size: 17px; }
  .who, .why, .steps, .sectors, .contacts { grid-template-columns: 1fr; }
  .who__i:nth-child(even) { padding-left: 0; border-left: 0; }
  .sector { aspect-ratio: 16 / 10; }
  .form__row { grid-template-columns: 1fr; }
  .toolbar { position: static; }
  .toolbar__r { flex-wrap: wrap; width: 100%; }
  .filter-search { flex: 1; }
  .filter-search input { width: 100%; }
  .split__media { aspect-ratio: 1 / 1.15; }
  .faq__i summary h3 { font-size: 20px; }
  .pinfo__buy { flex-wrap: wrap; }
  .specs div { grid-template-columns: 100px 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- colori & su misura */
.band--color::before { background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .1)); }
.split--rev { grid-template-columns: 1fr .85fr; }
.color-tall { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.dd__color { margin-top: 0 !important; border-top: 1px solid var(--line) !important; padding-top: 12px !important; }
.custom-cta { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); transition: border-color .25s; }
.custom-cta:hover { border-color: var(--ink); }
.custom-cta img { width: 56px; height: 56px; object-fit: cover; flex: none; }
.custom-cta span { flex: 1; display: grid; font-size: 13px; color: var(--mute); line-height: 1.4; }
.custom-cta b { font: 400 19px/1.2 var(--serif); color: var(--ink); }
.custom-cta svg { transition: transform .3s var(--ease); }
.custom-cta:hover svg { transform: translateX(4px); }
@media (max-width: 1024px) {
  .split--rev { grid-template-columns: minmax(0, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) { .steps--4 { grid-template-columns: 1fr; } }
.nav > a, .nav__dd > a { white-space: nowrap; }
@media (min-width: 1025px) { /* menu compatto su tutti i desktop: con "Color Edition" altrimenti sfora il margine */
  .nav { gap: 22px; }
  .nav > a, .nav__dd > a { letter-spacing: .1em; font-size: 12px; }
  .hdr__in { gap: 22px; }
}

/* -------------------------------------------------------------- hero: transizione a sipario */
.hero__slide { opacity: 1; visibility: hidden; z-index: 0; transition: none; background: var(--ink); } /* fondo pieno: una slide non lascia mai vedere quelle sotto */
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-prev { visibility: visible; z-index: 1; }
.hero__slide.is-next { visibility: visible; z-index: 0; }
.hero.is-anim .hero__slide.is-active { animation: heroWipe 1.25s cubic-bezier(.77, 0, .18, 1) both; }
.hero.is-anim .hero__slide.is-active.is-back { animation-name: heroWipeBack; }
@keyframes heroWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroWipeBack { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero__img { transform: scale(1.03); will-change: transform; }
.hero__slide.is-active .hero__img { animation: heroZoom 5.6s cubic-bezier(.2, .6, .2, 1) both; }
.hero__slide.is-prev .hero__img { transform: scale(1.03) translateX(-7%); transition: transform 1.25s cubic-bezier(.77, 0, .18, 1); }
.hero__slide.is-prev.is-back-out .hero__img { transform: scale(1.03) translateX(7%); }
@keyframes heroZoom { from { transform: scale(1.2); } to { transform: scale(1.03); } }
.hero__slide.is-prev .hero__content, .hero__slide.is-prev .hero__chip { opacity: 0; transition: opacity .35s; }

.hero__title { max-width: none; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__slide.is-active .hero__content > .hero__title { animation: none; }
.hero__slide.is-active .hero__title .ln > span { animation: lineUp 1.15s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.5s + var(--i) * .13s); }
@keyframes lineUp { from { transform: translateY(112%); } }
.hero__slide.is-active .hero__content > .hero__eyebrow { animation-delay: .35s; }
.hero__slide.is-active .hero__content > .hero__text { animation-delay: .8s; }
.hero__slide.is-active .hero__content > .hero__ctas { animation-delay: .95s; }
.hero__slide.is-active .hero__chip { animation: rise 1s var(--ease) 1.1s both; }
.hero__eyebrow b { font: italic 400 20px/1 var(--serif); letter-spacing: 0; margin-right: 4px; color: var(--white); }
.hero__eyebrow::before { order: 1; }
.hero__eyebrow b { order: 0; }
.hero__eyebrow { gap: 14px; }

.hero__next {
  display: flex; align-items: center; gap: 14px; margin-left: auto; padding: 7px 18px 7px 7px; text-align: left; color: var(--white);
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s;
}
.hero__next:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.hero__next img { width: 96px; height: 54px; object-fit: cover; transition: transform .5s var(--ease); }
.hero__next:hover img { transform: scale(1.06); }
.hero__next span { display: grid; gap: 4px; min-width: 130px; }
.hero__next em { font-style: normal; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .65; }
.hero__next strong { font: 400 19px/1.15 var(--serif); }
.hero__next ~ .hero__arrows { margin-left: 0; }
.hero__count { font-size: 13px; }
.hero__count b { font: 300 30px/1 var(--serif); letter-spacing: 0; margin-right: 4px; }
@media (max-width: 1024px) { .hero__next { display: none; } .hero__next ~ .hero__arrows { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .hero.is-anim .hero__slide.is-active { animation: none; } }

/* -------------------------------------------------------------- footer (come bmpianteartificiali.com) */
.bmf { --gold: #d6a02c; position: relative; background: #000; color: rgba(255, 255, 255, .66); padding: 56px 0 40px; font-size: 16px; letter-spacing: .06em; }
.bmf a { transition: color .2s; }
.bmf a:hover { color: rgba(255, 255, 255, .95); }
.bmf__logo { display: flex; width: max-content; margin: 0 auto 44px; color: var(--gold); }
.bmf__cols { display: grid; grid-template-columns: 1fr 1fr 2.2fr; gap: 32px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 10px 0 56px; }
.bmf__h { font: 500 13px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.bmf__col { text-align: center; }
.bmf__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bmf__col .is-here { color: var(--white); }
.bmf__col--sedi { text-align: left; }
.bmf__sedi { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.bmf__sede h3 { font: 600 17px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 14px; }
.bmf__sede p { margin: 0 0 14px; line-height: 1.6; }
.bmf__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 58px; text-align: center; }
.bmf__pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.bmf__pill { display: flex; align-items: center; gap: 20px; padding: 16px 30px 16px 28px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50px; background: #0c0c0c; color: var(--white); text-align: center; transition: border-color .25s, transform .25s; }
.bmf__pill:hover { border-color: var(--gold); transform: translateY(-2px); }
.bmf__pill svg { width: 26px; height: 26px; color: var(--gold); }
.bmf__pill--wa svg { width: 32px; height: 32px; color: #25d366; }
.bmf__pill span { display: grid; gap: 4px; font-size: 18px; letter-spacing: .08em; }
.bmf__pill small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.bmf__hours { margin: 46px 0 34px; font-size: 15px; color: rgba(255, 255, 255, .45); }
.bmf__social { display: flex; justify-content: center; gap: 18px; }
.bmf__social a { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: #0c0c0c; color: rgba(255, 255, 255, .75); }
.bmf__social a:hover { border-color: var(--gold); color: var(--gold); }
.bmf__social svg { width: 22px; height: 22px; }
.bmf__copy { margin-top: 38px; font-size: 12px; color: rgba(255, 255, 255, .38); letter-spacing: .05em; }
.bmf__copy a { text-decoration: underline; text-underline-offset: 3px; }
.bmf__top { position: absolute; right: 24px; top: -28px; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.bmf__top:hover { transform: translateY(-4px); }
.bmf__top svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .bmf__cols { grid-template-columns: 1fr 1fr; }
  .bmf__col--sedi { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .bmf__cols { grid-template-columns: 1fr; gap: 44px; }
  .bmf__sedi { grid-template-columns: 1fr; }
  .bmf__col--sedi { text-align: center; }
  .bmf__pill { width: 100%; justify-content: center; }
  .bmf__social { gap: 10px; }
  .bmf__social a { width: 44px; height: 44px; }
}

/* -------------------------------------------------------------- logo BM Statue di Design */
.logo { gap: 14px; }
.logo__img { height: 62px; width: auto; }
.logo .logo__name { font: 500 15px/1.1 var(--serif); letter-spacing: .22em; }
.logo .logo__name small { font: 400 9px/1 var(--sans); letter-spacing: .32em; margin-top: 6px; opacity: .7; }
.bmf__logo { display: block; width: max-content; margin: 0 auto 44px; }
.bmf__logo img { width: 200px; height: auto; }
@media (max-width: 1024px) { .logo__img { height: 50px; } .logo .logo__name { font-size: 13px; } }
@media (max-width: 760px) { .logo .logo__name small { display: block; } .logo__img { height: 46px; } .logo .logo__name { font-size: 12px; letter-spacing: .16em; } }

/* logo più grande */
:root { --hdr-h: 110px; }
.logo__img { height: 92px; }
.logo { gap: 18px; }
.logo .logo__name { font-size: 18px; letter-spacing: .24em; }
.logo .logo__name small { font-size: 10px; margin-top: 8px; }
@media (max-width: 1366px) and (min-width: 1025px) { .logo__img { height: 84px; } .logo .logo__name { font-size: 15px; } }
@media (max-width: 1024px) { :root { --hdr-h: 88px; } .logo__img { height: 70px; } .logo .logo__name { font-size: 15px; } }
@media (max-width: 760px) { :root { --hdr-h: 80px; } .logo__img { height: 62px; } .logo .logo__name { font-size: 12px; letter-spacing: .14em; } .logo { gap: 12px; } }
.hero__content { padding-top: 150px; }
@media (max-width: 760px) { .hero__content { padding-top: 120px; } }

/* -------------------------------------------------------------- testata a dissolvenza (pagina colori) */
.phead--slides { min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.phead--slides::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .38) 55%, rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 40%); }
.phead--slides .wrap { z-index: 2; }
.fade { position: absolute; inset: 0; }
.fade__s { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 2s ease; }
.fade__s.is-on { opacity: 1; }
.fade__s img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 8s ease-out; }
.fade__s.is-on img { transform: scale(1); }
.fade__nav { display: flex; align-items: center; gap: 22px; margin-top: 46px; }
.fade__dots { display: flex; gap: 8px; }
.fade__dots button { width: 26px; height: 18px; position: relative; }
.fade__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .35); transition: background .4s, height .4s; }
.fade__dots button.is-on::after { background: var(--white); height: 2px; }
.fade__cap { font: italic 300 18px/1.3 var(--serif); color: rgba(255, 255, 255, .8); transition: opacity .6s; }
@media (max-width: 760px) { .phead--slides { min-height: 82vh; } .fade__nav { flex-wrap: wrap; gap: 12px; } .fade__cap { font-size: 16px; } }

/* -------------------------------------------------------------- fotosimulazioni dei prodotti: entrano a tendina */
.amb, .stage__amb { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--ink); clip-path: inset(0 0 0 100%); transition: clip-path .95s cubic-bezier(.77, 0, .18, 1); pointer-events: none; }
.amb img, .stage__amb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.18); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.amb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
[data-finish="bianco"] .amb--nero, [data-finish="nero"] .amb--bianco { display: none; }
.amb__tag { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 0; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--white); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .5s var(--ease), gap .6s var(--ease); pointer-events: none; }
.amb__tag::before { content: ""; width: 0; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.card .tile img { transition: transform .95s cubic-bezier(.77, 0, .18, 1), opacity .6s; }
@media (hover: hover) {
  .card:hover .amb { clip-path: inset(0 0 0 0); }
  .card:hover .amb img { transform: scale(1); }
  .card:has(.amb):hover .tile img { transform: translateX(-18%) scale(.94); opacity: .5; }
  .card:hover .amb__tag { opacity: 1; transform: none; gap: 12px; transition-delay: .4s; }
  .card:hover .amb__tag::before { width: 28px; transition-delay: .5s; }
}

/* scheda prodotto: la foto ambientata scorre sopra il prodotto (mouse) o resta fissa (miniature "In ambiente") */
.stage__amb { z-index: 1; cursor: zoom-in; }
.stage__tile img { transition: transform 1s cubic-bezier(.77, 0, .18, 1); }
.stage__label { z-index: 2; }
[data-view="ambiente"] .stage__amb { clip-path: inset(0 0 0 0); pointer-events: auto; }
[data-view="ambiente"] .stage__amb img { transform: scale(1); }
[data-view="ambiente"] .stage__tile img { transform: translateX(-18%); }
[data-view="ambiente"] .stage__label { color: var(--white); }
.stage__amb:hover .zoom__ic, .stage__amb:focus-visible .zoom__ic { opacity: 1; transform: none; }
.stage__amb .zoom__ic { z-index: 2; }
@media (hover: hover) {
  .stage__main:hover .stage__amb { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .stage__main:hover .stage__amb img { transform: scale(1); }
  .stage__main:hover .stage__tile img { transform: translateX(-18%); }
  [data-pdp] .stage__main:hover .stage__label { color: var(--white); }
}
.thumb--amb { overflow: hidden; background: var(--ink); }
.thumb--amb img { padding: 0; object-fit: cover; transition: transform .6s var(--ease); }
.thumb--amb:hover img { transform: scale(1.08); }
.thumb--amb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 5px; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; text-align: center; color: var(--white); background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); }
@media (max-width: 560px) {
  .stage__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .thumb { width: auto; height: auto; aspect-ratio: 1; }
}
/* collezione alternata: la card parte già sulla foto ambientata; al passaggio del mouse la foto esce e torna il prodotto */
.card[data-view="ambiente"] .amb { clip-path: inset(0 0 0 0); }
.card[data-view="ambiente"] .amb img { transform: scale(1); }
.card[data-view="ambiente"] .tile img { transform: translateX(18%) scale(.94); opacity: .5; }
.card[data-view="ambiente"] .amb__tag { opacity: 1; transform: none; gap: 12px; }
.card[data-view="ambiente"] .amb__tag::before { width: 28px; }
@media (hover: hover) {
  .card[data-view="ambiente"]:hover .amb { clip-path: inset(0 100% 0 0); }
  .card[data-view="ambiente"]:hover .amb img { transform: scale(1.12); }
  .card[data-view="ambiente"]:hover .tile img { transform: none; opacity: 1; }
  .card[data-view="ambiente"]:hover .amb__tag { opacity: 0; transform: translateY(12px); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .amb, .amb img, .stage__amb, .stage__amb img, .card .tile img, .stage__tile img { transition-duration: .01s; }
}

/* -------------------------------------------------------------- smartphone: hero con foto verticale, testi e filtri compatti */
.m-hide { display: inline; }
@media (max-width: 760px) {
  .m-hide { display: none; }
  .logo { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .logo__img { height: 54px; }
  .logo .logo__name { font-size: 11px; letter-spacing: .12em; }
  .logo .logo__name small { font-size: 8px; letter-spacing: .2em; margin-top: 6px; }
  .hdr__act { gap: 0; }
  .hdr__act .icon-btn { width: 40px; height: 40px; }

  .hero { min-height: 540px; max-height: 920px; }
  .hero__img, .hero__slide.is-active .hero__img { animation: none; transform: none; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .6) 26%, rgba(0, 0, 0, 0) 52%),
                                    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 20%); }
  .hero__content { padding-top: calc(var(--hdr-h) + 50px); padding-bottom: 128px; }
  .hero__eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: .24em; gap: 10px; }
  .hero__eyebrow b { font-size: 15px; }
  .hero__eyebrow::before { width: 22px; }
  .hero__title { font-size: clamp(30px, 8.8vw, 38px); line-height: 1.04; margin-bottom: 12px; }
  .hero__text { font-size: 14px; line-height: 1.5; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .hero__ctas { flex-wrap: nowrap; gap: 8px; }
  .hero .hero__ctas .btn { min-height: 44px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; gap: 8px; }
  .hero .hero__ctas .btn--light { flex: 1 1 auto; }
  .hero .hero__ctas .btn--ghost { flex: 0 0 auto; }
  .hero .hero__ctas .btn svg { width: 15px; }
  .hero__chip { bottom: 70px; padding: 7px 12px; gap: 0 12px; }
  .hero__chip span { font-size: 9px; letter-spacing: .22em; }
  .hero__chip strong { font-size: 15px; }
  .hero__chip svg { width: 16px; }
  .hero__nav { bottom: 18px; gap: 16px; }
  .hero__arrows { margin-right: 54px; gap: 6px; }
  .hero__arrows .icon-btn { width: 38px; height: 38px; }
  .hero__arrows .icon-btn svg { width: 18px; height: 18px; }
  .wa-float { width: 44px; height: 44px; right: 12px; bottom: 14px; }
  .wa-float svg { width: 22px; height: 22px; }

  .phead--split .phead__media { max-height: 40vh; }
  .phead--split .phead__txt { padding: 22px var(--gut) 30px; }
  .phead h1 { font-size: clamp(28px, 8vw, 36px); margin-bottom: 12px; }
  .phead p { font-size: 15px; }
  .phead .crumbs, .phead nav[aria-label] { margin-bottom: 14px; }

  /* filtri: famiglie in una riga che scorre col dito, finitura + misura + ricerca in due righe compatte */
  .toolbar__in { min-height: 0; padding-bottom: 10px; gap: 0; }
  .toolbar .chips { flex-wrap: nowrap; margin: 0 calc(-1 * var(--gut)); padding: 10px var(--gut);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chip { padding: 7px 13px; font-size: 12.5px; }
  .toolbar__r { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
  .finish-switch { grid-column: 1 / -1; justify-self: start; }
  .finish-switch button { padding: 6px 12px; font-size: 12.5px; gap: 6px; }
  .finish-switch i { width: 12px; height: 12px; }
  .select select { padding: 7px 30px 7px 12px; font-size: 12.5px; }
  .filter-search { padding: 0 12px; min-width: 0; }
  .filter-search input { padding: 7px 0; font-size: 16px; }
  .coll__count { margin: 22px 0 18px; font-size: 12px; }

  /* menu aperto: voci e pulsante più piccoli */
  .nav { padding-top: calc(var(--hdr-h) + 64px); }
  .nav > a, .nav__dd > a { font-size: 26px; padding: 11px 0; }
  .nav__dd-btn { width: 48px; }
  .nav > a.nav__cta { font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; min-height: 48px; padding: 0 20px; margin-top: 24px; border-bottom: 0; }
}
@media (max-width: 380px) { .hero .hero__ctas .btn svg { display: none; } }
/* con l'effetto vetro attivo l'intestazione "contiene" il menu fisso: da aperto lo togliamo, così il menu copre tutto lo schermo */
@media (max-width: 1024px) { body.nav-open .hdr { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } }

/* -------------------------------------------------------------- cambio pagina: dissolvenza lenta, intestazione ferma */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.hdr { view-transition-name: hdr; }
.wa-float { view-transition-name: wa; }
::view-transition { background: var(--white); } /* tra le due pagine si passa da un fondo chiaro, non dal nero */
::view-transition-old(root) { animation: vtOut .38s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vtIn .85s cubic-bezier(.2, .7, .2, 1) .26s both; }
::view-transition-group(hdr), ::view-transition-group(topbar), ::view-transition-group(wa) { animation-duration: .6s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }
/* browser senza View Transitions: stessa sensazione via JS (classe "pt") */
.pt body { animation: ptFade .8s cubic-bezier(.4, 0, .2, 1) both; }
.pt main { animation: ptRise 1s var(--ease) both; }
.pt.pt-out body { opacity: 0; transition: opacity .38s cubic-bezier(.4, 0, .2, 1); }
@keyframes ptFade { from { opacity: 0; } }
@keyframes ptRise { from { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .pt body, .pt main { animation: none; }
}

/* -------------------------------------------------------------- menu: apertura morbida */
@media (min-width: 1025px) {
  .dd { transform: translateY(14px); transition: opacity .35s cubic-bezier(.4, 0, .2, 1) .08s, transform .5s var(--ease) .08s, visibility 0s linear .45s; }
  .nav__dd:hover .dd, .nav__dd:focus-within .dd { transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s; }
  .dd__in a { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--ease), padding .25s; }
  .nav__dd:hover .dd__in a, .nav__dd:focus-within .dd__in a { opacity: 1; transform: none; transition: opacity .5s var(--ease) calc(.06s + var(--k, 0) * .035s), transform .6s var(--ease) calc(.06s + var(--k, 0) * .035s), padding .25s; }
  .dd__in a:nth-child(2) { --k: 1; } .dd__in a:nth-child(3) { --k: 2; } .dd__in a:nth-child(4) { --k: 3; }
  .dd__in a:nth-child(5) { --k: 4; } .dd__in a:nth-child(6) { --k: 5; } .dd__in a:nth-child(7) { --k: 6; }
  .dd__in a:nth-child(8) { --k: 7; } .dd__in a:nth-child(9) { --k: 8; } .dd__in a:nth-child(10) { --k: 9; }
  .dd__in a:nth-child(n + 11) { --k: 10; }
}
@media (max-width: 1024px) {
  .nav { transition: opacity .45s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .45s; }
  .nav.is-open { transition: opacity .6s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
  .nav > * { opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .35s; }
  .nav.is-open > * { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(.15s + var(--k, 0) * .06s), transform .9s var(--ease) calc(.15s + var(--k, 0) * .06s); }
  .nav > :nth-child(2) { --k: 1; } .nav > :nth-child(3) { --k: 2; } .nav > :nth-child(4) { --k: 3; }
  .nav > :nth-child(5) { --k: 4; } .nav > :nth-child(6) { --k: 5; } .nav > :nth-child(n + 7) { --k: 6; }
  /* sotto-menu Collezione: si apre a tendina invece di comparire di colpo */
  .dd, .nav__dd.is-open .dd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .nav__dd.is-open .dd { grid-template-rows: 1fr; }
  .dd__in { min-height: 0; overflow: hidden; padding: 0 0 0 14px; visibility: hidden; transition: visibility 0s .55s; }
  .nav__dd.is-open .dd__in { visibility: visible; transition: none; }
  .dd__in a { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .3s; }
  .nav__dd.is-open .dd__in a { opacity: 1; transform: none; transition: opacity .5s var(--ease) .12s, transform .6s var(--ease) .12s; }
  .nav__dd-btn svg { transition: transform .45s var(--ease); }
  .burger svg { animation: icoIn .45s var(--ease); }
}
@keyframes icoIn { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }

/* -------------------------------------------------------------- testate delle pagine su smartphone: foto verticale a tutto schermo */
.phead__media picture { display: contents; }
@media (max-width: 760px) {
  .phead--split.phead--m { position: relative; justify-content: flex-end; min-height: calc(82svh - var(--hdr-h)); }
  .phead--split.phead--m .phead__media { position: absolute; inset: 0; width: 100%; max-height: none; aspect-ratio: auto; }
  .phead--split.phead--m .phead__media::before { inset: 0; width: auto; height: auto; z-index: 1;
    background: linear-gradient(0deg, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .62) 34%, rgba(13, 13, 13, 0) 62%); }
  .phead--split.phead--m .phead__txt { flex: none; position: relative; z-index: 2; padding: 0 var(--gut) 30px; }
  .phead--m .phead__txt p { font-size: 14px; line-height: 1.5; }
}
