/* RUNVENN — Concept A · Manifesto tipografico svizzero
   Un solo carattere (Archivo, OFL, variabile in peso e larghezza),
   una griglia dichiarata, un solo colore d'accento. */

@font-face {
	font-family: "Archivo";
	src: url("/fonts/archivo-var.woff2") format("woff2-variations"), url("/fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f3f2ec;
	--ink: #111111;
	--muted: #5c5b55;
	--rule: #111111;
	--hair: rgba(17, 17, 17, .14);
	--grid: rgba(17, 17, 17, .055);
	--accent: #c4331a;
	--on-accent: #ffffff;

	--pad: 16px;
	--gap: 12px;
	--cols: 4;
	--maxw: 1600px;

	--f: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
	--narrow: 68%;
	--wide: 122%;

	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0f0f0e;
		--ink: #eeede8;
		--muted: #a3a29b;
		--rule: #eeede8;
		--hair: rgba(238, 237, 232, .16);
		--grid: rgba(238, 237, 232, .06);
		--accent: #ff5e3a;
		--on-accent: #0f0f0e;
	}
}

@media (min-width: 760px) {
	:root { --pad: 32px; --gap: 20px; --cols: 12; }
}
@media (min-width: 1200px) {
	:root { --pad: 44px; --gap: 24px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	background: var(--paper);
	color: var(--ink);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 16px;
}
body {
	margin: 0;
	font-family: var(--f);
	font-size: 1.0625rem;
	line-height: 1.5;
	font-weight: 400;
	font-stretch: 100%;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b, strong { font-weight: 700; }
a { color: inherit; }
img, svg { display: block; }

/* La griglia dichiarata: dodici filetti verticali, fissi, dietro a tutto. */
body { position: relative; }
body::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: min(100%, var(--maxw));
	transform: translateX(-50%);
	padding-inline: var(--pad);
	background-image:
		repeating-linear-gradient(to right,
			var(--grid) 0 1px,
			transparent 1px calc((100% + var(--gap)) / var(--cols))),
		linear-gradient(to left, var(--grid) 0 1px, transparent 1px);
	background-origin: content-box;
	background-clip: content-box;
	pointer-events: none;
	z-index: -1;
}

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--pad);
}
.g {
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	column-gap: var(--gap);
}

.sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: var(--pad);
	top: 8px;
	z-index: 10;
	padding: .6em 1em;
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}
.skip:focus { transform: none; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.muted { color: var(--muted); }

/* Lettura: progresso come linea continua (accento). */
.progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--accent);
	transform-origin: 0 50%;
	transform: scaleX(0);
	z-index: 5;
	display: none;
}

/* ---------- elementi comuni ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .55em 1.1em;
	border: 2px solid var(--ink);
	color: var(--ink);
	background: transparent;
	font-weight: 600;
	font-stretch: 100%;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: transparent; color: var(--ink); }

.link {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .22em;
}
.link:hover { text-decoration-color: var(--accent); }

.brand {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	text-decoration: none;
	font-weight: 800;
	font-stretch: var(--wide);
	letter-spacing: .02em;
	font-size: 1.05rem;
	min-height: 44px;
}
.mark { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ---------- header ---------- */
.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
	padding-block: 14px;
	position: relative;
}
.top::after {
	content: "";
	position: absolute;
	left: var(--pad);
	right: var(--pad);
	bottom: 0;
	border-bottom: 1px solid var(--rule);
}
.index ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.25em;
	font-size: .875rem;
}
.index a {
	display: inline-block;
	padding-block: .7em;
	text-decoration: none;
	font-weight: 500;
}
.index a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.index .n { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .2em; }
.top .btn { min-height: 40px; font-size: .9375rem; }

@media (max-width: 759px) {
	.index { order: 3; width: 100%; border-top: 1px solid var(--hair); }
	.index ol { gap: 0 1em; }
	.index a { padding-block: .6em; }
}
@media (min-width: 760px) {
	.top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
	.top .brand { grid-column: 1 / 4; justify-self: start; }
	.top .index { grid-column: 4 / 11; }
	.top .btn { grid-column: 11 / 13; justify-self: end; }
}

/* ---------- 00 · hero / manifesto ---------- */
.hero { padding-top: 14px; }
.meta {
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .02em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--hair);
	color: var(--muted);
}
.meta .c-a { grid-column: 1; color: var(--ink); font-weight: 700; }
.meta .c-b { grid-column: 2 / 4; }
.meta .c-c { grid-column: 1 / -1; }
@media (min-width: 760px) {
	.meta .c-b { grid-column: 2 / 4; }
	.meta .c-c { grid-column: 7 / 13; }
}

/* La tagline sale a gradini: una parola per gradino.
   Telefono: ogni parola sta sulla «alzata» del proprio gradino (pedata sopra).
   Da 760px: ogni parola poggia sulla propria pedata; l'alzata nasce dove finisce la parola. */
.stage {
	--W: calc(min(100vw, var(--maxw)) - 2 * var(--pad));
	--F: min(14vw, 4.5rem);
	padding-top: 28px;
}
.stairs {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	column-gap: 0;
	font-size: var(--F);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .86;
	letter-spacing: -.015em;
}
.step {
	display: block;
	white-space: nowrap;
	padding: .14em .2em .1em .1em;
	border-top: 2px solid var(--rule);
	border-left: 2px solid var(--rule);
	grid-column-end: -1;
}
.s1 { grid-row: 4; grid-column-start: 1; }
.s2 { grid-row: 3; grid-column-start: 2; }
.s3 { grid-row: 2; grid-column-start: 3; }
.s4 { grid-row: 1; grid-column-start: 4; border-top: 4px solid var(--accent); }

.lead-block { grid-column: 1 / -1; margin-top: 36px; max-width: 34rem; }
.lead {
	font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
	line-height: 1.4;
	font-weight: 450;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 22px;
}
.actions .link { display: inline-block; padding-block: .6em; }

.masthead {
	margin-top: 48px;
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: -.035em;
	line-height: .74;
	font-size: calc(var(--W, 100vw) / 6.42);
	white-space: nowrap;
	padding-bottom: .02em;
	border-bottom: 1px solid var(--rule);
	user-select: none;
}
.hero { --W: calc(min(100vw, var(--maxw)) - 2 * var(--pad)); }

@media (min-width: 760px) {
	.stage { --F: calc(var(--W) / 12.6); padding-top: 40px; }
	.stairs {
		grid-row: 1;
		grid-template-columns: repeat(4, max-content) 1fr;
		grid-template-rows: repeat(4, auto);
	}
	.step {
		border-top: 0;
		border-left: 0;
		border-bottom: 2px solid var(--rule);
		border-right: 2px solid var(--rule);
		padding: .12em .22em .1em .02em;
		grid-column-end: auto;
	}
	.s1 { grid-column: 1; }
	.s2 { grid-column: 2; padding-left: .12em; }
	.s3 { grid-column: 3; padding-left: .12em; }
	.s4 { grid-column: 4; padding-left: .12em; border-right: 0; border-top: 0; border-bottom: 4px solid var(--accent); }
	.lead-block { grid-column: 1 / 9; margin-top: 48px; }
	.lead { font-size: clamp(1.125rem, .9rem + .55vw, 1.5rem); }
	.masthead { margin-top: 56px; }
}
@media (min-width: 1200px) {
	.lead-block {
		grid-column: 1 / 6;
		grid-row: 1;
		align-self: start;
		margin-top: 0;
		max-width: calc(var(--F) * 4.7);
		position: relative;
		z-index: 1;
	}
}

/* ---------- sezioni ---------- */
.sec { padding-top: 0; margin-top: clamp(96px, 14vw, 220px); }
.head {
	align-items: baseline;
	border-top: 2px solid var(--rule);
	padding-top: 10px;
	margin-bottom: clamp(36px, 5vw, 72px);
}
.num {
	grid-column: 1;
	font-weight: 800;
	font-stretch: var(--narrow);
	font-size: 1.5rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.label {
	grid-column: 2 / -1;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.3;
}
@media (min-width: 760px) {
	.num { font-size: 2rem; }
	.label { grid-column: 3 / 9; }
}

/* 01 · metodo */
.statement {
	grid-column: 1 / -1;
	font-size: clamp(1.75rem, 5.6vw, 5.75rem);
	line-height: .98;
	font-weight: 300;
	font-stretch: 85%;
	letter-spacing: -.025em;
}
.statement .ln { display: block; }
.statement .ln + .ln { margin-top: .12em; }
.statement b { font-weight: 800; font-stretch: var(--narrow); letter-spacing: -.01em; }
@media (min-width: 760px) {
	.statement .ln:nth-child(2) { padding-left: calc((100% + var(--gap)) / 12 * 2); }
	.statement .ln:nth-child(3) { padding-left: calc((100% + var(--gap)) / 12 * 4); }
}

.triad {
	margin-top: clamp(56px, 8vw, 120px);
	row-gap: 32px;
}
.triad li { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 12px; }
.tn { display: block; font-size: .8125rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.triad h3 {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: 1;
	margin-bottom: 12px;
	letter-spacing: -.01em;
}
.triad p { max-width: 30rem; color: var(--ink); }
@media (min-width: 760px) {
	.triad li:nth-child(1) { grid-column: 4 / 7; }
	.triad li:nth-child(2) { grid-column: 7 / 10; }
	.triad li:nth-child(3) { grid-column: 10 / 13; }
}

/* 02 · confronto */
.compare {
	grid-column: 1 / -1;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.compare th {
	text-align: left;
	vertical-align: bottom;
	font-size: .875rem;
	font-weight: 600;
	padding: 0 12px 10px 0;
	border-bottom: 2px solid var(--rule);
}
.compare th:last-child { padding-left: 12px; }
.compare td {
	vertical-align: top;
	padding: 14px 12px 16px 0;
	border-bottom: 1px solid var(--hair);
	line-height: 1.12;
}
.compare td:first-child {
	color: var(--muted);
	font-size: clamp(1rem, .85rem + .6vw, 1.75rem);
	font-weight: 400;
	font-stretch: 90%;
}
.compare td:last-child {
	padding-left: 12px;
	font-size: clamp(1.25rem, .9rem + 1.6vw, 3.25rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	letter-spacing: -.01em;
	border-left: 1px solid var(--rule);
}
.compare tbody tr:last-child td { border-bottom: 2px solid var(--rule); }
.note {
	grid-column: 1 / -1;
	margin-top: 18px;
	font-size: .9375rem;
	color: var(--muted);
	max-width: 36rem;
}
@media (min-width: 760px) {
	.compare { grid-column: 3 / -1; }
	.compare th:first-child { width: 36%; }
	.note { grid-column: 8 / 13; }
}

/* 03 · autoverifica: una domanda, riscontro via CSS (:has), fallback <details> */
.quiz { row-gap: 0; }
.quiz-intro {
	grid-column: 1 / -1;
	font-size: .9375rem;
	font-weight: 600;
	max-width: 22rem;
	margin-bottom: 24px;
}
.quiz-set {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.quiz-q {
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: clamp(24px, 3vw, 44px);
	font-size: clamp(1.5rem, 1rem + 2.1vw, 3rem);
	font-weight: 400;
	font-stretch: 85%;
	line-height: 1.06;
	letter-spacing: -.02em;
	text-wrap: pretty;
}
.quiz-q + * { clear: both; }
.opt {
	position: relative;
	border-top: 1px solid var(--rule);
}
.opt:last-child { border-bottom: 2px solid var(--rule); }
.opt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.opt label {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	column-gap: 14px;
	align-items: center;
	padding: 16px 0;
	font-size: clamp(1.125rem, .95rem + .8vw, 1.75rem);
	line-height: 1.2;
	cursor: pointer;
}
.key {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 2px solid var(--ink);
	font-size: 1rem;
	font-weight: 800;
	font-stretch: 100%;
}
.opt input:hover + label .key { background: var(--hair); }
.opt input:checked + label .key { background: var(--ink); color: var(--paper); }
.opt input:checked + label .opt-t { font-weight: 700; }
.opt input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }

.feedback { grid-column: 1 / -1; margin-top: 18px; }
.fb { display: none; padding-top: 14px; padding-right: max(0px, 100% - 46rem); font-size: 1.125rem; line-height: 1.45; }
.fb-ok { border-top: 4px solid var(--accent); }
.fb-ok .fb-k { color: var(--accent); }
.fb-no { border-top: 2px solid var(--rule); }
.fb-k { font-weight: 800; }
.fb-fallback summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .22em;
	cursor: pointer;
}
.fb-fallback p { max-width: 44rem; padding-top: 6px; }
@supports selector(:has(*)) {
	.fb-fallback { display: none; }
	.quiz:has(#prova-b:checked) .fb-ok,
	.quiz:has(#prova-a:checked) .fb-no { display: block; }
}
@media (min-width: 760px) {
	.quiz-intro { grid-column: 1 / 4; padding-right: 12px; margin-bottom: 0; }
	.quiz-set, .feedback { grid-column: 4 / 13; }
	.quiz-set { grid-row: 1; }
}

/* 04 · academy */
.product {
	grid-column: 1 / -1;
	font-size: clamp(2.6rem, 10.5vw, 10.5rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: .82;
	letter-spacing: -.035em;
	margin-left: -.04em;
}
.product span { display: block; }
.product span + span { font-weight: 300; }
.product-intro { grid-column: 1 / -1; margin-top: 32px; }
.product-intro .lead { margin-bottom: 22px; max-width: 32rem; }
@media (min-width: 760px) {
	.product span + span { padding-left: calc((100% + var(--gap)) / 12 * 3); }
	.product-intro { grid-column: 1 / 5; margin-top: 48px; }
}

.levels {
	grid-column: 1 / -1;
	margin-top: 48px;
}
.levels ol {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: end;
	gap: 6px;
	height: 96px;
	border-bottom: 2px solid var(--rule);
}
.levels li { display: block; background: var(--ink); height: 20%; }
.levels li:nth-child(2) { height: 40%; }
.levels li:nth-child(3) { height: 60%; }
.levels li:nth-child(4) { height: 80%; }
.levels li:nth-child(5) { height: 100%; background: var(--accent); }
.levels .ticks {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 6px;
	margin-top: 6px;
	font-size: .75rem;
	font-weight: 600;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.levels figcaption { margin-top: 12px; font-size: .9375rem; font-weight: 600; max-width: 30rem; }
@media (min-width: 760px) {
	.levels { grid-column: 7 / 13; margin-top: 48px; align-self: end; }
	.levels ol, .levels .ticks { gap: var(--gap); }
	.levels ol { height: 132px; }
}

.feat-wrap { margin-top: clamp(56px, 7vw, 104px); }
.feat-h {
	grid-column: 1 / -1;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .95;
	letter-spacing: -.01em;
	padding-top: 12px;
	border-top: 2px solid var(--rule);
	margin-bottom: 8px;
}
.features { grid-column: 1 / -1; }
.features li {
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	column-gap: 10px;
	align-content: start;
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--hair);
}
.features li:first-child { border-top: 2px solid var(--rule); }
.fn { grid-column: 1; grid-row: 1 / span 2; font-size: .8125rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .3em; }
.features h4, .features p { grid-column: 2; }
.features h4 { grid-row: 1; font-size: 1.1875rem; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.features p { font-size: 1rem; max-width: 30rem; }
@media (min-width: 760px) {
	.feat-h { grid-column: 1 / 4; border-top-width: 2px; padding-right: 8px; }
	.features {
		grid-column: 4 / 13;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: var(--gap);
	}
	.features li:nth-child(2) { border-top: 2px solid var(--rule); }
}
@media (min-width: 1100px) {
	.features li { grid-template-columns: 3rem 1fr; }
	.features h4 { font-size: 1.3125rem; }
}

.topics {
	margin-top: clamp(56px, 7vw, 104px);
	align-items: baseline;
}
.topics-h { grid-column: 1 / -1; font-size: .875rem; font-weight: 600; margin-bottom: 14px; }
.topics-list {
	grid-column: 1 / -1;
	font-size: clamp(1.75rem, 4.2vw, 4.25rem);
	line-height: 1.02;
	font-weight: 300;
	font-stretch: 85%;
	letter-spacing: -.02em;
}
.topics-list li { display: inline; }
@media (min-width: 400px) { .topics-list li { white-space: nowrap; } }
.topics-list li:not(:last-child)::after {
	content: "\00a0/";
	color: var(--muted);
	font-weight: 300;
	margin-right: .18em;
}
@media (min-width: 760px) {
	.topics-h { grid-column: 1 / 3; margin-bottom: 0; }
	.topics-list { grid-column: 3 / 13; }
}

/* 05 · valori: un registro tipografico, due colonne da 760px */
.values { border-top: 2px solid var(--rule); }
.values > div {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 2rem 1fr;
	column-gap: 8px;
	align-items: baseline;
	padding: 12px 0 14px;
	border-bottom: 1px solid var(--hair);
}
.vn { font-size: .8125rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.values dt {
	font-size: clamp(2rem, 10vw, 3rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .95;
	letter-spacing: -.015em;
	overflow-wrap: anywhere;
}
.values dd { grid-column: 2; margin-top: 6px; color: var(--muted); max-width: 24rem; font-size: 1rem; }
@media (min-width: 760px) {
	.values { border-top-width: 2px; }
	.values > div {
		grid-column: span 6;
		grid-template-columns: 2.5rem 1fr;
		padding: 12px 0 16px;
	}
	.values dt { font-size: clamp(2.25rem, 4.3vw, 4.25rem); line-height: .92; }
	.values dd { margin-top: 8px; font-size: 1.0625rem; color: var(--ink); }
}

/* 06 · storia: il vuoto come pausa */
.story-title {
	grid-column: 1 / -1;
	font-size: clamp(2.5rem, 7.6vw, 8.25rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .9;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.story { margin-top: clamp(40px, 7vw, 120px); }
.story-text { grid-column: 1 / -1; }
.story-text p { max-width: 34rem; }
.story-text p + p { margin-top: 1em; }
.story-text .first { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.3; font-weight: 500; margin-bottom: 1.2em; }
.closing {
	grid-column: 1 / -1;
	margin-top: clamp(48px, 8vw, 140px);
	font-size: clamp(1.75rem, 3.9vw, 4rem);
	font-weight: 300;
	font-stretch: 85%;
	line-height: 1.02;
	letter-spacing: -.02em;
}
.closing span { display: block; }
.closing .hl { font-weight: 800; font-stretch: var(--narrow); }
@media (min-width: 760px) {
	.story-title { grid-column: 1 / 11; }
	.story-text { grid-column: 7 / 12; }
	.closing { grid-column: 3 / 13; }
}

/* 07 · contatti */
.contact-title {
	grid-column: 1 / -1;
	font-size: clamp(2.25rem, 6vw, 6.25rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .92;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.contact-body { grid-column: 1 / -1; margin-top: 32px; }
.contact-body p + p { margin-top: 18px; }
.mail {
	display: inline-block;
	font-size: clamp(1.75rem, 1rem + 3.6vw, 4.5rem);
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: -.02em;
	line-height: 1.05;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: .08em;
	text-underline-offset: .14em;
	overflow-wrap: anywhere;
	padding-block: .1em;
}
.mail:hover { color: var(--accent); }
.small { font-size: .9375rem; color: var(--muted); }
.small .link { color: var(--ink); display: inline-block; padding-block: .7em; }
@media (min-width: 760px) {
	.contact-title { grid-column: 1 / 10; }
	.contact-body { grid-column: 5 / 13; margin-top: 48px; }
}

/* footer */
.foot {
	margin-top: clamp(96px, 12vw, 180px);
	padding-bottom: 28px;
}
.foot .g {
	border-top: 2px solid var(--rule);
	padding-top: 14px;
	row-gap: 10px;
	font-size: .875rem;
	color: var(--muted);
}
.foot .brand { grid-column: 1 / -1; color: var(--ink); font-size: .95rem; }
.foot .f2, .foot .f3 { grid-column: 1 / -1; }
@media (min-width: 760px) {
	.foot .brand { grid-column: 1 / 4; }
	.foot .f2 { grid-column: 4 / 8; }
	.foot .f3 { grid-column: 8 / 13; text-align: right; }
}

/* ---------- movimento: solo se richiesto e supportato ---------- */
@media (prefers-reduced-motion: no-preference) {
	.step {
		animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
	}
	.s2 { animation-delay: .12s; }
	.s3 { animation-delay: .24s; }
	.s4 { animation-delay: .36s; }
	@keyframes rise {
		from { clip-path: inset(100% 0 0 0); transform: translateY(.25em); }
		to { clip-path: inset(-20% -300% -110% 0); transform: none; }
	}

	@supports (animation-timeline: scroll()) {
		.progress {
			display: block;
			animation: grow linear both;
			animation-timeline: scroll(root block);
		}
		@keyframes grow { to { transform: scaleX(1); } }

		.statement .ln, .story-title, .contact-title, .product span, .closing span {
			animation: slide-in linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 100%;
		}
		@keyframes slide-in {
			from { opacity: .4; transform: translateX(-.3em); }
			to { opacity: 1; transform: none; }
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	body::before, .progress, .skip { display: none; }
}

/* 404 */
.nf { padding-top: clamp(48px, 8vw, 120px); }
.nf-code {
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: -.035em;
	line-height: .74;
	font-size: clamp(5rem, 24vw, 22rem);
	margin-left: -.03em;
	padding-bottom: .04em;
	border-bottom: 2px solid var(--rule);
}
.nf-title {
	grid-column: 1 / -1;
	margin-top: 28px;
	font-size: clamp(2.25rem, 6vw, 6.25rem);
	font-weight: 800;
	font-stretch: var(--narrow);
	line-height: .92;
	letter-spacing: -.02em;
}
.nf-body { grid-column: 1 / -1; margin-top: 24px; }
.nf-body p + p { margin-top: 20px; }
@media (min-width: 760px) {
	.nf-title { grid-column: 1 / 8; }
	.nf-body { grid-column: 8 / 13; margin-top: 36px; }
}
