@charset "UTF-8";

/* =========================================================================
   SpazioTempo - foglio di stile principale
   Palette ufficiale: bianco #ffffff / verde #80a97c / neretto #252222
   Font display: Simplicity (dal manuale di identita)
   ========================================================================= */

/* --- Font ---------------------------------------------------------------- */

@font-face {
	font-family: "Simplicity";
	src: url("../fonts/simplicity.woff2") format("woff2"),
		url("../fonts/simplicity.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* --- Variabili ---------------------------------------------------------- */

:root {
	--green: #80a97c;
	--green-deep: #5c8558;
	--green-ink: #3e5c3b;
	--green-soft: #e7eee4;
	--green-mist: #f1f5ee;

	--ink: #252222;
	--ink-2: #332e2e;
	--ink-soft: #4a4444;
	--ink-muted: #6e6867;
	--cream: #f9f9f6;
	--white: #fff;

	--line: rgba(37, 34, 34, 0.12);
	--line-strong: rgba(37, 34, 34, 0.22);
	--line-light: rgba(255, 255, 255, 0.18);

	--font-display: "Simplicity", "Trebuchet MS", "Segoe UI", sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;

	--step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
	--step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
	--step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
	--step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
	--step-4: clamp(2.3rem, 1.75rem + 2.6vw, 4rem);
	--step-5: clamp(2.9rem, 1.9rem + 4.4vw, 5.6rem);

	--space-section: clamp(3.75rem, 8vw, 7rem);
	--container: 76rem;
	--container-narrow: 46rem;
	--header-h: 4.75rem;

	--radius-s: 0.6rem;
	--radius: 1.1rem;
	--radius-l: 1.75rem;
	/* Angolo "disegnato a mano": un vertice resta stretto */
	--radius-organic: 1.75rem 1.75rem 1.75rem 0.35rem;

	--shadow-s: 0 1px 2px rgba(37, 34, 34, 0.06),
		0 6px 18px -12px rgba(37, 34, 34, 0.25);
	--shadow: 0 2px 4px rgba(37, 34, 34, 0.05),
		0 18px 40px -24px rgba(37, 34, 34, 0.35);
	--shadow-l: 0 30px 70px -40px rgba(37, 34, 34, 0.55);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset -------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
picture,
video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

ul,
ol {
	padding: 0;
}

a {
	color: inherit;
	text-decoration-color: var(--green);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 3px solid var(--green-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

/* --- Tipografia --------------------------------------------------------- */

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.005em;
	text-wrap: balance;
}

h1 {
	font-size: var(--step-4);
}

h2 {
	font-size: var(--step-3);
}

h3 {
	font-size: var(--step-2);
}

h4 {
	font-size: var(--step-1);
}

p {
	text-wrap: pretty;
}

strong {
	font-weight: 600;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--green-ink);
}

.eyebrow::before {
	content: "";
	width: 1.75em;
	height: 2px;
	background: var(--green);
	border-radius: 2px;
}

.lead {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 44ch;
}

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

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

/* --- Impaginazione ------------------------------------------------------ */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 5vw, 2.5rem);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.section {
	position: relative;
	padding-block: var(--space-section);
}

.section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section__head {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-width: 58rem;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section__head--center {
	margin-inline: auto;
	text-align: center;
	align-items: center;
}

.section__head--center .lead {
	max-width: 52ch;
}

.section__head .lead {
	margin-top: 0.25rem;
	max-width: none;
}

.section__head .lead + .lead {
	margin-top: calc(-0.55rem);
}

/* Temi di sezione: alternando crema, bianco e neretto il sito resta
   giocoso senza perdere eleganza. */

.theme-cream {
	background: var(--cream);
}

.theme-white {
	background: var(--white);
}

.theme-mist {
	background: var(--green-mist);
}

.theme-ink {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.86);
}

.theme-ink h1,
.theme-ink h2,
.theme-ink h3,
.theme-ink h4 {
	color: var(--white);
}

.theme-ink .eyebrow {
	color: var(--green);
}

.theme-ink .lead,
.theme-ink .muted {
	color: rgba(255, 255, 255, 0.72);
}

.theme-ink a {
	text-decoration-color: var(--green);
}

/* Distanze verticali ricorrenti */
.mt-s {
	margin-top: 1.1rem;
}

.mt-m {
	margin-top: 1.5rem;
}

.mt-l {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.section__more {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Colonna con la linea del tempo della cooperativa */
.intro-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.timeline {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 16rem);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: center;
}

.timeline__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}

.timeline__item:not(:last-child)::after {
	content: "";
	width: 2px;
	height: 1.85rem;
	margin-top: 0.55rem;
	border-radius: 2px;
	background: var(--green);
	opacity: 0.45;
}

.timeline__value {
	font-family: var(--font-display);
	font-size: var(--step-3);
	line-height: 1;
	color: var(--green-ink);
}

.timeline__label {
	max-width: 14rem;
	font-size: var(--step--1);
	line-height: 1.35;
	color: var(--ink-muted);
}

/* --- Motivo decorativo -------------------------------------------------- */

/* Foglioline del logo, usate come piccolo accento grafico. */
.leaf-accent {
	display: inline-block;
	width: 0.42em;
	height: 0.42em;
	border-radius: 50% 50% 50% 0;
	background: var(--green);
	transform: rotate(-30deg);
}

.strokes {
	display: block;
	width: 100%;
	height: auto;
	color: var(--green);
}

.strokes--ink {
	color: rgba(255, 255, 255, 0.35);
}

.divider {
	position: relative;
	overflow: hidden;
	line-height: 0;
}

.divider svg {
	display: block;
	width: 100%;
	height: clamp(2.5rem, 6vw, 4.5rem);
}

/* --- Bottoni ------------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 0.85em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
		border-color 0.2s var(--ease), color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn__icon {
	flex: none;
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.2s var(--ease);
}

.btn:hover .btn__icon {
	transform: translateX(3px);
}

.btn--primary {
	background: var(--green);
	border-color: var(--green);
	color: #16220f;
	box-shadow: var(--shadow-s);
}

.btn--primary:hover {
	background: var(--green-deep);
	border-color: var(--green-deep);
	color: var(--white);
}

.btn--ink {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.btn--ink:hover {
	background: var(--green-deep);
	border-color: var(--green-deep);
}

.btn--outline {
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn--outline:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.theme-ink .btn--outline,
.hero .btn--outline {
	border-color: var(--line-light);
	color: var(--white);
}

.theme-ink .btn--outline:hover,
.hero .btn--outline:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--ink);
}

.btn--small {
	padding: 0.6em 1.1em;
	font-size: var(--step--1);
}

/* Collegamento con freccia, usato per i "vai a..." */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	text-decoration: none;
	color: var(--green-ink);
}

.link-arrow svg {
	width: 1.05em;
	height: 1.05em;
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
	color: var(--ink);
}

.link-arrow:hover svg {
	transform: translateX(4px);
}

.theme-ink .link-arrow {
	color: var(--green);
}

.theme-ink .link-arrow:hover {
	color: var(--white);
}

/* --- Etichette ---------------------------------------------------------- */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.35em 0.85em;
	border-radius: 999px;
	background: var(--green-soft);
	color: var(--green-ink);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.badge--ink {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.85);
}

.badge--outline {
	background: transparent;
	border: 1px solid var(--line-strong);
	color: var(--ink-soft);
}

a.badge {
	text-decoration: none;
}

a.badge:hover {
	border-color: var(--green);
	color: var(--green-ink);
}

/* --- Testata ------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(249, 249, 246, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 10px 30px -26px rgba(37, 34, 34, 0.6);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.75rem;
}

.site-logo {
	display: flex;
	align-items: center;
	flex: none;
	text-decoration: none;
}

.site-logo img {
	width: auto;
	height: clamp(2.1rem, 4vw, 2.6rem);
}

.nav {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 2vw, 1.75rem);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.35rem, 1.6vw, 1.4rem);
	list-style: none;
	margin: 0;
}

.nav__link {
	position: relative;
	display: block;
	padding: 0.5rem 0.15rem;
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--ink-soft);
	white-space: nowrap;
	transition: color 0.2s var(--ease);
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.1rem;
	height: 2px;
	border-radius: 2px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current] {
	color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current]::after {
	transform: scaleX(1);
}

.nav__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* Selettore di lingua */
.lang {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	padding: 0.25rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
}

.lang__item {
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-muted);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang__item:hover {
	background: var(--green-soft);
	color: var(--green-ink);
}

.lang__item[aria-current] {
	background: var(--ink);
	color: var(--white);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.9rem;
	background: var(--ink);
	color: var(--white);
	border: 0;
	border-radius: 999px;
	font-size: var(--step--1);
	font-weight: 600;
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	display: block;
	width: 1.05rem;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s var(--ease);
}

.nav-toggle__bars::before {
	top: -5px;
}

.nav-toggle__bars::after {
	top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
	transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
	transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 62rem) {
	.nav-toggle {
		display: inline-flex;
	}

	/* Copre la zona della testata: il menu scorre dietro, non sopra. */
	.site-header::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: var(--header-h);
		background: rgba(249, 249, 246, 0.92);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		z-index: 2;
		pointer-events: none;
	}

	.site-logo,
	.nav-toggle {
		position: relative;
		z-index: 3;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1.25rem clamp(1.15rem, 5vw, 2.5rem) 2rem;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		transform: translateY(-100%);
		visibility: hidden;
		pointer-events: none;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
	}

	.nav.is-open {
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
	}

	/* La transizione vale solo se l'utente apre o chiude il menu:
	   al cambio di larghezza lo stato si aggiorna senza animazione. */
	.nav.is-animating {
		transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
	}

	.nav.is-animating.is-open {
		transition: transform 0.3s var(--ease), visibility 0s;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__link {
		padding: 0.9rem 0;
		font-size: var(--step-1);
		border-bottom: 1px solid var(--line);
	}

	.nav__link::after {
		display: none;
	}

	.nav__actions {
		margin-top: 1.25rem;
		justify-content: space-between;
	}
}

/* --- Avviso lingua non tradotta ---------------------------------------- */

.notice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem clamp(1.15rem, 5vw, 2.5rem);
	background: var(--green-soft);
	color: var(--green-ink);
	font-size: var(--step--1);
	text-align: center;
	justify-content: center;
}

/* --- Hero --------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.85);
	isolation: isolate;
	height: calc(100vh - var(--header-h));
	height: calc(100svh - var(--header-h));
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			120% 90% at 78% 6%,
			rgba(128, 169, 124, 0.35),
			transparent 55%
		),
		radial-gradient(70% 60% at 8% 100%, rgba(128, 169, 124, 0.16), transparent 60%);
	z-index: -1;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 4vw, 4.5rem);
	align-items: center;
	flex: 1;
	width: 100%;
	min-height: 0;
	padding-block: clamp(1.25rem, 4.5vh, 3.5rem);
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(0.85rem, 2.2vh, 1.5rem);
}

.hero__title {
	font-size: var(--step-5);
	color: var(--white);
}

.hero__title em {
	font-style: normal;
	color: var(--green);
}

.hero__lead {
	max-width: 46ch;
	font-size: var(--step-1);
	color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 0.15rem;
}

.hero__mark {
	width: clamp(9rem, 22vw, 13rem);
	margin-bottom: 0.25rem;
	color: var(--green);
}

.hero__figure {
	position: relative;
	display: grid;
	place-items: center;
	margin: 0;
	min-height: 0;
}

.hero__figure img {
	width: 100%;
	max-width: 34rem;
	max-height: min(46vh, 20rem);
	height: auto;
	object-fit: contain;
}

.hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
	font-size: var(--step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.hero__scroll svg {
	width: 1rem;
	height: 1rem;
	animation: nudge 2.4s var(--ease) infinite;
}

@keyframes nudge {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(4px);
	}
}

@media (max-width: 56rem) {
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 1.15rem;
		padding-block: 1.15rem 1.5rem;
	}

	.hero__figure {
		order: -1;
	}

	.hero__figure img {
		max-width: 16rem;
		max-height: 18vh;
	}

	.hero__title {
		font-size: clamp(1.85rem, 7vw, 2.7rem);
	}

	.hero__content {
		gap: 0.8rem;
	}
}

/* Intestazione delle pagine interne */
.page-hero {
	position: relative;
	padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(2rem, 5vw, 3.5rem);
	background: var(--white);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

/* Le intestazioni scure riusano il tema .theme-ink per colori e contrasto. */
.page-hero.theme-ink {
	background: var(--ink);
	border-bottom: 0;
}

.page-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	max-width: 48rem;
}

.page-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.page-hero__layout .page-hero__inner {
	max-width: none;
}

.page-hero__nido {
	display: grid;
	place-items: center;
	margin: 0;
}

.page-hero__nido img {
	width: 100%;
	max-width: 22rem;
	max-height: min(28vh, 14rem);
	height: auto;
	object-fit: contain;
}

@media (max-width: 56rem) {
	.page-hero__layout {
		grid-template-columns: 1fr;
	}

	.page-hero__nido {
		order: -1;
	}

	.page-hero__nido img {
		max-width: 14rem;
		max-height: 16vh;
	}
}

.page-hero__title {
	font-size: var(--step-4);
}

/* Intestazione della pagina progetto: testo a sinistra, logo a destra */
.project-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.project-hero__logo {
	margin: 0;
	padding: 1.25rem;
	background: var(--white);
	border-radius: var(--radius-organic);
	box-shadow: var(--shadow);
}

.project-hero__logo img {
	width: 100%;
	height: auto;
}

@media (max-width: 52rem) {
	.project-hero {
		grid-template-columns: 1fr;
	}

	.project-hero__logo {
		max-width: 12rem;
	}
}

.project-body > * + * {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.project-section h2,
.project-section h3 {
	margin-bottom: 0.9rem;
}

/* --- Griglie ------------------------------------------------------------ */

.grid {
	display: grid;
	gap: clamp(1.1rem, 2.5vw, 2rem);
}

.grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

/* --- Schede ------------------------------------------------------------- */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: clamp(1.35rem, 2.5vw, 1.9rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-organic);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		border-color 0.25s var(--ease);
}

.card__title {
	font-size: var(--step-2);
}

.card__text {
	color: var(--ink-soft);
}

.theme-ink .card {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--line-light);
}

.theme-ink .card__text {
	color: rgba(255, 255, 255, 0.72);
}

/* Numero d'ordine per le schede dei valori */
.card--value {
	padding-top: clamp(1.6rem, 3vw, 2.25rem);
}

.card--value .card__num {
	font-family: var(--font-display);
	font-size: var(--step-3);
	line-height: 1;
	color: var(--green);
}

/* Scheda progetto */
.project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-organic);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
		border-color 0.3s var(--ease);
}

.project-card:hover,
.project-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(128, 169, 124, 0.65);
	box-shadow: var(--shadow);
}

.project-card__media {
	position: relative;
	display: grid;
	place-items: center;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	min-height: 11rem;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.project-card__media img {
	max-height: 8rem;
	width: auto;
	transition: transform 0.35s var(--ease);
}

.project-card:hover .project-card__media img {
	transform: scale(1.04) rotate(-1deg);
}

.project-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	flex: 1;
}

.project-card__title {
	font-size: var(--step-2);
	line-height: 1.1;
}

.project-card__title a {
	text-decoration: none;
}

.project-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.project-card__badge {
	margin: 0;
}

.project-card__tagline {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-ink);
	line-height: 1.35;
	min-height: calc(1.35em * 2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.project-card__text {
	color: var(--ink-soft);
	flex: 1;
}

.project-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.35rem;
}

/* Scheda servizio (sezione scura) */
.service {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line-light);
	border-radius: var(--radius-organic);
}

.service__contacts {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--line-light);
}

.service__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.75rem;
	font-size: var(--step--1);
}

.service__contact dt {
	color: rgba(255, 255, 255, 0.55);
}

.service__contact dd {
	margin: 0;
	font-weight: 600;
	color: var(--white);
}

.service__contact a {
	text-decoration: none;
}

/* --- Dati in breve ----------------------------------------------------- */

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	gap: 0.75rem;
	margin: 0;
}

.facts__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.05rem 1.25rem;
	background: var(--green-soft);
	border-radius: var(--radius-organic);
}

.facts__label {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--green-ink);
}

.facts__value {
	font-family: var(--font-display);
	font-size: var(--step-1);
	line-height: 1.2;
	color: var(--ink);
}

.project-edizione {
	margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.theme-ink .facts__item {
	background: rgba(128, 169, 124, 0.2);
}

.theme-ink .facts__value {
	color: var(--white);
}

.theme-ink .facts__label {
	color: var(--green);
}

/* Numeri in evidenza */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 0.75rem;
	max-width: 48rem;
	margin-inline: 0;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.stats__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem 1.4rem;
	background: var(--white);
	border-radius: var(--radius-organic);
}

.theme-white .stats__item {
	background: var(--green-soft);
}

.theme-ink .stats__item {
	background: rgba(128, 169, 124, 0.2);
}

.stats__value {
	font-family: var(--font-display);
	font-size: var(--step-3);
	line-height: 1;
	color: var(--green-ink);
}

.stats__label {
	font-size: var(--step--1);
	color: var(--ink-muted);
}

.theme-ink .stats__value {
	color: var(--green);
}

.theme-ink .stats__label {
	color: rgba(255, 255, 255, 0.65);
}

/* --- Testo lungo ------------------------------------------------------- */

.prose {
	max-width: 40rem;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h3 {
	margin-top: 2em;
	font-size: var(--step-2);
}

.prose h3 + * {
	margin-top: 0.6em;
}

.prose ul,
.prose ol {
	padding-left: 1.35em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose ::marker {
	color: var(--green-deep);
}

.prose a {
	font-weight: 600;
}

.prose--wide {
	max-width: 48rem;
}

.quote {
	position: relative;
	margin: 0;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--green-mist);
	border-left: 4px solid var(--green);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-display);
	font-size: var(--step-2);
	line-height: 1.25;
	color: var(--green-ink);
}

.quote p {
	margin: 0;
}

.prose + .quote {
	margin-top: 2.75rem;
}

.theme-ink .quote {
	background: rgba(128, 169, 124, 0.12);
	color: var(--white);
}

.goal-wrap {
	max-width: 48rem;
}

.goal {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	width: fit-content;
	max-width: 100%;
	padding: 1.1rem 1.35rem;
	background: var(--green-soft);
	border-radius: var(--radius);
	font-weight: 600;
	color: var(--green-ink);
}

.goal span {
	min-width: 0;
}

.goal svg {
	flex: none;
	width: 1.35rem;
	height: 1.35rem;
}

/* --- Novita dell'edizione (pagina progetto) ---------------------------- */

.updates {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.update {
	position: relative;
	padding: clamp(1.25rem, 2.5vw, 1.85rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--green);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.update--pinned {
	border-left-color: var(--ink);
	background: linear-gradient(
		180deg,
		var(--green-mist),
		var(--white) 60%
	);
}

.update__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.update__date {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.update__title {
	font-size: var(--step-2);
	margin-bottom: 0.6rem;
}

.update__body > * + * {
	margin-top: 0.8em;
}

.update__body ul {
	padding-left: 1.3em;
}

.update__cta {
	margin-top: 1.1rem;
}

.show-list {
	display: grid;
	gap: 1.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.show-card {
	display: grid;
	grid-template-columns: minmax(14rem, 20rem) 1fr;
	align-items: stretch;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-organic);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		border-color 0.25s var(--ease);
}

.show-card:hover {
	transform: translateY(-3px);
	border-color: rgba(128, 169, 124, 0.65);
	box-shadow: var(--shadow);
}

.show-card__media {
	position: relative;
	margin: 0;
	min-height: 100%;
	background: var(--green-soft);
}

.show-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(37, 34, 34, 0.18);
	pointer-events: none;
}

.show-card:hover .show-card__media::after {
	background: rgba(37, 34, 34, 0.28);
}

.show-card__media picture,
.show-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.show-card__play {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	color: var(--white);
	pointer-events: none;
}

.show-card__play svg {
	width: 3.15rem;
	height: 3.15rem;
	filter: drop-shadow(0 2px 8px rgba(37, 34, 34, 0.45));
}

.show-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: clamp(1.1rem, 2vw, 1.55rem) clamp(1.15rem, 2.2vw, 1.7rem);
}

.show-card__meta {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-ink);
}

.show-card__title {
	font-size: var(--step-2);
	margin: 0;
}

.show-card__text {
	color: var(--ink-soft);
}

.show-card__text > * + * {
	margin-top: 0.7em;
}

.show-card__watch {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.45rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--green-ink);
}

.show-card__watch svg {
	width: 1rem;
	height: 1rem;
}

@media (max-width: 48rem) {
	.show-card {
		grid-template-columns: 1fr;
	}

	.show-card__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}

.empty-state {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--white);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	color: var(--ink-muted);
}

.theme-ink .empty-state {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line-light);
	color: rgba(255, 255, 255, 0.7);
}

/* --- Comunicati -------------------------------------------------------- */

.news-list {
	display: grid;
	gap: clamp(1.1rem, 2.5vw, 1.75rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-organic);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		border-color 0.25s var(--ease);
}

.news-card:hover {
	transform: translateY(-3px);
	border-color: rgba(128, 169, 124, 0.65);
	box-shadow: var(--shadow);
}

.news-card__media {
	margin: 0;
	aspect-ratio: 16 / 10;
	background: var(--cream);
}

.news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: clamp(1.35rem, 2.5vw, 1.9rem);
	flex: 1;
}

.news-card__date {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-ink);
}

.news-card__title {
	font-size: var(--step-2);
}

.news-card__title a {
	text-decoration: none;
}

.news-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.news-card__text {
	color: var(--ink-soft);
	flex: 1;
}

.news-card__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
	margin-top: 0.35rem;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--step--1);
	color: var(--ink-muted);
}

.article__header h1 {
	margin-top: 1.75rem;
	margin-bottom: 1.15rem;
	font-size: var(--step-4);
}

.article__header .lead {
	margin-top: 1.35rem;
	max-width: none;
}

.article__cover {
	margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--cream);
}

.article__cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: clamp(0.75rem, 2vw, 1.15rem);
	list-style: none;
	margin: clamp(2rem, 4vw, 2.75rem) 0 0;
	padding: 0;
}

.article__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--cream);
}

.article__footer {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

/* --- Informativa (testo legale) ---------------------------------------- */

.legal-doc__section + .legal-doc__section {
	margin-top: clamp(2.25rem, 4vw, 3rem);
}

.legal-doc h2 {
	font-size: var(--step-2);
	margin-bottom: 0.9rem;
}

.legal-doc__num {
	color: var(--green);
}

/* --- Firma e cornici fotografiche -------------------------------------- */

.signature {
	font-family: var(--font-display);
	font-size: var(--step-2);
	color: var(--green);
}

.framed-photo {
	margin: 0;
}

.framed-photo img {
	width: 100%;
	border-radius: var(--radius-organic);
	box-shadow: var(--shadow);
}

/* --- Pagina di errore -------------------------------------------------- */

.error-page {
	text-align: center;
}

.error-page__nido {
	width: min(13rem, 55%);
	margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}

.error-page__nido img {
	width: 100%;
	height: auto;
}

.error-page .lead {
	margin: 1rem auto 0;
}

.error-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: center;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* --- Bacheca social ---------------------------------------------------- */

.social-wall {
	display: grid;
	gap: clamp(0.9rem, 2vw, 1.5rem);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.social-post {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.social-post:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.social-post__media {
	position: relative;
	aspect-ratio: 1;
	background: var(--green-mist);
	overflow: hidden;
}

.social-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.social-post:hover .social-post__media img {
	transform: scale(1.05);
}

.social-post__network {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	background: rgba(37, 34, 34, 0.82);
	color: var(--white);
	border-radius: 50%;
	backdrop-filter: blur(4px);
}

.social-post__network svg {
	width: 1.05rem;
	height: 1.05rem;
}

.social-post__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.9rem 1rem 1.1rem;
	flex: 1;
}

.social-post__text {
	font-size: var(--step--1);
	line-height: 1.5;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.social-post__date {
	margin-top: auto;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.social-post--text-only .social-post__media {
	display: none;
}

.theme-ink .social-post {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--line-light);
}

.theme-ink .social-post__text {
	color: rgba(255, 255, 255, 0.78);
}

.theme-ink .social-post__date {
	color: rgba(255, 255, 255, 0.5);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
}

.social-wall + .social-links,
.empty-state + .social-links {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: var(--step--1);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
		border-color 0.2s var(--ease);
}

.social-links svg {
	width: 1.05rem;
	height: 1.05rem;
}

.social-links a:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.theme-ink .social-links a {
	border-color: var(--line-light);
	color: var(--white);
}

.theme-ink .social-links a:hover {
	background: var(--green);
	border-color: var(--green);
	color: #16220f;
}

/* --- Squadra ----------------------------------------------------------- */

.team {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.member {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.member__photo {
	position: relative;
	margin: 0;
	border-radius: var(--radius-organic);
	overflow: hidden;
	background: var(--green-mist);
}

.member__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.member:hover .member__photo img {
	filter: grayscale(0.15) contrast(1);
	transform: scale(1.02);
}

.member__name {
	font-size: var(--step-2);
}

.member__role {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--green-ink);
}

/* Ritratto affiancato al racconto, nella pagina chi siamo */
.bio {
	display: grid;
	grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	padding-block: clamp(2rem, 4vw, 3.25rem);
	border-top: 1px solid var(--line);
}

.bio:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.bio__photo {
	margin: 0;
	position: sticky;
	top: 7rem;
	border-radius: var(--radius-organic);
	overflow: hidden;
}

.bio__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
}

@media (max-width: 48rem) {
	.bio {
		grid-template-columns: 1fr;
	}

	.bio__photo {
		position: static;
		max-width: 15rem;
	}
}

/* --- Elenco documenti (trasparenza) ----------------------------------- */

.doc-list {
	display: grid;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
}

.doc-list.article__attachments {
	margin-top: clamp(2.75rem, 5.5vw, 4rem);
}

.doc {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	padding: clamp(1rem, 2vw, 1.35rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}

.doc:hover {
	transform: translateX(3px);
	border-color: rgba(128, 169, 124, 0.7);
	box-shadow: var(--shadow-s);
}

.doc__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--green-soft);
	color: var(--green-ink);
	border-radius: 0.75rem;
}

.doc__icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.doc__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 0;
}

.doc__title {
	display: block;
	font-family: var(--font-body);
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1.35;
}

.doc__meta {
	display: block;
	font-size: var(--step--1);
	color: var(--ink-muted);
}

.doc__action {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--green-ink);
}

.doc__action svg {
	width: 1rem;
	height: 1rem;
}

/* --- Contatti ---------------------------------------------------------- */

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.35rem, 2.5vw, 1.9rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-organic);
}

.contact-card__head {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.contact-card__avatar {
	flex: none;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(1);
}

.contact-card__name {
	font-size: var(--step-1);
	margin-bottom: 0.1rem;
}

.contact-card__role {
	font-size: var(--step--1);
	color: var(--green-ink);
	font-weight: 600;
}

.contact-list {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.contact-list svg {
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	color: var(--green-deep);
}

.contact-list a {
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-list a:hover {
	text-decoration: underline;
}

.data-list {
	display: grid;
	gap: 0.7rem;
	margin: 0;
}

.data-list > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.75rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--line);
}

.data-list dt {
	flex: none;
	min-width: 11rem;
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.data-list dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.mail-groups {
	display: grid;
	gap: 1.35rem;
}

.mail-group {
	display: grid;
	gap: 0.55rem;
	padding-bottom: 1.35rem;
	border-bottom: 1px solid var(--line);
}

.mail-group:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.mail-group__names {
	margin: 0;
	font-weight: 600;
}

.mail-group__names a {
	text-decoration: none;
}

.mail-group__names a:hover {
	text-decoration: underline;
}

.mail-group__email {
	color: var(--ink-soft);
	overflow-wrap: anywhere;
}

.theme-ink .data-list > div {
	border-color: var(--line-light);
}

.theme-ink .data-list dt {
	color: rgba(255, 255, 255, 0.55);
}

/* --- Sponsor ------------------------------------------------------------ */

.sponsors {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sponsors__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
	gap: clamp(1rem, 2.2vw, 1.5rem);
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sponsors__grid--main {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
	gap: clamp(1.15rem, 2.8vw, 2rem);
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.sponsors__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6.5rem;
	padding: 1.05rem 1.2rem;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
		border-color 0.25s var(--ease);
}

.sponsors__item--main {
	min-height: 9rem;
	padding: 1.35rem 1.5rem;
	background: var(--white);
	border-color: var(--line);
	box-shadow: 0 1px 0 rgba(37, 34, 34, 0.04);
}

.sponsors__item img {
	display: block;
	max-width: 100%;
	max-height: 4.25rem;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0.15);
	opacity: 0.92;
	transition: filter 0.25s var(--ease), opacity 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.sponsors__item--main img {
	max-height: 6.25rem;
}

.sponsors__item:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--green) 45%, var(--line));
	box-shadow: 0 10px 24px rgba(37, 34, 34, 0.08);
}

.sponsors__item:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.03);
}

@media (max-width: 40rem) {
	.sponsors__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sponsors__grid--main {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	}
}

/* --- Blocco sostegno --------------------------------------------------- */

.support {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
	padding: clamp(1.75rem, 4vw, 3.25rem);
	background: var(--green);
	border-radius: var(--radius-l);
	color: #17240f;
}

.support h2 {
	color: #14200d;
}

.support .eyebrow {
	color: #17240f;
}

.support .eyebrow::before {
	background: #17240f;
}

.support__panel {
	display: grid;
	gap: 0.85rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--radius);
}

.support__row {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(37, 34, 34, 0.12);
}

.support__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.support__label {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-ink);
}

.support__value {
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.support__value--mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.95em;
	letter-spacing: 0.02em;
}

/* --- Richiamo finale --------------------------------------------------- */

.cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
}

.cta-band__text {
	max-width: 34rem;
}

.cta-band__text h2 {
	margin-top: 0.35rem;
}

.cta-band__text .lead {
	margin-top: 0.9rem;
}

.theme-ink .cta-band {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--line-light);
}

/* --- Pie di pagina ----------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--step--1);
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-decoration-color: var(--green);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-block: clamp(2.75rem, 6vw, 4rem);
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 22rem;
}

.site-footer__brand img {
	width: 11rem;
}

.footer-col__title {
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 0.9rem;
}

.footer-col ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
}

.site-footer__legal {
	display: grid;
	gap: 1.25rem;
	padding-block: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--line-light);
}

.site-footer__legal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 0.85rem 1.75rem;
}

.site-footer__legal-item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.site-footer__legal-label {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.35rem;
	border-top: 1px solid var(--line-light);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	list-style: none;
	margin: 0;
}

.footer-social {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	color: var(--white);
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
		color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social svg {
	width: 1.15rem;
	height: 1.15rem;
}

.footer-social a:hover {
	background: var(--green);
	border-color: var(--green);
	color: #16220f;
	transform: translateY(-2px);
}

@media (max-width: 48rem) {
	.site-footer__top {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	}
}

/* --- Comparsa progressiva --------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* --- Stampa ------------------------------------------------------------ */

@media print {
	.site-header,
	.site-footer,
	.hero__actions,
	.nav-toggle,
	.social-wall,
	.cta-band {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11pt;
	}

	.section {
		padding-block: 1rem;
	}

	a::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		color: #555;
	}
}
