/* ---------- Font faces (self-hosted, nessuna chiamata esterna) ---------- */
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-900-normal.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   TALENTO COMPANY — v40
   Un solo protagonista (il monogramma scolpito), molto vuoto,
   due grandezze di titolo, un campo di verde pieno per pagina.
   ========================================================= */
:root {
  --paper: #f4f2ec; --white: #ffffff; --ink: #141716; --bosco: #004123; --bri: #00c161; --menta: #e1f3df;
  --rule: rgba(20, 23, 22, .14); --rule-inv: rgba(255, 255, 255, .22);
  --display: 'Unbounded', sans-serif; --body: 'Figtree', sans-serif;
  --wrap: 1280px; --pad: clamp(1.25rem, 4vw, 3.5rem); --gap: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.22, .61, .36, 1); --ease-io: cubic-bezier(.77, 0, .18, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.07rem; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--bri); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 900; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Tipografia: due grandezze di titolo ---------- */
h1, h2, h3, blockquote, .xl, .l { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h1, .xl { font-size: clamp(2.1rem, 5.6vw, 5.4rem); line-height: 1.02; }
h2, .l { font-size: clamp(1.6rem, 3.1vw, 2.9rem); line-height: 1.08; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
h4 { font-family: var(--body); font-size: .86rem; font-weight: 700; letter-spacing: .02em; opacity: .6; }
.label { display: block; font-size: .92rem; font-weight: 600; color: var(--bosco); margin-bottom: 1.4rem; }
.on-dark .label { color: var(--bri); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34rem; }
.muted { opacity: .72; }

/* ---------- Pulsanti e link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .8rem 1.7rem; border-radius: 999px; background: var(--bosco); color: var(--white); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--bosco); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.btn.is-bri { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.btn.is-bri:hover { background: var(--white); border-color: var(--white); }
.btn.is-ink { background: var(--ink); border-color: var(--ink); }
.go { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; padding-bottom: .2rem; border-bottom: 2px solid var(--bri); }
.go svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.go:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.hd.is-solid { background: rgba(244, 242, 236, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--rule); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 5.25rem; }
.hd-brand img { height: 2.3rem; width: auto; }
.hd-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.hd-nav a { font-weight: 600; font-size: .98rem; text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { border-bottom-color: var(--bri); }
.hd-right { display: flex; align-items: center; gap: .75rem; }
.hd .btn { min-height: 2.8rem; padding: .55rem 1.3rem; font-size: .94rem; }
.hd-toggle { display: none; width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; }
.hd-toggle svg { width: 1.7rem; height: 1.7rem; }
@media (max-width: 1080px) { .hd-nav, .hd .btn { display: none; } .hd-toggle { display: flex; } }
.mm { position: fixed; inset: 0; z-index: 200; background: var(--bosco); color: var(--white); display: none; flex-direction: column; padding: 0 var(--pad) 2rem; }
.mm.is-open { display: flex; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: 5.25rem; }
.mm-head img { height: 2.2rem; width: auto; }
.mm-close { width: 2.9rem; height: 2.9rem; display: flex; align-items: center; justify-content: center; }
.mm-close svg { width: 1.7rem; height: 1.7rem; }
.mm-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: 1rem; }
.mm-body li { border-bottom: 1px solid var(--rule-inv); }
.mm-body li a { display: block; padding: 1rem 0; font-family: var(--display); font-weight: 500; font-size: 1.4rem; letter-spacing: -.02em; text-decoration: none; }
.mm-body .btn { width: 100%; }

/* ---------- Cambio pagina: sipario verde ---------- */
.wipe { position: fixed; inset: 0; z-index: 800; background: var(--bri); pointer-events: none; transform: translateY(-101%); animation: wipeOut .75s var(--ease-io) both; }
.wipe.is-in { animation: wipeIn .45s var(--ease-io) both; }
@keyframes wipeOut { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes wipeIn { from { transform: translateY(101%); } to { transform: translateY(0); } }

/* ---------- La scultura ---------- */
.obj { position: relative; aspect-ratio: 1 / 1; pointer-events: none; }
.obj img, .obj canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.obj.is-live img { visibility: hidden; }

/* ---------- Home: la scena d'apertura ---------- */
.stage { position: relative; }
.stage-view { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.pin .stage { height: 290vh; }
.pin .stage-view { position: sticky; top: 0; height: 100vh; height: 100svh; }
.stage-bg { position: absolute; inset: 0; background: var(--bosco); -webkit-clip-path: circle(0 at 70% 55%); clip-path: circle(0 at 70% 55%); will-change: clip-path; }
.stage-hero { position: relative; z-index: 3; height: 100%; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding-top: 6rem; padding-bottom: 3rem; will-change: transform, opacity; }
.stage-hero h1 { max-width: 11em; font-size: clamp(2rem, 4.9vw, 4.9rem); }
@media (min-width: 861px) { .stage-hero > * { max-width: 63%; } }
.stage-hero .lede { margin-top: 1.75rem; max-width: 31rem; }
.stage-say { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(6.5rem, 15vh, 10rem) 0 clamp(2rem, 7vh, 5rem); text-align: center; pointer-events: none; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 12.2vw, 15rem); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; color: var(--white); }
.stage-say span { display: block; opacity: 0; transform: translateY(.35em); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.stage-say span + span { color: var(--bri); }
.stage-say.s1 span:first-child, .stage-say.s2 span { opacity: 1; transform: none; }
.stage-obj { position: absolute; z-index: 2; left: 0; top: 0; width: 100px; will-change: transform; transform-origin: 0 0; }
.stage-hint { position: absolute; z-index: 3; left: var(--pad); bottom: 1.75rem; font-size: .88rem; font-weight: 600; opacity: .6; }
html:not(.pin) .stage-view { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; overflow: visible; }
html:not(.pin) .stage-bg, html:not(.pin) .stage-say, html:not(.pin) .stage-hint { display: none; }
html:not(.pin) .stage-obj { position: relative; width: min(100%, 34rem); margin: 6rem var(--pad) 2rem auto; transform: none !important; }
@media (max-width: 860px) { .stage-hero .lede { font-size: 1.02rem; } .stage-hero .actions { margin-top: 1.5rem; } html:not(.pin) .stage-view { grid-template-columns: 1fr; } html:not(.pin) .stage-obj { margin: 0 auto 2rem; width: 70%; } .stage-hero { justify-content: flex-start; padding-top: 7.5rem; } .stage-hero h1 { font-size: clamp(1.9rem, 8.2vw, 3rem); } }

/* ---------- Apertura delle pagine interne ---------- */
.ph { position: relative; padding: clamp(8.5rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.ph-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; }
.ph h1 { max-width: 12em; }
.ph .lede { margin-top: 1.75rem; }
.ph .obj { width: min(100%, 26rem); justify-self: end; }
.ph.is-plain .ph-in { grid-template-columns: 1fr; }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; font-weight: 600; margin-bottom: 1.5rem; opacity: .7; }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.75rem; font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) { .ph-in { grid-template-columns: 1fr; } .ph .obj { width: 62%; justify-self: start; order: -1; margin-bottom: -1rem; } }

/* ---------- Sezioni ---------- */
.sec { padding: var(--gap) 0; position: relative; }
.sec.is-white { background: var(--white); }
.sec.is-bosco { background: var(--bosco); color: var(--white); }
.sec.is-bri { background: var(--bri); color: var(--bosco); }
.sec.is-tight { padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.split-head p:not(.label) { margin-top: 1.5rem; max-width: 27rem; }
.split-head .go { margin-top: 2rem; }
@media (min-width: 900px) { .split-head.is-sticky { position: sticky; top: 8rem; } }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
.big-p p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; }
.big-p p + p { margin-top: 1.25rem; }
.rv { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.rv > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.in .rv > span, html:not(.js) .rv > span { transform: none; }

/* ---------- Liste a righe ---------- */
.rows { border-top: 1px solid var(--rule); }
.is-bosco .rows, .is-bosco .row, .is-bosco .amb { border-color: var(--rule-inv); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: .75rem 2.5rem; align-items: baseline; padding: clamp(1.5rem, 2.6vw, 2.25rem) 0; border-bottom: 1px solid var(--rule); }
.row > h3 { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: -.03em; transition: color .3s var(--ease), transform .4s var(--ease); }
.row:hover > h3 { transform: translateX(.5rem); }
.is-bosco .row:hover > h3 { color: var(--bri); }
.row p { max-width: 31rem; }
.is-bosco .row p, .is-bosco .split-head p:not(.label) { color: rgba(255, 255, 255, .84); }
@media (max-width: 899px) { .row { grid-template-columns: 1fr; } }

/* Ambiti: righe che si aprono */
.amb { border-bottom: 1px solid var(--rule); }
.amb summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 22rem) 3rem; gap: 1rem 2rem; align-items: center; padding: clamp(1.25rem, 2.3vw, 2rem) 0; }
.amb summary::-webkit-details-marker { display: none; }
.amb-cat { font-size: .88rem; font-weight: 600; color: var(--bosco); }
.amb-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.5vw, 2.3rem); line-height: 1.06; letter-spacing: -.035em; transition: transform .4s var(--ease), color .3s var(--ease); }
.amb summary:hover .amb-name { transform: translateX(.6rem); color: var(--bosco); }
.amb-desc { font-size: .98rem; opacity: .75; }
.amb-plus { justify-self: end; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), border-color .3s; }
.amb-plus svg { width: 1.1rem; height: 1.1rem; }
.amb summary:hover .amb-plus, .amb[open] .amb-plus { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.amb[open] .amb-plus { transform: rotate(45deg); }
.amb-body { display: grid; grid-template-columns: 10rem repeat(3, minmax(0, 1fr)) auto; gap: 1.5rem 2rem; padding: .25rem 0 2.25rem; align-items: start; }
.amb-body dl { margin: 0; } .amb-body dt { font-size: .82rem; font-weight: 700; opacity: .55; margin-bottom: .4rem; } .amb-body dd { margin: 0; font-weight: 600; }
.amb-body .go { align-self: end; }
@media (max-width: 980px) { .amb summary { grid-template-columns: minmax(0, 1fr) 2.75rem; } .amb-cat { grid-column: 1 / -1; margin-bottom: -.6rem; } .amb-desc { grid-column: 1 / -1; } .amb-plus { grid-row: 2; grid-column: 2; } .amb-body { grid-template-columns: 1fr 1fr; } .amb-body > span { display: none; } }

/* Metodo */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.step { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.step b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.05em; color: var(--bri); margin-bottom: 1.5rem; }
.step h3 { margin-bottom: .8rem; font-weight: 700; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Citazione su fotografia */
.shot { position: relative; min-height: 100vh; display: flex; align-items: center; background: #0c0e0d; color: var(--white); overflow: clip; padding: var(--gap) 0; }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .7; transform: scale(var(--z, 1.15)); will-change: transform; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 9, .86), rgba(8, 10, 9, .25)); }
.shot .wrap { position: relative; z-index: 1; }
.shot blockquote { font-weight: 900; font-size: clamp(2.1rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.045em; max-width: 12em; }
.shot .w { opacity: .16; transition: opacity .35s linear; } .shot .w.on { opacity: 1; } .shot .w.hot { color: var(--bri); }
.shot p { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 36rem; font-size: 1.12rem; color: rgba(255, 255, 255, .86); }

/* In evidenza */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter button { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--rule); font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.filter button:hover { border-color: var(--ink); }
.filter button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.news-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.news { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .75rem 2rem; align-items: baseline; padding: 2rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.news:last-of-type { border-bottom: 1px solid var(--rule); }
.news time { font-weight: 600; opacity: .65; }
.news h3 { font-weight: 700; font-size: clamp(1.25rem, 2.1vw, 1.9rem); letter-spacing: -.03em; max-width: 26em; transition: transform .4s var(--ease), color .3s; }
.news:hover h3 { transform: translateX(.5rem); color: var(--bosco); }
.news p { margin-top: .6rem; max-width: 40rem; opacity: .78; }
.news > svg { width: 1.4rem; height: 1.4rem; align-self: center; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.tag { font-size: .84rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--menta); color: var(--bosco); }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } .news > svg { display: none; } }

/* Chiusura in verde */
.cta { overflow: hidden; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; }
.cta h2 { font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1; max-width: 10em; }
.cta p:not(.label) { margin-top: 1.5rem; max-width: 30rem; font-size: 1.12rem; }
.cta .label { color: var(--bosco); }
.cta .btn:hover { background: var(--white); border-color: var(--white); }
.cta .go { border-bottom-color: var(--bosco); }
.cta .obj { width: min(100%, 26rem); justify-self: end; filter: brightness(.38) saturate(1.5); }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } .cta .obj { display: none; } }

/* Servizi: le quattro aree */
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6.5rem); padding: clamp(3rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--rule); scroll-margin-top: 6rem; }
.area h2 { max-width: 9em; }
.area-intro { font-size: 1.14rem; margin-bottom: 2rem; }
.checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; padding: .95rem 0; border-top: 1px solid var(--rule); font-weight: 600; }
.checks li::before { content: ""; width: .7rem; height: .7rem; margin-top: .5rem; border-radius: 50%; background: var(--bri); }
@media (max-width: 899px) { .area { grid-template-columns: 1fr; } }

/* Lavora con noi */
.job-item { border-bottom: 1px solid var(--rule); }
.job-item:first-child { border-top: 1px solid var(--rule); }
.job-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.75rem 0; }
.job-item summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2.1rem); letter-spacing: -.03em; transition: transform .4s var(--ease), color .3s; }
.job-item summary:hover .job-title, .job-item[open] .job-title { color: var(--bosco); transform: translateX(.5rem); }
.job-meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.job-tag { font-size: .84rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--menta); color: var(--bosco); }
.job-body { padding: 0 0 2.25rem; max-width: 46rem; }
.job-body h4 { margin: 1.75rem 0 .75rem; }
.job-body ul li { position: relative; padding: .3rem 0 .3rem 1.4rem; }
.job-body ul li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--bri); }
.job-body a { display: inline-flex; margin-top: 1.75rem; font-weight: 700; text-decoration: none; padding: .75rem 1.5rem; border-radius: 999px; background: var(--bosco); color: var(--white); }
.job-body a:hover { background: var(--bri); color: var(--bosco); }
.small-note { margin-top: 1.5rem; font-size: .92rem; opacity: .75; max-width: 46rem; }

/* Contatti */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-form { background: var(--white); border-radius: 1.5rem; padding: clamp(1.5rem, 3vw, 3rem); }
.form-row { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 0; }
.form-row label { font-weight: 600; font-size: .94rem; }
.form-row input, .form-row select, .form-row textarea { font: inherit; color: inherit; padding: .85rem 1rem; border: 1px solid var(--rule); border-radius: .75rem; background: var(--paper); width: 100%; }
.form-row textarea { min-height: 9rem; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--bri); border-color: var(--bri); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; font-size: .92rem; margin: .5rem 0 1.5rem; }
.form-consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--bosco); }
.form-msg { display: none; padding: .9rem 1.1rem; border-radius: .75rem; margin-bottom: 1.25rem; font-weight: 600; }
.form-msg.is-visible { display: block; }
.form-msg.success { background: var(--menta); color: var(--bosco); }
.form-msg.error { background: #fbe6e6; color: #7a1f1f; }
.sidebar-card { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.sidebar-card:last-child { border-bottom: 1px solid var(--rule); }
.sidebar-card h4 { margin-bottom: .5rem; }
.sidebar-card a { text-decoration: none; font-weight: 600; } .sidebar-card a:hover { text-decoration: underline; }
@media (max-width: 899px) { .contact, .form-row.two-col { grid-template-columns: 1fr; } }

/* Testo lungo: articoli e pagine legali */
.prose { max-width: 46rem; }
.prose > p, .prose li { font-size: 1.1rem; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin-top: 3rem; }
.prose h3 { margin-top: 2rem; font-weight: 700; }
.prose a { color: var(--bosco); font-weight: 600; }
.prose ul { padding: 0; }
.prose ul li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--bri); }
.prose ul li svg { display: none; }
.prose .pull-note { padding: 1.5rem 1.75rem; border-radius: 1rem; background: var(--menta); color: var(--bosco); font-weight: 500; }
.prose .updated, .updated { font-size: .92rem; opacity: .7; }
.back { display: inline-flex; margin-top: 3.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; font-size: .98rem; }
.site-footer .container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); }
.footer-brand img { height: 2.6rem; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 26rem; color: rgba(255, 255, 255, .78); }
.footer-col h4 { color: var(--white); opacity: .55; margin-bottom: 1rem; }
.footer-col li + li, .footer-col p + p { margin-top: .5rem; }
.footer-col a, .legal-links a, .link-button { text-decoration: none; color: rgba(255, 255, 255, .86); }
.footer-col a:hover, .legal-links a:hover, .link-button:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--bri); text-underline-offset: .25em; }
.footer-col p { color: rgba(255, 255, 255, .86); }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-inv); font-size: .88rem; color: rgba(255, 255, 255, .7); max-width: 62rem; }
.footer-bottom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Cookie ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { width: 100%; max-width: 60rem; background: var(--white); color: var(--ink); border: 1px solid var(--rule); border-radius: 1rem; padding: 1.25rem 1.5rem; box-shadow: 0 12px 40px rgba(20, 23, 22, .2); font-size: .95rem; }
.cookie-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cookie-main p { flex: 1 1 22rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .92rem; }
.cookie-actions .btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.cookie-actions .btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cookie-prefs { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.cookie-prefs[hidden] { display: none; }
.cookie-pref-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .6rem 0; }
.cookie-pref-row strong, .cookie-pref-row span { display: block; }
.switch input { width: 1.3rem; height: 1.3rem; accent-color: var(--bosco); }
.cookie-prefs .cookie-actions { margin-top: .75rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv > span { transform: none; } .shot .w { opacity: 1; } .shot > img { transform: none; }
}

.hd.on-dark { color: var(--white); }
.hd.on-dark .hd-brand img { filter: brightness(0) invert(1); }
.hd.on-dark .btn { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
h1, h2 { overflow-wrap: break-word; }
.rv { padding-bottom: .22em; margin-bottom: -.22em; }
@media (max-width: 480px) { h1, .xl { font-size: 1.85rem; } .cta h2 { font-size: 1.9rem; } }

.js .obj[data-intro]:not(.is-static):not(.is-live) img { opacity: 0; }

/* =========================================================
   v50 — Colore pieno. Blocchi saturi che si sovrappongono,
   nome gigante dietro la scultura, titoli a due colori,
   fotografie inclinate, movimento lungo tutta la pagina.
   ========================================================= */
:root { --r: clamp(1.75rem, 4vw, 3.75rem); }
body { background: var(--ink); }
main { background: var(--white); }

/* ---------- Header: capsula che cambia tono con il blocco sottostante ---------- */
.hd, .hd.is-solid { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; top: .9rem; pointer-events: none; }
.hd-in { pointer-events: auto; height: 4.1rem; max-width: calc(var(--wrap) - 2 * var(--pad)); width: calc(100% - 2rem); padding: 0 .65rem 0 1.4rem; border-radius: 999px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 8px 30px rgba(20, 23, 22, .1); transition: background-color .35s var(--ease), color .35s var(--ease); }
.hd-brand img { height: 2rem; transition: filter .35s var(--ease); }
.hd.on-dark .hd-in { background: rgba(20, 23, 22, .42); color: var(--white); }
.hd .btn { min-height: 2.75rem; }

/* ---------- Blocchi di colore sovrapposti ---------- */
.blk { position: relative; border-radius: var(--r) var(--r) 0 0; margin-top: calc(-1 * var(--r)); padding: calc(var(--gap) + .5rem) 0 calc(var(--gap) + var(--r)); }
.blk:last-child { padding-bottom: var(--gap); }
.blk.is-first { border-radius: 0; margin-top: 0; }
.b-white { background: var(--white); color: var(--ink); }
.b-paper { background: var(--paper); color: var(--ink); }
.b-menta { background: var(--menta); color: var(--ink); }
.b-bri { background: var(--bri); color: var(--bosco); }
.b-bosco { background: var(--bosco); color: var(--white); }
.b-ink { background: var(--ink); color: var(--white); }
.b-bosco .label, .b-ink .label { color: var(--bri); }
.b-bri .label { color: var(--bosco); }
.b-bri .go { border-bottom-color: var(--bosco); }
.b-bri .btn:hover { background: var(--white); border-color: var(--white); }
.b-bosco .btn, .b-ink .btn { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.b-bosco .btn:hover, .b-ink .btn:hover { background: var(--white); border-color: var(--white); }
.b-bosco .rows, .b-bosco .row, .b-ink .rows, .b-ink .row { border-color: var(--rule-inv); }
.b-bosco .row p, .b-ink .row p { color: rgba(255, 255, 255, .84); }
.b-bosco .row:hover > h3 { color: var(--bri); }
.b-bri .rows, .b-bri .amb { border-color: rgba(0, 65, 35, .28); }
.b-bri .amb-cat { color: var(--bosco); opacity: .8; }
.b-bri .amb summary:hover .amb-name { color: var(--ink); }
.b-bri .amb summary:hover .amb-plus, .b-bri .amb[open] .amb-plus { background: var(--bosco); border-color: var(--bosco); color: var(--white); }
.b-bri .amb-desc { opacity: .85; }
.site-footer { position: relative; border-radius: var(--r) var(--r) 0 0; margin-top: calc(-1 * var(--r)); }

/* Ingresso scalato degli elementi */
.js [data-st] > * { opacity: 0; transform: translateY(2rem); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.js [data-st].in > * { opacity: 1; transform: none; }
.js [data-st].in > *:nth-child(2) { transition-delay: .07s; } .js [data-st].in > *:nth-child(3) { transition-delay: .14s; }
.js [data-st].in > *:nth-child(4) { transition-delay: .21s; } .js [data-st].in > *:nth-child(5) { transition-delay: .28s; }
.js [data-st].in > *:nth-child(6) { transition-delay: .35s; } .js [data-st].in > *:nth-child(7) { transition-delay: .42s; }
.js [data-st].in > *:nth-child(8) { transition-delay: .49s; }

/* ---------- Hero: nome gigante dietro la scultura ---------- */
.hero50 { position: relative; }
.pin .hero50 { height: 210vh; }
.h50-view { position: relative; height: 100vh; height: 100svh; min-height: 38rem; overflow: hidden; }
.pin .h50-view { position: sticky; top: 0; }
.wm { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); margin: 0; text-align: center; font-family: var(--display); font-weight: 900; font-size: 18vw; line-height: .8; letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; color: var(--white); pointer-events: none; will-change: transform, opacity; }
.wm span { display: inline-block; will-change: transform; }
.h50-obj { position: absolute; left: 50%; top: 47%; width: min(52vw, 74vh); transform: translate(-50%, -50%); z-index: 2; will-change: transform; }
.h50-foot { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vh, 3rem); z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; will-change: transform, opacity; }
.h50-foot h1 { font-size: clamp(1.25rem, 2.3vw, 2.2rem); line-height: 1.12; letter-spacing: -.03em; max-width: 17em; }
.h50-foot h1 em { font-style: normal; color: var(--bri); }
.h50-side { display: flex; align-items: center; gap: 1.5rem; }
.h50-side .go { border-bottom-color: var(--bri); }
@media (max-width: 760px) { .h50-foot { grid-template-columns: 1fr; } .wm { top: 36%; font-size: 21vw; } .h50-obj { top: 38%; width: min(78vw, 46vh); } }

/* Nastro degli ambiti */
.tick { position: relative; z-index: 2; background: var(--bri); color: var(--bosco); overflow: hidden; padding: 1.1rem 0; margin-top: calc(-1 * var(--r)); border-radius: var(--r) var(--r) 0 0; }
.tick + .blk { margin-top: 0; border-radius: 0; }
.tick-track { display: flex; align-items: center; width: max-content; animation: tick 34s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: -.02em; white-space: nowrap; }
.tick-track span { padding: 0 1.1rem; } .tick-track i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--bosco); flex: none; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

/* Titolo a due colori */
.duo { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; text-align: center; text-wrap: balance; max-width: 15em; margin: 0 auto; }
.duo em { font-style: normal; color: var(--bri); display: block; }
.b-bri .duo em { color: var(--white); } .b-bosco .duo em, .b-ink .duo em { color: var(--bri); }
.duo-sub { text-align: center; max-width: 38rem; margin: 2rem auto 0; font-size: clamp(1.08rem, 1.5vw, 1.28rem); }

/* Fotografie inclinate che scorrono */
.reel { overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 1rem; margin-bottom: -1rem; }
.reel-track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; padding: 2rem var(--pad); will-change: transform; }
.pic { position: relative; flex: none; width: clamp(14rem, 23vw, 22rem); aspect-ratio: 4 / 5; border-radius: 1.6rem; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px rgba(20, 23, 22, .22); transition: transform .5s var(--ease); }
.pic:nth-child(odd) { transform: rotate(-4deg) translateY(1.2rem); } .pic:nth-child(even) { transform: rotate(3.5deg); }
.pic:nth-child(3n) { transform: rotate(-2deg) translateY(-.6rem); }
.pic:hover { transform: rotate(0deg) scale(1.04); z-index: 2; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic span { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .95rem; border-radius: 999px; background: var(--bri); color: var(--bosco); font-weight: 700; font-size: .95rem; }

/* Metodo: schede che si impilano */
.stack { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.sc { position: sticky; top: 6.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; min-height: min(58vh, 30rem); padding: clamp(1.75rem, 4vw, 4rem); border-radius: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1.5rem; color: var(--ink); box-shadow: 0 -18px 50px rgba(0, 0, 0, .28); }
.sc:nth-child(1) { background: var(--menta); } .sc:nth-child(2) { background: var(--bri); top: 8rem; } .sc:nth-child(3) { background: var(--white); top: 9.5rem; } .sc:nth-child(4) { background: var(--menta); top: 11rem; }
.sc b { font-family: var(--display); font-weight: 900; font-size: clamp(3.5rem, 11vw, 10rem); line-height: .82; letter-spacing: -.06em; color: var(--bosco); }
.sc h3 { font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 3rem); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 1.25rem; }
.sc p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34rem; }
.sc ul { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.sc ul li { padding: .7rem 0; border-top: 1px solid rgba(20, 23, 22, .18); font-weight: 600; }
@media (max-width: 760px) { .sc { grid-template-columns: 1fr; min-height: 0; top: 5.75rem !important; } .sc ul { grid-template-columns: 1fr; } }

/* Citazione */
.blk.shot { display: flex; align-items: center; min-height: 100vh; overflow: clip; background: #0c0e0d; color: var(--white); }
.blk.shot > img { border-radius: inherit; }
.blk.shot::after { border-radius: inherit; }

/* Chiusura */
.cta .obj { filter: brightness(.34) saturate(1.6); width: min(100%, 30rem); }
.cta h2 { font-weight: 900; font-size: clamp(2.2rem, 6.4vw, 6rem); letter-spacing: -.05em; }

/* ---------- Apertura delle pagine interne ---------- */
.ph50 { position: relative; overflow: hidden; padding: 0; min-height: 86vh; min-height: 86svh; display: flex; flex-direction: column; justify-content: flex-end; }
.ph50 .wm { top: 40%; font-size: 15vw; }
.b-bri .wm { color: var(--white); } .b-menta .wm { color: var(--white); } .b-ink .wm, .b-bosco .wm { color: var(--white); }
.ph50-obj { position: absolute; left: 50%; top: 41%; width: min(40vw, 56vh); transform: translate(-50%, -50%); z-index: 2; }
.b-bri .ph50-obj { filter: brightness(.34) saturate(1.6); }
.ph50-foot { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; padding-bottom: calc(var(--r) + clamp(1.5rem, 4vh, 3rem)); padding-top: 60vh; }
.ph50-foot h1 { font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.04; }
.ph50-foot .lede { max-width: 32rem; }
@media (max-width: 760px) { .ph50-foot { grid-template-columns: 1fr; padding-top: 52vh; } .ph50 .wm { top: 30%; font-size: 17vw; } .ph50-obj { top: 31%; width: min(66vw, 40vh); } }
.ph-plain { padding: clamp(8.5rem, 15vw, 11rem) 0 calc(var(--r) + 3rem); }
.ph-plain h1 { font-size: clamp(1.9rem, 4.4vw, 4rem); max-width: 16em; }
.ph-plain .lede { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) { .tick-track { animation: none; } .js [data-st] > * { opacity: 1; transform: none; } .sc { position: relative; top: auto !important; } }

/* v50.1 */
.blk h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -.04em; line-height: 1.02; }
.blk.cta h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); }
.b-bri .amb-desc, .b-bri .amb-cat { opacity: 1; color: var(--bosco); }

.sc.is-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); scroll-margin-top: 7rem; }
@media (max-width: 760px) { .sc.is-wide { grid-template-columns: 1fr; } }
.b-menta .wm { color: var(--bosco); }
.ph50.b-bri .lede, .ph50.b-menta .lede { color: var(--bosco); opacity: 1; }

/* ================= v51 — sottrazione: superfici calme, pochi accenti ================= */
.blk { border-radius: 0; margin-top: 0; padding: var(--gap) 0; }
.blk + .blk.b-white:not(.shot), .b-white + .b-white, .b-paper + .b-paper { }
.b-white + .b-white { padding-top: 0; }
.tick { margin-top: 0; border-radius: 0; padding: .95rem 0; }
.tick-track { animation-duration: 60s; font-weight: 500; font-size: clamp(.95rem, 1.2vw, 1.1rem); }
.hero50 { height: auto !important; }
.h50-view { position: relative !important; }
.wm { color: var(--white); }
.wm span { display: inline-block; animation: wmUp 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
@keyframes wmUp { from { transform: translateY(38%); opacity: 0; } to { transform: none; opacity: 1; } }
.h50-foot { animation: footIn .9s var(--ease) 1.5s both; }
@keyframes footIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ph50 { min-height: 78vh; min-height: 78svh; }
.ph50-foot { padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.ph-plain { padding-bottom: clamp(3rem, 6vw, 5rem); }
.duo { font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.04em; }
.duo-sub { font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.blk h2 { font-weight: 700; }
/* schede: ferme, sobrie */
.stack { display: grid; gap: 1.25rem; }
.stack.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc, .sc:nth-child(n) { position: static; top: auto; min-height: 0; margin: 0; box-shadow: none; background: var(--paper); border-radius: 1.5rem; padding: clamp(1.6rem, 2.6vw, 2.6rem); }
.b-paper .sc, .b-paper .sc:nth-child(n) { background: var(--white); }
.stack.is-3 .sc { grid-template-columns: 1fr; gap: 2.5rem; align-content: space-between; min-height: 22rem; }
.sc b { font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1; display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--bri); color: var(--bosco); }
.sc h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: .9rem; }
.sc.is-wide h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.sc p { font-size: 1.05rem; }
@media (max-width: 900px) { .stack.is-3 { grid-template-columns: 1fr; } .stack.is-3 .sc { min-height: 0; gap: 1.5rem; } }
/* citazione: parole a tempo, immagine ferma */
.blk.shot { min-height: 88vh; }
.shot > img, .blk.shot > img { transform: none; opacity: .55; }
.shot .w { transition: opacity .7s var(--ease); }
/* chiusura */
.cta .obj { filter: none; width: min(100%, 24rem); }
.blk.cta h2 { font-weight: 700; font-size: clamp(2rem, 4.8vw, 4.2rem); color: var(--white); }
.cta .label { color: var(--bri); }
.cta .go { border-bottom-color: var(--bri); color: var(--white); }
.cta p:not(.label) { color: rgba(255,255,255,.86); }
@media (prefers-reduced-motion: reduce) { .wm span, .h50-foot { animation: none; } }

/* ================= v52 — finezza: pesi leggeri, corpi contenuti, più aria ================= */
:root { --gap: clamp(5rem, 10vw, 9rem); }
body { font-size: 1rem; line-height: 1.65; }
h1, h2, h3, blockquote, .xl, .l, .duo, .amb-name, .job-title, .wm { font-weight: 500 !important; letter-spacing: -.02em; }
h1, .xl { font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.12; }
h2, .l, .blk h2 { font-size: clamp(1.45rem, 2.5vw, 2.2rem); line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.3; letter-spacing: -.01em; }
.label { font-size: .8rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 1.1rem; opacity: .85; }
.lede { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65; }
.big-p p { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.7; }
.btn { min-height: 2.75rem; padding: .6rem 1.4rem; font-weight: 600; font-size: .92rem; }
.hd .btn { min-height: 2.4rem; padding: .45rem 1.1rem; font-size: .86rem; }
.hd-nav a { font-weight: 500; font-size: .9rem; border-bottom-width: 1px; }
.hd-in { height: 3.6rem; }
.go { font-weight: 600; font-size: .95rem; border-bottom-width: 1px; }
/* apertura */
.wm { letter-spacing: -.035em; opacity: .96; }
.h50-obj { width: min(34vw, 50vh); }
.ph50-obj { width: min(26vw, 40vh); }
.h50-foot h1 { font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.3; max-width: 19em; }
.ph50 { min-height: 72vh; min-height: 72svh; }
.ph50-foot h1 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.18; }
.ph-plain h1 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.15; }
.tick-track { font-weight: 500; font-size: .9rem; letter-spacing: 0; }
.tick { padding: .75rem 0; }
.tick-track i { width: .3rem; height: .3rem; }
/* corpo */
.duo { font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.18; max-width: 18em; }
.duo-sub { font-size: clamp(1rem, 1.15vw, 1.1rem); }
.amb-name { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.25; letter-spacing: -.015em; }
.amb-desc { font-size: .92rem; }
.row > h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -.015em; }
.row p, .sc p { font-size: .98rem; }
.news h3 { font-size: clamp(1.05rem, 1.45vw, 1.3rem); letter-spacing: -.015em; line-height: 1.3; }
.job-title { font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -.015em; }
.sc, .sc:nth-child(n), .b-paper .sc, .b-paper .sc:nth-child(n) { background: none; border: 1px solid var(--rule); border-radius: 1rem; padding: clamp(1.5rem, 2.2vw, 2.2rem); }
.stack.is-3 .sc { min-height: 17rem; }
.sc b { width: auto; height: auto; background: none; color: var(--bri); font-family: var(--display); font-weight: 500; font-size: .95rem; }
.sc h3, .sc.is-wide h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: -.015em; line-height: 1.25; }
.sc ul li { font-weight: 500; font-size: .95rem; padding: .6rem 0; border-top-color: var(--rule); }
.shot blockquote { font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.2; letter-spacing: -.02em; max-width: 16em; }
.shot p { font-size: 1rem; max-width: 32rem; }
.blk.shot { min-height: 76vh; }
.blk.cta h2, .cta h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.18; letter-spacing: -.02em; max-width: 14em; }
.cta .obj { width: min(100%, 18rem); }
.prose h2 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.prose { font-size: 1.02rem; }
@media (max-width: 760px) { .h50-obj { width: min(62vw, 38vh); } .ph50-obj { width: min(46vw, 30vh); } }

/* ================= v53 — hero ridisegnati: testo a sinistra, scultura libera a destra ================= */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 100vh; min-height: 100svh; padding-top: 7.5rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); line-height: 1.14; letter-spacing: -.025em; max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--bri); }
.hero .lede { margin-top: 1.75rem; max-width: 33rem; color: rgba(255, 255, 255, .8); }
.hero .label { color: var(--bri); }
.hero .go { color: var(--white); border-bottom-color: var(--bri); }
.hero-obj { width: min(100%, 62vh, 34rem); justify-self: center; }
.hero-txt > * { animation: footIn .9s var(--ease) both; }
.hero-txt > :nth-child(2) { animation-delay: .12s; } .hero-txt > :nth-child(3) { animation-delay: .24s; } .hero-txt > :nth-child(4) { animation-delay: .36s; }
.hero.is-inner .hero-in { min-height: 0; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); padding-top: clamp(9rem, 14vw, 11.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); align-items: end; }
.hero.is-inner h1 { font-size: clamp(1.8rem, 3.3vw, 2.9rem); max-width: 17em; }
.hero.is-inner .lede { color: inherit; opacity: .8; max-width: 36rem; }
.hero.is-inner .label { color: var(--bosco); }
.hero.is-inner .hero-obj { width: min(100%, 15rem); justify-self: end; }
.hero.is-inner + .blk { border-top: 1px solid var(--rule); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 7rem; padding-bottom: 3.5rem; gap: 1.5rem; }
  .hero-obj { order: -1; width: min(68vw, 34vh); justify-self: start; margin-left: -4%; }
  .hero.is-inner .hero-in { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero.is-inner .hero-obj { width: 8.5rem; justify-self: start; margin-left: -1rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-txt > * { animation: none; } }

/* v54 — metodo: un percorso su una linea che si traccia da sola */
.path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 3rem; }
.path::before, .path::after { content: ""; position: absolute; left: 0; right: 0; top: .5rem; height: 1px; background: var(--rule); }
.path::after { background: var(--bri); height: 2px; top: calc(.5rem - .5px); transform: scaleX(0); transform-origin: left; transition: transform 2.6s cubic-bezier(.45, 0, .2, 1); }
.path.in::after { transform: scaleX(1); }
.path li { position: relative; }
.path i { position: absolute; top: -3rem; left: 0; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--white); border: 1px solid rgba(20, 23, 22, .3); z-index: 1; transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.path.in i { background: var(--bri); border-color: var(--bri); transform: scale(1.12); }
.path.in li:nth-child(1) i { transition-delay: .1s; } .path.in li:nth-child(2) i { transition-delay: 1s; } .path.in li:nth-child(3) i { transition-delay: 1.9s; }
.path h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.25; margin-bottom: .9rem; }
.path p { font-size: .98rem; max-width: 22rem; opacity: .82; }
.path li { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.path.in li { opacity: 1; transform: none; }
.path.in li:nth-child(2) { transition-delay: .9s; } .path.in li:nth-child(3) { transition-delay: 1.8s; }
@media (max-width: 800px) {
  .path { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.5rem; gap: 2.5rem; }
  .path::before, .path::after { left: .5rem; right: auto; top: .4rem; bottom: .4rem; width: 1px; height: auto; }
  .path::after { width: 2px; left: calc(.5rem - .5px); transform: scaleY(0); transform-origin: top; }
  .path.in::after { transform: scaleY(1); }
  .path i { top: .2rem; left: -2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .path::after { transform: none; transition: none; } .path li { opacity: 1; transform: none; } }

/* v55 — la scultura galleggia: movimento continuo a 60 fotogrammi, niente scatti */
.obj.is-float > * { animation: tcFloat 7s ease-in-out infinite; will-change: transform; }
@keyframes tcFloat { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -2.2%, 0) rotate(-1.2deg); } }
@media (prefers-reduced-motion: reduce) { .obj.is-float > * { animation: none; } }

/* v56 — testi piccoli riportati a una misura leggibile e coerente */
.label { font-size: .95rem; font-weight: 600; opacity: 1; margin-bottom: 1.2rem; }
.amb-cat { font-size: .92rem; }
.amb-desc { font-size: 1rem; }
.row p, .sc p, .path p { font-size: 1.02rem; }
.tag, .job-tag { font-size: .88rem; }
.news time { font-size: .95rem; }
.sc ul li { font-size: 1rem; }
.hd-nav a { font-size: .95rem; }
.hd .btn { font-size: .9rem; }
.btn { font-size: .96rem; }
.tick-track { font-size: .98rem; }
.small-note { font-size: .95rem; }

/* ================= v57 — Servizi: le aree come schede; Chi siamo: apertura con fotografia ================= */
.areas { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.areas-tabs { display: grid; gap: .35rem; position: sticky; top: 6.5rem; }
.areas-tabs button { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1.05rem 1.2rem; border-radius: 1rem; color: rgba(255, 255, 255, .62); font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: -.01em; line-height: 1.25; border: 1px solid transparent; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.areas-tabs button svg { width: 1.5rem; height: 1.5rem; flex: none; }
.areas-tabs button:hover { color: var(--white); border-color: rgba(255, 255, 255, .18); }
.areas-tabs button[aria-selected="true"] { background: var(--bri); color: var(--bosco); }
.areas-panels { background: var(--white); color: var(--ink); border-radius: 1.75rem; padding: clamp(1.75rem, 3.5vw, 3.5rem); min-height: 30rem; }
.area-panel { display: none; scroll-margin-top: 7rem; }
.area-panel.is-on { display: block; animation: areaIn .55s var(--ease) both; }
@keyframes areaIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.area-ico { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--menta); color: var(--bosco); display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; }
.area-ico svg { width: 1.7rem; height: 1.7rem; }
.area-panel h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.1rem; }
.area-panel > p { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.65; max-width: 44rem; }
.area-panel ul { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.area-panel li { position: relative; padding: .95rem 0 .95rem 1.9rem; border-top: 1px solid var(--rule); font-weight: 500; }
.area-panel li::before { content: ""; position: absolute; left: .1rem; top: 1.3rem; width: .85rem; height: .45rem; border-left: 2px solid var(--bri); border-bottom: 2px solid var(--bri); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .areas { grid-template-columns: 1fr; }
  .areas-tabs { display: none; }
  .areas-panels { background: none; padding: 0; min-height: 0; display: grid; gap: 1rem; }
  .area-panel, .area-panel.is-on { display: block; animation: none; background: var(--white); border-radius: 1.4rem; padding: 1.6rem; }
  .area-panel ul { grid-template-columns: 1fr; }
}
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-pic { position: relative; aspect-ratio: 4 / 5; border-radius: 1.75rem; overflow: hidden; background: var(--menta); }
.about-pic img { width: 100%; height: 100%; object-fit: cover; }
.about-pic figcaption { position: absolute; left: 1.1rem; bottom: 1.1rem; padding: .5rem 1.05rem; border-radius: 999px; background: var(--bri); color: var(--bosco); font-weight: 600; font-size: .95rem; }
.about-txt h2 { margin-bottom: 1.75rem; }
.about-lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; letter-spacing: -.01em; color: var(--bosco); margin-bottom: 1.5rem; }
.about-txt > p:not(.about-lead) { font-size: 1.05rem; line-height: 1.7; max-width: 38rem; }
.about-who { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; }
.about-who li { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(0, 65, 35, .25); color: var(--bosco); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-pic { aspect-ratio: 4 / 3; } }
.about-lead { font-family: var(--body); font-weight: 500; font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.55; letter-spacing: 0; color: var(--ink); }
.about-pic figcaption { display: none; }

/* v58 — nessuna fotografia: citazione su campo pieno, Chi siamo solo tipografia */
.shot, .blk.shot { background: var(--bosco); min-height: 0; padding: clamp(6rem, 12vw, 10rem) 0; }
.shot::after, .blk.shot::after { display: none; }
.shot .w { opacity: .28; }
.shot.is-light { background: var(--menta); color: var(--bosco); }
.shot.is-light p { color: var(--bosco); }
.shot.is-light .w.hot { color: var(--bri); }
.about { align-items: start; }
.about-head { position: sticky; top: 7rem; }
.about-head .about-who { flex-direction: column; align-items: flex-start; margin-top: 2rem; }
.about-txt h2 { margin: 0; }
@media (max-width: 860px) { .about-head { position: static; } .about-head .about-who { flex-direction: row; } }
.shot.is-light .w.hot { color: var(--bosco); box-shadow: inset 0 -.2em 0 var(--bri); }

/* ================= v60 — hero più pop: parole che saltano su, scultura che entra ruotando, alone che respira ================= */
:root { --pop: cubic-bezier(.34, 1.56, .64, 1); --hd: .5s; } /* --hd: attesa che la tendina di pagina si alzi */
.hero-txt > .label { animation: popIn .7s var(--pop) var(--hd) both; display: inline-block; }
.hero-txt > h1 { animation: none; }
.hero h1 .hw { display: inline-block; animation: hwPop .85s var(--pop) both; animation-delay: calc(var(--i, 0) * 55ms + .18s + var(--hd)); transform-origin: 0 100%; }
@keyframes hwPop { from { opacity: 0; transform: translateY(.9em) rotate(7deg) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.6); } to { opacity: 1; transform: none; } }
.hero-txt > .lede { animation-delay: calc(var(--after-h1, .6s) + var(--hd)); }
.hero-txt > .actions { animation: popIn .8s var(--pop) both; animation-delay: calc(var(--after-h1, .6s) + .15s + var(--hd)); }
/* evidenziatore sotto la parola chiave */
.hero h1 em { background: linear-gradient(var(--bri), var(--bri)) 0 92% / 0 .14em no-repeat; animation: hlSweep .9s var(--ease) both; animation-delay: calc(var(--after-h1, .6s) + var(--hd)); padding-bottom: .04em; }
@keyframes hlSweep { to { background-size: 100% .14em; } }
/* scultura: entra rimbalzando, poi segue un po' il mouse */
.hero-obj { animation: objPop 1.1s var(--pop) calc(.1s + var(--hd)) both; translate: var(--px, 0) var(--py, 0); transition: translate .6s var(--ease); }
@keyframes objPop { from { opacity: 0; transform: scale(.55) rotate(-10deg); } to { opacity: 1; transform: none; } }
/* alone colorato dietro la scultura */
.hero-obj::before { content: ''; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, var(--bri) 0%, rgba(0, 193, 97, .35) 40%, transparent 70%); opacity: .75; filter: blur(24px); animation: haloIn 1.4s var(--ease) calc(.2s + var(--hd)) both, halo 6s ease-in-out calc(1.6s + var(--hd)) infinite; }
.hero.is-inner .hero-obj::before { opacity: .55; }
@keyframes haloIn { from { transform: scale(.2); opacity: 0; } }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12) translate(3%, -2%); } }
.hero .btn { transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--pop); }
.hero .btn:hover { transform: translateY(-3px) scale(1.04); }
.hero .go:hover svg { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hw, .hero-txt > *, .hero-obj, .hero-obj::before, .hero h1 em { animation: none !important; }
  .hero h1 em { background-size: 100% .14em; }
  .hero-obj { translate: none; }
  .hero .btn:hover { transform: none; }
}

/* ================= v61 — hero "Colore pieno": ogni pagina il suo colore, titolo enorme, scultura gigante tagliata dal bordo, bollino che gira ================= */
.hero.is-pop { --fg: var(--ink); --hl: var(--white); --hl-ink: var(--ink); --halo: var(--bri); --bdg-bg: var(--ink); --bdg-fg: var(--bri); color: var(--fg); }
.hero.is-pop.b-bri { --fg: var(--ink); --hl: var(--white); --hl-ink: var(--bosco); --halo: var(--white); --bdg-bg: var(--ink); --bdg-fg: var(--bri); }
.hero.is-pop.b-bosco { --fg: var(--white); --hl: var(--bri); --hl-ink: var(--bosco); --halo: var(--bri); --bdg-bg: var(--bri); --bdg-fg: var(--bosco); }
.hero.is-pop.b-ink { --fg: var(--white); --hl: var(--bri); --hl-ink: var(--ink); --halo: var(--bri); --bdg-bg: var(--bri); --bdg-fg: var(--ink); }
.hero.is-pop.b-menta { --fg: var(--bosco); --hl: var(--bri); --hl-ink: var(--bosco); --halo: var(--bri); --bdg-bg: var(--bosco); --bdg-fg: var(--white); }
.hero.is-pop .hero-in { position: static; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-top: 8.5rem; padding-bottom: 5rem; }
.hero.is-pop .hero-txt { position: relative; z-index: 2; max-width: min(70%, 58rem); }
.hero.is-pop h1 { font-weight: 900 !important; font-size: clamp(2.4rem, min(5vw, 8.4vh), 5.4rem); line-height: 1; letter-spacing: -.05em; max-width: none; color: var(--fg); }
.hero.is-pop .label { color: var(--fg); border: 1.5px solid currentColor; border-radius: 999px; padding: .4rem .95rem; opacity: 1; margin-bottom: 1.6rem; }
.hero.is-pop .lede { color: inherit; max-width: 36rem; margin-top: 1.8rem; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.hero.is-pop .go { color: var(--fg); border-bottom-color: currentColor; }
.hero.is-pop.b-bri .btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hero.is-pop.b-menta .btn { background: var(--bosco); border-color: var(--bosco); color: var(--white); }
.hero.is-pop.b-bri .btn:hover, .hero.is-pop.b-menta .btn:hover { background: var(--white); border-color: var(--white); color: var(--bosco); }
/* parola chiave: blocco evidenziatore che si riempie */
.hero.is-pop h1 em { color: var(--hl-ink); background: linear-gradient(var(--hl), var(--hl)) 0 0 / 100% 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .12em; margin: 0 -.02em; border-radius: .14em; animation: hlFill .75s var(--ease) both; animation-delay: calc(var(--after-h1, .6s) + var(--hd)); }
@keyframes hlFill { from { background-size: 0% 100%; color: var(--fg); } to { background-size: 100% 100%; color: var(--hl-ink); } }
/* scultura gigante, tagliata dal bordo in basso a destra */
.hero.is-pop .hero-obj { position: absolute; z-index: 1; width: min(52vw, 88svh); right: -7vw; bottom: -7%; margin: 0; justify-self: auto; }
.hero.is-pop.is-inner .hero-obj { width: min(44vw, 80svh); right: -6vw; bottom: -12%; }
.hero.is-pop.b-bri .hero-obj > img, .hero.is-pop.b-bri .hero-obj > canvas { filter: brightness(.34) saturate(1.6); }
.hero.is-pop .hero-obj::before { background: radial-gradient(circle, var(--halo) 0%, transparent 66%); opacity: .5; }
.hero.is-pop.is-inner .hero-obj::before { opacity: .45; }
.hero.is-pop.is-inner .hero-in { min-height: 86vh; min-height: 86svh; }
.hero.is-pop.is-inner h1 { font-size: clamp(2.3rem, min(4.8vw, 8vh), 5rem); }
.hero.is-pop.is-inner + .blk { border-top: 0; }
/* bollino che gira */
.hero-badge { position: absolute; z-index: 3; top: clamp(7rem, 20vh, 11rem); right: clamp(1.25rem, 7vw, 7rem); width: clamp(6.5rem, 10vw, 9.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--bdg-bg); color: var(--bdg-fg); display: grid; place-items: center; text-decoration: none; animation: badgeIn .9s var(--pop) both; animation-delay: calc(var(--after-h1, .6s) + var(--hd) + .35s); transition: transform .4s var(--pop); }
.hero-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.hero-badge text { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .04em; fill: currentColor; text-transform: uppercase; }
.hero-badge .arr { width: 34%; height: 34%; transform: rotate(-45deg); transition: transform .4s var(--pop); }
.hero-badge:hover { transform: scale(1.1) rotate(-6deg); }
.hero-badge:hover .arr { transform: rotate(0deg); }
.hero-badge:hover svg.ring { animation-duration: 5s; }
.hero-badge:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
@keyframes badgeIn { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero.is-pop .hero-in { display: block; min-height: 0; padding-top: 7.5rem; padding-bottom: 0; }
  .hero.is-pop.is-inner .hero-in { min-height: 0; }
  .hero.is-pop .hero-txt { max-width: none; }
  .hero.is-pop h1, .hero.is-pop.is-inner h1 { font-size: clamp(1.9rem, 8.2vw, 3.4rem); }
  .hero.is-pop .hero-obj, .hero.is-pop.is-inner .hero-obj { position: relative; order: 0; right: auto; bottom: auto; width: 88vw; margin: 1rem -24vw -22vw auto; justify-self: auto; }
  .hero-badge { top: auto; bottom: 2.5rem; right: auto; left: var(--pad); width: 6.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-badge svg.ring, .hero.is-pop h1 em { animation: none !important; }
}

/* v62 — via l'etichetta negli hero; la scultura entra in dissolvenza, senza rotazione né rimbalzo */
.hero.is-pop .hero-txt > .label { display: none; }
.hero.is-pop .hero-obj { animation: objFade 1.2s var(--ease) calc(.15s + var(--hd)) both; }
@keyframes objFade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* v63 — la citazione "manifesto": fondo nero, virgolette giganti, "gestita" evidenziata, "subita" barrata, nastro che scorre */
.shot.is-manifesto { background: var(--ink); color: var(--white); padding: clamp(6rem, 12vw, 10rem) 0 0; display: block; overflow: hidden; }
.shot.is-manifesto .wrap { position: relative; }
.mf-mark { position: absolute; top: -.32em; left: calc(var(--pad) - .08em); font-family: var(--display); font-weight: 900; font-size: clamp(9rem, 22vw, 20rem); line-height: 1; color: var(--bri); pointer-events: none; }
.shot.is-manifesto blockquote { position: relative; font-weight: 900 !important; font-size: clamp(2.5rem, 7.2vw, 7.4rem); line-height: .98; letter-spacing: -.05em; max-width: 10.5em; padding-top: clamp(4.5rem, 10vw, 8.5rem); }
.shot.is-manifesto .w { opacity: .14; display: inline-block; transition: opacity .5s var(--ease), transform .6s var(--pop); transform: translateY(.18em); }
.shot.is-manifesto .w.on { opacity: 1; transform: none; }
.shot.is-manifesto .w.hot { color: var(--ink); background: linear-gradient(var(--bri), var(--bri)) 0 0 / 0% 100% no-repeat; padding: 0 .12em; margin: 0 -.04em; border-radius: .14em; transition: opacity .5s var(--ease), transform .6s var(--pop), background-size .7s var(--ease) .35s, color .3s .35s; color: var(--white); box-shadow: none; }
.shot.is-manifesto .w.hot.on { background-size: 100% 100%; color: var(--ink); }
.shot.is-manifesto .w.cold { position: relative; }
.shot.is-manifesto .w.cold::after { content: ''; position: absolute; left: -.04em; right: -.04em; top: 52%; height: .11em; background: var(--bri); border-radius: 99px; transform: scaleX(0) rotate(-3deg); transform-origin: left center; transition: transform .6s var(--pop) .45s; }
.shot.is-manifesto .w.cold.on { opacity: .5; }
.shot.is-manifesto .w.cold.on::after { transform: scaleX(1) rotate(-3deg); }
.shot.is-manifesto p { margin: clamp(2.5rem, 5vw, 4rem) 0 0 auto; max-width: 30rem; font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.65; color: rgba(255, 255, 255, .82); border-top: 3px solid var(--bri); padding-top: 1.4rem; }
.mf-band { margin-top: clamp(4rem, 8vw, 7rem); background: var(--bri); color: var(--ink); overflow: hidden; padding: 1.1rem 0; transform: rotate(-2deg) scale(1.04); transform-origin: center; margin-bottom: 2.2rem; }
.mf-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: tick 26s linear infinite; font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.03em; white-space: nowrap; text-transform: uppercase; }
.mf-track span { padding-right: 0; }
.mf-track .is-x { color: transparent; -webkit-text-stroke: 1.5px var(--ink); text-decoration: line-through; text-decoration-color: var(--ink); text-decoration-thickness: .08em; }
.mf-track i { width: .55em; height: .55em; background: var(--ink); border-radius: 50%; flex: none; }
@media (max-width: 860px) {
  .shot.is-manifesto blockquote { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .shot.is-manifesto p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shot.is-manifesto .w { opacity: 1; transform: none; }
  .shot.is-manifesto .w.hot { background-size: 100% 100%; color: var(--ink); }
  .shot.is-manifesto .w.cold::after { transform: scaleX(1) rotate(-3deg); }
  .mf-track { animation: none; }
}

/* v64 — negli hero il logo classico piatto al posto della scultura 3D, colorato in base al fondo */
.hero.is-pop { --logo-c: var(--bosco); }
.hero.is-pop.b-bosco, .hero.is-pop.b-ink { --logo-c: var(--bri); }
.hero-obj.is-flat { aspect-ratio: auto; }
.hero-obj.is-flat::before { display: none; }
.hero-logo { display: block; width: 100%; aspect-ratio: 440 / 336; background: var(--logo-c, var(--bosco)); -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; }
.hero.is-pop { --lw: min(38vw, 62svh); }
.hero.is-pop.is-inner { --lw: min(30vw, 50svh); }
.hero.is-pop .hero-obj.is-flat, .hero.is-pop.is-inner .hero-obj.is-flat { width: var(--lw); right: clamp(1.25rem, 5vw, 5rem); bottom: auto; top: calc(50% - var(--lw) * .38 + 2.5rem); }
.hero.is-pop .hero-badge { top: auto; bottom: clamp(2rem, 8vh, 4.5rem); right: calc(var(--lw) + clamp(1.25rem, 5vw, 5rem) - 3rem); }
@media (max-width: 860px) {
  .hero.is-pop .hero-obj.is-flat, .hero.is-pop.is-inner .hero-obj.is-flat { position: relative; top: auto; right: auto; width: 62vw; margin: 2rem -6vw 2.5rem auto; }
  .hero.is-pop .hero-badge { right: auto; left: var(--pad); bottom: 2.5rem; }
}
.hero.is-pop:not(.is-inner) { --lw: min(29vw, 52svh); }
@media (min-width: 861px) { .hero.is-pop .hero-txt { max-width: min(62%, 54rem); } }

/* v65 — anche nel riquadro finale il logo classico piatto, in verde acceso */
.cta .obj.cta-flat { aspect-ratio: auto; filter: none; --logo-c: var(--bri); width: min(100%, 17rem); }
@media (max-width: 860px) { .cta .obj.cta-flat { display: block; width: 9rem; justify-self: start; margin-top: 1rem; } }

/* v66 — Contatti: modulo in tre passi, motivo a schede, scheda recapiti scura e "cosa succede dopo" */
.ct-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ct-form { background: var(--white); border-radius: 1.8rem; padding: clamp(1.5rem, 3.5vw, 3.25rem); box-shadow: 0 30px 60px -30px rgba(0, 65, 35, .25); }
.ct-step { border: 0; margin: 0; padding: 0 0 clamp(1.75rem, 3vw, 2.5rem); min-width: 0; }
.ct-step + .ct-step { border-top: 1.5px dashed var(--rule); padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.ct-step legend { display: flex; align-items: center; gap: .9rem; padding: 0; margin-bottom: 1.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.85rem); letter-spacing: -.03em; color: var(--ink); }
.ct-n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--bosco); color: var(--bosco); font-size: .95rem; font-weight: 700; letter-spacing: 0; flex: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--pop); }
.ct-step:focus-within .ct-n { background: var(--bri); border-color: var(--bri); color: var(--bosco); transform: scale(1.12) rotate(-8deg); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.ct-grid .form-row:last-child { grid-column: 1 / -1; max-width: calc(50% - .625rem); }
.ct .form-row label { font-size: .9rem; font-weight: 600; color: var(--bosco); }
.ct-opt { font-weight: 400; opacity: .6; margin-left: .3rem; }
.ct .form-row input, .ct .form-row textarea { background: var(--paper); border: 2px solid transparent; border-radius: 1rem; padding: 1rem 1.15rem; font-size: 1.05rem; transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.ct .form-row input:hover, .ct .form-row textarea:hover { border-color: var(--rule); }
.ct .form-row input:focus, .ct .form-row textarea:focus { outline: none; background: var(--white); border-color: var(--bri); box-shadow: 0 0 0 5px rgba(0, 193, 97, .18); }
.ct .form-row input::placeholder, .ct .form-row textarea::placeholder { color: rgba(20, 23, 22, .38); }
.ct .form-row textarea { min-height: 11rem; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: .8rem; }
.ct-tile { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 3rem 1.15rem 1.2rem; border-radius: 1.1rem; border: 2px solid var(--rule); background: var(--white); cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), transform .35s var(--pop); }
.ct-tile:hover { border-color: var(--bosco); transform: translateY(-3px); }
.ct-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-tile::after { content: ''; position: absolute; top: 1.05rem; right: 1.05rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2px solid var(--rule); transition: all .3s var(--pop); }
.ct-t { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; line-height: 1.2; }
.ct-d { font-size: .88rem; opacity: .7; line-height: 1.4; }
.ct-tile:has(input:checked) { background: var(--bosco); border-color: var(--bosco); color: var(--white); transform: translateY(-3px); }
.ct-tile:has(input:checked)::after { border-color: var(--bri); background: var(--bri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23004123' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; transform: scale(1.15); }
.ct-tile:has(input:focus-visible) { outline: 3px solid var(--bri); outline-offset: 3px; }
.ct .form-consent { margin: 0 0 1.6rem; }
.ct-send { gap: .7rem; min-height: 3.8rem; padding: 1rem 2.2rem; font-size: 1.08rem; background: var(--bosco); border-color: var(--bosco); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--pop); }
.ct-send svg { width: 1.1rem; height: 1.1rem; transition: transform .35s var(--pop); }
.ct-send:hover { background: var(--bri); border-color: var(--bri); color: var(--bosco); transform: translateY(-3px) scale(1.03); }
.ct-send:hover svg { transform: translateX(5px); }
/* lato destro */
.ct-side { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }
.ct-card { position: relative; overflow: hidden; background: var(--bosco); color: var(--white); border-radius: 1.8rem; padding: clamp(1.6rem, 3vw, 2.4rem); }
.ct-card::after { content: ''; position: absolute; right: -2.5rem; bottom: -2.2rem; width: 9rem; aspect-ratio: 440 / 336; background: var(--bri); opacity: .14; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-12deg); pointer-events: none; }
.ct-k { font-size: .95rem; opacity: .8; margin-bottom: .6rem; }
.ct-mail { display: inline-block; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.4rem); letter-spacing: -.03em; color: var(--white); text-decoration: none; background: linear-gradient(var(--bri), var(--bri)) 0 100% / 100% 3px no-repeat; padding-bottom: .2rem; transition: background-size .35s var(--ease), color .25s; word-break: break-all; }
.ct-mail:hover { background-size: 100% 100%; color: var(--bosco); }
.ct-copy { display: block; margin-top: 1rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .4); color: var(--white); font-size: .88rem; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.ct-copy:hover, .ct-copy.is-done { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.ct-dl { margin: 1.6rem 0 0; display: grid; gap: 1rem; position: relative; z-index: 1; }
.ct-dl div { border-top: 1px solid var(--rule-inv); padding-top: 1rem; }
.ct-dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bri); font-weight: 700; margin-bottom: .3rem; }
.ct-dl dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.ct-dl a { color: var(--white); }
.ct-next { background: var(--bri); color: var(--bosco); border-radius: 1.8rem; padding: clamp(1.6rem, 3vw, 2.2rem); }
.ct-next h3 { font-family: var(--display); font-weight: 700 !important; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.ct-next ol { list-style: none; margin: 0; padding: 0; counter-reset: ct; display: grid; gap: .9rem; }
.ct-next li { counter-increment: ct; display: grid; grid-template-columns: 2rem 1fr; column-gap: .8rem; }
.ct-next li::before { content: counter(ct); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bosco); color: var(--bri); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .85rem; }
.ct-next b { font-weight: 700; font-size: 1rem; }
.ct-next span { font-size: .9rem; opacity: .85; }
.ct-legal { font-size: .8rem; opacity: .6; padding: 0 .4rem; }
@media (max-width: 899px) {
  .ct-in { grid-template-columns: 1fr; }
  .ct-side { position: static; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-grid .form-row:last-child { max-width: none; }
  .ct-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ct-tile, .ct-n, .ct-send { transition: none; transform: none !important; } }
.ct-step > legend { float: left; width: 100%%; }
.ct-step > legend + * { clear: both; }
.ct-mail { font-size: clamp(.95rem, 1.2vw, 1.15rem); word-break: normal; overflow-wrap: anywhere; }

/* v67 — Contatti: piccola mappa della sede (disegnata in CSS finché non si clicca) */
.ct-map { position: relative; margin-top: .9rem; height: 11rem; border-radius: 1.1rem; overflow: hidden; display: grid; place-items: center; align-content: center; gap: .55rem; background-color: #0a5230;
  background-image:
    linear-gradient(28deg, transparent 46%, rgba(255, 255, 255, .16) 46.5%, rgba(255, 255, 255, .16) 50%, transparent 50.5%),
    linear-gradient(-62deg, transparent 58%, rgba(255, 255, 255, .11) 58.5%, rgba(255, 255, 255, .11) 61%, transparent 61.5%),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, .06) 26px 28px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .06) 34px 36px); }
.ct-pin { width: 2.4rem; height: 2.4rem; color: var(--bri); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); animation: pinBob 2.4s ease-in-out infinite; }
.ct-pin svg { width: 100%; height: 100%; display: block; }
@keyframes pinBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ct-map-btn { padding: .5rem 1.05rem; border-radius: 999px; background: var(--bri); color: var(--bosco); font-weight: 700; font-size: .88rem; transition: background-color .25s, transform .35s var(--pop); }
.ct-map-btn:hover { background: var(--white); transform: scale(1.05); }
.ct-map-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.ct-map-note { font-size: .74rem; opacity: .7; margin: 0; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map.is-live > :not(iframe) { visibility: hidden; }
.ct-map-link { display: inline-block; margin-top: .6rem; font-size: .88rem; font-weight: 600; color: var(--bri) !important; text-decoration: none; }
.ct-map-link:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .ct-pin { animation: none; } }

/* v68 — Servizi, "Perché un tavolo unico": confronto Prima / Con Talento Company */
.tu-title { font-weight: 900 !important; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.05em; max-width: 14em; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tu-title em { font-style: normal; color: var(--bosco); background: linear-gradient(var(--bri), var(--bri)) 0 0 / 0% 100% no-repeat; padding: 0 .1em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s var(--ease) .5s; }
.tu-title.in em, html:not(.js) .tu-title em { background-size: 100% 100%; }
.tu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); align-items: stretch; }
.tu-card { position: relative; margin: 0; border-radius: 1.8rem; padding: clamp(1.4rem, 2.8vw, 2.4rem); display: flex; flex-direction: column; gap: 1.2rem; }
.tu-card.is-before { background: var(--paper); color: var(--ink); }
.tu-card.is-after { background: var(--bosco); color: var(--white); }
.tu-tag { align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .02em; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid currentColor; }
.is-after .tu-tag { background: var(--bri); color: var(--bosco); border-color: var(--bri); }
.tu-svg { width: 100%; height: auto; display: block; overflow: visible; }
.tu-svg text { font-family: var(--display); font-weight: 700; font-size: 15px; text-anchor: middle; letter-spacing: -.02em; }
.tu-card p { font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.65; margin: 0; }
.is-before p { color: rgba(20, 23, 22, .75); }
.is-after p { color: rgba(255, 255, 255, .85); }
.tu-out { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tu-out li { font-size: .85rem; font-weight: 700; padding: .4rem .85rem; border-radius: 999px; }
.is-before .tu-out li { background: rgba(20, 23, 22, .07); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(20, 23, 22, .45); color: rgba(20, 23, 22, .6); }
.is-after .tu-out li { background: rgba(0, 193, 97, .16); color: var(--bri); }
/* Prima: nodi sparsi, collegamenti interrotti */
.tu-broken path { fill: none; stroke: rgba(20, 23, 22, .25); stroke-width: 2; stroke-dasharray: 5 9; }
.tu-x path { fill: none; stroke: #c0392b; stroke-width: 2.5; stroke-linecap: round; opacity: .75; }
.tu-node rect { fill: var(--white); stroke: rgba(20, 23, 22, .22); stroke-width: 1.5; }
.tu-node text { fill: var(--ink); }
.tu-node.is-empty rect { fill: transparent; stroke-dasharray: 6 6; }
.tu-node.is-empty text { fill: rgba(20, 23, 22, .45); }
.tu-node { transform-box: fill-box; transform-origin: center; }
.tu-grid.in .tu-node { animation: tuDrift 5s ease-in-out infinite; }
.tu-grid.in .n2 { animation-delay: -1.2s; } .tu-grid.in .n3 { animation-delay: -2.5s; } .tu-grid.in .n4 { animation-delay: -3.7s; }
@keyframes tuDrift { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(4px, -5px) rotate(2deg); } }
/* Con noi: tutto collegato al centro */
.tu-stage { position: relative; }
.tu-links path { fill: none; stroke: var(--bri); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset .9s var(--ease); }
.tu-grid.in .tu-links path { stroke-dashoffset: 0; }
.tu-grid.in .tu-links path:nth-child(2) { transition-delay: .15s; } .tu-grid.in .tu-links path:nth-child(3) { transition-delay: .3s; } .tu-grid.in .tu-links path:nth-child(4) { transition-delay: .45s; }
.tu-hub { fill: var(--bri); }
.tu-hub-ring { fill: none; stroke: var(--bri); stroke-width: 1.5; opacity: .35; transform-box: fill-box; transform-origin: center; }
.tu-grid.in .tu-hub-ring { animation: tuPulse 2.6s ease-out infinite 1s; }
@keyframes tuPulse { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.tu-spoke rect { fill: var(--white); }
.tu-spoke text { fill: var(--bosco); }
.tu-spoke { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .6s var(--pop); }
.tu-grid.in .tu-spoke { opacity: 1; transform: none; }
.tu-grid.in .s1 { transition-delay: .7s; } .tu-grid.in .s2 { transition-delay: .82s; } .tu-grid.in .s3 { transition-delay: .94s; } .tu-grid.in .s4 { transition-delay: 1.06s; }
.tu-logo { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 440 / 336; transform: translate(-50%, -50%); background: var(--bosco); -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; }
html:not(.js) .tu-spoke { opacity: 1; transform: none; } html:not(.js) .tu-links path { stroke-dashoffset: 0; }
@media (max-width: 860px) { .tu-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .tu-node, .tu-hub-ring { animation: none !important; }
  .tu-spoke { opacity: 1; transform: none; transition: none; }
  .tu-links path { stroke-dashoffset: 0; transition: none; }
}
.tu-svg text { font-size: 12.5px; }

/* v69 — Servizi coerente: stesso titolo, stesse pillole, stesso evidenziatore in ogni sezione */
.ar-title { font-weight: 900 !important; font-size: clamp(2.1rem, 4.8vw, 4.4rem); line-height: 1; letter-spacing: -.05em; max-width: 14em; }
.ar-title em { font-style: normal; color: var(--bosco); background: linear-gradient(var(--bri), var(--bri)) 0 0 / 0% 100% no-repeat; padding: 0 .1em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s var(--ease) .5s; }
.ar-title.in em, html:not(.js) .ar-title em { background-size: 100% 100%; }
/* le quattro aree */
.ar { color: var(--white); }
.ar-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ar-head { position: sticky; top: 7.5rem; }
.ar .ar-title { color: var(--white); font-size: clamp(2rem, 3.8vw, 3.6rem); }
.ar-nav { display: grid; gap: .55rem; margin-top: 2.2rem; }
.ar-nav a { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 999px; border: 1.5px solid var(--rule-inv); color: rgba(255, 255, 255, .75); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--pop); }
.ar-nav b { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: .78rem; transition: background-color .3s, color .3s; }
.ar-nav a:hover { border-color: var(--bri); color: var(--white); }
.ar-nav a.is-on { background: var(--white); border-color: var(--white); color: var(--bosco); transform: translateX(6px); }
.ar-nav a.is-on b { background: var(--bri); color: var(--bosco); }
.ar-list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.ar-item { scroll-margin-top: 7rem; background: rgba(255, 255, 255, .05); border: 1.5px solid var(--rule-inv); border-radius: 1.8rem; padding: clamp(1.6rem, 3.2vw, 2.8rem); opacity: 0; transform: translateY(2rem); transition: opacity .7s var(--ease), transform .9s var(--ease), border-color .4s; }
.ar-item.in, html:not(.js) .ar-item { opacity: 1; transform: none; }
.ar-item:hover { border-color: rgba(0, 193, 97, .6); }
.ar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.ar-num { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.05em; color: var(--bri); }
.ar-ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--bri); color: var(--bosco); }
.ar-ico svg { width: 1.5rem; height: 1.5rem; }
.ar-item h3 { font-family: var(--display); font-weight: 900 !important; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 1rem; }
.ar-item p { color: rgba(255, 255, 255, .84); font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.7; max-width: 46rem; }
.ar-chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ar-chips li { font-size: .88rem; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; background: var(--white); color: var(--bosco); line-height: 1.3; }
/* citazione: manifesto su verde acceso, come quella della home */
.shot.is-manifesto.is-bri { background: var(--bri); color: var(--ink); }
.is-manifesto.is-bri .mf-mark { color: var(--bosco); }
.is-manifesto.is-bri .w.hot { color: var(--ink); background-image: linear-gradient(var(--white), var(--white)); }
.is-manifesto.is-bri .w.hot.on { color: var(--bosco); }
.shot.is-manifesto.is-bri p { color: rgba(20, 23, 22, .8); border-top-color: var(--bosco); }
.is-manifesto.is-bri .mf-band { background: var(--bosco); color: var(--bri); }
.is-manifesto.is-bri .mf-track i { background: var(--bri); }
/* riquadro finale: pillole che portano al modulo con il motivo già scelto */
.ar-cta { position: relative; overflow: hidden; color: var(--white); }
.ar-cta .ar-title { color: var(--white); max-width: 12em; position: relative; z-index: 1; }
.ar-cta-p { margin-top: 1.6rem; max-width: 34rem; color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 1.2vw, 1.12rem); position: relative; z-index: 1; }
.ar-pills { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; position: relative; z-index: 1; max-width: 52rem; }
.ar-pills a { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--rule-inv); color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(.9rem, 1.1vw, 1.02rem); letter-spacing: -.02em; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--pop); }
.ar-pills a svg { width: 1rem; height: 1rem; transition: transform .35s var(--pop); }
.ar-pills a:first-child { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.ar-pills a:hover { background: var(--white); border-color: var(--white); color: var(--bosco); transform: translateY(-3px); }
.ar-pills a:hover svg { transform: translateX(4px); }
.ar-cta-logo { position: absolute; right: clamp(-4rem, -3vw, -1rem); bottom: -3rem; width: clamp(12rem, 26vw, 24rem); aspect-ratio: 440 / 336; background: var(--bri); opacity: .12; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-10deg); pointer-events: none; }
/* il disegno "Con Talento Company" porta alle aree */
.tu-link { cursor: pointer; }
.tu-link:hover rect, .tu-link:focus-visible rect { fill: var(--bri); }
.tu-link:focus-visible { outline: none; }
@media (max-width: 899px) {
  .ar-in { grid-template-columns: 1fr; }
  .ar-head { position: static; }
  .ar-nav { display: flex; flex-wrap: wrap; margin-top: 1.5rem; }
  .ar-nav a.is-on { transform: none; }
  .ar-pills a { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .ar-item { opacity: 1; transform: none; transition: none; } }

/* v70 — "Cosa facciamo, nel concreto" in colori neutri: carta, bianco, inchiostro; il verde solo come accento */
.ar.is-neutral { color: var(--ink); }
.ar.is-neutral .ar-title { color: var(--ink); }
.ar.is-neutral .ar-nav a { border-color: var(--rule); color: rgba(20, 23, 22, .6); background: transparent; }
.ar.is-neutral .ar-nav b { background: rgba(20, 23, 22, .06); color: var(--ink); }
.ar.is-neutral .ar-nav a:hover { border-color: var(--ink); color: var(--ink); }
.ar.is-neutral .ar-nav a.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ar.is-neutral .ar-nav a.is-on b { background: var(--white); color: var(--ink); }
.ar.is-neutral .ar-item { background: var(--white); border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(20, 23, 22, .03); }
.ar.is-neutral .ar-item:hover { border-color: rgba(20, 23, 22, .3); }
.ar.is-neutral .ar-num { color: transparent; -webkit-text-stroke: 1.5px var(--ink); opacity: .85; }
.ar.is-neutral .ar-ico { background: var(--paper); color: var(--bosco); border: 1px solid var(--rule); }
.ar.is-neutral .ar-item h3 { color: var(--ink); }
.ar.is-neutral .ar-item p { color: rgba(20, 23, 22, .72); }
.ar.is-neutral .ar-chips li { background: var(--paper); color: var(--ink); font-weight: 500; border: 1px solid var(--rule); }
.ar.is-neutral .ar-chips li::before { content: ''; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--bri); margin-right: .5rem; vertical-align: .1em; }

/* v71 — Servizi: "Perché un tavolo unico" e le quattro aree diventano un unico racconto, in colori neutri */
.ar.is-story .ar-item.tu-grid { display: block; }
.ar.is-story .ar-item > * + * { margin-top: 1.1rem; }
.ar.is-story .ar-item h3 + .tu-svg, .ar.is-story .ar-item h3 + .tu-stage { margin-top: 1.6rem; }
.ar.is-story .tu-out { margin-top: 1.5rem; }
.ar-chap { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .02em; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); }
.ar-chap.is-on { background: var(--ink); color: var(--white); }
.ar-nav-sep { display: block; margin: .9rem 0 .2rem .4rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(20, 23, 22, .45); }
.ar.is-neutral .ar-nav b { font-size: .7rem; }
.ar-chapter { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.045em; line-height: 1.02; color: var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem) 0 .5rem; }
.ar-chapter em { font-style: normal; color: var(--bosco); background: linear-gradient(var(--bri), var(--bri)) 0 0 / 0% 100% no-repeat; padding: 0 .1em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s var(--ease) .4s; }
.ar-chapter.in em, html:not(.js) .ar-chapter em { background-size: 100% 100%; }
/* il problema: tutto un po' spento */
.ar.is-story .is-before { background: #faf9f6; }
.ar.is-story .is-before .tu-out li { background: rgba(20, 23, 22, .06); }
/* la risposta: stessa scheda bianca, il verde solo nel disegno */
.ar.is-story .is-after .tu-spoke rect { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; }
.ar.is-story .is-after .tu-spoke text { fill: var(--ink); }
.ar.is-story .is-after .tu-link:hover rect, .ar.is-story .is-after .tu-link:focus-visible rect { fill: var(--bri); stroke: var(--bri); }
.ar.is-story .is-after .tu-links path { stroke: var(--bosco); stroke-width: 2; }
.ar.is-story .is-after .tu-hub { fill: var(--bri); }
.ar.is-story .is-after .tu-hub-ring { stroke: var(--bosco); }
.ar.is-story .is-after .tu-out li { background: var(--paper); border: 1px solid var(--rule); color: var(--ink); font-weight: 600; }
.ar.is-story .is-after .tu-out li::before { content: ''; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--bri); margin-right: .5rem; vertical-align: .1em; }
.ar.is-story .tu-svg, .ar.is-story .tu-stage { max-width: 34rem; margin-left: auto; margin-right: auto; }
@media (max-width: 899px) { .ar-nav-sep { flex-basis: 100%; margin: .4rem 0 0; } }
@media (max-width: 899px) {
  .ar-nav { flex-wrap: nowrap; overflow-x: auto; gap: .45rem; margin: 1.4rem calc(-1 * var(--pad)) 0; padding: 0 var(--pad) .4rem; scrollbar-width: none; }
  .ar-nav::-webkit-scrollbar { display: none; }
  .ar-nav a { flex: none; padding: .45rem .9rem .45rem .45rem; font-size: .86rem; }
  .ar-nav b { width: 1.7rem; height: 1.7rem; }
  .ar-nav-sep { display: none; }
}
.ar-head, .ar-list { min-width: 0; }

/* v72 — schede delle aree: al posto delle icone, le immagini del sito preparate su Canva */
.ar-pic { position: relative; margin: calc(-1 * clamp(1.6rem, 3.2vw, 2.8rem)) calc(-1 * clamp(1.6rem, 3.2vw, 2.8rem)) 1.6rem; border-radius: 1.8rem 1.8rem 0 0; overflow: hidden; aspect-ratio: 21 / 8; background: var(--bosco); }
.ar-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.ar-item:hover .ar-pic img { transform: scale(1.09); }
.ar-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 14, 12, .55)); }
.ar.is-neutral .ar-pic .ar-num { position: absolute; left: clamp(1.4rem, 2.8vw, 2.4rem); bottom: .9rem; z-index: 1; color: var(--white); -webkit-text-stroke: 0; opacity: 1; }
@media (max-width: 899px) { .ar-pic { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .ar-pic img { transition: none; } }

/* v73 — icone delle aree ridisegnate: tratto pulito inchiostro, un dettaglio pieno in verde, su tessera chiara */
.ar.is-neutral .ar-ico.is-new { width: 4rem; height: 4rem; border-radius: 1.2rem; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); transition: transform .45s var(--pop), background-color .3s var(--ease); }
.ar-ico.is-new svg { width: 2.2rem; height: 2.2rem; overflow: visible; }
.ar-ico.is-new .ic-fill { fill: var(--bri); stroke: none; }
.ar.is-neutral .ar-item:hover .ar-ico.is-new { transform: rotate(-6deg) scale(1.06); background: var(--menta); }
@media (prefers-reduced-motion: reduce) { .ar.is-neutral .ar-item:hover .ar-ico.is-new { transform: none; } }

/* v74 — citazione di Servizi sobria: fondo bianco, testo centrato e misurato, solo "protetto" sottolineato in verde */
.shot.is-quiet, .blk.shot.is-quiet { background: var(--white); color: var(--ink); min-height: 0; display: block; padding: clamp(5rem, 10vw, 8.5rem) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.shot.is-quiet::after { display: none; }
.qt { margin: 0 auto; max-width: 52rem; text-align: center; }
.qt-mark { display: block; font-family: var(--display); font-weight: 500; font-size: 4.5rem; line-height: .6; color: var(--bri); margin-bottom: 1.2rem; }
.shot.is-quiet blockquote { font-family: var(--display); font-weight: 500 !important; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.28; letter-spacing: -.025em; max-width: none; margin: 0 auto; text-wrap: balance; }
.shot.is-quiet .w { opacity: .2; transition: opacity .6s var(--ease); }
.shot.is-quiet .w.on { opacity: 1; }
.shot.is-quiet .w.hot { color: var(--bosco); box-shadow: none; background: linear-gradient(var(--bri), var(--bri)) 0 100% / 0% 3px no-repeat; padding-bottom: .06em; transition: opacity .6s var(--ease), background-size .8s var(--ease) .3s; }
.shot.is-quiet .w.hot.on { background-size: 100% 3px; }
.qt figcaption { margin: 2.2rem auto 0; max-width: 34rem; font-size: 1.02rem; line-height: 1.7; color: rgba(20, 23, 22, .65); }
.qt figcaption::before { content: ''; display: block; width: 2.5rem; height: 2px; background: var(--bosco); margin: 0 auto 1.4rem; opacity: .4; }
@media (prefers-reduced-motion: reduce) { .shot.is-quiet .w { opacity: 1; } .shot.is-quiet .w.hot { background-size: 100% 3px; } }

/* v75 — anche la citazione della home in versione sobria: "gestita" sottolineata, "subita" barrata con un tratto leggero */
.shot.is-quiet.is-paper, .blk.shot.is-quiet.is-paper { background: var(--paper); }
.shot.is-quiet .w.cold { position: relative; }
.shot.is-quiet .w.cold::after { content: ''; position: absolute; left: 0; right: 0; top: 55%; height: 2px; background: rgba(20, 23, 22, .55); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .5s; }
.shot.is-quiet .w.cold.on { opacity: .55; }
.shot.is-quiet .w.cold.on::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .shot.is-quiet .w.cold::after { transform: scaleX(1); } }

/* v76 — Chi siamo, "Dal 2021, a Roma": titolo con evidenziatore, tre dati, testo, le quattro figure con le icone delle aree */
.ab { color: var(--ink); }
.ab-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ab .ar-title { color: var(--ink); }
.ab-facts { margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.ab-facts div { padding: 0 1.6rem; border-left: 1px solid var(--rule); }
.ab-facts div:first-child { padding-left: 0; border-left: 0; }
.ab-facts dt { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.04em; line-height: 1; color: var(--bosco); }
.ab-facts dd { margin: .45rem 0 0; font-size: .85rem; color: rgba(20, 23, 22, .6); }
.ab-lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.ab-txt p:not(.ab-lead) { margin-top: 1.5rem; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.75; color: rgba(20, 23, 22, .72); }
.ab-k { margin: clamp(3.5rem, 6vw, 5rem) 0 1.2rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(20, 23, 22, .5); }
.ab-pros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.5vw, 1.2rem); }
.ab-pro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--rule); border-radius: 1.6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: -.02em; line-height: 1.2; transition: border-color .3s var(--ease), transform .4s var(--pop); }
.ab-pro:hover { border-color: rgba(20, 23, 22, .3); transform: translateY(-4px); }
.ab-pro:hover .ar-ico.is-new { transform: rotate(-6deg) scale(1.06); background: var(--menta); }
@media (max-width: 899px) {
  .ab-top { grid-template-columns: 1fr; }
  .ab-pros { grid-template-columns: 1fr 1fr; }
  .ab-facts div { padding: 0 1rem; }
}
@media (max-width: 480px) { .ab-pro { padding: 1.1rem; font-size: .95rem; } }

/* v78 — Chi siamo, "Il nostro network": titolo + testo a sinistra, schema della rete a destra */
.nw { color: var(--ink); overflow: hidden; }
.nw-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nw .ar-title { color: var(--ink); max-width: 11em; }
.nw-txt > p { margin-top: 1.8rem; max-width: 32rem; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; color: rgba(20, 23, 22, .72); opacity: 0; transform: translateY(1rem); transition: opacity .7s var(--ease) .2s, transform .8s var(--ease) .2s; }
.nw-txt > p.in, html:not(.js) .nw-txt > p { opacity: 1; transform: none; }
.nw-tags { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nw-tags li { font-size: .88rem; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); }
.nw-tags li::before { content: ''; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--bri); margin-right: .5rem; vertical-align: .1em; }
.nw-stage { position: relative; width: 100%; max-width: 34rem; justify-self: center; }
.nw-svg { width: 100%; height: auto; display: block; overflow: visible; }
.nw-svg text { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: -.02em; text-anchor: middle; fill: var(--ink); }
.nw-ring { fill: none; stroke: rgba(20, 23, 22, .18); stroke-width: 1.2; stroke-dasharray: 3 7; }
.nw-dots { fill: rgba(20, 23, 22, .22); transform-origin: 250px 250px; }
.nw-dots circle:nth-child(3n) { fill: var(--bri); }
.nw-stage.in .nw-dots { animation: nwSpin 60s linear infinite; }
@keyframes nwSpin { to { transform: rotate(360deg); } }
.nw-lines path { fill: none; stroke: var(--bosco); stroke-width: 1.6; stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1s var(--ease); }
.nw-stage.in .nw-lines path { stroke-dashoffset: 0; }
.nw-stage.in .nw-lines path:nth-child(2) { transition-delay: .12s; } .nw-stage.in .nw-lines path:nth-child(3) { transition-delay: .24s; } .nw-stage.in .nw-lines path:nth-child(4) { transition-delay: .36s; }
.nw-hub { fill: var(--white); stroke: var(--rule); stroke-width: 1.2; }
.nw-node rect { fill: var(--white); stroke: rgba(20, 23, 22, .2); stroke-width: 1.2; }
.nw-node { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease), transform .6s var(--pop); }
.nw-stage.in .nw-node { opacity: 1; transform: none; }
.nw-stage.in .n1 { transition-delay: .6s; } .nw-stage.in .n2 { transition-delay: .72s; } .nw-stage.in .n3 { transition-delay: .84s; } .nw-stage.in .n4 { transition-delay: .96s; }
.nw-logo { position: absolute; left: 50%; top: 50%; width: 13%; aspect-ratio: 440 / 336; transform: translate(-50%, -50%); background: var(--bosco); -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; }
html:not(.js) .nw-node { opacity: 1; transform: none; } html:not(.js) .nw-lines path { stroke-dashoffset: 0; }
@media (max-width: 899px) { .nw-in { grid-template-columns: 1fr; } .nw-stage { max-width: 30rem; } }
@media (prefers-reduced-motion: reduce) { .nw-stage.in .nw-dots { animation: none; } .nw-node { opacity: 1; transform: none; transition: none; } .nw-lines path { stroke-dashoffset: 0; transition: none; } .nw-txt > p { opacity: 1; transform: none; } }

/* v79 — In evidenza (home e pagina): schede articolo con copertina, stesso stile neutro del resto */
.nx { color: var(--ink); }
.nx .ar-title { color: var(--ink); }
.nx-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.nx-all { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.nx-all svg { width: 1rem; height: 1rem; transition: transform .35s var(--pop); }
.nx-all:hover { background: var(--ink); color: var(--white); }
.nx-all:hover svg { transform: translateX(4px); }
.nc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.nc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 1.8rem; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .3s var(--ease), transform .45s var(--pop), box-shadow .3s var(--ease); }
.nc[hidden] { display: none; }
.nc:hover { border-color: rgba(20, 23, 22, .28); transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(20, 23, 22, .35); }
.nc-pic { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bosco); }
.nc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.nc:hover .nc-pic img { transform: scale(1.05); }
.nc-body { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.4rem, 2.6vw, 2.1rem); flex: 1; }
.nc-meta { font-size: .85rem; font-weight: 600; color: rgba(20, 23, 22, .55); }
.nc h3 { font-family: var(--display); font-weight: 700 !important; font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.18; letter-spacing: -.03em; }
.nc p { font-size: 1rem; line-height: 1.65; color: rgba(20, 23, 22, .7); }
.nc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.nc-tag { font-size: .8rem; font-weight: 600; padding: .38rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); }
.nc-tag::before { content: ''; display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: var(--bri); margin-right: .45rem; vertical-align: .1em; }
.nc-go { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--bosco); }
.nc-go svg { width: 1rem; height: 1rem; transition: transform .35s var(--pop); }
.nc:hover .nc-go svg { transform: translateX(5px); }
/* pagina: barra con conteggio e filtri */
.nx-bar { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.nx-count { font-size: .9rem; color: rgba(20, 23, 22, .6); }
.nx-count b { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--ink); margin-right: .25rem; }
.nx .nx-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.nx .nx-filter button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); font-weight: 600; font-size: .88rem; transition: background-color .2s, color .2s, border-color .2s; }
.nx .nx-filter button:hover { border-color: var(--ink); }
.nx .nx-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.nx .small-note { margin-top: 1.5rem; padding: 1.5rem; border-radius: 1.4rem; background: var(--white); border: 1px dashed var(--rule); text-align: center; color: rgba(20, 23, 22, .6); }
@media (max-width: 899px) { .nx .nx-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) .3rem; scrollbar-width: none; } .nx .nx-filter::-webkit-scrollbar { display: none; } .nx .nx-filter button { flex: none; } }
@media (prefers-reduced-motion: reduce) { .nc, .nc-pic img { transition: none; } .nc:hover { transform: none; } .nc:hover .nc-pic img { transform: none; } }

/* v80 — In evidenza: con pochi articoli le schede riempiono la riga */
.nc-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* v80 — rete di Chi siamo: impulsi lungo le linee, onda dal centro, anello che gira, nodi che ondeggiano */
.nw-flow path { fill: none; stroke: var(--bri); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 7 161; stroke-dashoffset: 7; opacity: 0; }
.nw-stage.in .nw-flow path { opacity: 1; animation: nwFlow 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.nw-stage.in .nw-flow path:nth-child(1) { animation-delay: 1.3s; }
.nw-stage.in .nw-flow path:nth-child(2) { animation-delay: 2s; animation-direction: reverse; }
.nw-stage.in .nw-flow path:nth-child(3) { animation-delay: 2.7s; }
.nw-stage.in .nw-flow path:nth-child(4) { animation-delay: 3.4s; animation-direction: reverse; }
@keyframes nwFlow { from { stroke-dashoffset: 7; } to { stroke-dashoffset: -161; } }
.nw-pulse { fill: none; stroke: var(--bri); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.nw-stage.in .nw-pulse { animation: nwPulse 3.6s ease-out infinite 1.4s; }
.nw-stage.in .nw-pulse.p2 { animation-delay: 3.2s; }
@keyframes nwPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.nw-ring.r1 { transform-box: view-box; transform-origin: 250px 250px; }
.nw-stage.in .nw-ring.r1 { animation: nwSpin 40s linear infinite reverse; }
.nw-stage.in .nw-node { animation: nwBob 5s ease-in-out infinite; }
.nw-stage.in .n1 { animation-delay: 1.2s; } .nw-stage.in .n2 { animation-delay: 2.4s; } .nw-stage.in .n3 { animation-delay: 1.8s; } .nw-stage.in .n4 { animation-delay: 3s; }
@keyframes nwBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.nw-node rect { transition: fill .25s var(--ease), stroke .25s var(--ease); }
.nw-node:hover rect { fill: var(--menta); stroke: var(--bosco); }
.nw-node { cursor: default; }
@media (prefers-reduced-motion: reduce) { .nw-stage.in .nw-flow path, .nw-stage.in .nw-pulse, .nw-stage.in .nw-ring.r1, .nw-stage.in .nw-node { animation: none; } .nw-flow path { opacity: 0; } }

/* v81 — In evidenza in home: carosello orizzontale */
.nx-slider { position: relative; }
.nx-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(36rem, 82vw); column-gap: clamp(1rem, 2vw, 1.6rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding: .4rem .2rem 1.6rem; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; outline: none; }
.nx-track::-webkit-scrollbar { display: none; }
.nx-track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.nx-track.is-drag .nc { pointer-events: none; }
.nx-track .nc { scroll-snap-align: start; }
.nx-track .nc img { -webkit-user-drag: none; user-select: none; }
.nx-track:focus-visible { box-shadow: inset 0 0 0 2px var(--bri); border-radius: 1rem; }
.nc-end { justify-content: flex-end; gap: .8rem; padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--ink); color: var(--white); border-color: var(--ink); min-height: 22rem; }
.nc-end-k { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bri); }
.nc-end-t { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.045em; }
.nc-end .nc-go { color: var(--bri); margin-top: .6rem; }
.nc-end:hover { border-color: var(--ink); }
.nx-ctrl { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.nx-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background-color .25s, color .25s, opacity .25s, transform .35s var(--pop); }
.nx-btn svg { width: 1.1rem; height: 1.1rem; }
.nx-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); transform: scale(1.06); }
.nx-btn:disabled { opacity: .25; cursor: default; }
.nx-bar-p { flex: 1; height: 3px; border-radius: 99px; background: rgba(20, 23, 22, .12); overflow: hidden; }
.nx-bar-p span { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: inherit; transition: width .3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .nx-bar-p span { transition: none; } }

/* v82 — annuncio Avvocato/a: frase finale e nota pari opportunità */
.job-body p + p { margin-top: .9rem; }
.job-cta-p { margin-top: 1.75rem; font-weight: 600; }
.job-body .job-cta-p + a { margin-top: 1rem; }
.job-note { margin-top: 1.6rem; font-size: .82rem; line-height: 1.6; color: rgba(20, 23, 22, .55); max-width: 40rem; }

/* v83 — Lavora con noi: valori con icone, posizioni come schede che si aprono, candidatura spontanea */
.lv { color: var(--ink); }
.lv .ar-title { color: var(--ink); }
.lv-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.lv-p { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; color: rgba(20, 23, 22, .72); }
.lv .ab-k { margin: 0 0 1rem; }
.lv-vals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.lv-val { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--rule); border-radius: 1.5rem; transition: transform .4s var(--pop), border-color .3s; }
.lv-val:hover { transform: translateY(-4px); border-color: rgba(20, 23, 22, .3); }
.lv-val:hover .ar-ico.is-new { transform: rotate(-6deg) scale(1.06); background: var(--menta); }
.lv-val-t { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
/* posizioni */
.jb-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.jb-count { font-size: .92rem; color: rgba(20, 23, 22, .6); }
.jb-count b { font-family: var(--display); font-weight: 900; font-size: 1.4rem; color: var(--ink); margin-right: .2rem; }
.jb-list { display: grid; gap: .9rem; }
.jb { background: var(--paper); border: 1px solid var(--rule); border-radius: 1.6rem; overflow: hidden; transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.jb:hover { border-color: rgba(20, 23, 22, .3); }
.jb[open] { background: var(--white); box-shadow: 0 24px 50px -32px rgba(20, 23, 22, .4); border-color: rgba(20, 23, 22, .25); }
.jb summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.1rem, 2.4vw, 1.8rem); }
.jb summary::-webkit-details-marker { display: none; }
.jb summary:focus-visible { outline: 3px solid var(--bri); outline-offset: -3px; border-radius: 1.6rem; }
.lv .jb .ar-ico.is-new { background: var(--white); }
.jb[open] .ar-ico.is-new { background: var(--menta); }
.jb-head { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.jb-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.jb-tag { font-size: .76rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: rgba(20, 23, 22, .75); }
.jb-tag:first-child { background: var(--ink); border-color: var(--ink); color: var(--white); }
.jb-title { font-family: var(--display); font-weight: 900; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.04em; line-height: 1.05; }
.jb-teaser { font-size: .95rem; line-height: 1.5; color: rgba(20, 23, 22, .62); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 48rem; }
.jb[open] .jb-teaser { display: none; }
.jb-open { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .25s, color .25s, transform .45s var(--pop); }
.jb-open svg { width: 1.1rem; height: 1.1rem; }
.jb summary:hover .jb-open { background: var(--ink); color: var(--white); }
.jb[open] .jb-open { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.jb-body { padding: 0 clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.4rem, 2.6vw, 2rem); padding-left: calc(clamp(1.1rem, 2.4vw, 1.8rem) + 4rem + 1.2rem); animation: jbIn .5s var(--ease); }
@keyframes jbIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.jb-body h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bosco); margin: 0 0 .7rem; }
.jb-intro p, .jb-part.is-text p { font-size: 1rem; line-height: 1.75; color: rgba(20, 23, 22, .78); max-width: 46rem; }
.jb-intro p + p, .jb-part.is-text p + p { margin-top: .8rem; }
.jb-part.is-text, .jb-intro { margin-bottom: 1.6rem; }
.jb-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin: .4rem 0 1.6rem; }
.jb-lists .jb-part { background: var(--paper); border-radius: 1.2rem; padding: 1.3rem 1.4rem; }
.jb-lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.jb-lists li { position: relative; padding-left: 1.6rem; font-size: .95rem; line-height: 1.5; }
.jb-lists li::before { content: ''; position: absolute; left: 0; top: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--bri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23004123' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.jb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.jb-foot .job-cta-p { margin: 0; }
.jb-foot .job-apply { margin: 0; display: inline-flex; align-items: center; padding: .9rem 1.6rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; transition: background-color .25s, color .25s, transform .35s var(--pop); }
.jb-foot .job-apply:hover { background: var(--bri); color: var(--bosco); transform: translateY(-2px); }
.jb .job-note { margin-top: 1.4rem; }
/* candidatura spontanea */
.jb-spont { margin-top: clamp(1.4rem, 3vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.6rem; background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.jb-spont::after { content: ''; position: absolute; right: -2rem; bottom: -2.4rem; width: 10rem; aspect-ratio: 440 / 336; background: var(--bri); opacity: .12; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-10deg); pointer-events: none; }
.jb-spont > div { position: relative; z-index: 1; max-width: 44rem; }
.jb-spont-k { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bri); margin-bottom: .5rem; }
.jb-spont-t { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.jb-spont-t a { color: var(--white) !important; }
.jb-spont-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; background: var(--bri); color: var(--bosco); font-weight: 700; text-decoration: none; transition: background-color .25s, transform .35s var(--pop); }
.jb-spont-btn svg { width: 1rem; height: 1rem; }
.jb-spont-btn:hover { background: var(--white); transform: translateY(-2px); }
.jb-legal { margin-top: 1.4rem; }
@media (max-width: 899px) {
  .lv-in { grid-template-columns: 1fr; align-items: start; }
  .lv-vals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jb summary { grid-template-columns: minmax(0, 1fr) auto; }
  .jb summary > .ar-ico { display: none; }
  .jb-body { padding-left: clamp(1.1rem, 2.4vw, 1.8rem); }
}
@media (max-width: 480px) { .lv-vals { grid-template-columns: 1fr; } .lv-val { flex-direction: row; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .jb-body { animation: none; } .jb-open { transition: none; } }
.lv-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.lv-val-t { font-size: clamp(.9rem, 1.1vw, 1.02rem); overflow-wrap: anywhere; }
@media (max-width: 899px) { .lv-in { grid-template-columns: 1fr; } }

/* v86 — Lavora con noi: selezioni concluse, in archivio */
.jb-arch { margin-top: clamp(2rem, 4vw, 3rem); }
.jb-arch .ab-k { margin: 0 0 .8rem; }
.jb-arch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.jb-done { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .5rem 1.5rem; padding: 1rem .2rem; border-bottom: 1px solid var(--rule); color: rgba(20, 23, 22, .5); }
.jb-done-t { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(20, 23, 22, .3); }
.jb-done-m { font-size: .85rem; }
.jb-done-b { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; background: var(--menta); color: var(--bosco); white-space: nowrap; }
.jb-done-b svg { width: .9rem; height: .9rem; }
.jb-arch-note { margin-top: .9rem; font-size: .88rem; color: rgba(20, 23, 22, .55); }
@media (max-width: 640px) { .jb-done { grid-template-columns: 1fr auto; } .jb-done-m { grid-column: 1; grid-row: 2; } .jb-done-b { grid-row: 1 / span 2; grid-column: 2; } }

/* v87 — menu meno anonimo */
.hd-in { transition: height .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), max-width .45s var(--ease); }
.hd.is-compact .hd-in { height: 3.5rem; box-shadow: 0 14px 40px rgba(20, 23, 22, .16); }
.hd-nav ul { position: relative; gap: .2rem; padding: .3rem; border-radius: 999px; background: rgba(20, 23, 22, .05); }
.hd.on-dark .hd-nav ul { background: rgba(255, 255, 255, .08); }
.hd-nav li { position: relative; z-index: 1; }
.hd-nav a { display: block; padding: .5rem 1rem; border: 0 !important; border-radius: 999px; font-weight: 600; font-size: .9rem; color: inherit; transition: color .3s var(--ease); }
.hd-nav a[aria-current="page"], .hd-nav a:hover { border: 0; }
.hd-ind { position: absolute; z-index: 0; left: 0; top: .3rem; bottom: .3rem; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; pointer-events: none; transition: transform .45s var(--pop), width .45s var(--pop), opacity .25s; }
.hd-nav a.is-hot { color: var(--white); }
.hd.on-dark .hd-ind { background: var(--bri); }
.hd.on-dark .hd-nav a.is-hot { color: var(--bosco); }
.hd .hd-right .btn { gap: .5rem; }
.hd .hd-right .btn::after { content: '→'; display: inline-block; transition: transform .35s var(--pop); }
.hd .hd-right .btn:hover::after { transform: translateX(4px); }
.hd-toggle { border-radius: 50%; background: var(--ink); color: var(--white); width: 2.8rem; height: 2.8rem; transition: transform .35s var(--pop), background-color .25s; }
.hd-toggle:hover { transform: scale(1.06); }
.hd.on-dark .hd-toggle { background: var(--bri); color: var(--bosco); }
.hd-toggle svg { width: 1.3rem; height: 1.3rem; }
/* menu mobile */
.mm, .mm.is-open { display: flex; }
.mm { visibility: hidden; clip-path: circle(0 at var(--ox, calc(100% - 2.5rem)) var(--oy, 2.5rem)); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .6s; overflow-y: auto; }
.mm.is-open { visibility: visible; clip-path: circle(150% at var(--ox, calc(100% - 2.5rem)) var(--oy, 2.5rem)); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mm::after { content: ''; position: absolute; right: -3rem; bottom: 6rem; width: 16rem; aspect-ratio: 440 / 336; background: var(--bri); opacity: .08; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-12deg); pointer-events: none; }
.mm-close { border-radius: 50%; background: var(--bri); color: var(--bosco); }
.mm-body ul { counter-reset: mm; }
.mm-body li { counter-increment: mm; border-bottom-color: rgba(255, 255, 255, .12); opacity: 0; transform: translateY(1.2rem); transition: opacity .45s var(--ease), transform .55s var(--pop); }
.mm.is-open .mm-body li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * 60ms); }
.mm-body li a { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; font-weight: 900; font-size: clamp(1.6rem, 7.5vw, 2.3rem); letter-spacing: -.045em; transition: color .25s, padding-left .35s var(--pop); }
.mm-body li a::before { content: counter(mm, decimal-leading-zero); font-size: .8rem; font-weight: 700; letter-spacing: 0; color: var(--bri); min-width: 1.6rem; }
.mm-body li a:hover { padding-left: .4rem; color: var(--bri); }
.mm-body li a[aria-current="page"] { color: var(--bri); }
.mm-body > .btn { margin-top: 2rem; opacity: 0; transition: opacity .5s var(--ease) .6s; }
.mm.is-open .mm-body > .btn { opacity: 1; }
.mm-foot { display: grid; gap: .3rem; margin-top: 1.2rem; font-size: .9rem; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }
.mm-foot a { color: var(--white); font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .mm, .mm.is-open { transition: none; } .mm-body li, .mm-body > .btn { opacity: 1; transform: none; transition: none; } .hd-ind { transition: opacity .2s; } }

/* v88 — menu del telefono più pulito: via i numeri, freccia a destra, pallino verde sulla pagina attuale */
.mm-body li a::before { content: none; }
.mm-body li a { justify-content: space-between; align-items: center; font-weight: 700; font-size: clamp(1.5rem, 6.8vw, 2.1rem); letter-spacing: -.035em; padding: 1rem 0; }
.mm-body li a::after { content: ''; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8H13M13 8L9 4M13 8L9 12' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: background-color .25s, border-color .25s, transform .35s var(--pop); }
.mm-body li a:hover { padding-left: 0; color: var(--white); }
.mm-body li a:hover::after { transform: translateX(4px); border-color: var(--bri); }
.mm-body li a[aria-current="page"] { color: var(--white); }
.mm-body li a[aria-current="page"]::after { background-color: var(--bri); border-color: var(--bri); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3' fill='%23004123'/%3E%3C/svg%3E"); }
.footer-legal strong { color: var(--white); font-weight: 700; }

/* v92 — nome della pagina dentro il sipario verde */
.wipe { display: grid; place-items: center; }
.wipe.has-label { animation-delay: .2s; }
.wipe.has-label.is-in { animation-delay: 0s; }
.wipe-label { display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--bosco); text-align: center; padding: 0 var(--pad); opacity: 1; transition: opacity .3s var(--ease), transform .45s var(--pop); }
.wipe-label b { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 7vw, 5.5rem); letter-spacing: -.05em; line-height: 1; }
.wipe-mark { display: block; width: 3.2rem; aspect-ratio: 440 / 336; background: var(--bosco); -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; }
.wipe.is-in .wipe-label { animation: wipeLabel .5s var(--pop) .12s both; }
@keyframes wipeLabel { from { opacity: 0; transform: translateY(1.2rem) scale(.96); } to { opacity: 1; transform: none; } }
:root { --hd: .7s; }

/* v93 — il nome nel sipario si legge: sipario fermo ~0,5 s all'arrivo, chiusura più morbida al clic */
.wipe.has-label { animation: wipeOut .8s var(--ease-io) .55s both; }
.wipe.has-label.is-in { animation: wipeIn .45s var(--ease-io) both; }
.wipe.is-in .wipe-label { animation: wipeLabel .4s var(--pop) .2s both; }
:root { --hd: 1s; }
@media (prefers-reduced-motion: reduce) { .wipe, .wipe.has-label { display: none; } }

/* v103 — intro d'apertura della home: il logo sale da una fessura e si posa nell'header (una volta per sessione) */
.intro { display: none; }
html.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 3000; overflow: hidden; cursor: pointer; }
html.has-intro body { overflow: hidden; }
html.has-intro .wipe { display: none !important; }
html.has-intro .hd-brand img { opacity: 0; visibility: hidden; }
html.has-intro.intro-landed .hd-brand img { opacity: 1; visibility: visible; }
html.has-intro .hero *, html.has-intro .hero *::before, html.has-intro .hero *::after { animation-play-state: paused !important; }
.intro-bg { position: absolute; inset: 0; background: var(--bosco); }
.intro.is-flying .intro-bg { opacity: 0; transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1) .1s; }
.intro.is-flying { pointer-events: none; }
.intro-word { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; will-change: transform; }
.intro.is-flying .intro-word { overflow: visible; }
.intro-wm { width: 100%; height: 100%; background-color: #fff; -webkit-mask: url('../images/logo-bianco.png') center / contain no-repeat; mask: url('../images/logo-bianco.png') center / contain no-repeat; transform: translateY(105%); transition: transform 1.15s var(--ease), background-color 1.1s var(--ease); }
.intro.is-in .intro-wm { transform: none; }
.intro.is-flying .intro-wm { background-color: var(--bosco); }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } html.has-intro body { overflow: auto; } }

/* v95 — In evidenza: copertine grafiche per categoria e pagina articolo (indice, FAQ, fonti) */
.nc-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: clamp(1.2rem, 2.4vw, 1.8rem); --cv-bg: var(--bosco); --cv-fg: var(--white); --cv-k: var(--bri); --cv-mk: var(--bri); background: var(--cv-bg); color: var(--cv-fg); isolation: isolate; }
.nc-cover-k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cv-k); position: relative; z-index: 1; }
.nc-cover-t { font-family: var(--display); font-weight: 900; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.05; letter-spacing: -.04em; max-width: 11em; position: relative; z-index: 1; }
.nc-cover-mark { position: absolute; z-index: 0; right: -5%; top: -12%; width: 46%; aspect-ratio: 440 / 336; background: var(--cv-mk); opacity: .9; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-8deg); transition: transform 1.1s var(--ease); }
.nc:hover .nc-cover-mark { transform: rotate(-2deg) scale(1.06); }
.nc-cover[data-cat="minori-spettacolo"] { --cv-bg: var(--menta); --cv-fg: var(--bosco); --cv-k: var(--bosco); --cv-mk: var(--bri); }
.nc-cover[data-cat="reputazione-online"] { --cv-bg: var(--ink); --cv-mk: var(--bri); }
.nc-cover[data-cat="fiscale-compensi"] { --cv-bg: #e9e5da; --cv-fg: var(--ink); --cv-k: var(--bosco); --cv-mk: var(--bosco); }
.nc-cover[data-cat="produzione"] { --cv-bg: var(--bri); --cv-fg: var(--bosco); --cv-k: var(--bosco); --cv-mk: var(--bosco); }
.nc-cover[data-cat="diffamazione-molestie-minacce"] { --cv-bg: #0c2b1d; --cv-fg: var(--menta); --cv-k: var(--bri); --cv-mk: #1f6b45; }
.nc-cover[data-cat="contrattualistica"] { --cv-bg: #d5ead2; --cv-fg: var(--bosco); --cv-k: var(--bosco); --cv-mk: var(--white); }
@media (prefers-reduced-motion: reduce) { .nc-cover-mark { transition: none; } }

.ar-wrap { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ar-toc { position: sticky; top: 6.5rem; display: grid; gap: .8rem; padding-top: .3rem; }
.ar-toc-k { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(20, 23, 22, .55); }
.ar-toc nav { display: grid; gap: .15rem; border-left: 2px solid var(--rule); }
.ar-toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .92rem; font-weight: 600; line-height: 1.35; color: rgba(20, 23, 22, .65); text-decoration: none; transition: color .25s, border-color .25s; }
.ar-toc a:hover, .ar-toc a.is-on { color: var(--bosco); border-left-color: var(--bri); }
.ar-prose { min-width: 0; }
.ar-prose h2 { scroll-margin-top: 6.5rem; }
.ar-prose .lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; font-weight: 500; color: var(--ink); }
.ar-prose ol { padding-left: 1.4rem; }
.ar-prose ol li { padding: .25rem 0 .25rem .3rem; }
.ar-prose blockquote { margin: 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--bri); font-style: italic; }
.ar-prose .check-list li strong { color: var(--bosco); }
.ar-caso { font-size: .98rem; }
.ar-faq { display: grid; gap: .6rem; }
.ar-faq details { border: 1px solid var(--rule); border-radius: 1rem; background: var(--paper); }
.ar-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1.02rem; }
.ar-faq summary::-webkit-details-marker { display: none; }
.ar-faq summary::after { content: '+'; flex: none; font-family: var(--display); font-weight: 700; color: var(--bosco); transition: transform .3s var(--pop); }
.ar-faq details[open] summary::after { transform: rotate(45deg); }
.ar-faq details > div { padding: 0 1.3rem 1.15rem; }
.ar-faq details p { font-size: 1rem; color: rgba(20, 23, 22, .78); }
.ar-fonti { margin-top: 2.6rem !important; padding: 1.3rem 1.5rem; border-radius: 1rem; border: 1px dashed var(--rule); }
.ar-fonti-k { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(20, 23, 22, .55); margin-bottom: .4rem; }
.ar-fonti ul li { font-size: .95rem !important; padding-top: .2rem !important; padding-bottom: .2rem !important; }
.ar-fonti ul li::before { top: .75rem !important; width: .4rem !important; height: .4rem !important; }
.ar-nota { font-size: .88rem !important; color: rgba(20, 23, 22, .55); margin-top: 1.8rem !important; }
.ar-head-pg .meta .tag + span { margin-left: .2rem; }
@media (max-width: 900px) {
  .ar-wrap { grid-template-columns: minmax(0, 1fr); }
  .ar-toc { position: static; padding: 1.1rem 1.3rem; border-radius: 1rem; background: var(--paper); }
  .ar-toc nav { border-left: 0; }
  .ar-toc a { padding-left: 0; border-left: 0; margin-left: 0; }
}

/* v97 — dopo l'intro il sipario "Home" non riparte; resta attivo per i cambi pagina */
.wipe.wipe-skip:not(.is-in) { animation: none; transform: translateY(-101%); }

/* v98 — In evidenza: primo piano, sezioni per tema, formati e ricerca */
.ev-feat-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
.ev-feat { display: flex; flex-direction: column; background: var(--bosco); color: var(--white); border-radius: 1.8rem; overflow: hidden; text-decoration: none; transition: transform .45s var(--pop), box-shadow .45s var(--ease); }
.ev-feat:hover { transform: translateY(-4px); box-shadow: 0 1.4rem 3rem -1.6rem rgba(0, 65, 35, .55); }
.ev-feat-pic { margin: 0; aspect-ratio: 1200 / 630; overflow: hidden; }
.ev-feat-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.ev-feat:hover .ev-feat-pic img { transform: scale(1.04); }
.ev-feat-body { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.6rem); flex: 1; }
.ev-feat-k { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .7); margin: 0; }
.ev-feat-k span { display: inline-block; margin-right: .5rem; padding: .2rem .65rem; border-radius: 999px; background: var(--bri); color: var(--bosco); font-weight: 700; font-size: .8rem; }
.ev-feat h3 { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.045em; margin: 0; color: var(--white); }
.ev-feat p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 1.05rem; line-height: 1.6; max-width: 42em; }
.ev-feat .btn { margin-top: auto; }
.ev-side { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.ev-side .nc p, .ev-side .nc .nc-tags, .ev-3 .nc p, .ev-3 .nc .nc-tags { display: none; }
.ev-side .nc h3, .ev-3 .nc h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.ev-side .nc-body, .ev-3 .nc-body { gap: .6rem; padding: 1.2rem 1.4rem 1.4rem; }
.ev-tema { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--rule); --tc: var(--bosco); }
.ev-temi .nx-head + .ev-tema { border-top: 0; padding-top: 0; }
.ev-tema-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.ev-tema-head h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.035em; margin: 0; }
.ev-dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 1px rgba(20, 23, 22, .18); flex: none; }
.ev-n { font-size: .88rem; font-weight: 600; color: rgba(20, 23, 22, .55); }
.ev-tema-head .nx-all { margin-left: auto; }
.ev-tema[data-cat="diritti-immagine"] { --tc: var(--bosco); }
.ev-tema[data-cat="minori-spettacolo"] { --tc: var(--menta); }
.ev-tema[data-cat="reputazione-online"] { --tc: var(--ink); }
.ev-tema[data-cat="fiscale-compensi"] { --tc: #e9e5da; }
.ev-tema[data-cat="produzione"] { --tc: var(--bri); }
.ev-tema[data-cat="diffamazione-molestie-minacce"] { --tc: #0c2b1d; }
.ev-tema[data-cat="contrattualistica"] { --tc: #d5ead2; }
.nc-grid.ev-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-tools { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-bottom: 1.6rem; }
.ev-search { display: flex; align-items: center; gap: .6rem; flex: 1 1 22rem; max-width: 34rem; padding: .75rem 1.2rem; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); transition: border-color .2s; }
.ev-search:focus-within { border-color: var(--bosco); }
.ev-search svg { width: 1.15rem; height: 1.15rem; flex: none; color: rgba(20, 23, 22, .5); }
.ev-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.nx .ev-tipi button { background: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1023px) { .ev-feat-grid { grid-template-columns: 1fr; } .ev-side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .nc-grid.ev-3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 20rem); overflow-x: auto; margin: 0; padding: 0 0 .4rem; scroll-snap-type: x mandatory; scrollbar-width: none; } .ev-3 .nc { scroll-snap-align: start; } .ev-3::-webkit-scrollbar { display: none; } }
@media (max-width: 640px) { .ev-side { grid-template-columns: 1fr; } .ev-tema-head .nx-all { margin-left: 0; } }

/* v99 — In evidenza come una rivista: primo piano tipografico e indice per mese */
.ix-dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--dc, var(--bosco)); box-shadow: inset 0 0 0 1px rgba(20, 23, 22, .2); margin-right: .55em; vertical-align: .02em; flex: none; }
[data-cat1="diritti-immagine"] { --dc: var(--bosco); }
[data-cat1="minori-spettacolo"] { --dc: var(--menta); }
[data-cat1="reputazione-online"] { --dc: var(--ink); }
[data-cat1="fiscale-compensi"] { --dc: #e9e5da; }
[data-cat1="produzione"] { --dc: var(--bri); }
[data-cat1="diffamazione-molestie-minacce"] { --dc: #0c2b1d; }
[data-cat1="contrattualistica"] { --dc: #d5ead2; }

.ld-sec { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.ld-label { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; margin: 0 0 clamp(1.6rem, 3vw, 2.6rem); border-bottom: 2px solid var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ld-label span:last-child { color: rgba(20, 23, 22, .55); }
.ld { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; color: var(--ink); text-decoration: none; }
.ld-k { display: flex; align-items: center; flex-wrap: wrap; font-size: .9rem; font-weight: 600; color: rgba(20, 23, 22, .6); margin: 0 0 1.1rem; }
.ld-t { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 1.4rem; text-wrap: balance; background: linear-gradient(var(--bri), var(--bri)) 0 92% / 0 .14em no-repeat; transition: background-size .6s var(--ease); }
.ld:hover .ld-t { background-size: 100% .14em; }
.ld-x { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: rgba(20, 23, 22, .72); margin: 0 0 1.8rem; max-width: 34em; }
.ld-go { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--bosco); border-bottom: 2px solid var(--bri); padding-bottom: .2rem; }
.ld-go svg, .ix-go svg { width: 1rem; height: 1rem; transition: transform .35s var(--pop); }
.ld:hover .ld-go svg { transform: translateX(5px); }
.ld-pic { margin: 0; border-radius: 1.4rem; overflow: hidden; aspect-ratio: 1200 / 630; }
.ld-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.ld:hover .ld-pic img { transform: scale(1.04); }
.ld-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.4rem); }
.ld-s { display: block; padding-top: 1.3rem; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.ld-s .ld-k { margin-bottom: .7rem; font-size: .84rem; }
.ld-s h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 .7rem; transition: color .25s; }
.ld-s:hover h3 { color: var(--bosco); }
.ld-s p { margin: 0; color: rgba(20, 23, 22, .68); line-height: 1.6; }

.ix-month { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.ix-month[hidden] { display: none; }
.ix-m { position: sticky; top: 5.2rem; z-index: 2; display: inline-block; margin: 0 0 .4rem; padding: .3rem .9rem; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: -.01em; }
.ix-list { border-top: 2px solid var(--ink); }
.ix-row { display: grid; grid-template-columns: 4.2rem 1fr 3rem; gap: 1.2rem; align-items: center; padding: 1.4rem .6rem 1.4rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; position: relative; transition: background-color .3s var(--ease), padding .3s var(--ease); }
.ix-row:hover { background: var(--white); padding-left: .9rem; }
.ix-d { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.05em; line-height: 1; color: rgba(20, 23, 22, .22); transition: color .3s; }
.ix-row:hover .ix-d { color: var(--bosco); }
.ix-main { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.ix-k { display: flex; align-items: center; flex-wrap: wrap; font-size: .82rem; font-weight: 600; color: rgba(20, 23, 22, .6); }
.ix-k b { margin-left: .7rem; padding: .12rem .55rem; border-radius: 999px; border: 1px solid var(--rule); font-weight: 600; font-size: .76rem; color: var(--ink); }
.ix-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.18; letter-spacing: -.035em; }
.ix-x { font-size: .98rem; line-height: 1.55; color: rgba(20, 23, 22, .62); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 60em; }
.ix-go { justify-self: end; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--bosco); transition: background-color .3s, border-color .3s, color .3s; }
.ix-row:hover .ix-go { background: var(--bri); border-color: var(--bri); }
.ix-row:hover .ix-go svg { transform: translateX(3px); }
.ix-row[hidden] { display: none; }

@media (max-width: 899px) {
  .ld { grid-template-columns: 1fr; }
  .ld-pic { order: -1; }
  .ld-more { grid-template-columns: 1fr; gap: 1.4rem; }
  .ix-row { grid-template-columns: 2.8rem 1fr; gap: .9rem; }
  .ix-go { display: none; }
  .ix-x { display: none; }
  .ix-m { top: 4.6rem; }
}
.ld h2.ld-t { font-size: clamp(2.2rem, 4.6vw, 4.4rem) !important; font-weight: 900 !important; line-height: .98 !important; letter-spacing: -.055em !important; }
.ld-s h3 { font-weight: 700 !important; }

/* v100 — testata da rivista, "Da dove iniziare", pagina articolo (lettura, condivisione, firma) */
.mh { position: relative; overflow: hidden; }
.mh-in { position: relative; z-index: 1; padding-top: clamp(7.5rem, 14vh, 9.5rem); padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.mh-top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .9rem; border-bottom: 2px solid rgba(255, 255, 255, .9); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.mh-top span:last-child { color: var(--bri); }
.mh h1.mh-t { font-family: var(--display); font-weight: 900 !important; font-size: clamp(3.6rem, 13.5vw, 13rem) !important; line-height: .86 !important; letter-spacing: -.07em !important; margin: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(1.4rem, 3vw, 2.4rem); max-width: none; color: var(--white); }
.mh h1.mh-t em { font-style: normal; color: var(--bri); }
.mh-bot { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; padding-bottom: clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.mh-lede { margin: 0; max-width: 36rem; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.mh-n { display: flex; align-items: center; gap: .9rem; margin: 0; }
.mh-n b { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; color: var(--bri); }
.mh-n span { font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.mh-temi { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(1.2rem, 2.5vw, 1.8rem); }
.mh-temi a { display: inline-flex; align-items: center; padding: .5rem .95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: var(--white); text-decoration: none; font-size: .88rem; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.mh-temi a:hover { background: var(--bri); border-color: var(--bri); color: var(--bosco); }
.mh-temi a span { margin-left: .5rem; font-size: .76rem; opacity: .65; }
.mh-temi .ix-dot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.mh-mark { position: absolute; z-index: 0; right: -4%; top: 12%; width: min(46vw, 40rem); aspect-ratio: 440 / 336; background: var(--bri); opacity: .07; -webkit-mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; mask: url('../images/tc-icon-bianco.png') center / contain no-repeat; transform: rotate(-8deg); pointer-events: none; }

.st-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.st-head { position: sticky; top: 7rem; }
.st-head .label { color: var(--bri); }
.st h2.st-t { font-family: var(--display); font-weight: 900 !important; font-size: clamp(2.2rem, 4.4vw, 4rem) !important; line-height: 1 !important; letter-spacing: -.05em !important; color: var(--white); margin: 0 0 1.2rem; }
.st h2.st-t em { font-style: normal; color: var(--bri); }
.st-x { color: rgba(255, 255, 255, .75); max-width: 26rem; margin: 0; }
.st-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(255, 255, 255, .85); }
.st-list li { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.st-list a { display: grid; grid-template-columns: 4.4rem 1fr 2.8rem; gap: 1.2rem; align-items: center; padding: 1.4rem 0; color: var(--white); text-decoration: none; transition: padding .3s var(--ease); }
.st-list a:hover { padding-left: .8rem; }
.st-n { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.06em; line-height: 1; color: var(--bri); }
.st-b { display: flex; flex-direction: column; gap: .35rem; }
.st-k { display: flex; align-items: center; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .65); }
.st-tt { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -.03em; }
.st .ix-go { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.st-list a:hover .ix-go { background: var(--bri); border-color: var(--bri); color: var(--bosco); }

.ar-progress { position: fixed; z-index: 950; left: 0; top: 0; height: 4px; width: 100%; background: var(--bri); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.ar-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2.4rem 0 1.4rem; padding: 1.3rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ar-share > span { font-weight: 700; margin-right: .4rem; }
.ar-share a, .ar-share button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ar-share a:hover, .ar-share button:hover, .ar-share button.is-done { background: var(--bosco); border-color: var(--bosco); color: var(--white); }
.ar-share svg { width: 1rem; height: 1rem; }
.ar-by { display: inline-flex; align-items: center; gap: .5rem; }
.ar-by img { width: 1.6rem; height: auto; }

@media (max-width: 899px) {
  .mh-bot { grid-template-columns: 1fr; }
  .mh-temi { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) .3rem; scrollbar-width: none; }
  .mh-temi::-webkit-scrollbar { display: none; }
  .mh-temi a { flex: none; }
  .st-in { grid-template-columns: 1fr; }
  .st-head { position: static; }
  .st-list a { grid-template-columns: 3rem 1fr; }
  .st .ix-go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ar-progress { display: none; } }

/* v101 — In evidenza: hero originale, nastro dei temi, colori neutri, righe animate e anteprima copertina */
.tk { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--rule); padding: 1.05rem 0; }
.tk-track { display: flex; width: max-content; animation: tkRun 48s linear infinite; }
.tk:hover .tk-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; flex: none; }
.tk-i { display: inline-flex; align-items: center; flex: none; padding: 0 1.6rem; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; position: relative; }
.tk-i::after { content: ''; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: rgba(20, 23, 22, .25); }
.tk-i span { margin-left: .45rem; font-size: .8rem; color: rgba(20, 23, 22, .5); }
.tk-n b { font-family: var(--display); font-weight: 900; font-size: 1.15rem; margin-right: .35rem; letter-spacing: -.04em; }
a.tk-i:hover { color: var(--bosco); text-decoration: underline; text-decoration-color: var(--bri); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@keyframes tkRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* "Da dove iniziare" in colori neutri */
.st { background: var(--white) !important; color: var(--ink); }
.st-head .label { color: var(--bosco); }
.st h2.st-t { color: var(--ink); }
.st h2.st-t em { color: var(--bosco); background: linear-gradient(var(--bri), var(--bri)) 0 88% / 100% .22em no-repeat; }
.st-x { color: rgba(20, 23, 22, .68); }
.st-list { border-top-color: var(--ink); }
.st-list li { border-bottom-color: var(--rule); }
.st-list a { color: var(--ink); }
.st-n { color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .3s, -webkit-text-stroke-color .3s; }
.st-list a:hover .st-n { color: var(--bri); -webkit-text-stroke-color: var(--bri); }
.st-k { color: rgba(20, 23, 22, .58); }
.st .ix-go { border-color: var(--rule); color: var(--bosco); }

/* righe che entrano scorrendo */
html.js .ix-row, html.js .st-list li, html.js .ld-s { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .7s var(--ease), background-color .3s var(--ease), padding .3s var(--ease); transition-delay: var(--d, 0s); }
html.js .ix-row.is-in, html.js .st-list li.is-in, html.js .ld-s.is-in { opacity: 1; transform: none; }

/* anteprima della copertina che segue il mouse sull'indice */
.ix-peek { position: fixed; z-index: 60; left: 0; top: 0; width: 300px; aspect-ratio: 1200 / 630; border-radius: 1rem; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0) scale(.85) rotate(-3deg); transition: opacity .25s var(--ease), scale .3s var(--pop); box-shadow: 0 1.6rem 3rem -1.4rem rgba(20, 23, 22, .45); }
.ix-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ix-peek.is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; flex-wrap: wrap; width: auto; }
  .tk-run[aria-hidden] { display: none; }
  html.js .ix-row, html.js .st-list li, html.js .ld-s { opacity: 1; transform: none; }
  .ix-peek { display: none; }
}

/* v102 — "Continua a leggere": schede compatte, copertina piccola a sinistra */
.ar-rel-head + .nc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ar-rel-head + .nc-grid .nc { flex-direction: row; align-items: stretch; border-radius: 1.2rem; }
.ar-rel-head + .nc-grid .nc { align-items: center; }
.ar-rel-head + .nc-grid .nc-pic { flex: 0 0 44%; aspect-ratio: 1200 / 630; margin: .75rem 0 .75rem .75rem; border-radius: .75rem; align-self: center; }
.ar-rel-head + .nc-grid .nc-body { gap: .45rem; padding: 1rem 1.1rem; min-width: 0; }
.ar-rel-head + .nc-grid .nc p, .ar-rel-head + .nc-grid .nc-tags { display: none; }
.ar-rel-head + .nc-grid .nc-meta { font-size: .76rem; }
.ar-rel-head + .nc-grid .nc h3 { font-size: 1.02rem !important; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-rel-head + .nc-grid .nc-go { padding-top: .2rem; font-size: .86rem; }
@media (max-width: 1100px) { .ar-rel-head + .nc-grid { grid-template-columns: 1fr; max-width: 46rem; } .ar-rel-head + .nc-grid .nc-pic { flex-basis: 32%; } }
@media (max-width: 560px) { .ar-rel-head + .nc-grid .nc-pic { flex-basis: 40%; } .ar-rel-head + .nc-grid .nc-go { display: none; } }
