/* ==========================================================================
   3DNOW STORE — nuova home "Dalla tua foto alla statuetta"
   Direzione: la frase è il layout (Schibsted Grotesk, carta bianca,
   inchiostro nero, un solo accento: l'arancio del marchio).
   ========================================================================== */

:root {
	--bg: #ffffff;
	--surface: #f2f2f2;
	--ink: #0a0a0a;
	--muted: #555555;
	--accent: #f59e0b;
	--accent-ink: #0a0a0a;
	--night: #0a0a0a;
	--night-ink: #ffffff;
	--night-muted: #c4c4c4;

	--step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
	--step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	--step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
	--step-display: clamp(2.3rem, 10.4vw, 10.5rem);

	--m: clamp(20px, 3vw, 40px);
	--gap: clamp(16px, 2vw, 28px);
	--section: clamp(88px, 11vh, 150px);
	--bar: 64px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body.th {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: var(--step-body);
	line-height: 1.5;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.th *, .th *::before, .th *::after { box-sizing: border-box; }
.th img, .th video { display: block; max-width: 100%; height: auto; }
.th figure { margin: 0; }
.th h1, .th h2, .th h3, .th p { margin: 0; }
.th a { color: inherit; }
.th a.th-btn--ink, .th .th-btn--ink { color: #fff; }
.th a.th-btn--accent, .th .th-btn--accent { color: var(--accent-ink); }
.th ::selection { background: var(--accent); color: var(--accent-ink); }
.th :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.th a.th-skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6em 1em; }
.th-skip:focus { top: 8px; }

/* ---------- grounds (colore per capitolo) ---------- */
[data-ground="paper"]   { background: var(--bg); color: var(--ink); }
[data-ground="surface"] { background: var(--surface); color: var(--ink); }
[data-ground="accent"]  { background: var(--accent); color: var(--accent-ink); }
[data-ground="ink"]     { background: var(--night); color: var(--night-ink); }

/* ---------- type ---------- */
.th-display {
	font-size: var(--step-display);
	font-weight: 800;
	line-height: .9;
	letter-spacing: -0.05em;
}
.th-h2 {
	font-size: var(--step-head);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -0.04em;
}
.th-lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }

/* ---------- controls ---------- */
.th-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 0 1.5em;
	font: 600 var(--step-body)/1 inherit; font-family: inherit;
	letter-spacing: -0.01em; text-decoration: none;
	border: 0; border-radius: 0; cursor: pointer;
	transition: transform .18s var(--ease), background-color .2s ease, color .2s ease;
}
.th-btn:hover { transform: translateY(-2px); }
.th-btn:active { transform: translateY(0) scale(.98); }
.th-btn--ink { background: var(--ink); color: #fff; }
.th-btn--ink:hover { background: #2a2a2a; }
.th-btn--accent { background: var(--accent); color: var(--accent-ink); }
.th-btn--accent:hover { background: #ffb22e; }

.th-link {
	font-weight: 600; text-decoration: underline;
	text-decoration-thickness: 2px; text-underline-offset: .22em;
	transition: text-decoration-thickness .2s ease, text-underline-offset .2s ease;
}
.th-link:hover { text-decoration-thickness: 4px; text-underline-offset: .3em; }

/* ---------- header ---------- */
.th-bar {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--bar);
	display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
	padding: 0 var(--m);
	transition: background-color .3s ease, color .3s ease;
}
.th-bar__mark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; text-decoration: none; margin-right: auto; }
.th-bar__nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.th-bar__nav a { font-weight: 600; font-size: var(--step-body); text-decoration: none; }
.th-bar__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.th-bar__cta { min-height: 44px; }
.th .th-bar[data-ground="ink"] .th-bar__cta { background: var(--accent); color: var(--accent-ink); }
.th-bar__menu { display: none; background: none; border: 0; padding: .5em 0; font: 600 var(--step-body) inherit; font-family: inherit; color: inherit; cursor: pointer; }

/* ---------- hero ---------- */
.th-hero__top {
	min-height: 64svh;
	display: flex; align-items: flex-end;
	padding: calc(var(--bar) + 6vh) var(--m) clamp(20px, 4vh, 44px);
}
.th-hero__title {
	font-size: var(--step-display);
	font-weight: 800;
	line-height: .88;
	letter-spacing: -0.05em;
}
.th-hero { position: relative; }
.th-hero__title { font-size: clamp(2.6rem, 7.4vw, 7.5rem); }
.th-hero__line { display: block; white-space: nowrap; }
.th-hero__media {
	position: absolute; z-index: 2;
	right: var(--m); top: calc(var(--bar) + 3vh); bottom: clamp(24px, 5vh, 56px);
	width: min(36vw, 540px);
}
.th-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.th-slot {
	display: inline-block;
	position: relative;
	width: 2.3em; height: .72em;
	margin-left: .14em;
	vertical-align: baseline;
	overflow: hidden;
	background: var(--ink);
}
.th .th-slot__media {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 15%;
}
.th-hero__field {
	min-height: 36svh;
	padding: clamp(28px, 5vh, 56px) var(--m) clamp(48px, 10vh, 120px);
	display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
	align-content: start;
}
.th-hero__lead { grid-column: 1 / span 5; font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.th-hero__actions { grid-column: 1 / span 8; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(24px, 4vh, 40px); }

/* ---------- statuette (intro) ---------- */
.th-intro {
	display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
	padding: var(--section) var(--m);
}
.th-intro__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding-top: 10vh; }
.th-intro__small { width: min(100%, 340px); margin-top: auto; }
.th-intro__small img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.th-intro__big { grid-column: 8 / span 5; }
.th-intro__big img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
.th .th-slot__media--pet { object-position: 50% 27%; }
.th-intro figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* ---------- prezzi e configuratore ---------- */
.th-price { padding: var(--section) var(--m); min-height: 80svh; }
.th-price__tag { display: inline-block; background: var(--ink); color: #fff; padding: 0 .15em; line-height: .95; }
.th-conf {
	display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
	margin-top: clamp(56px, 9vh, 96px); align-items: end;
}
.th-conf__controls { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.th-seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.th-seg legend { font-weight: 600; font-size: var(--step-small); margin-bottom: 8px; padding: 0; }
.th-seg label { position: relative; cursor: pointer; }
.th-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.th-seg span {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 1em;
	font-weight: 600; background: rgba(10, 10, 10, .1);
	transition: background-color .2s ease, color .2s ease;
}
.th-seg label:hover span { background: rgba(10, 10, 10, .18); }
.th-seg input:checked + span { background: var(--ink); color: #fff; }
.th-seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.th-conf__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 8px; }
.th-conf__price { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.th-conf__what { font-weight: 600; }
.th-conf__note { max-width: 46ch; }

.th-scale { grid-column: 8 / span 5; }
.th-scale__stage {
	--h: clamp(300px, 54vh, 540px);
	--u: calc(var(--h) / 20);
	height: calc(var(--h) + 64px);
	display: flex; align-items: flex-end; justify-content: center; gap: clamp(24px, 4vw, 56px);
}
.th-scale__item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: var(--step-small); font-weight: 600; line-height: 1.3; }
.th-scale__can svg { width: calc(6.6 * var(--u)); height: calc(12 * var(--u)); fill: var(--ink); display: block; }
.th-scale__fig { --fig: 12; }
.th-scale__photo {
	height: calc(var(--fig) * var(--u));
	width: calc(var(--fig) * var(--u) * .6);
	overflow: hidden; background: var(--ink);
	transition: height .55s var(--ease), width .55s var(--ease);
}
.th .th-scale__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.th-scale__img[hidden] { display: none; }

/* ---------- soggetti ---------- */
.th-gallery {
	min-height: 100svh;
	padding: var(--section) var(--m) clamp(40px, 6vh, 64px);
	display: flex; flex-direction: column; align-items: center;
	overflow: hidden;
}
.th-gallery__title { text-align: center; }
.th-prints { display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(40px, 7vh, 80px); padding: 0 4vw 64px; }
.th-print {
	width: min(26vw, 380px);
	border: 8px solid #fff;
	background: #fff;
	position: relative;
	transition: transform .2s ease;
}
.th-print img, .th-print video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ink); }
.th-print--a { transform: rotate(-6deg); z-index: 1; }
.th-print--b { transform: rotate(4deg) translateY(36px); margin-left: -5vw; z-index: 2; }
.th-print--c { transform: rotate(-3deg) translateY(-8px); margin-left: -4vw; width: min(20vw, 300px); z-index: 3; }
.th-print:hover { transform: rotate(0) translateY(0); z-index: 5; }
.th-gallery__note { align-self: flex-start; margin-top: clamp(40px, 6vh, 72px); max-width: 40ch; position: relative; z-index: 6; }

/* ---------- come funziona ---------- */
.th-how { padding: var(--section) var(--m); }
.th-how__steps { list-style: none; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; display: flex; flex-direction: column; gap: clamp(40px, 6vh, 72px); }
.th-how__steps li { display: flex; flex-direction: column; gap: 12px; }
.th-how__steps li:nth-child(2) { padding-left: 8.333vw; }
.th-how__steps li:nth-child(3) { padding-left: 16.666vw; }
.th-how__steps li:nth-child(4) { padding-left: 25vw; }
.th-how__line { font-size: var(--step-head); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.th-how__note { color: var(--night-muted); max-width: 44ch; }

/* ---------- dettagli ---------- */
.th-feat { padding: var(--section) var(--m); }
.th-feat__title { padding-left: calc(33.333% + var(--gap) / 2); }
.th-feat__rows { display: flex; flex-direction: column; gap: clamp(56px, 8vh, 88px); margin-top: clamp(56px, 8vh, 88px); }
.th-feat__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.th-feat__img { grid-column: 1 / span 4; grid-row: 1; object-fit: cover; aspect-ratio: 4 / 5; }
.th-feat__text { grid-column: 5 / span 6; grid-row: 1; padding-top: 4px; }
.th-feat__text h3 { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.th-feat__text p { font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.th-feat__img--a { width: min(100%, 300px); justify-self: end; object-position: 50% 80%; }
.th-feat__img--b { width: min(78%, 250px); justify-self: end; object-position: 50% 40%; }
.th-feat__img--c { width: min(60%, 210px); justify-self: end; aspect-ratio: 1; object-position: 50% 35%; }
.th-feat__img--d { width: min(88%, 280px); justify-self: end; object-position: 50% 45%; }

/* ---------- domande ---------- */
.th-faq { padding: var(--section) var(--m); display: flex; flex-direction: column; gap: clamp(56px, 8vh, 84px); }
.th-faq__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: baseline; }
.th-faq__q { grid-column: 1 / span 6; font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.th-faq__q--soft { color: var(--muted); }
.th-faq__a { grid-column: 8 / span 5; max-width: 42ch; line-height: 1.55; }
.th-faq__a a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- altro dal laboratorio ---------- */
.th-list { padding: var(--section) var(--m); }
.th-list__title { text-indent: 3vw; }
.th-list__body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 96px; align-items: end; }
.th-list__img { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: end; }
.th-list__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.th-list__name { grid-column: 6; grid-row: 1; align-self: start; font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.th-list__rows { grid-column: 7 / span 6; grid-row: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.th-list__rows li:nth-child(4n + 1):not(:first-child) { margin-top: 26px; }
.th-list__rows a { display: grid; grid-template-columns: 20% 1fr auto; gap: 12px; text-decoration: none; align-items: baseline; transition: transform .2s var(--ease); }
.th-list__rows a:hover { transform: translateX(6px); }
.th-list__rows a:hover .th-list__what { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.th-list__kind { color: var(--muted); font-size: var(--step-small); font-weight: 600; }
.th-list__what { font-weight: 600; }
.th-list__val { text-align: right; white-space: nowrap; }
.th-list__all { grid-column: 7 / span 6; grid-row: 2; justify-self: start; margin-top: 36px; }

/* ---------- ordina ---------- */
.th-cta {
	min-height: 70svh;
	padding: var(--section) var(--m) 56px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
}
.th-cta__foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; gap: 24px var(--gap); }
.th-cta__foot .th-lead { grid-column: 1 / span 6; max-width: 36ch; }
.th-cta__foot .th-btn { grid-column: 9 / span 4; justify-self: end; min-height: 58px; }

/* ---------- contatti ---------- */
.th-foot {
	padding: 40px var(--m) 32px;
	display: flex; flex-direction: column; gap: 40px;
}
.th-foot__top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.th-foot__notes { display: flex; flex-direction: column; gap: 4px; max-width: 46ch; }
.th-foot__notes a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.th-foot__mail {
	margin-top: clamp(96px, 18vh, 200px) !important;
	font-size: clamp(2rem, 8.4vw, 8.5rem);
	font-weight: 800; letter-spacing: -0.05em; line-height: .95;
}
.th-foot__mail a { text-decoration: none; }
.th-foot__mail a:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
.th-foot__meta { display: grid; grid-template-columns: 1fr auto auto; gap: 12px 32px; font-size: var(--step-small); align-items: baseline; }
.th-foot__meta nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.th-foot__meta a { font-weight: 600; text-decoration: none; }
.th-foot__meta a:hover { text-decoration: underline; }

/* ==========================================================================
   Pagina d'ordine /crea-statuetta/
   ========================================================================== */
.th-choose, .th-order { padding: calc(var(--bar) + clamp(40px, 7vh, 80px)) var(--m) var(--section); }
.th-choose__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(40px, 6vh, 64px); }
.th-choose__opt { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.th-choose__pics { position: relative; display: block; padding-bottom: 28px; }
.th-choose__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; transition: transform .5s var(--ease); }
.th-choose__opt:hover .th-choose__main { transform: scale(1.02); }
.th .th-choose__inset { position: absolute; right: 20px; bottom: 0; width: 28%; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #fff; background: var(--ink); transform: rotate(3deg); transition: transform .3s var(--ease); }
.th-choose__opt:hover .th-choose__inset { transform: rotate(0); }
.th-choose__name { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 10px; }
.th-choose__opt:hover .th-choose__name { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .12em; }
.th-choose__meta { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }

.th-order { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.th-order__aside { grid-column: 1 / span 6; position: sticky; top: calc(var(--bar) + 24px); display: flex; flex-direction: column; gap: 24px; }
.th-order__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.th-order__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.th-order__facts li::before { content: "— "; color: var(--muted); }
.th-order__more { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.th-order__more img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.th-order__main { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 20px; }
.th-order__back { align-self: flex-start; }
.th-order__form { display: flex; flex-direction: column; gap: 32px; margin-top: 12px; }
.th-order__notices .woocommerce-error, .th-order__notices .woocommerce-message, .th-order__notices .woocommerce-info {
	list-style: none; margin: 0; padding: 16px 18px; background: #fdecea; color: #7a1a12; font-weight: 600;
}
.th-order__notices .woocommerce-message, .th-order__notices .woocommerce-info { background: var(--surface); color: var(--ink); }

.th-field { display: flex; flex-direction: column; gap: 10px; }
.th-field__label, .th-seg--big legend { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.02em; }
.th-field__opt { font-size: var(--step-small); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.th-field__hint { font-size: 1rem; color: var(--muted); max-width: 52ch; }
.th-field__files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.th-field__files li { background: var(--surface); padding: 4px 10px; font-size: 1rem; font-weight: 600; }
.th-input {
	width: 100%; font: inherit; color: var(--ink); background: #fff;
	border: 2px solid var(--ink); border-radius: 0; padding: 14px 16px;
}
.th-input::placeholder { color: #8a8a8a; }
.th-input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
textarea.th-input { resize: vertical; min-height: 120px; }
.th-file { font: inherit; font-size: 1rem; width: 100%; padding: 18px; background: var(--surface); }
.th-file::file-selector-button {
	margin-right: 14px; padding: 12px 18px; border: 0; border-radius: 0;
	background: var(--ink); color: #fff; font: 600 var(--step-body) inherit; font-family: inherit; cursor: pointer;
}
.th-seg--big legend { margin-bottom: 12px; }
.th-seg--big span { min-height: 60px; padding: 8px 18px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.th-seg__price { font-style: normal; font-weight: 400; font-size: 1rem; }
.th-order__total { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-top: 8px; }
.th-order__total p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.th-order__price { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.th-order__what { font-weight: 600; }
.th-order__total .th-btn { min-width: min(100%, 320px); }
.th-order__total .th-btn:disabled { opacity: .6; cursor: progress; transform: none; }

@media (max-width: 760px) {
	.th-choose__grid { grid-template-columns: 1fr; gap: 40px; }
	.th-order { display: flex; flex-direction: column; gap: 32px; }
	.th-order__aside { position: static; order: 2; }
	.th-order__main { order: 1; }
	.th-order__photo { width: 70%; }
	.th-order__total .th-btn { width: 100%; }
}

/* ---------- entrate (solo con JS; senza JS tutto resta visibile) ---------- */
html.th-js .th-in { opacity: 0; transform: translateY(24px); }
html.th-js .th-in.is-in {
	opacity: 1; transform: none;
	transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.th-js .th-print.th-in.is-in { transform: var(--rest); }
.th-print--a { --rest: rotate(-6deg); }
.th-print--b { --rest: rotate(4deg) translateY(36px); }
.th-print--c { --rest: rotate(-3deg) translateY(-8px); }
.th-js .th-print.th-in.is-in:hover { transform: rotate(0) translateY(0); transition-delay: 0ms; transition-duration: .2s; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	.th-order__aside { grid-column: 1 / span 5; }
	.th-order__main { grid-column: 6 / span 7; }
	.th-intro__text { grid-column: 1 / span 6; padding-top: 0; }
	.th-scale { grid-column: 7 / span 6; }
	.th-conf__controls { grid-column: 1 / span 6; }
}

/* ---------- telefono ---------- */
@media (max-width: 760px) {
	:root { --bar: 58px; --step-display: clamp(2rem, 10.4vw, 3.6rem); --section: clamp(72px, 11vh, 104px); }
	.th-bar__nav {
		display: none; position: absolute; top: var(--bar); left: 0; right: 0;
		flex-direction: column; gap: 0; padding: 8px var(--m) 20px;
		background: inherit; color: inherit;
	}
	.th-bar__nav a { padding: 12px 0; font-size: var(--step-lead); }
	.th-bar.is-open .th-bar__nav { display: flex; }
	.th-bar__menu { display: inline-block; }
	.th-bar__cta { min-height: 40px; padding: 0 1em; }

	.th-hero__top { min-height: 0; padding-top: calc(var(--bar) + 7vh); padding-bottom: 28px; }
	.th-hero__title { font-size: clamp(2.3rem, 11.2vw, 3.6rem); }
	.th-hero__media { position: static; width: 100%; padding: 0 var(--m) 32px; }
	.th-hero__media img { height: auto; aspect-ratio: 4 / 5; }
	.th-hero__field { min-height: 0; padding-bottom: 72px; }
	.th-hero__lead, .th-hero__actions { grid-column: 1 / -1; }
	.th-hero__lead { font-size: 1.125rem; }

	.th-intro { display: flex; flex-direction: column; gap: 40px; padding-right: 0; }
	.th-intro__text { padding-right: var(--m); }
	.th-intro__big { width: 82%; align-self: flex-end; }
	.th-intro__small { width: 56%; }

	.th-conf { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
	.th-conf__controls .th-btn { width: 100%; }
	.th-scale__stage { --h: 260px; height: calc(var(--h) + 56px); }

	.th-gallery { min-height: 78svh; }
	.th-print { width: 46vw; border-width: 6px; }
	.th-print--b { margin-left: -16vw; }
	.th-print--c { display: none; }
	.th-intro__big { width: 72%; }

	.th-how__steps li:nth-child(2) { padding-left: 4vw; }
	.th-how__steps li:nth-child(3) { padding-left: 8vw; }
	.th-how__steps li:nth-child(4) { padding-left: 12vw; }

	.th-feat__title { padding-left: 0; }
	.th-feat__row { display: flex; flex-direction: column; gap: 20px; }
	.th-feat__text h3 { font-size: 1.625rem; }
	.th-feat__row:nth-child(1) .th-feat__img { width: 100%; }
	.th-feat__row:nth-child(2) .th-feat__img { width: 70%; align-self: flex-end; }
	.th-feat__row:nth-child(3) .th-feat__img { width: 55%; }
	.th-feat__row:nth-child(4) .th-feat__img { width: 80%; align-self: flex-end; }

	.th-faq__row { display: flex; flex-direction: column; gap: 12px; }

	.th-list__title { text-indent: 0; }
	.th-list__body { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; }
	.th-list__name { display: none; }
	.th-list__rows a { grid-template-columns: 1fr auto; }
	.th-list__kind { grid-column: 1 / -1; }
	.th-list__img { width: 60%; align-self: flex-end; order: 3; }

	.th-cta { min-height: 0; gap: 48px; }
	.th-cta__foot { display: flex; flex-direction: column; align-items: stretch; }
	.th-cta__foot .th-btn { width: 100%; }

	.th-foot__top { flex-direction: column; }
	.th-foot__meta { grid-template-columns: 1fr; }
}

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.th-js .th-in { opacity: 1; transform: none; }
	.th-js .th-print.th-in { transform: var(--rest); }
	.th *, .th *::before, .th *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
