/* =========================================================
   Artisan Leather Italy — stile "artigianale contemporaneo"
   ========================================================= */

:root {
  --avorio: #F6F1E8;
  --moro: #30241F;
  --cuoio: #A66A43;
  --beige: #E9DFD1;

  --cuoio-scuro: #87522F;   /* hover / testo piccolo su avorio */
  --filo: #E3C29C;          /* filo cerato su fondo scuro */
  --moro-2: #241A16;        /* footer */
  --testo-2: #6E5D51;       /* testo secondario */
  --linea: rgba(48, 36, 31, .14);

  --f-titoli: "Cormorant Garamond", "Times New Roman", serif;
  --f-testo: "Lato", system-ui, -apple-system, sans-serif;

  --r: 4px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 84px;
  --sp: clamp(60px, 11vh, 150px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--avorio);
  color: var(--moro);
  font-family: var(--f-testo);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grana della carta */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .19 0 0 0 0 .14 0 0 0 0 .12 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px dashed var(--cuoio); outline-offset: 4px; }
::selection { background: var(--cuoio); color: var(--avorio); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--moro); color: var(--avorio); padding: 10px 16px; z-index: 300; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--f-titoli); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--cuoio); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-testo);
  font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cuoio-scuro);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 0;
  border-top: 2px dashed currentColor;
}
.h-sec { font-size: clamp(36px, min(6vw, 9.5vh), 84px); font-weight: 400; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--testo-2); max-width: 56ch; margin: 24px 0 0; }

/* ---------- Pulsanti (con "cucitura" interna) ---------- */
.btn {
  --bg: var(--cuoio); --fg: var(--avorio); --stitch: rgba(246, 241, 232, .7);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: var(--r);
  font-family: var(--f-testo); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px dashed var(--stitch);
  border-radius: 2px;
  opacity: 0; transform: scale(1.04);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.btn:hover { background: var(--cuoio-scuro); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(48, 36, 31, .55); }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; transform: scale(1); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--moro); --stitch: var(--cuoio); box-shadow: inset 0 0 0 1.5px var(--moro); }
.btn--ghost:hover { --fg: var(--avorio); background: var(--moro); box-shadow: inset 0 0 0 1.5px var(--moro), 0 14px 30px -14px rgba(48, 36, 31, .55); }
.btn--light { --bg: var(--avorio); --fg: var(--moro); --stitch: var(--cuoio); }
.btn--light:hover { background: #fff; }
.btn--wa { --bg: #2E6B4A; }
.btn--wa:hover { background: #245839; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  color: var(--cuoio-scuro); text-decoration: none;
  border-bottom: 1.5px dashed currentColor; padding-bottom: 3px;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 14px; color: var(--moro); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .4s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--linea), 0 10px 30px -20px rgba(48, 36, 31, .35); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease); }
.header.is-scrolled .header__in { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 50px; height: auto; transition: width .4s var(--ease); }
.header.is-scrolled .brand img { width: 42px; }
.brand span { font-family: var(--f-titoli); font-size: 21px; font-weight: 600; letter-spacing: .04em; line-height: 1; }
.brand small { display: block; font-family: var(--f-testo); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--cuoio-scuro); margin-top: 5px; font-weight: 700; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative; font-size: 14px; letter-spacing: .04em; text-decoration: none; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1.5px dashed var(--cuoio);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid var(--linea); border-radius: 30px; padding: 3px; }
.lang button {
  border: 0; background: none; padding: 4px 10px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--testo-2);
  transition: background .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: var(--moro); color: var(--avorio); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 0; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 11px; width: 24px; height: 1.5px; background: var(--moro); content: "";
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span { top: 22px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85;
  background: var(--moro); color: var(--avorio);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu-open .header { background: transparent; box-shadow: none; }
.menu-open .header .brand span, .menu-open .header .brand small { color: var(--avorio); }
.menu-open .burger span::before, .menu-open .burger span::after { background: var(--avorio); }
.mobile-menu a { font-family: var(--f-titoli); font-size: clamp(34px, 9vw, 52px); line-height: 1.3; text-decoration: none; }
.mobile-menu a:hover { color: var(--filo); font-style: italic; }
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; font-family: var(--f-testo); font-size: 14px; line-height: 1; }

/* ---------- Cucitura (elemento firma) ---------- */
.stitch-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* le cuciture sono solo decorative: non devono mai bloccare i clic su campi e pulsanti */
[data-stitch], .stitch-host { pointer-events: none; }
.seam { position: relative; height: 14px; }
.seam--dark { background: var(--moro); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease); }
.rv-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.rv-img.in img { transform: scale(1); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: calc(100svh - var(--header-h));
  min-height: 520px;
}
.hero__text {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 5vh, 60px) clamp(24px, 5vw, 80px) clamp(48px, 9vh, 90px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero__mark {
  position: absolute; right: -60px; top: 50%; width: 380px; transform: translateY(-50%);
  opacity: .05; pointer-events: none;
}
.hero h1 { font-size: clamp(38px, min(6.4vw, 9.6vh), 112px); font-weight: 400; line-height: .98; letter-spacing: -.02em; }
.hero h1 .ln { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.loaded .hero h1 .ln > span { transform: none; }
.hero .lead { max-width: 44ch; margin-top: clamp(12px, 2.6vh, 24px); font-size: clamp(15px, 2.2vh, 19px); }
.hero .eyebrow { margin-bottom: clamp(12px, 2.6vh, 22px); }
.lbl-short { display: none; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(18px, 4vh, 38px); }
.hero__tan { margin-top: clamp(14px, 3vh, 30px); align-self: flex-start; }
@media (min-width: 901px) and (max-height: 760px) { .hero__scroll { display: none; } }
.hero__fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, .6s); }
.loaded .hero__fade { opacity: 1; transform: none; }

.hero__media { position: relative; overflow: hidden; background: var(--moro); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(1.12); transition: transform 2.6s var(--ease);
  will-change: transform;
}
.loaded .hero__media img { transform: scale(1.0); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(48, 36, 31, 0) 55%, rgba(48, 36, 31, .55) 100%);
}
.hero__frame { position: absolute; inset: 22px; z-index: 2; }
.hero__caption {
  position: absolute; left: 46px; bottom: 44px; z-index: 3;
  color: var(--avorio); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.hero__caption::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--filo); box-shadow: 0 0 0 5px rgba(227, 194, 156, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(227, 194, 156, 0); } }
.hero__seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; margin-left: -7px; z-index: 4; }
.hero__scroll {
  position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 30px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--testo-2);
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll i { display: block; width: 1px; height: 46px; background: var(--linea); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--cuoio); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { background: var(--beige); padding: calc(var(--sp) * 1.15) 0; position: relative; }
.manifesto p {
  font-family: var(--f-titoli); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.01em;
  max-width: 20ch; margin: 0 auto; text-align: center;
}
.manifesto .w { opacity: .14; transition: opacity .4s linear; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.hl { font-style: italic; color: var(--cuoio); }
.manifesto small {
  display: block; text-align: center; margin: 44px auto 0; max-width: 42ch;
  font-size: 15px; letter-spacing: .04em; color: var(--testo-2);
}
.manifesto__mark { width: 74px; margin: 0 auto 46px; opacity: .9; }

/* =========================================================
   LAVORAZIONE (fondo scuro, attrezzi disegnati a filo)
   ========================================================= */
.craft { background: var(--moro); color: var(--avorio); padding: var(--sp) 0; position: relative; overflow: hidden; }
.craft .eyebrow { color: var(--filo); }
.craft .lead { color: rgba(246, 241, 232, .72); }
.craft__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; }
.craft__head .lead { margin: 0; }
.steps, .order__steps { list-style: none; padding: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 7vh, 100px); counter-reset: s; }
.step { position: relative; padding: 0 clamp(20px, 3vw, 44px); border-left: 1.5px dashed rgba(227, 194, 156, .28); }
.step:first-child { border-left: 0; padding-left: 0; }
.step__num { font-family: var(--f-titoli); font-style: italic; font-size: 20px; color: var(--filo); }
.step__tool { width: clamp(100px, 16vh, 150px); height: clamp(100px, 16vh, 150px); margin: clamp(10px, 2vh, 18px) 0 clamp(14px, 3vh, 26px); }
.step__tool path, .step__tool line, .step__tool circle, .step__tool ellipse, .step__tool rect, .step__tool polyline {
  fill: none; stroke: var(--filo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease);
}
.step__tool .thin { stroke-width: 1; opacity: .6; }
.step__tool .dash { stroke-dasharray: 3 4; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 1.6s; }
.step.in .step__tool * { stroke-dashoffset: 0; }
.step.in .step__tool .dash { opacity: 1; }
.step h3 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 400; }
.step__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--filo); margin: 10px 0 18px; font-weight: 700; }
.step p { color: rgba(246, 241, 232, .74); margin: 0; font-size: 16px; }
.craft__quote {
  margin: clamp(48px, 9vh, 130px) auto 0; max-width: 30ch; text-align: center;
  font-family: var(--f-titoli); font-style: italic; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; color: var(--avorio);
}
.craft__bg {
  position: absolute; right: -8vw; top: -6vw; width: 46vw; opacity: .04; pointer-events: none;
}

/* =========================================================
   PRODOTTI
   ========================================================= */
.products { padding: var(--sp) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(30px, 6vh, 72px); }
.sec-head .lead { margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 34px); }
.card { position: relative; text-decoration: none; display: block; cursor: pointer; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--beige); }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%;
  transition: transform 1.2s var(--ease), opacity .7s var(--ease);
}
.card__media img + img { opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media img + img { opacity: 1; }
.card__frame { position: absolute; inset: 12px; z-index: 2; opacity: 0; transition: opacity .5s var(--ease); }
.card:hover .card__frame, .card:focus-visible .card__frame { opacity: 1; }
.card__tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  background: rgba(246, 241, 232, .94); color: var(--moro);
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 30px;
}
.card__tag--cromo { background: rgba(48, 36, 31, .88); color: var(--avorio); }
.card__more {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translate(-50%, 14px);
  opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease);
  background: var(--moro); color: var(--avorio); border-radius: 30px; padding: 10px 20px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
.card:hover .card__more, .card:focus-visible .card__more { opacity: 1; transform: translate(-50%, 0); }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.card h3 { font-size: clamp(23px, 2vw, 28px); font-weight: 500; line-height: 1.15; }
.card__meta { font-size: 13.5px; color: var(--testo-2); margin-top: 6px; }
.card__price { font-family: var(--f-titoli); font-size: 26px; font-weight: 600; white-space: nowrap; color: var(--cuoio-scuro); }
.card__price small { font-family: var(--f-testo); font-size: 11px; font-weight: 400; color: var(--testo-2); letter-spacing: .06em; margin-right: 3px; }
.products__all { text-align: center; margin-top: clamp(32px, 6vh, 72px); }

/* =========================================================
   PERSONALIZZAZIONE
   ========================================================= */
.custom { background: var(--beige); padding: var(--sp) 0; overflow: hidden; }
.custom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: rgba(48, 36, 31, .07); border-radius: 40px; margin: 36px 0 26px; }
.tabs button {
  border: 0; background: none; padding: 10px 20px; border-radius: 40px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--testo-2);
  transition: background .35s var(--ease), color .35s;
}
.tabs button[aria-selected="true"] { background: var(--moro); color: var(--avorio); }
.field { display: block; }
.field span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--moro);
  background: var(--avorio); border: 1.5px solid transparent; border-bottom-color: var(--moro);
  border-radius: var(--r) var(--r) 0 0; padding: 14px 16px; outline: none;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cuoio); border-style: dashed; }
.custom__note { font-size: 15px; color: var(--testo-2); background: var(--avorio); padding: 18px 20px; border-radius: var(--r); border: 1.5px dashed var(--cuoio); margin: 0; }
.custom .btn { margin-top: 28px; }

.patch-stage { position: relative; }
.patch {
  position: relative; margin: 0 auto;
  width: min(100%, 430px, calc(56vh * .783));
  aspect-ratio: 1000 / 1277; border-radius: 6px; overflow: hidden;
  background: #2a211c;
  box-shadow: 0 40px 60px -34px rgba(48, 36, 31, .75), 0 2px 6px rgba(48, 36, 31, .25);
  transform: rotate(-1.2deg);
  transition: transform .8s var(--ease);
}
.patch:hover { transform: rotate(0deg) scale(1.01); }
.patch__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.patch::after { /* luce radente da laboratorio */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 236, 205, .18), transparent 55%), radial-gradient(90% 70% at 100% 100%, rgba(0, 0, 0, .28), transparent 60%);
}
.patch__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.patch__svg text { font-family: var(--f-titoli); }
.deboss-dark { mix-blend-mode: multiply; }
.deboss-light { mix-blend-mode: screen; }
.patch__svg g { transition: opacity .25s; }
.patch-stage figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); margin-top: 16px; text-align: center; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.examples figure { margin: 0; }
.examples img { aspect-ratio: 1; object-fit: cover; object-position: 50% 70%; border-radius: var(--r); width: 100%; transition: transform .6s var(--ease); }
.examples figure:hover img { transform: translateY(-6px) rotate(-1deg); }
.examples figcaption { font-size: 12px; letter-spacing: .08em; color: var(--testo-2); margin-top: 8px; }

/* =========================================================
   CONCIA
   ========================================================= */
.tanning { padding: var(--sp) 0; }
.tan__head { text-align: center; max-width: 760px; margin: 0 auto; }
.tan__head .lead { margin-left: auto; margin-right: auto; }
.tan__switch { display: flex; justify-content: center; }
.tan__panels { margin-top: clamp(28px, 5vh, 60px); }
.tan__panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.tan__panel[hidden] { display: none; }
.tan__panel.show > * { animation: fadeUp .8s var(--ease) both; }
.tan__panel.show > *:nth-child(2) { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.tan__card {
  position: sticky; top: 110px;
  background: var(--beige); border-radius: var(--r); padding: clamp(30px, 3.4vw, 48px);
}
.tan__card .stitch-host { position: absolute; inset: 10px; }
.tan__photo { position: relative; margin: 0 0 clamp(18px, 3vh, 28px); height: clamp(140px, 24vh, 220px); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 34px -22px rgba(48, 36, 31, .7); }
.tan__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.tan__card:hover .tan__photo img { transform: scale(1.06); }
.tan__photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(246, 241, 232, .92); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 30px; }
.tan__card h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; }
.tan__card .sub { font-family: var(--f-titoli); font-style: italic; font-size: 22px; color: var(--cuoio-scuro); margin-top: 6px; }
.tan__dl { margin: 28px 0 0; display: grid; gap: 0; }
.tan__dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-top: 1px dashed rgba(48, 36, 31, .22); font-size: 15px; }
.tan__dl dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); padding-top: 3px; }
.tan__dl dd { margin: 0; }
.tan__body p { margin: 0 0 22px; font-size: 18px; }
.tan__body p:first-child::first-letter { font-family: var(--f-titoli); float: left; font-size: 88px; line-height: .8; padding: 6px 12px 0 0; color: var(--cuoio); }
.tan__plus { margin-top: 34px; padding: 26px 0 0; border-top: 1.5px dashed var(--cuoio); }
.tan__plus span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cuoio-scuro); }
.tan__plus strong { display: block; font-family: var(--f-titoli); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; margin-top: 8px; }
.tan__cmp { margin-top: clamp(44px, 9vh, 110px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); padding-top: clamp(50px, 6vw, 80px); position: relative; }
.tan__cmp h3 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; font-style: italic; }
.tan__cmp p { margin: 0 0 18px; color: var(--testo-2); }

/* =========================================================
   CHI SONO
   ========================================================= */
.about { background: var(--beige); padding: var(--sp) 0; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
@media (min-width: 901px) {
  .about__grid { align-items: start; }
  .about__media { position: sticky; top: 130px; margin-top: 70px; }
}
.about__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about__badge {
  position: absolute; right: -34px; top: -54px; width: 150px; height: 150px;
  border-radius: 50%; background: var(--moro); color: var(--avorio);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.about__badge text { font-family: var(--f-testo); font-size: 10.5px; letter-spacing: .32em; font-weight: 700; fill: var(--filo); text-transform: uppercase; }
.about__badge img { width: 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p { margin: 0 0 20px; color: var(--testo-2); }
.about__text h2 { margin-bottom: 34px; }
.about__quote {
  margin: 36px 0 0; padding: 0 0 0 28px; border-left: 2px dashed var(--cuoio);
  font-family: var(--f-titoli); font-size: clamp(24px, 2.4vw, 31px); font-style: italic; line-height: 1.3;
}
.about__quote cite { display: block; font-family: var(--f-testo); font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cuoio-scuro); margin-top: 16px; font-weight: 700; }
.journey { margin-top: 40px; }
.journey > span { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--testo-2); }
.journey ol { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.journey li { font-family: var(--f-titoli); font-size: 20px; display: flex; align-items: center; }
.journey li + li::before { content: ""; width: 28px; margin: 0 12px; border-top: 1.5px dashed var(--cuoio); }

/* =========================================================
   COME ORDINARE + CONTATTI (fondo scuro)
   ========================================================= */
.order { background: var(--moro); color: var(--avorio); padding: var(--sp) 0 0; position: relative; overflow: hidden; }
.order .eyebrow { color: var(--filo); }
.order__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(32px, 6vh, 72px); position: relative; }
.order__line { position: absolute; left: 0; right: 0; top: 34px; height: 14px; }
.order__step { position: relative; padding-right: clamp(20px, 3vw, 50px); }
.order__dot {
  position: relative; z-index: 2; width: 82px; height: 82px; border-radius: 50%;
  background: var(--moro); border: 1.5px dashed var(--filo);
  display: grid; place-items: center;
  font-family: var(--f-titoli); font-size: 34px; font-style: italic; color: var(--filo);
  margin-bottom: 30px;
}
.order__step h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; }
.order__step p { color: rgba(246, 241, 232, .72); margin: 12px 0 0; font-size: 16px; max-width: 32ch; }

.contact { padding: var(--sp) 0; }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(50px, 7vw, 110px); }
.contact .lead { color: rgba(246, 241, 232, .72); }
.contact__direct { margin-top: 44px; display: grid; gap: 14px; }
.contact__direct > span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 241, 232, .55); font-weight: 700; }
.contact__direct a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font-family: var(--f-titoli); font-size: clamp(24px, 2.4vw, 30px);
  transition: color .3s, gap .3s var(--ease);
}
.contact__direct a:hover { color: var(--filo); gap: 20px; }
.contact__direct svg { width: 26px; height: 26px; flex: none; color: var(--filo); }
.form {
  position: relative; background: rgba(246, 241, 232, .05); border-radius: var(--r);
  padding: clamp(28px, 3.4vw, 50px); display: grid; gap: 22px;
}
.form .stitch-host { position: absolute; inset: 10px; }
.form .field span { color: var(--filo); }
.form .field input, .form .field textarea, .form .field select {
  background: rgba(246, 241, 232, .07); color: var(--avorio); border-bottom-color: rgba(246, 241, 232, .5);
}
.form .field select option { color: var(--moro); }
.form .field input::placeholder, .form .field textarea::placeholder { color: rgba(246, 241, 232, .4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form textarea { min-height: 120px; resize: vertical; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; position: relative; z-index: 1; }
.form__error { color: #F2B8A0; font-size: 14px; margin: 0; min-height: 1em; }
.form__error a { color: var(--filo); }
.form-wrap { position: relative; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(246, 241, 232, .85); cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--cuoio); }
.consent a { color: var(--filo); }
.consent input[aria-invalid="true"] { outline: 2px dashed #F2B8A0; outline-offset: 3px; }
.form .field input[aria-invalid="true"], .form .field textarea[aria-invalid="true"] { border-color: #F2B8A0; border-style: dashed; }
.form__note { font-size: 12.5px; color: rgba(246, 241, 232, .55); position: relative; z-index: 1; }
.form__actions .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { position: relative; background: rgba(246, 241, 232, .05); border-radius: var(--r); padding: clamp(36px, 5vw, 64px); text-align: center; display: grid; justify-items: center; gap: 12px; }
.form-ok[hidden] { display: none; }
.form-ok h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 400; color: var(--avorio); }
.form-ok p { color: rgba(246, 241, 232, .75); max-width: 40ch; margin: 0 0 10px; }
.form-ok .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--moro-2); color: rgba(246, 241, 232, .78); padding: 80px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer__logo { width: 210px; margin-bottom: 20px; }
.footer h4 { font-family: var(--f-testo); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cuoio); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--filo); }
.footer__bottom { margin-top: 60px; padding-top: 24px; border-top: 1px dashed rgba(166, 106, 67, .45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(246, 241, 232, .5); }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 62px; height: 62px; border-radius: 50%;
  background: #2E6B4A; color: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5);
  transform: scale(0); transition: transform .5s var(--ease);
  text-decoration: none;
}
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .55); animation: spin 20s linear infinite; }
.wa-float span {
  position: absolute; right: 74px; white-space: nowrap; background: var(--moro); color: var(--avorio);
  font-size: 13px; padding: 8px 14px; border-radius: 30px; opacity: 0; transform: translateX(10px);
  transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.wa-float:hover span { opacity: 1; transform: none; }

/* =========================================================
   CATALOGO
   ========================================================= */
.cat-hero { padding: clamp(60px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); position: relative; overflow: hidden; }
.cat-hero h1 { font-size: clamp(56px, 8vw, 120px); font-weight: 400; letter-spacing: -.02em; }
.cat-hero__mark { position: absolute; right: var(--gutter); top: 50%; width: clamp(160px, 22vw, 300px); transform: translateY(-50%) rotate(-8deg); opacity: .08; }
.filters {
  position: sticky; top: 68px; z-index: 50;
  background: rgba(246, 241, 232, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px dashed var(--linea); border-bottom: 1px dashed var(--linea);
}
.filters__in { display: flex; align-items: center; gap: 30px; min-height: 74px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--linea); background: transparent; border-radius: 40px;
  padding: 9px 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-size: 10px; color: var(--cuoio-scuro); margin-left: 3px; font-weight: 700; }
.chip:hover { border-color: var(--moro); }
.chip[aria-pressed="true"] { background: var(--moro); color: var(--avorio); border-color: var(--moro); }
.chip[aria-pressed="true"] sup { color: var(--filo); }
.filters__label { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--testo-2); margin-right: 4px; }
.filters__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filters__count { margin-left: auto; font-family: var(--f-titoli); font-size: 20px; font-style: italic; color: var(--testo-2); }
.catalog { padding: clamp(50px, 6vw, 80px) 0 clamp(90px, 10vw, 140px); }
.catalog .card { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.catalog .card.hide { display: none; }
.catalog .card.enter { animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0s); }
.empty { text-align: center; padding: 60px 0; font-family: var(--f-titoli); font-size: 26px; font-style: italic; color: var(--testo-2); }
.bespoke {
  position: relative; margin-top: clamp(70px, 8vw, 110px);
  background: var(--moro); color: var(--avorio); border-radius: var(--r);
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; overflow: hidden;
}
.bespoke .stitch-host { position: absolute; inset: 12px; }
.bespoke h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 400; }
.bespoke p { color: rgba(246, 241, 232, .72); margin: 14px 0 0; max-width: 50ch; }
.bespoke .btn { position: relative; z-index: 1; }

/* ---------- Modal prodotto ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(36, 26, 22, .7); opacity: 0; transition: opacity .5s var(--ease); backdrop-filter: blur(4px); }
.modal.open .modal__bg { opacity: 1; }
.modal__box {
  position: relative; width: min(1100px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  background: var(--avorio); border-radius: 6px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.open .modal__box { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--avorio); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transition: transform .4s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__gallery { background: var(--beige); position: relative; }
.modal__main { aspect-ratio: 4 / 5; overflow: hidden; height: 100%; min-height: 100%; }
@media (min-width: 901px) { .modal__main { aspect-ratio: auto; position: absolute; inset: 0; } .modal__gallery { min-height: 560px; } }
.modal__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.modal__thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.modal__thumbs button { width: 62px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; background: none; opacity: .75; transition: opacity .3s, border-color .3s; }
.modal__thumbs button[aria-pressed="true"] { border-color: var(--avorio); opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; }
.modal__info h2 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 500; }
.modal__price { font-family: var(--f-titoli); font-size: 34px; font-weight: 600; color: var(--cuoio-scuro); margin-top: 10px; }
.modal__price small { font-family: var(--f-testo); font-size: 12px; font-weight: 400; color: var(--testo-2); margin-right: 4px; }
.modal__desc { color: var(--testo-2); margin: 18px 0 0; }
.specs { margin: 28px 0 0; }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 13px 0; border-top: 1px dashed rgba(48, 36, 31, .22); font-size: 15px; }
.specs div:last-child { border-bottom: 1px dashed rgba(48, 36, 31, .22); }
.specs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); padding-top: 3px; }
.specs dd { margin: 0; }
.specs dd a { color: var(--cuoio-scuro); font-weight: 700; font-size: 13px; margin-left: 8px; text-decoration-style: dashed; text-underline-offset: 4px; }
.modal__ctas { display: grid; gap: 10px; margin-top: 30px; }
.modal__note { font-size: 13px; color: var(--testo-2); margin: 16px 0 0; }
@media (min-width: 901px) {
  .modal__box { height: min(720px, calc(100svh - 48px)); max-height: none; overflow: hidden; }
  .modal__info { overflow-y: auto; padding: clamp(22px, 4vh, 48px) clamp(26px, 3vw, 48px); justify-content: center; }
  .modal__info .eyebrow { margin-bottom: clamp(6px, 1.4vh, 14px); }
  .modal__info h2 { font-size: clamp(28px, 4.6vh, 46px); }
  .modal__price { font-size: clamp(22px, 3.8vh, 34px); margin-top: 4px; }
  .modal__desc { margin-top: clamp(8px, 1.6vh, 16px); font-size: 15.5px; line-height: 1.6; }
  .specs { margin-top: clamp(12px, 2.4vh, 26px); }
  .specs div { grid-template-columns: 130px 1fr; padding: clamp(6px, 1.1vh, 12px) 0; }
  .modal__ctas { grid-template-columns: 1fr 1fr; margin-top: clamp(14px, 2.6vh, 28px); }
  .modal__ctas .btn { padding: 0 14px; font-size: 12px; letter-spacing: .08em; min-height: 50px; }
  .modal__note { margin-top: clamp(8px, 1.4vh, 14px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__tools .btn { display: none; }
  .header__tools { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .hero { display: flex; flex-direction: column; height: calc(100svh - var(--header-h)); min-height: 540px; }
  .hero__media { order: -1; flex: 1 1 0; min-height: 180px; height: auto; }
  .hero__media img { object-position: 50% 62%; }
  .hero__frame { inset: 12px; }
  .hero__caption { left: 26px; bottom: 24px; font-size: 11px; }
  .hero__text { flex: none; padding: clamp(18px, 3vh, 32px) var(--gutter) clamp(20px, 3.4vh, 36px); }
  .hero h1 { font-size: clamp(34px, min(10.5vw, 6.2vh), 64px); }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .16em; }
  .hero .lead { font-size: 15px; line-height: 1.55; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; }
  .hero__ctas .btn { min-height: 48px; padding: 0 16px; font-size: 12px; letter-spacing: .07em; white-space: nowrap; }
  .hero__ctas .btn:first-child { flex: 1 1 auto; }
  .hero__tan { font-size: 13px; }
  .hero__seam { left: 0; right: 0; top: auto; bottom: auto; width: auto; height: 14px; margin: 0; position: relative; order: 0; display: none; }
  .hero__scroll { display: none; }
  .hero__mark { display: none; }
  .craft__head, .custom__grid, .about__grid, .tan__panel, .tan__cmp, .contact__grid { grid-template-columns: 1fr; }
  .steps, .order__steps { grid-template-columns: 1fr; gap: 54px; }
  .step, .step:first-child { border-left: 0; padding: 0; border-top: 1.5px dashed rgba(227, 194, 156, .28); padding-top: 40px; }
  .step:first-child { border-top: 0; padding-top: 0; }
  .order__line { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tan__card { position: relative; top: 0; }
  .about__badge { right: 12px; width: 104px; height: 104px; top: -42px; bottom: auto; }
  .about__badge img { width: 46px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .modal { padding: 0; place-items: end center; }
  .modal__box { grid-template-columns: 1fr; max-height: 94svh; border-radius: 16px 16px 0 0; }
  .modal__main { aspect-ratio: 1 / 1; }
  .bespoke { grid-template-columns: 1fr; }
  .filters { top: 68px; }
  .filters__count { margin-left: 0; width: 100%; font-size: 17px; }
}
@media (max-width: 600px) {
  .header__in { gap: 10px; }
  .header__tools { gap: 6px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 40px; }
  .brand span { font-size: 16px; white-space: nowrap; }
  .burger { margin-right: -8px; }
  .brand small { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card__body { flex-direction: column; gap: 4px; padding-top: 12px; }
  .card h3 { font-size: 19px; }
  .card__meta { font-size: 12px; }
  .card__price { font-size: 21px; }
  .card__tag { top: 10px; left: 10px; font-size: 9px; padding: 5px 8px; }
  .card__more { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .tabs button { padding: 9px 14px; font-size: 12px; }
  .specs div, .tan__dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .filters__in { gap: 12px; }
  .filters__group { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .chips { flex-wrap: nowrap; }
  .chip { white-space: nowrap; padding: 8px 14px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .hero__fade, .hero h1 .ln > span { opacity: 1; transform: none; }
  .rv-img { clip-path: none; }
  .rv-img img, .hero__media img { transform: none; }
  .manifesto .w { opacity: 1; }
}

@media (max-width: 900px) and (max-height: 700px) { .hero .lead { display: none; } }

/* =========================================================
   SMARTPHONE — rifiniture
   ========================================================= */
@media (max-width: 900px) {
  /* Lavorazione: attrezzi e testi centrati */
  .step { text-align: center; }
  .step__tool { display: block; margin-left: auto; margin-right: auto; }
  .step p { max-width: 36ch; margin-left: auto; margin-right: auto; }

  /* Personalizzazione: anteprima subito sopra il campo, tutto a larghezza piena */
  .custom__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .custom__form, .custom__visual { display: contents; }
  .custom .eyebrow { order: 1; }
  .custom .h-sec { order: 2; }
  .custom .lead { order: 3; margin-bottom: 4px; }
  .custom .tabs { order: 4; display: flex; width: 100%; margin: 24px 0 18px; }
  .custom .tabs button { flex: 1; padding: 12px 6px; }
  .custom .patch-stage { order: 5; margin: 0 0 20px !important; }
  .custom .patch { width: min(64vw, 250px, calc(42vh * .783)); }
  .custom .patch-stage figcaption { margin-top: 10px; }
  #custom-field, #custom-note { order: 6; }
  .custom .field input { font-size: 18px; padding: 15px 16px; text-align: center; }
  .custom .field span { text-align: center; }
  .custom__note { text-align: center; }
  #custom-cta { order: 7; width: 100%; margin-top: 16px; padding: 0 14px; font-size: 12.5px; letter-spacing: .06em; white-space: nowrap; }
  .custom .patch-stage { align-self: center; width: 100%; }
  .custom .examples { order: 8; margin-top: 30px; }
  .custom .rv { opacity: 1; transform: none; }

  /* Come ordinare: centrato */
  .order > .wrap > .eyebrow, .order > .wrap > .h-sec { text-align: center; }
  .order > .wrap > .eyebrow { display: flex; justify-content: center; }
  .order__step { text-align: center; padding-right: 0; }
  .order__dot { margin-left: auto; margin-right: auto; margin-bottom: 20px; }
  .order__step p { margin-left: auto; margin-right: auto; }

  /* Footer: centrato */
  .footer { text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__logo { margin: 0 auto 18px; }
  .footer__grid p { max-width: 34ch; margin-left: auto; margin-right: auto; }
  .footer ul { justify-items: center; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 8px; }
}

/* =========================================================
   PAGINE LEGALI (privacy, cookie) e 404
   ========================================================= */
html[lang="en"] [data-only="it"], html:not([lang="en"]) [data-only="en"] { display: none; }
.legal { padding: calc(var(--sp) * .8) 0 var(--sp); }
.legal__wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 400; }
.legal__date { color: var(--testo-2); font-size: 14px; margin: 14px 0 34px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; margin: 40px 0 12px; padding-top: 18px; border-top: 1px dashed rgba(48, 36, 31, .2); }
.legal p, .legal li { color: #4E3F36; }
.legal ul { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 8px; }
.legal a:not(.btn) { color: var(--cuoio-scuro); text-underline-offset: 3px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px dashed rgba(48, 36, 31, .22); vertical-align: top; }
.legal__table th { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); }
.legal code { background: var(--beige); padding: 1px 6px; border-radius: 3px; font-size: .92em; }
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.footer__legal a { text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .legal__table thead { display: none; }
  .legal__table tr { display: grid; padding: 10px 0; border-bottom: 1px dashed rgba(48, 36, 31, .22); }
  .legal__table td { border: 0; padding: 3px 0; }
}
.legal__table code { white-space: nowrap; }
