@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300i.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* La Margherita — stile editoriale: carta crema, inchiostro petrolio, zafferano. Angoli vivi, linee di fustella. */

:root {
	--paper: #F5F0E6;
	--paper-2: #ECE4D4;
	--ink: #1C3A3E;
	--ink-2: #122729;
	--saffron: #D99A1E;
	--text: #1D2B2C;
	--muted: #5A6767;
	--line: rgba(28, 58, 62, .25);
	--serif: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--hdr: 84px;
	--gut: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 300 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; color: var(--ink); }
h1 em, h2 em, h3 em, .lm-mega__claim em, .lm-cta__title em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.lm-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.lm-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 999; }
.lm-skip:focus { left: 8px; }

/* Bottoni: rettangoli pieni o a filetto, nessun arrotondamento */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; border-radius: 0; }
.lm-btn--ink { background: var(--ink); color: var(--paper); }
.lm-btn--ink:hover { background: var(--ink-2); }
.lm-btn--line:hover { background: var(--ink); color: var(--paper); }
.lm-btn--block { width: 100%; }
.lm-link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Codice a matrice di punti (inkjet) ---------- */
.lm-dots { display: inline-block; color: currentColor; line-height: 0; }
.lm-dots__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lm-dots svg { height: var(--dots-h, 14px); width: auto; overflow: visible; }
.lm-dots circle { fill: currentColor; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lm-dots.is-printed circle { animation: lm-ink .18s var(--ease) forwards; animation-delay: calc(var(--c) * 18ms); }
@keyframes lm-ink { from { opacity: 0; transform: scale(1.8); } to { opacity: .92; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lm-dots circle { opacity: .92; animation: none !important; } }

/* ---------- Header ---------- */
.lm-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease); }
.lm-header.is-solid { border-bottom-color: var(--line); }
.lm-header__inner { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.lm-logo { display: block; color: var(--ink); text-decoration: none; flex: none; }
.lm-logo__svg { height: 54px; width: auto; display: block; }
.lm-logo--light { color: var(--paper); }
.lm-nav { margin-left: auto; }
.lm-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.lm-nav__link { display: inline-flex; align-items: center; gap: 7px; height: var(--hdr); padding: 0 14px; background: none; border: 0; color: var(--ink); font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; position: relative; }
.lm-nav__link { font-family: var(--sans); font-size: .98rem; font-weight: 400; }
.lm-nav__link:hover, .is-active > .lm-nav__link, .lm-nav__trigger[aria-expanded="true"] { font-style: italic; }
.lm-nav__trigger svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.lm-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.lm-nav__mobilefoot { display: none; }
.lm-header__cta { flex: none; }
.lm-lang { display: flex; gap: 2px; margin: 0; flex: none; font-size: .82rem; letter-spacing: .06em; }
.lm-lang a { color: var(--muted); text-decoration: none; padding: 6px 6px; }
.lm-lang a[aria-current] { color: var(--ink); font-weight: 600; }
.lm-lang a:hover { color: var(--ink); }
.lm-burger { display: none; }

/* Megamenu */
.lm-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.has-mega.is-open .lm-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.lm-mega__inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 48px; padding-top: 44px; padding-bottom: 48px; }
.lm-mega__claim { font: 500 2.1rem/1.1 var(--serif); color: var(--ink); margin: 0 0 18px; letter-spacing: -.015em; }
.lm-mega__text { color: var(--muted); font-size: .98rem; max-width: 30ch; }
.lm-mega__mail { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); text-decoration: none; }
.lm-mega__tel { display: inline-block; margin-top: 10px; font: 400 1.4rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.lm-mega__list { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--line); }
.lm-mega__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 15px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease); }
.lm-mega__row:hover, .lm-mega__row:focus-visible { padding-left: 10px; }
.lm-mega__row:hover .lm-mega__title, .lm-mega__row.is-current .lm-mega__title { font-style: italic; }
.lm-mega__title { font: 400 1.3rem/1.15 var(--serif); }
.lm-mega__short { font-size: .85rem; color: var(--muted); }
.lm-mega__preview { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.lm-mega__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.lm-mega-veil { position: fixed; inset: var(--hdr) 0 0 0; background: rgba(18, 39, 41, .35); z-index: 40; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lm-mega-veil.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- Hero immersiva ---------- */
.lm--home .lm-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--paper); transition: background .35s, border-color .35s, color .35s, transform .4s var(--ease); }
.lm--home .lm-header .lm-logo, .lm--home .lm-header .lm-nav__link, .lm--home .lm-header .lm-lang a, .lm--home .lm-header .lm-burger { color: var(--paper); }
.lm--home .lm-header .lm-lang a[aria-current] { color: var(--paper); }
.lm--home .lm-header .lm-lang a:not([aria-current]) { opacity: .7; }
.lm--home .lm-header .lm-header__cta { background: transparent; border-color: rgba(245, 240, 230, .7); color: var(--paper); }
.lm--home .lm-header .lm-burger { border-color: rgba(245, 240, 230, .7); }
.lm--home .lm-header.is-solid, .lm--home .lm-header.is-menu { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.lm--home .lm-header.is-solid .lm-logo, .lm--home .lm-header.is-menu .lm-logo,
.lm--home .lm-header.is-solid .lm-nav__link, .lm--home .lm-header.is-menu .lm-nav__link,
.lm--home .lm-header.is-solid .lm-lang a, .lm--home .lm-header.is-menu .lm-lang a,
.lm--home .lm-header.is-solid .lm-burger, .lm--home .lm-header.is-menu .lm-burger { color: var(--ink); opacity: 1; }
.lm--home .lm-header.is-solid .lm-lang a:not([aria-current]), .lm--home .lm-header.is-menu .lm-lang a:not([aria-current]) { color: var(--muted); }
.lm--home .lm-header.is-solid .lm-burger, .lm--home .lm-header.is-menu .lm-burger { border-color: var(--ink); }
.lm--home .lm-header.is-solid .lm-header__cta, .lm--home .lm-header.is-menu .lm-header__cta { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.lm-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--paper); background: var(--ink-2); }
.lm-hero__media { position: absolute; inset: 0; transform: scale(calc(1.04 + var(--lm-hero, 0) * .08)); transform-origin: 50% 40%; }
.lm-hero__img, .lm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lm-hero__img { animation: lm-fadein 1.6s var(--ease) both; }
.lm-hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.lm-hero__video.is-playing { opacity: 1; }
@keyframes lm-fadein { from { opacity: 0; transform: scale(1.06); } }
.lm-hero__shade { position: absolute; inset: 0; background: rgba(18, 39, 41, .42); }
.lm-hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(48px, 9vh, 96px); }
.lm-hero__title { color: var(--paper); font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 clamp(24px, 4vh, 40px); max-width: 17ch; animation: lm-rise 1.2s var(--ease) .2s both; }
.lm-hero__title em { color: var(--paper); }
.lm-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 56px; flex-wrap: wrap; animation: lm-rise 1.2s var(--ease) .45s both; }
@keyframes lm-rise { from { opacity: 0; transform: translateY(28px); } }
.lm-hero__lead { font-size: 1.1rem; max-width: 46ch; margin: 0; color: rgba(245, 240, 230, .92); }
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.lm-btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.lm-btn--paper:hover { background: #fff; }
.lm-btn--ghost { border-color: rgba(245, 240, 230, .75); color: var(--paper); }
.lm-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.lm-hero__code { position: absolute; z-index: 2; right: var(--gut); top: calc(var(--hdr) + 28px); color: var(--paper); --dots-h: 12px; opacity: .85; }

/* ---------- Linea di confezionamento animata ---------- */
.lm-line { padding-top: 16px; }
.lm-line__track { position: relative; height: 230px; overflow: hidden; }
.lm-line__belt { position: absolute; left: 0; bottom: 21px; display: flex; gap: 64px; width: max-content; padding-right: 64px; will-change: transform; }
.lm-item { width: 80px; height: 120px; flex: none; overflow: visible; }
.lm-item .o { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: miter; }
.lm-item .l { fill: var(--ink); opacity: 0; }
.lm-item.is-done .l { opacity: 1; animation: lm-label .45s var(--ease); }
.lm-line__belt.is-snap .l { animation: none; }
@keyframes lm-label { from { opacity: 0; } to { opacity: 1; } }
.lm-line__floor { position: absolute; left: 0; right: 0; bottom: 20px; border-top: 1px solid var(--ink); }
.lm-line__head { position: absolute; left: 50%; bottom: 140px; width: 60px; height: 64px; margin-left: -30px; overflow: visible; }
.lm-line__head rect, .lm-line__head path { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; }
.lm-line__drop { fill: var(--ink); opacity: 0; }
.lm-line__head.is-fire .lm-line__drop { animation: lm-drop .5s linear; }
.lm-line__head.is-fire .lm-line__drop + .lm-line__drop { animation-delay: .14s; }
@keyframes lm-drop { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(20px); } }
.lm-line__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 22px; padding-bottom: 10px; }
.lm-line__say { font: 500 1.2rem/1.4 var(--sans); color: var(--ink); margin: 0; letter-spacing: -.01em; }
.lm-line__say span { font-weight: 300; color: var(--muted); }
.lm-line__link { flex: none; color: var(--ink); font-weight: 400; text-underline-offset: 5px; }
@media (max-width: 700px) {
	.lm-line__track { height: 190px; }
	.lm-line__belt { gap: 34px; padding-right: 34px; }
	.lm-item { width: 60px; height: 90px; }
	.lm-line__head { bottom: 106px; transform: scale(.8); transform-origin: 50% 100%; }
	.lm-line__foot { flex-direction: column; gap: 8px; }
	.lm-line__say { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
	.lm-item .l, .lm-line__drop { animation: none !important; }
}

/* ---------- Intro ---------- */
.lm-intro { padding: clamp(80px, 11vw, 150px) 0; }
.lm-intro__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 60px; }
.lm-intro__title { font-size: clamp(2rem, 3.4vw, 3rem); }
.lm-intro__big { font: 300 clamp(1.2rem, 1.8vw, 1.6rem)/1.5 var(--serif); color: var(--ink); margin-bottom: 56px; }
.lm-souls { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.lm-soul { padding: 26px 32px 0 0; }
.lm-soul + .lm-soul { padding-left: 32px; border-left: 1px dashed var(--line); }
.lm-soul h3 { font-size: 1.7rem; font-style: italic; margin-bottom: 12px; }
.lm-soul p { color: var(--muted); margin: 0; }

/* ---------- Lavorazioni: indice numerato + palco immagini ---------- */
.lm-works { padding: 0 0 clamp(80px, 10vw, 140px); }
.lm-works__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; border-bottom: 1px solid var(--ink); padding-bottom: 22px; }
.lm-works__head h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); margin: 0; }
.lm-works__head p { max-width: 34ch; color: var(--muted); margin: 0; }
.lm-works__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; }
.lm-works__list { list-style: none; margin: 0; padding: 0; }
.lm-work { display: block; padding: 30px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); position: relative; }
.lm-work__title { display: block; font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.15 var(--serif); letter-spacing: -.02em; transition: transform .4s var(--ease); }
.lm-work__text { display: block; color: var(--muted); max-width: 46ch; margin-top: 10px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.lm-work.is-on .lm-work__text, .lm-work:focus-visible .lm-work__text { max-height: 8em; opacity: 1; }
.lm-work.is-on .lm-work__title { transform: translateX(10px); font-style: italic; }
.lm-work__img { display: none; }
.lm-works__stage { position: sticky; top: calc(var(--hdr) + 30px); align-self: start; margin-top: 30px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.lm-works__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.6s var(--ease); }
.lm-works__stage img.is-on { opacity: 1; transform: none; }

/* ---------- Codifica: tre campioni di stampa ---------- */
.lm-codes { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) 0; }
.lm-codes__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.lm-codes__head h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); margin: 0; }
.lm-codes__head p { color: var(--muted); max-width: 40ch; margin: 0; }
.lm-codes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.lm-code { padding: 28px 28px 8px 0; }
.lm-code + .lm-code { padding-left: 28px; border-left: 1px dashed var(--line); }
.lm-code h3 { font-size: 1.8rem; margin: 26px 0 10px; }
.lm-code p { color: var(--muted); }
.lm-code__swatch { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.lm-code__swatch--card { background: #F8F4EC; outline: 1px dashed var(--line); outline-offset: -10px; color: #1b1b1b; }
.lm-code__ink { --dots-h: 18px; }
.lm-code__swatch--glass { background: #56726F; }
.lm-code__laser { font: 500 .95rem/1 var(--sans); letter-spacing: .22em; color: rgba(255, 255, 255, .9); text-shadow: 0 0 1px rgba(255,255,255,.8); }
.lm-code__swatch--board { background: #E9DFCB; }
.lm-code__emboss { font: 600 1.7rem/1 var(--sans); letter-spacing: .12em; color: #E9DFCB; text-shadow: -1px -1px 0 rgba(255,255,255,.75), 1px 1px 1px rgba(80,60,30,.45); }

/* ---------- Perché sceglierci ---------- */
.lm-why { padding: clamp(80px, 10vw, 140px) 0; }
.lm-why__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.lm-why__media { position: sticky; top: calc(var(--hdr) + 30px); aspect-ratio: 4 / 5; overflow: hidden; }
.lm-why__media img { width: 100%; height: 100%; object-fit: cover; }
.lm-why__body h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-bottom: 40px; }
.lm-why__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.lm-why__list li { padding: 26px 0; border-bottom: 1px dashed var(--line); }
.lm-why__list span { display: block; }
.lm-why__list span { font: 400 1.6rem/1.2 var(--serif); color: var(--ink); }
.lm-why__list p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Altri servizi (secondari) ---------- */
.lm-other { padding: 0 0 clamp(80px, 10vw, 130px); }
.lm-other__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 56px; padding-top: 40px; position: relative; }
.lm-other__grid::before, .lm-page__layout::before, .lm-contact::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--ink); }
.lm-other__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.lm-other__head p { color: var(--muted); }
.lm-other__list { list-style: none; margin: 0; padding: 0; }
.lm-otheritem { display: grid; grid-template-columns: 120px 1fr; gap: 4px 26px; padding: 18px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.lm-other__list li:first-child .lm-otheritem { padding-top: 0; }
.lm-otheritem__img { grid-row: span 2; aspect-ratio: 4 / 3; overflow: hidden; }
.lm-otheritem__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transition: filter .4s, transform .8s var(--ease); }
.lm-otheritem:hover .lm-otheritem__img img { filter: none; transform: scale(1.05); }
.lm-otheritem__title { font: 400 1.4rem/1.2 var(--serif); align-self: end; }
.lm-otheritem__text { color: var(--muted); font-size: .96rem; }

/* ---------- Citazione ---------- */
.lm-quote { padding: 0 0 clamp(80px, 10vw, 130px); }
.lm-quote blockquote { margin: 0 auto; max-width: 980px; text-align: center; }
.lm-quote p { font: italic 300 clamp(1.4rem, 2.6vw, 2.2rem)/1.4 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0; }

/* ---------- CTA: etichetta su foto ---------- */
.lm-cta { position: relative; padding: clamp(80px, 12vw, 170px) 0; overflow: hidden; background: var(--ink-2); }
.lm-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-cta__inner { position: relative; }
.lm-cta__label { background: var(--paper); max-width: 560px; padding: 44px 44px 36px; outline: 1px dashed var(--ink); outline-offset: -12px; }
.lm-cta__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.lm-cta__who { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); margin: 24px 0 18px; }
.lm-cta__who span { display: block; font: 500 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lm-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-cta__code { color: var(--muted); --dots-h: 11px; margin-top: 12px; }

/* ---------- Pagine interne ---------- */
.lm-pagehero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.lm-pagehero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.lm-page--plain .lm-pagehero__grid { grid-template-columns: 1fr; }
.lm-pagehero h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); margin-bottom: 24px; }
.lm-pagehero__lead { font: 300 clamp(1.15rem, 1.7vw, 1.45rem)/1.45 var(--serif); color: var(--ink); max-width: 44ch; }
.lm-pagehero__code { color: var(--muted); --dots-h: 12px; margin-top: 14px; }
.lm-pagehero__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.lm-pagehero__media img { width: 100%; height: 100%; object-fit: cover; animation: lm-reveal 1.2s var(--ease) both; }
.lm-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); padding-top: 40px; padding-bottom: clamp(70px, 9vw, 120px); position: relative; }
.lm-prose { max-width: 70ch; }
.lm-prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1.6em 0 .55em; }
.lm-prose h2:first-child { margin-top: 0; }
.lm-prose h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.lm-prose ul, .lm-prose ol { padding-left: 0; list-style: none; margin: 0 0 1.4em; border-top: 1px dashed var(--line); }
.lm-prose li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lm-prose li strong { font-family: var(--serif); font-weight: 500; color: var(--ink); }
.lm-prose a { color: var(--ink); text-underline-offset: 3px; }
.lm-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.4em; }
.lm-prose th, .lm-prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.lm-page__aside { align-self: start; position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 32px; }
.lm-asidecard { background: var(--ink); color: var(--paper); padding: 30px; outline: 1px dashed rgba(245,240,230,.35); outline-offset: -9px; }
.lm-asidecard h2 { color: var(--paper); font-size: 1.9rem; font-style: italic; margin-bottom: 10px; }
.lm-asidecard p { opacity: .85; font-size: .96rem; }
.lm-asidecard__who { font: 400 1.15rem/1.3 var(--serif); opacity: 1 !important; }
.lm-asidecard__who span { font: .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.lm-asidecard__tel { display: block; font: 400 1.55rem/1 var(--serif); color: var(--paper); text-decoration: none; margin: 4px 0 8px; }
.lm-asidecard__mail { display: block; color: var(--paper); font-size: .95rem; margin: 4px 0 22px; word-break: break-all; }
.lm-asidecard .lm-btn--ink { background: var(--saffron); border-color: var(--saffron); color: var(--ink-2); }
.lm-asidenav h2 { font: 500 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lm-asidenav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.lm-asidenav a { display: block; padding: 11px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); font: 400 1.08rem/1.3 var(--serif); }
.lm-asidenav .is-current a { font-style: italic; }
.lm-asidenav a:hover { padding-left: 6px; transition: padding .3s var(--ease); }

/* Contatti */
.lm-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 96px); padding-top: 40px; padding-bottom: clamp(70px, 9vw, 120px); position: relative; }
.lm-contact dl { margin: 0 0 24px; }
.lm-contact dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.lm-contact dt:first-child { margin-top: 0; }
.lm-contact dd { margin: 4px 0 0; font: 400 1.3rem/1.35 var(--serif); color: var(--ink); }
.lm-contact dd a { text-decoration: none; }
.lm-contact dd a:hover { text-decoration: underline; }
.lm-contact__plant + .lm-contact__plant { margin-top: 14px !important; }
.lm-contact__plant .lm-link { font: 400 .9rem/1.6 var(--sans); }
.lm-contact__small { font-family: var(--sans) !important; font-size: .95rem !important; color: var(--muted) !important; }
.lm-form h2 { font-size: 2.2rem; font-style: italic; }
.lm-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lm-form legend { display: none; }
.lm-form .control-group { margin-bottom: 18px; }
.lm-form label { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lm-form .star { color: var(--ink); }
.lm-form input[type="text"], .lm-form input[type="email"], .lm-form input[type="tel"], .lm-form textarea, .lm-form select { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; font: 400 1.1rem/1.4 var(--sans); color: var(--text); border-radius: 0; }
.lm-form textarea { min-height: 150px; border: 1px solid var(--ink); padding: 12px; resize: vertical; }
.lm-form input:focus, .lm-form textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 1px 0 var(--ink-2); }
.lm-form .form-check { display: flex; gap: 10px; align-items: flex-start; }
.lm-form .form-check label { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); }
.lm-form button[type="submit"], .lm-form .btn-primary { display: inline-flex; align-items: center; min-height: 52px; padding: 0 30px; background: var(--ink); color: var(--paper); border: 0; font: 500 1rem/1 var(--sans); cursor: pointer; border-radius: 0; }
.lm-form button[type="submit"]:hover { background: var(--ink-2); }
.lm-form__privacy { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.lm-form .invalid { border-color: #A3361F !important; }
.lm-form .form-control-feedback { color: #A3361F; font-size: .85rem; }
joomla-alert { display: block; max-width: 1360px; margin: 24px auto 0; padding: 16px var(--gut); background: var(--paper-2); border: 1px solid var(--line); }
joomla-alert .joomla-alert--close { float: right; background: none; border: 0; font-size: 1.4rem; cursor: pointer; }
.alert-heading { font-weight: 600; }

/* ---------- Scene animate delle lavorazioni ---------- */
.lm-scene { margin: 0; padding: 8px 0 36px; }
.lm-scene figcaption { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 10px; }
.lm-scene__svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; overflow: visible; }
.lm-scene .o { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: miter; }
.lm-scene path.o[d^="M0 180"] { fill: none; }
.lm-scene .f, .lm-scene .d { fill: var(--ink); }
.lm-scene .s { fill: var(--saffron); }
.lm-scene * { transform-box: fill-box; }
/* etichettatura */
.lm-sc-spool { transform-origin: center; animation: lm-spin 5s linear infinite; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-sc-label { transform-origin: left center; animation: lm-label 5s var(--ease) infinite; }
@keyframes lm-label { 0%, 12% { transform: scaleX(0); opacity: 1; } 55%, 86% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.lm-sc-roller { animation: lm-roller 5s var(--ease) infinite; }
@keyframes lm-roller { 0%, 12% { transform: translateX(0); } 55%, 70% { transform: translateX(60px); } 86%, 100% { transform: translateX(0); } }
.lm-sc-lot { animation: lm-lot 5s linear infinite; }
@keyframes lm-lot { 0%, 58% { opacity: 0; } 62%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
/* kit */
.lm-sc-drop { animation: lm-drop-in 6s var(--ease) infinite; }
.lm-sc-drop--2 { animation-name: lm-drop-in2; }
.lm-sc-drop--3 { animation-name: lm-drop-in3; }
@keyframes lm-drop-in { 0%, 4% { transform: translateY(-110px); opacity: 0; } 16%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes lm-drop-in2 { 0%, 16% { transform: translateY(-110px); opacity: 0; } 28%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes lm-drop-in3 { 0%, 28% { transform: translateY(-110px); opacity: 0; } 40%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
.lm-sc-lid { animation: lm-lid 6s var(--ease) infinite; }
.lm-sc-back { fill: none !important; }
@keyframes lm-lid { 0%, 48% { transform: translateY(-110px); opacity: 0; } 50% { opacity: 1; } 62%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
.lm-sc-ribbon { transform-origin: center top; animation: lm-ribbon 6s var(--ease) infinite; }
@keyframes lm-ribbon { 0%, 64% { transform: scaleY(0); opacity: 1; } 74%, 88% { transform: scaleY(1); opacity: 1; } 96%, 100% { transform: scaleY(1); opacity: 0; } }
/* incollaggio */
.lm-scene .g { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 4; }
.lm-sc-glue { transform-origin: left center; animation: lm-glue 5s linear infinite; }
@keyframes lm-glue { 0%, 12% { transform: scaleX(0); opacity: 1; } 50%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.lm-sc-gun { animation: lm-gun 5s linear infinite; }
@keyframes lm-gun { 0%, 12% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(132px); opacity: 1; } 56% { transform: translateX(132px) translateY(-30px); opacity: 0; } 92% { transform: translateX(0) translateY(-30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.lm-sc-flap { transform-origin: left center; animation: lm-flap 5s var(--ease) infinite; }
@keyframes lm-flap { 0%, 52% { transform: rotate(-70deg); } 66%, 88% { transform: rotate(0); } 100% { transform: rotate(-70deg); } }
/* termoretrazione */
.lm-sc-move { animation: lm-move 8s linear infinite; }
@keyframes lm-move { from { transform: translateX(-90px); } to { transform: translateX(640px); } }
.lm-sc-film { fill: none !important; stroke-dasharray: 4 3; }
.lm-sc-tight { fill: none !important; stroke-width: .9 !important; }
/* codifica */
.lm-scene--code .lm-wrap { display: flex; flex-direction: column; align-items: center; }
.lm-sc-carton { position: relative; background: #FBF8F1; border: 1.3px solid var(--ink); padding: 70px 56px 44px; outline: 1px dashed var(--line); outline-offset: -10px; }
.lm-sc-print { position: relative; display: inline-block; --dots-h: 26px; color: var(--ink); }
.lm-sc-head { position: absolute; top: -56px; left: 0; width: 30px; height: 34px; margin-left: -15px; background: var(--paper); border: 1.3px solid var(--ink); animation: lm-head 7s linear infinite; }
.lm-sc-head::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 10px; height: 9px; margin-left: -5px; border: 1.3px solid var(--ink); border-top: 0; background: var(--paper); }
@keyframes lm-head { 0% { left: 0; } 68% { left: 100%; } 78% { left: 100%; } 94%, 100% { left: 0; } }
.lm-dots.lm-dots--loop circle, .lm-dots.lm-dots--loop.is-printed circle { opacity: 0; transform: none; animation: lm-inkloop 7s linear infinite; animation-delay: calc(var(--c) * 40ms); }
@keyframes lm-inkloop { 0% { opacity: 0; } 1%, 74% { opacity: .92; } 80%, 100% { opacity: 0; } }
@media (max-width: 600px) {
	.lm-sc-carton { padding: 60px 22px 30px; }
	.lm-sc-print { --dots-h: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.lm-scene *, .lm-sc-head { animation: none !important; }
	.lm-dots.lm-dots--loop circle { opacity: .92 !important; }
}

/* Richiamo banner cookie */
.lm-ckfab { position: fixed; left: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center; background: #FBF8F1; color: var(--ink); border: 1px solid var(--ink); outline: 1px dashed var(--line); outline-offset: -6px; cursor: pointer; padding: 0; border-radius: 0; box-shadow: 0 10px 24px -14px rgba(18, 39, 41, .6); transition: transform .3s var(--ease); }
.lm-ckfab[hidden], .lm-nav-open .lm-ckfab { display: none; }
.lm-ckfab:hover { transform: translateY(-3px) rotate(-3deg); }
.lm-ckfab svg { width: 24px; height: 24px; }
.lm-ckfab rect, .lm-ckfab path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.lm-ckfab circle { fill: currentColor; }

/* ---------- Footer ---------- */
.lm-footer { background: var(--ink); color: var(--paper); padding: 72px 0 32px; }
.lm-footer a { color: inherit; text-decoration: none; }
.lm-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lm-footer__top { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; padding-bottom: 44px; border-bottom: 1px dashed rgba(245, 240, 230, .3); }
.lm-footer .lm-logo__svg { height: 66px; }
.lm-footer__quote { font: italic 300 clamp(1.15rem, 1.8vw, 1.5rem)/1.4 var(--serif); margin: 0; max-width: 46ch; justify-self: end; opacity: .9; }
.lm-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.lm-footer h2 { color: var(--paper); font: italic 400 1.25rem/1.3 var(--serif); margin-bottom: 14px; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; }
.lm-footer li { margin-bottom: 8px; }
.lm-footer address { font-style: normal; margin-bottom: 12px; }
.lm-footer__legal { border-top: 1px dashed rgba(245, 240, 230, .3); padding-top: 24px; font-size: .84rem; opacity: .75; }
.lm-footer__legal p { margin-bottom: 6px; }
.lm-credit { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; }
.lm-credit__code { --dots-h: 9px; color: var(--paper); opacity: .8; }

/* ---------- Cookie: etichetta adesiva ---------- */
.lm-ck { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: min(400px, calc(100vw - 32px)); }
.lm-ck[hidden] { display: none; }
.lm-ck__label { background: #FBF8F1; color: var(--text); padding: 26px 26px 20px; outline: 1px dashed var(--ink); outline-offset: -9px; box-shadow: 0 18px 40px -18px rgba(18, 39, 41, .55); transform-origin: 100% 100%; animation: lm-apply .9s var(--ease) both .6s; }
@keyframes lm-apply { 0% { transform: translateX(110%) rotate(4deg); } 70% { transform: translateX(-2%) rotate(-.5deg); } 100% { transform: none; } }
.lm-ck.is-out .lm-ck__label { animation: lm-peel .5s var(--ease) forwards; }
@keyframes lm-peel { to { transform: translate(30px, 30px) rotate(8deg) scale(.9); opacity: 0; } }
.lm-ck__title { font: italic 400 1.5rem/1.1 var(--serif); color: var(--ink); margin-bottom: 10px; }
.lm-ck__text { font-size: .92rem; margin-bottom: 16px; }
.lm-ck__text a { color: var(--ink); }
.lm-ck__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lm-ck__code { --dots-h: 10px; color: var(--muted); }
.lm-ck .lm-btn { min-height: 44px; padding: 0 18px; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lm-header__cta { display: none; }
	.lm-mega__inner { grid-template-columns: 1fr 1.4fr; }
	.lm-mega__preview { display: none; }
	.lm-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	:root { --hdr: 70px; }
	.lm-logo__svg { height: 44px; }
	.lm-lang { margin-left: auto; }
	.lm-burger { display: block; margin-left: 8px; width: 46px; height: 46px; position: relative; background: none; border: 1px solid var(--ink); cursor: pointer; color: var(--ink); }
	.lm-burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
	.lm-burger span:nth-child(1) { top: 18px; }
	.lm-burger span:nth-child(2) { top: 26px; }
	.lm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
	.lm-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
	.lm-nav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--paper); overflow-y: auto; padding: 12px var(--gut) 40px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; margin: 0; }
	.lm-nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
	.lm-nav__list { flex-direction: column; gap: 0; }
	.lm-nav__item { border-bottom: 1px dashed var(--line); }
	.lm-nav__link { height: auto; padding: 18px 0; width: 100%; justify-content: space-between; font: 400 1.6rem/1.1 var(--serif); }
	.lm-mega { position: static; border: 0; visibility: visible; opacity: 1; transform: none; display: none; }
	.has-mega.is-open .lm-mega { display: block; }
	.lm-mega__inner { grid-template-columns: 1fr; padding: 0 0 16px; gap: 0; }
	.lm-mega__intro { display: none; }
	.lm-mega__inner.lm-wrap { padding: 0 0 12px; }
	.lm-mega__title { font-size: 1.15rem; }
	.lm-mega-veil { display: none; }
	.lm-nav__mobilefoot { display: grid; gap: 10px; margin-top: 28px; font: 400 1.2rem/1.3 var(--serif); }
	.lm-nav__mobilefoot a { color: var(--ink); text-decoration: none; }

	.lm-hero { min-height: 560px; }
	.lm-hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
	.lm-hero__lead { font-size: 1rem; }
	.lm-hero__code { --dots-h: 9px; }
	.lm-intro__grid, .lm-works__grid, .lm-codes__head, .lm-why__grid, .lm-other__grid, .lm-pagehero__grid, .lm-page__layout, .lm-contact { grid-template-columns: 1fr; }
	.lm-intro__grid { gap: 20px; }
	.lm-works__head { flex-direction: column; align-items: start; }
	.lm-works__stage { display: none; }
	.lm-work__text { max-height: none; opacity: 1; }
	.lm-work.is-on .lm-work__title { transform: none; font-style: normal; }
	.lm-work__img { display: block; margin-top: 16px; aspect-ratio: 16 / 10; overflow: hidden; }
	.lm-work__img img { width: 100%; height: 100%; object-fit: cover; }
	.lm-codes__grid { grid-template-columns: 1fr; }
	.lm-code + .lm-code { padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); }
	.lm-why__media { position: relative; top: 0; aspect-ratio: 16 / 11; }
	.lm-page__aside { position: static; }
	.lm-footer__top { grid-template-columns: 1fr; gap: 24px; }
	.lm-footer__quote { justify-self: start; }
}
@media (max-width: 600px) {
	.lm-souls { grid-template-columns: 1fr; }
	.lm-soul + .lm-soul { padding-left: 0; border-left: 0; }
	.lm-otheritem { grid-template-columns: 90px 1fr; gap: 4px 16px; }
	.lm-cta__label { padding: 34px 26px 28px; }
	.lm-footer__grid { grid-template-columns: 1fr; }
	.lm-ck { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
