/* ==========================================================================
   Humana Lab — foglio di stile del tema
   Sistema visivo: blu elettrico + turchese + bianco (logo), pillole, fili.
   ========================================================================== */

:root {
	--blu: #2a23f0;
	--blu-logo: #0101ff;
	--blu-fondo: #1a14c4;
	--notte: #0a0840;
	--teal: #01a89e;
	--teal-chiaro: #8eebe2;
	--carta: #f3f0e8;
	--bianco: #ffffff;
	--giallo: #f6c744;
	--azzurro: #7cc8ff;
	--arancio: #f28c1e;
	--display: "Archivo", "Arial Black", sans-serif;
	--pill: "Unbounded", "Archivo", sans-serif;
	--testo: "Archivo", system-ui, sans-serif;
	--bordo: 1.5px;
	--raggio: 28px;
	--wrap: min(1320px, 100% - clamp(40px, 8vw, 128px));
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hl {
	margin: 0;
	background: var(--carta);
	color: var(--notte);
	font-family: var(--testo);
	font-size: clamp(17px, 1.05vw + 12px, 20px);
	line-height: 1.5;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
:where(.hl) img { max-width: 100%; height: auto; display: block; }
:where(.hl) a { color: inherit; }
:where(.hl) :is(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.hl) :is(ul, ol) { list-style: none; }
:where(.hl) button { font: inherit; color: inherit; cursor: pointer; }
.hl [hidden] { display: none !important; }
.hl ::selection { background: var(--teal); color: #fff; }
.hl :focus-visible { outline: 3px solid var(--giallo); outline-offset: 3px; border-radius: 6px; }

.hl-wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.hl-salta { position: absolute; left: -999px; top: 0; background: #fff; color: var(--blu); padding: 12px 18px; z-index: 200; }
.hl-salta:focus { left: 12px; top: 12px; }

/* ----- Tipografia ------------------------------------------------------- */
.hl-display {
	font-family: var(--display);
	font-stretch: 125%;
	font-weight: 900;
	font-style: italic;
	letter-spacing: -.035em;
	line-height: .92;
	text-wrap: balance;
}
.hl-h2 { font-size: clamp(2.4rem, 6.2vw, 6rem); }
.hl-h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.hl-lead { font-size: clamp(1.15rem, 1.6vw, 1.6rem); line-height: 1.35; max-width: 34em; font-weight: 400; }
.hl-kicker {
	font-family: var(--pill);
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 500;
	opacity: .75;
}
.hl-corsivo { font-style: italic; font-weight: 300; }
.hl-nota { font-size: .78rem; line-height: 1.45; opacity: .7; max-width: 60em; }
.hl-nota a { text-underline-offset: 3px; }

/* ----- Pillole ---------------------------------------------------------- */
.hl-pill {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	font-family: var(--pill);
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
	padding: .95em 1.5em;
	border-radius: 999px;
	background: var(--bianco);
	color: var(--blu);
	text-decoration: none;
	border: var(--bordo) solid transparent;
	white-space: nowrap;
}
.hl-pill--teal { background: var(--teal); color: #fff; }
.hl-pill--blu { background: var(--blu); color: #fff; }
.hl-pill--notte { background: var(--notte); color: #fff; }
.hl-pill--line { background: transparent; color: inherit; border-color: currentColor; }
.hl-pill--xl { font-size: clamp(1rem, 2.2vw, 1.9rem); padding: .7em 1.3em; letter-spacing: .02em; }
a.hl-pill, button.hl-pill { transition: transform .35s var(--ease), background .25s, color .25s; }
a.hl-pill:hover, button.hl-pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
.hl-pill svg { width: 1.1em; height: 1.1em; flex: none; }
.hl-freccia { display: inline-block; transition: transform .35s var(--ease); }
a:hover .hl-freccia, button:hover .hl-freccia { transform: translateX(6px); }

/* ----- Temi di sezione --------------------------------------------------- */
.hl-tema-blu { background: var(--blu); color: #fff; }
.hl-tema-teal { background: var(--teal); color: #fff; }
.hl-tema-notte { background: var(--notte); color: #fff; }
.hl-tema-carta { background: var(--carta); color: var(--notte); }
.hl-sez { padding-block: clamp(80px, 11vw, 180px); position: relative; }
.hl-sez--stretta { padding-block: clamp(56px, 7vw, 110px); }
.hl-testata { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 90px); }

/* retino a mezzatinta: richiama le mani in bianco e nero delle locandine */
.hl-retino { position: relative; isolation: isolate; }
.hl-retino::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-image: radial-gradient(currentColor 1.1px, transparent 1.4px);
	background-size: 11px 11px;
	opacity: .13;
	-webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
	mask-image: linear-gradient(120deg, #000 0%, transparent 55%);
	pointer-events: none;
}

/* ----- Logo --------------------------------------------------------------- */
.hl-logo { display: block; height: 100%; width: auto; }
.hl-logo .hl-t { fill: var(--teal); }
.hl-logo .hl-w { fill: #fff; }
.hl-logo--scuro .hl-w { fill: var(--blu); }

/* ----- Header ------------------------------------------------------------- */
.hl-top {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding: 16px clamp(16px, 3vw, 40px);
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	pointer-events: none;
}
.hl-top > * { pointer-events: auto; }
.hl-marchio {
	display: flex; align-items: center; gap: 12px; text-decoration: none;
	background: var(--blu-logo); color: #fff;
	padding: 9px 20px 9px 12px; border-radius: 999px;
	box-shadow: 0 10px 30px -12px rgba(10, 8, 64, .6);
}
.hl-marchio__h { height: 34px; }
.hl-marchio__n { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: 1.15rem; letter-spacing: -.03em; line-height: 1; }
.hl-marchio__l { font-family: var(--pill); font-size: .58rem; letter-spacing: .32em; font-weight: 600; background: var(--teal); padding: .5em .5em .5em .85em; border-radius: 99px; }
.hl-nav {
	display: flex; align-items: center; gap: 4px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	padding: 6px; border-radius: 999px;
	box-shadow: 0 10px 30px -14px rgba(10, 8, 64, .55);
}
.hl-nav a {
	font-family: var(--pill); font-size: .68rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; color: var(--notte);
	padding: 1em 1.25em; border-radius: 999px; transition: background .25s, color .25s;
}
.hl-nav a:hover, .hl-nav a[aria-current="page"] { background: var(--notte); color: #fff; }
.hl-nav a.hl-nav__cta { background: var(--teal); color: #fff; }
.hl-nav a.hl-nav__cta:hover { background: var(--blu); }
.hl-burger { display: none; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; position: relative; box-shadow: 0 10px 30px -14px rgba(10, 8, 64, .55); }
.hl-burger span { position: absolute; left: 16px; right: 16px; height: 2.5px; background: var(--blu); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.hl-burger span:nth-child(1) { top: 21px; }
.hl-burger span:nth-child(2) { top: 31px; }
.hl-aperto .hl-burger span:nth-child(1) { top: 26px; transform: rotate(45deg); }
.hl-aperto .hl-burger span:nth-child(2) { top: 26px; transform: rotate(-45deg); }

.hl-menu {
	position: fixed; inset: 0; z-index: 90; background: var(--blu); color: #fff;
	display: flex; flex-direction: column; justify-content: center; gap: 6px;
	padding: 110px clamp(24px, 8vw, 80px) 40px;
	clip-path: circle(0 at calc(100% - 44px) 44px);
	transition: clip-path .7s var(--ease);
	visibility: hidden;
	overflow-y: auto;
}
.hl-aperto .hl-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.hl-menu a { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; text-decoration: none; }
.hl-menu a small { font-family: var(--pill); font-style: normal; font-size: .6rem; letter-spacing: .14em; font-weight: 500; vertical-align: super; margin-right: 10px; color: var(--teal-chiaro); }
.hl-menu a:hover { color: var(--teal-chiaro); }
.hl-menu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hl-menu__sub a { font-family: var(--pill); font-style: normal; font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border: var(--bordo) solid #fff; padding: .9em 1.3em; border-radius: 99px; }

/* ----- Fili (canvas) ------------------------------------------------------- */
.hl-fili { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hl-hero-in .hl-fili { opacity: .5; }

/* ----- Hero home ----------------------------------------------------------- */
.hl-hero {
	min-height: 100svh; position: relative; overflow: hidden;
	display: grid; align-items: end;
	padding: 130px 0 clamp(36px, 5vw, 70px);
}
.hl-hero__in { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.hl-hero__nome {
	font-size: clamp(3.6rem, 17.2vw, 19rem);
	white-space: nowrap;
	line-height: .8; letter-spacing: -.045em;
	margin-left: -.04em;
	position: relative;
}
.hl-hero__nome span { display: inline-block; }
.hl-hero__riga { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(-10px, -1.6vw, -30px); }
.hl-hero__payoff { font-size: clamp(1.25rem, 2.7vw, 2.7rem); color: var(--teal-chiaro); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.hl-hero__lab {
	font-family: var(--pill); font-weight: 600; font-size: clamp(2rem, 7.4vw, 7.6rem);
	letter-spacing: .26em; line-height: 1; background: var(--teal); color: #fff;
	padding: .14em .26em .14em .5em; border-radius: 999px;
	transform: rotate(-3deg); transform-origin: right center;
}
.hl-hero__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: clamp(10px, 2vw, 30px); }
.hl-hero__curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hl-hero__curve text { font-family: var(--testo); font-size: 26px; fill: #fff; font-style: italic; font-weight: 300; }
.hl-hero__curve tspan { font-weight: 700; }
.hl-giu { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; font-family: var(--pill); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hl-giu i { width: 44px; height: 44px; border: var(--bordo) solid #fff; border-radius: 50%; display: grid; place-items: center; animation: hl-su-giu 2.2s ease-in-out infinite; font-style: normal; }
@keyframes hl-su-giu { 50% { transform: translateY(7px); } }

/* ----- Nastro scorrevole ---------------------------------------------------- */
.hl-nastro { overflow: hidden; padding-block: 18px; border-block: var(--bordo) solid currentColor; }
.hl-nastro__in { display: flex; gap: 48px; width: max-content; animation: hl-scorri 38s linear infinite; }
.hl-nastro span { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2.3rem); letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.hl-nastro span::after { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--teal); }
@keyframes hl-scorri { to { transform: translateX(-50%); } }

/* ----- Manifesto ------------------------------------------------------------ */
.hl-manifesto { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.hl-manifesto__t { font-size: clamp(1.7rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.hl-manifesto__t em { font-family: var(--display); font-stretch: 125%; font-weight: 900; color: var(--blu); letter-spacing: -.035em; }
.hl-manifesto__t mark { background: var(--teal); color: #fff; padding: 0 .28em .04em; border-radius: 99px; font-style: normal; white-space: nowrap; }
.hl-verbi { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 4vw, 60px); }
.hl-verbi li:nth-child(2) .hl-pill { transform: rotate(2deg); }
.hl-verbi li:nth-child(3) .hl-pill { transform: rotate(-2.5deg); }

/* ----- Pilastri (righe) ------------------------------------------------------ */
.hl-righe { border-top: var(--bordo) solid rgba(255, 255, 255, .35); }
.hl-riga {
	display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 64px; gap: 10px 24px; align-items: center;
	padding: clamp(22px, 3vw, 44px) 0; text-decoration: none; position: relative;
	border-bottom: var(--bordo) solid rgba(255, 255, 255, .35);
	transition: padding .5s var(--ease), color .3s;
}
.hl-riga::before { content: ""; position: absolute; inset: 0 -100vw; background: var(--teal); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.hl-riga > * { position: relative; z-index: 1; }
.hl-riga:hover::before { transform: scaleY(1); }
.hl-riga:hover { padding-left: clamp(10px, 2vw, 34px); }
.hl-riga__n { font-family: var(--pill); font-size: .8rem; letter-spacing: .1em; opacity: .7; grid-row: 1 / 3; align-self: start; padding-top: 1.2em; }
.hl-riga__nome { font-size: clamp(2.1rem, 6.9vw, 7.4rem); line-height: .95; grid-column: 2; }
.hl-riga__claim { font-size: 1.05rem; line-height: 1.35; opacity: .85; grid-column: 2; grid-row: 2; }
.hl-riga__f { grid-column: 3; grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 50%; border: var(--bordo) solid #fff; display: grid; place-items: center; font-size: 1.5rem; transition: transform .5s var(--ease), background .3s, color .3s; }
.hl-riga:hover .hl-riga__f { transform: rotate(-45deg); background: #fff; color: var(--teal); }

/* ----- Contatori -------------------------------------------------------------- */
.hl-tick { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; }
.hl-polso-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: var(--bordo) solid #fff; border-radius: var(--raggio); overflow: hidden; }
.hl-polso-home > div { padding: clamp(22px, 3vw, 44px); border-right: var(--bordo) solid #fff; display: grid; gap: 14px; align-content: space-between; min-height: 240px; }
.hl-polso-home > div:last-child { border-right: 0; }
.hl-polso-home .hl-tick { font-size: clamp(2rem, 4.6vw, 4.6rem); }
.hl-vivo { display: inline-flex; align-items: center; gap: 10px; }
.hl-vivo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--giallo); animation: hl-pulsa 1.4s ease-in-out infinite; }
@keyframes hl-pulsa { 0%, 100% { box-shadow: 0 0 0 0 rgba(246, 199, 68, .8); } 60% { box-shadow: 0 0 0 12px rgba(246, 199, 68, 0); } }

/* ----- Parole in comune --------------------------------------------------------- */
.hl-parole { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.hl-parole__lista { display: grid; gap: 10px; }
.hl-parola {
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
	width: 100%; text-align: left; background: transparent; border: var(--bordo) solid rgba(255, 255, 255, .5);
	border-radius: 999px; padding: 14px 24px; position: relative; overflow: hidden; color: #fff;
	transition: border-color .3s, transform .35s var(--ease);
}
.hl-parola:hover { border-color: #fff; transform: translateX(8px); }
.hl-parola i { position: absolute; inset: 0 auto 0 0; width: var(--q, 0%); background: var(--teal); transition: width 1s var(--ease); border-radius: 999px; z-index: 0; }
.hl-parola b, .hl-parola em { position: relative; z-index: 1; }
.hl-parola b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.hl-parola em { font-family: var(--pill); font-style: normal; font-size: .7rem; letter-spacing: .08em; opacity: 0; transition: opacity .4s; }
.hl-votato .hl-parola em { opacity: 1; }
.hl-parola[aria-pressed="true"] { border-color: var(--giallo); }
.hl-parola[aria-pressed="true"] i { background: var(--giallo); }
.hl-parola[aria-pressed="true"] { color: var(--notte); }

/* ----- Eventi ---------------------------------------------------------------------- */
.hl-eventi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.hl-ev { border-radius: var(--raggio); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .6s var(--ease); }
.hl-ev:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.hl-ev:hover { transform: translateY(-10px) rotate(-.6deg); }
.hl-ev__img { aspect-ratio: 16 / 11; overflow: hidden; }
.hl-ev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hl-ev:hover .hl-ev__img img { transform: scale(1.06); }
.hl-ev__c { padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.hl-ev__pill { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-ev__t { font-size: clamp(1.8rem, 3.6vw, 3.4rem); }

/* ----- Presidente ------------------------------------------------------------------- */
.hl-agnese { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.hl-agnese__f { position: relative; }
.hl-agnese__f img { border-radius: 300px 300px var(--raggio) var(--raggio); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hl-agnese__f .hl-pill { position: absolute; left: -14px; bottom: 34px; transform: rotate(-5deg); }
.hl-cit { font-size: clamp(1.6rem, 3.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 300; font-style: italic; text-wrap: balance; }
.hl-cit strong { font-weight: 800; }
.hl-credito { font-size: .68rem; opacity: .6; margin-top: 10px; }

/* ----- Doppio invito ------------------------------------------------------------------- */
.hl-inviti { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hl-invito { padding: clamp(50px, 8vw, 130px) clamp(24px, 5vw, 90px); display: grid; gap: 26px; align-content: start; text-decoration: none; position: relative; overflow: hidden; min-height: 70vh; }
.hl-invito__t { font-size: clamp(2rem, 4.4vw, 4.8rem); overflow-wrap: anywhere; }
.hl-invito .hl-pill { justify-self: start; margin-top: auto; }
.hl-invito__h { position: absolute; right: -6%; bottom: -12%; height: 70%; opacity: .14; transition: transform 1s var(--ease), opacity .5s; pointer-events: none; }
.hl-invito:hover .hl-invito__h { transform: rotate(-8deg) scale(1.08); opacity: .26; }

/* ----- Footer --------------------------------------------------------------------------- */
.hl-piede { background: var(--notte); color: #fff; padding: clamp(60px, 8vw, 120px) 0 28px; position: relative; overflow: hidden; }
.hl-piede__g { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.hl-piede__g h3 { font-family: var(--pill); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; opacity: .6; margin-bottom: 18px; }
.hl-piede__g li { margin-bottom: 8px; }
.hl-piede__g a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.hl-piede__g a:hover { border-color: var(--teal); color: var(--teal-chiaro); }
.hl-piede__nome { font-size: clamp(3.4rem, 17.2vw, 19rem); line-height: .8; margin: clamp(50px, 7vw, 100px) 0 0 -.04em; color: var(--blu); white-space: nowrap; }
.hl-piede__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; font-size: .74rem; opacity: .6; }
.hl-piede__h { height: 74px; }

/* ----- Testata pagine interne --------------------------------------------------------------- */
.hl-hero-in { padding: clamp(150px, 17vw, 250px) 0 clamp(60px, 8vw, 120px); position: relative; overflow: hidden; }
.hl-hero-in .hl-wrap { display: grid; gap: clamp(20px, 2.6vw, 36px); justify-items: start; }
.hl-hero-in__t { font-size: clamp(3rem, 11vw, 11.5rem); }
.hl-hero-in__t em { color: var(--teal-chiaro); }
.hl-tema-teal .hl-hero-in__t em, .hl-tema-carta .hl-hero-in__t em { color: var(--blu); }
.hl-tema-teal .hl-hero-in__t em { color: var(--notte); }

/* ----- Blocchi di testo --------------------------------------------------------------------- */
.hl-due { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.hl-due--inv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hl-prosa { display: grid; gap: 1.1em; max-width: 40em; }
.hl-prosa p:first-child { font-size: 1.25em; line-height: 1.35; }
.hl-attacca { position: sticky; top: 110px; }
.hl-schede { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hl-scheda { border: var(--bordo) solid currentColor; border-radius: var(--raggio); padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; transition: background .35s, color .35s, transform .5s var(--ease); }
.hl-scheda:hover { background: var(--blu); color: #fff; transform: translateY(-6px); border-color: var(--blu); }
.hl-tema-blu .hl-scheda:hover, .hl-tema-notte .hl-scheda:hover { background: #fff; color: var(--blu); border-color: #fff; }
.hl-scheda__n { font-family: var(--pill); font-size: .7rem; letter-spacing: .12em; opacity: .7; }
.hl-scheda h3 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.025em; line-height: 1; }
.hl-scheda p { font-size: .95rem; line-height: 1.45; }
.hl-loghi { display: flex; flex-wrap: wrap; gap: 10px; }

/* ----- Il polso del mondo ---------------------------------------------------------------------- */
.hl-sessione { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 26px; margin-bottom: clamp(30px, 4vw, 56px); }
.hl-sessione .hl-tick { font-size: clamp(2.6rem, 7vw, 6.5rem); color: var(--giallo); }
.hl-griglia { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.hl-dato { grid-column: span 6; border-radius: var(--raggio); padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: space-between; min-height: 320px; position: relative; overflow: hidden; }
.hl-dato--3 { grid-column: span 4; min-height: 280px; }
.hl-dato .hl-tick { font-size: clamp(2.3rem, 5.4vw, 5.4rem); word-break: break-word; }
.hl-dato--3 .hl-tick { font-size: clamp(2.2rem, 4.2vw, 4.2rem); }
.hl-dato__u { font-family: var(--pill); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: 10px; opacity: .85; }
.hl-dato h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.25; max-width: 22em; }
.hl-dato__fonte { font-size: .7rem; opacity: .7; line-height: 1.4; }
.hl-dato--linea { background: transparent; border: var(--bordo) solid rgba(255, 255, 255, .5); }

/* ----- Punti (persone in fuga) ------------------------------------------------------------------- */
.hl-punti { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 30px; }
.hl-punti i { width: clamp(14px, 1.9vw, 24px); aspect-ratio: 1; border-radius: 50%; background: currentColor; opacity: 0; transform: scale(.2); transition: opacity .5s, transform .6s var(--ease), background .3s; }
.hl-visto .hl-punti i { opacity: 1; transform: none; }
.hl-punti i[data-c="idps"] { background: #fff; }
.hl-punti i[data-c="refugees"] { background: var(--teal-chiaro); }
.hl-punti i[data-c="asylum_seekers"] { background: var(--giallo); }
.hl-punti i[data-c="oip"] { background: var(--azzurro); }
.hl-punti.hl-filtra i:not(.hl-on) { opacity: .16; }
.hl-legenda { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-legenda button { background: transparent; border: var(--bordo) solid rgba(255, 255, 255, .5); border-radius: 99px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; transition: background .25s, color .25s; }
.hl-legenda button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.hl-legenda button:hover, .hl-legenda button[aria-pressed="true"] { background: #fff; color: var(--blu); }
.hl-legenda b { font-variant-numeric: tabular-nums; }

/* ----- Domande aperte (carte che si girano) -------------------------------------------------------- */
.hl-carte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hl-carta { perspective: 1200px; min-height: 300px; background: transparent; border: 0; padding: 0; text-align: left; display: block; width: 100%; }
.hl-carta__in { display: block; position: relative; width: 100%; height: 100%; min-height: 300px; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.hl-colonna-num { white-space: nowrap; }
.hl-calc__giorni { max-width: 620px; }
.hl-pnav__a strong { font-size: clamp(1.2rem, 2.1vw, 2.2rem) !important; overflow-wrap: anywhere; }
.hl-carta[aria-pressed="true"] .hl-carta__in { transform: rotateY(180deg); }
.hl-carta__f, .hl-carta__r { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--raggio); padding: 28px; display: grid; align-content: space-between; gap: 18px; }
.hl-carta__f { background: var(--blu); color: #fff; }
.hl-carta__r { background: var(--teal); color: #fff; transform: rotateY(180deg); }
.hl-carta__f strong { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.025em; }
.hl-carta__r p { font-size: 1rem; line-height: 1.4; }

/* ----- Calcolatore del piatto ------------------------------------------------------------------------ */
.hl-calc { border-radius: var(--raggio); background: #fff; color: var(--notte); padding: clamp(24px, 4vw, 60px); display: grid; gap: clamp(26px, 4vw, 50px); }
.hl-calc__giorni { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.hl-calc__giorni button { aspect-ratio: 1; border-radius: 50%; border: var(--bordo) solid var(--notte); background: transparent; font-family: var(--pill); font-size: clamp(.6rem, 1.2vw, .9rem); font-weight: 600; transition: background .3s, color .3s, transform .4s var(--ease); }
.hl-calc__giorni button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.06) rotate(-6deg); }
.hl-calc__esiti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hl-calc__esiti > div { border-top: var(--bordo) solid var(--notte); padding-top: 16px; display: grid; gap: 8px; }
.hl-calc__esiti .hl-tick { font-size: clamp(2rem, 4.4vw, 4.2rem); color: var(--blu); }
.hl-calc__esiti p { font-size: .9rem; line-height: 1.35; }

/* ----- Linea della memoria ----------------------------------------------------------------------------- */
.hl-tempo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.hl-tempo__date { display: grid; gap: 0; border-left: var(--bordo) solid rgba(255, 255, 255, .35); }
.hl-tempo__date button { background: transparent; border: 0; text-align: left; padding: 16px 0 16px 26px; position: relative; opacity: .55; transition: opacity .3s, padding .4s var(--ease); }
.hl-tempo__date button::before { content: ""; position: absolute; left: -7px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: var(--notte); border: var(--bordo) solid #fff; transition: background .3s, transform .4s var(--ease); }
.hl-tempo__date button[aria-selected="true"] { opacity: 1; padding-left: 38px; }
.hl-tempo__date button[aria-selected="true"]::before { background: var(--teal); transform: scale(1.7); border-color: var(--teal); }
.hl-tempo__date b { display: block; font-family: var(--pill); font-size: .72rem; letter-spacing: .1em; font-weight: 500; }
.hl-tempo__date span { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.hl-tempo__pan { display: none; gap: 22px; align-content: start; }
.hl-tempo__pan.hl-on { display: grid; animation: hl-entra .7s var(--ease); }
.hl-tempo__anno { font-size: clamp(5rem, 15vw, 15rem); color: var(--teal); line-height: .8; }
.hl-nomi { display: flex; flex-wrap: wrap; gap: 8px; }
@keyframes hl-entra { from { opacity: 0; transform: translateY(24px); } }

/* ----- Patto quotidiano ---------------------------------------------------------------------------------- */
.hl-patto { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-patto button { border: var(--bordo) solid var(--notte); background: transparent; border-radius: 99px; padding: 14px 22px; font-size: 1rem; transition: background .3s, color .3s, transform .4s var(--ease); text-align: left; }
.hl-patto button[aria-pressed="true"] { background: var(--blu); border-color: var(--blu); color: #fff; transform: rotate(-1.5deg); }
.hl-patto__esito { margin-top: 34px; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 300; font-style: italic; letter-spacing: -.02em; min-height: 3.5em; }
.hl-patto__esito strong { font-weight: 800; color: var(--blu); }

/* ----- Respiro e impermanenza ------------------------------------------------------------------------------- */
.hl-respiro { display: grid; place-items: center; gap: 30px; text-align: center; }
.hl-respiro__c { width: min(62vw, 420px); aspect-ratio: 1; border-radius: 50%; border: var(--bordo) solid currentColor; display: grid; place-items: center; position: relative; background: transparent; }
.hl-respiro__c::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); transform: scale(.28); transition: transform 4s ease-in-out; }
.hl-respiro__c[data-fase="in"]::before { transform: scale(1); }
.hl-respiro__c[data-fase="out"]::before { transform: scale(.28); transition-duration: 6s; }
.hl-respiro__c span { position: relative; font-family: var(--pill); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.hl-effimero { position: relative; border-radius: var(--raggio); overflow: hidden; background: var(--blu); color: #fff; min-height: min(72vh, 640px); touch-action: none; cursor: crosshair; }
.hl-effimero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-effimero p { position: absolute; left: 28px; bottom: 24px; right: 28px; pointer-events: none; font-style: italic; font-weight: 300; font-size: 1.1rem; transition: opacity 1s; }
.hl-effimero.hl-usato p { opacity: .35; }

/* ----- Test ----------------------------------------------------------------------------------------------------- */
.hl-test { background: #fff; color: var(--notte); border-radius: var(--raggio); padding: clamp(24px, 5vw, 80px); min-height: 520px; display: grid; align-content: start; gap: 30px; position: relative; overflow: hidden; }
.hl-test__barra { height: 6px; background: rgba(10, 8, 64, .12); border-radius: 6px; overflow: hidden; }
.hl-test__barra i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 6px; transition: width .6s var(--ease); }
.hl-test__d { font-size: clamp(1.7rem, 4vw, 3.6rem); }
.hl-test__r { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hl-test__r button { text-align: left; border: var(--bordo) solid var(--notte); background: transparent; border-radius: 22px; padding: 20px 24px; font-size: 1.02rem; line-height: 1.35; transition: background .25s, color .25s, transform .4s var(--ease); }
.hl-test__r button:hover { background: var(--blu); border-color: var(--blu); color: #fff; transform: translateY(-4px); }
.hl-test__passo { animation: hl-entra .6s var(--ease); display: grid; gap: 30px; }
.hl-test__esito { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.hl-test__voce { font-size: clamp(3rem, 9vw, 8.5rem); color: var(--blu); }
.hl-test__mix { display: grid; gap: 10px; }
.hl-test__mix div { display: grid; grid-template-columns: 7.5em 1fr 3em; gap: 12px; align-items: center; font-size: .86rem; }
.hl-test__mix i { height: 12px; border-radius: 12px; background: var(--teal); width: var(--q); transition: width 1.2s var(--ease); }
.hl-azioni { display: flex; flex-wrap: wrap; gap: 10px; }

/* ----- Modulo adesione --------------------------------------------------------------------------------------------- */
.hl-modulo { background: #fff; color: var(--notte); border-radius: var(--raggio); padding: clamp(24px, 5vw, 70px); display: grid; gap: 34px; }
.hl-modulo__passi { display: flex; gap: 8px; }
.hl-modulo__passi i { flex: 1; height: 6px; border-radius: 6px; background: rgba(10, 8, 64, .12); transition: background .4s; }
.hl-modulo__passi i.hl-on { background: var(--teal); }
.hl-modulo fieldset { border: 0; padding: 0; margin: 0; display: none; gap: 24px; }
.hl-modulo fieldset.hl-on { display: grid; animation: hl-entra .6s var(--ease); }
.hl-modulo legend { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 3.2rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 26px; padding: 0; }
.hl-scelte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hl-scelta { position: relative; }
.hl-scelta input { position: absolute; opacity: 0; inset: 0; }
.hl-scelta span { display: grid; gap: 6px; border: var(--bordo) solid var(--notte); border-radius: 22px; padding: 20px 24px; height: 100%; cursor: pointer; transition: background .25s, color .25s, transform .4s var(--ease); }
.hl-scelta span b { font-size: 1.1rem; }
.hl-scelta span small { font-size: .86rem; line-height: 1.35; opacity: .8; }
.hl-scelta input:checked + span { background: var(--blu); border-color: var(--blu); color: #fff; transform: rotate(-.8deg); }
.hl-scelta input:focus-visible + span { outline: 3px solid var(--giallo); outline-offset: 3px; }
.hl-scelte--chip { display: flex; flex-wrap: wrap; }
.hl-scelte--chip .hl-scelta span { border-radius: 99px; padding: 14px 24px; }
.hl-campi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hl-campo { display: grid; gap: 8px; }
.hl-campo--largo { grid-column: 1 / -1; }
.hl-campo label { font-family: var(--pill); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.hl-campo input, .hl-campo textarea { font: inherit; color: inherit; border: 0; border-bottom: var(--bordo) solid var(--notte); background: transparent; padding: 10px 0; border-radius: 0; width: 100%; }
.hl-campo input:focus, .hl-campo textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 2px 0 var(--teal); }
.hl-consenso { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; line-height: 1.4; }
.hl-consenso input { width: 22px; height: 22px; flex: none; accent-color: var(--teal); margin: 0; }
.hl-trappola { position: absolute; left: -9999px; }
.hl-modulo__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hl-modulo__msg { font-size: .95rem; min-height: 1.4em; }
.hl-modulo__msg.hl-err { color: #c2271a; }
.hl-fatto { display: grid; gap: 20px; }

/* ----- Evento esteso -------------------------------------------------------------------------------------------------- */
.hl-evento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.hl-evento--inv { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hl-evento__img img { border-radius: var(--raggio); width: 100%; }
.hl-evento__img--ruota img { transform: rotate(-2.5deg); box-shadow: 0 40px 80px -40px rgba(10, 8, 64, .7); }
.hl-fatti { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: var(--bordo) solid currentColor; }
.hl-fatti div { padding: 16px 0; border-bottom: var(--bordo) solid currentColor; display: grid; gap: 4px; }
.hl-fatti dt { font-family: var(--pill); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.hl-fatti dd { margin: 0; font-weight: 600; }
.hl-ospiti { display: grid; gap: 0; }
.hl-ospiti li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hl-tema-carta .hl-ospiti li { border-color: rgba(10, 8, 64, .2); }
.hl-ospiti b { font-weight: 800; }
.hl-ospiti span { opacity: .85; font-size: .95rem; }

/* ----- Pagine generiche ------------------------------------------------------------------------------------------------ */
.hl-generica { padding: clamp(150px, 16vw, 220px) 0 100px; }
.hl-generica .hl-prosa { max-width: 44em; }
.hl-generica h1 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.035em; line-height: .95; margin-bottom: 40px; }
.hl-generica .hl-prosa a { color: var(--blu); }

/* ----- Navigazione pilastri -------------------------------------------------------------------------------------------- */
.hl-pnav { background: var(--carta); color: var(--notte); padding: clamp(60px, 8vw, 110px) 0; border-top: var(--bordo) solid var(--notte); }
.hl-pnav__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.hl-pnav__a { text-decoration: none; border: var(--bordo) solid var(--notte); border-radius: var(--raggio); padding: 26px; display: grid; gap: 40px; transition: background .3s, color .3s, transform .5s var(--ease); }
.hl-pnav__a span { font-family: var(--pill); font-size: .7rem; letter-spacing: .1em; }
.hl-pnav__a strong { font-size: clamp(1.4rem, 2.6vw, 2.6rem); }
.hl-pnav__a:hover { background: var(--blu); color: #fff; border-color: var(--blu); transform: translateY(-6px) rotate(-1deg); }

/* ----- Comparsa allo scroll ------------------------------------------------------------------------------------------------ */
.hl-js [data-rivela] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.hl-js [data-rivela].hl-visto { opacity: 1; transform: none; }
.hl-js .hl-hero__nome span { transform: translateY(110%) rotate(6deg); opacity: 0; animation: hl-lettera 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes hl-lettera { to { transform: none; opacity: 1; } }
.hl-hero__nome { overflow: hidden; padding: .08em .06em .04em .04em; }

/* ----- Responsive ---------------------------------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hl-nav { display: none; }
	.hl-burger { display: block; }
	.hl-riga { grid-template-columns: 3rem minmax(0, 1fr) 54px; }
	.hl-riga__claim { grid-column: 2 / 3; grid-row: 2; }
	.hl-riga__f { grid-row: 1 / 3; grid-column: 3; width: 54px; height: 54px; }
	.hl-piede__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hl-piede__g > :first-child { grid-column: 1 / -1; }
	.hl-dato, .hl-dato--3 { grid-column: span 6; }
	.hl-schede, .hl-carte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
	.hl-manifesto, .hl-parole, .hl-agnese, .hl-due, .hl-due--inv, .hl-tempo, .hl-evento, .hl-evento--inv, .hl-test__esito { grid-template-columns: minmax(0, 1fr); }
	.hl-eventi, .hl-inviti, .hl-polso-home, .hl-schede, .hl-carte, .hl-calc__esiti, .hl-test__r, .hl-scelte, .hl-campi, .hl-pnav__g { grid-template-columns: minmax(0, 1fr); }
	.hl-polso-home > div { border-right: 0; border-bottom: var(--bordo) solid #fff; min-height: 0; }
	.hl-polso-home > div:last-child { border-bottom: 0; }
	.hl-ev:nth-child(2) { margin-top: 0; }
	.hl-dato, .hl-dato--3 { grid-column: 1 / -1; min-height: 0; }
	.hl-attacca { position: static; }
	.hl-invito { min-height: 0; }
	.hl-hero__curve { display: none; }
	.hl-giu { display: none; }
	.hl-marchio__l { display: none; }
	.hl-agnese__f .hl-pill { left: 10px; }
	.hl-tempo__date { display: flex; overflow-x: auto; border-left: 0; border-top: var(--bordo) solid rgba(255, 255, 255, .35); scrollbar-width: none; }
	.hl-tempo__date button { padding: 22px 22px 8px 0; flex: none; }
	.hl-tempo__date button[aria-selected="true"] { padding-left: 0; }
	.hl-tempo__date button::before { left: 0; top: -7px; margin: 0; }
	.hl-fatti, .hl-ospiti li { grid-template-columns: minmax(0, 1fr); }
	.hl-ospiti li { gap: 2px; }
	.hl-riga { grid-template-columns: 2rem minmax(0, 1fr); }
	.hl-riga__f { display: none; }
	.hl-riga__nome { font-size: 7.4vw; }
	.hl-riga__n { padding-top: .5em; }
	.hl-hero-in__t { font-size: clamp(2.4rem, 11.5vw, 5rem); hyphens: manual; }
	.hl-top { padding: 12px 14px; }
	.hl-hero { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
	.hl *, .hl *::before, .hl *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hl-js [data-rivela] { opacity: 1; transform: none; }
}
