/* ============================================================
   SqueezeMind: main.css (motore). Nessun framework.
   Struttura: font, reset, base, layout, tipografia, componenti comuni,
   header e menu, footer, blocchi (in ordine di catalogo), percorso,
   blog, pixel art, animazioni, reduced motion, print.
   I gruppi redattore NON modificano questo file (usano <gruppo>.css).
   ============================================================ */

/* ---------- FONT (self-hosted, variabili) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/raleway-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/raleway-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  min-height: 100dvh; background: var(--c-white); color: var(--c-ink-700);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
dd { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus, var(--c-ink-900)); outline-offset: 2px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 4rem); }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999; background: var(--c-ink-900);
  color: var(--c-white); padding: var(--s-3) var(--s-5); border-radius: var(--radius-pill);
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--s-4); }

/* ---------- LAYOUT ---------- */
.band { position: relative; background: var(--bg); color: var(--fg); isolation: isolate; }
.wrap { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; container-type: inline-size; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 820px); margin-inline: auto; container-type: inline-size; }
.sec { padding-block: var(--sec); }
.sec--strip { padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.sec__cta { margin-top: clamp(2rem, 4vw, 3rem); }
main { display: block; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--fg-strong); text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: 1.12; letter-spacing: -0.02em; max-width: 26ch; }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.25; letter-spacing: -0.01em; }
.h4 { font-size: 1rem; font-weight: var(--fw-bold); line-height: 1.3; }
p, li, dd { text-wrap: pretty; }
.eyebrow {
  font-family: var(--f-body); font-weight: var(--fw-bold); font-size: 0.875rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-strong);
}
.eyebrow a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--mark); }
.sh { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sh__wm { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.sh__i { margin-top: var(--s-4); max-width: 62ch; font-size: 1.125rem; }
.prose { max-width: 68ch; line-height: var(--lh-loose); }
.prose p + p, .prose p + h2, .prose p + h3 { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 2rem; margin-bottom: 0.6rem; }
.prose b, .prose strong { color: var(--fg-strong); }
.prose a, .risp a, .cc a, .tp a, .faq a, .fld--ck a, .sum__alt a, .perc__nojs a, .ps__note a {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em;
  text-decoration-color: var(--mark); color: var(--fg-strong);
}

/* ---------- WORDMARK (segnacapitolo decorativo, Black + Thin nel box) ---------- */
.wm {
  display: inline-block; max-width: 100%; white-space: nowrap; font-family: var(--f-display);
  font-size: min(clamp(2.2rem, 1rem + 4vw, 4.8rem), calc(100cqw / (var(--n, 6) * 0.74 + 0.4)));
  line-height: 1; letter-spacing: -0.01em; padding: 0.07em 0.14em 0.11em;
  background: var(--wm-box, var(--c-ink-900)); color: var(--wm-ink, var(--c-lime-500));
}
.wm--sm { font-size: min(clamp(1.35rem, 1rem + 1.3vw, 2.2rem), calc(100cqw / (var(--n, 6) * 0.74 + 0.4))); }
.wm .wm-a { font-weight: var(--fw-black); }
.wm .wm-b { font-weight: var(--fw-thin); }
.wm .wm-a + .wm-b { margin-left: 0.14em; }
.wm--lime-on-ink { --wm-box: var(--c-ink-900); --wm-ink: var(--c-lime-500); }
.wm--ink-on-lime { --wm-box: var(--c-lime-500); --wm-ink: var(--c-ink-900); }

/* ---------- BOTTONI E LINK ---------- */
.btn {
  --btn-bg: var(--c-white); --btn-fg: var(--c-ink-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem; min-height: 48px;
  padding: 0.8em 1.35em; background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bg);
  font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 0.95rem; line-height: 1.2;
  white-space: nowrap; border-radius: var(--radius-pill);
  transition: transform var(--t-base) var(--e-spring), box-shadow var(--t-base) var(--e-out), background var(--t-fast), color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46, 45, 44, 0.18); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--lime { --btn-bg: var(--c-lime-500); --btn-fg: var(--c-ink-900); }
.btn--ink { --btn-bg: var(--c-ink-900); --btn-fg: var(--c-white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg-strong); border-color: currentColor; }
.btn--ghost:hover { box-shadow: none; background: var(--fg-strong); color: var(--bg); }
.arw { position: relative; width: 30px; height: 8px; flex: none; }
.arw::before { content: ""; position: absolute; left: 0; top: 3px; height: 1.5px; width: 22px; background: currentColor; transition: width var(--t-base) var(--e-out); }
.arw::after { content: ""; position: absolute; right: 0; top: 0; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform var(--t-base) var(--e-spring); }
.btn:hover .arw::before, .tlink:hover .arw::before, .choice:hover .arw::before { width: 16px; }
.btn:hover .arw::after, .tlink:hover .arw::after, .choice:hover .arw::after { transform: translateX(3px) scale(1.2); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.tlink {
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px;
  font-family: var(--f-display); font-weight: var(--fw-semibold); color: var(--fg-strong);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--mark);
}

/* ---------- SEGNAPOSTO (tbc) ---------- */
.tbc { text-decoration: underline dashed var(--mark); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
.tbc__l {
  display: inline-block; margin-left: 0.4em; padding: 0.05em 0.45em; vertical-align: 0.12em;
  background: var(--c-tbc); color: var(--c-ink-900); font: 700 0.75rem/1.45 var(--f-body);
  letter-spacing: 0.01em; white-space: nowrap; text-decoration: none; text-transform: none;
}
.is-tbc::before {
  content: ""; position: absolute; inset: 0.5rem; border: 2px dashed var(--fg-strong);
  opacity: 0.45; pointer-events: none; z-index: 1;
}
.tbc-sec {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; max-width: calc(100% - 1rem);
  padding: 0.3rem 0.65rem; background: var(--c-tbc); color: var(--c-ink-900); font: 400 0.75rem/1.35 var(--f-body);
}
.tbc-sec span { font-weight: var(--fw-bold); }
.slot { display: grid; place-items: center; width: 100%; height: 100%; min-height: 10rem; background: var(--c-ink-100); color: var(--c-ink-900); padding: 1rem; text-align: center; font-size: var(--fs-small); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center; background: transparent; color: var(--fg);
}
/* lo sfondo sfocato sta nello pseudo-elemento: un backdrop-filter sull'header
   renderebbe il suo contenitore "fixed" per mega menu e menu mobile */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 1px 0 var(--rule); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); opacity: 0; transition: opacity var(--t-base) var(--e-out); }
.site-header.is-stuck::before, .site-header.is-open::before { opacity: 1; }
.hdr { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.brand { display: block; width: clamp(104px, 9vw, 132px); flex: none; }
.brand img { width: 100%; height: auto; }
.brand .logo-d { display: var(--logo-dark); }
.brand .logo-l { display: var(--logo-light); }
.brand .logo-i { display: var(--logo-ink, none); }
.brand { min-height: 44px; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0rem, 0.5vw, 0.6rem); }
.nav__a {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0.4rem 0.55rem;
  font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 0.9rem; color: var(--fg-strong);
  white-space: nowrap; position: relative;
}
.nav__a::after { content: ""; position: absolute; left: 0.55rem; right: 0.55rem; bottom: 0.45rem; height: 2px; background: var(--mark); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--e-out); }
.nav__a:hover::after, .nav__a[aria-current="page"]::after, .nav__a[aria-expanded="true"]::after { transform: scaleX(1); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--t-fast); flex: none; }
[aria-expanded="true"] > .caret { transform: translateY(1px) rotate(-135deg); }
.hdr__end { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.btn--cta { --btn-bg: var(--c-lime-500); --btn-fg: var(--c-ink-900); min-height: 44px; padding: 0.6em 1.1em; font-size: 0.875rem; }
[data-band="lime"] .btn--cta { --btn-bg: var(--c-ink-900); --btn-fg: var(--c-lime-500); }
.hdr__tel { font-family: var(--f-display); font-weight: var(--fw-bold); color: var(--fg-strong); min-height: 44px; display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.3em; }
.hdr__tel-l { font-weight: var(--fw-medium); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--fg-strong); }
.nav-toggle span + span { margin-top: 6px; }
.nav-fallback { display: none; }
.nav__i { position: relative; }
@media (max-width: 1199px) {
  .btn--cta .arw { display: none; }
  .brand { width: 112px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .js .nav-toggle { display: block; }
  html:not(.js) .nav-fallback { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem; font-weight: 700; text-decoration: underline; }
  .brand { width: 104px; }
  .btn--cta { font-size: 0.8125rem; padding: 0.5em 0.95em; }
}

/* ---------- MEGA MENU ---------- */
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--bg); color: var(--fg);
  box-shadow: 0 30px 60px rgba(46, 45, 44, 0.22); padding-block: clamp(1.75rem, 3vw, 2.75rem);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; animation: dropIn 220ms var(--e-out);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.mega__sint { margin-block: 1rem 1.25rem; font-size: var(--fs-small); max-width: 32ch; }
.mega__list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 1.5rem; }
.mega__srv { display: grid; gap: 0.1rem; min-height: 44px; padding: 0.55rem 0.7rem; margin-inline: -0.7rem; transition: background var(--t-fast); }
.mega__srv:hover { background: color-mix(in srgb, var(--fg-strong) 8%, transparent); }
.mega__n { font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 0.95rem; color: var(--fg-strong); }
.mega__s { font-size: 0.85rem; color: var(--fg-muted); }
.mega__also { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--rule); font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.mega__also span { font-weight: 700; color: var(--fg-strong); }
.mega__also a { text-decoration: underline; text-underline-offset: 0.25em; min-height: 28px; display: inline-flex; align-items: center; }
.mega__case, .mega__help { display: grid; gap: 0.5rem; padding: 1.25rem; border: 1.5px solid var(--rule); background: var(--card); }
.mega__case:hover { border-color: var(--fg-strong); }
.mega__k { font: 700 0.75rem var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; }
.mega__ct { font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 1.1rem; color: var(--fg-strong); }
.mega__cs { font-size: var(--fs-small); }
.mega__help .btn { justify-self: start; margin-top: 0.5rem; }
.dd {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 24rem; background: var(--c-white); color: var(--c-ink-900);
  box-shadow: 0 24px 50px rgba(46, 45, 44, 0.22); padding: 0.75rem; animation: dropIn 200ms var(--e-out);
}
.dd ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.1rem; }
.dd a { display: flex; align-items: center; min-height: 44px; padding: 0.4rem 0.8rem; font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 0.925rem; }
.dd a:hover { background: var(--c-lime-500); }

/* ---------- MENU MOBILE (strati sfalsati) ---------- */
.mnav { position: fixed; inset: 0; z-index: calc(var(--z-header) + 5); }
.mnav__l, .mnav__p { position: fixed; inset: 0; transform: translateY(-100%); transition: transform 460ms var(--e-in-out); }
.mnav__l--1 { background: var(--c-lime-500); }
.mnav__l--2 { background: var(--c-white); transition-delay: 60ms; }
.mnav__p { background: var(--c-ink-900); color: var(--fg); transition-delay: 120ms; overflow-y: auto; display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; }
.mnav.is-open .mnav__l, .mnav.is-open .mnav__p { transform: none; }
.mnav.is-closing .mnav__l--1 { transition-delay: 120ms; }
.mnav.is-closing .mnav__p { transition-delay: 0ms; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.mnav__x { width: 44px; height: 44px; border: 0; background: none; position: relative; }
.mnav__x span { position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: var(--c-white); transform: rotate(45deg); }
.mnav__x span + span { transform: rotate(-45deg); }
.mnav__list { margin-top: 1rem; }
.mnav__list > li { border-bottom: 1px solid var(--rule); }
.mnav__acc, .mnav__a {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; background: none; border: 0;
  font-family: var(--f-display); font-weight: var(--fw-bold); font-size: clamp(1.4rem, 5.5vw, 1.9rem); color: var(--c-white); text-align: left; padding: 0;
}
.mnav__acc .caret { width: 10px; height: 10px; }
.mnav__sub { padding-bottom: 1rem; }
.mnav__sub a { display: flex; align-items: center; min-height: 44px; color: var(--fg); font-size: 1.05rem; }
.mnav__over { font-weight: 700; color: var(--c-lime-500) !important; }
.mnav__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.5rem; justify-items: start; }
.mnav__c { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-white); font-family: var(--f-display); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-lime-500); text-underline-offset: 0.3em; }
.mnav__foot .btn { margin-bottom: 0.5rem; }

/* ---------- FOOTER (band dark, riga legale su striscia lime come nel PDF) ---------- */
.site-footer { background: var(--c-ink-900); color: var(--fg); font-size: var(--fs-small); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.site-footer > .wrap { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.foot__grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.4fr; gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.foot__brand img { width: 150px; }
.foot__brand p { margin-top: 1rem; font-family: var(--f-display); font-weight: 600; max-width: 24ch; color: var(--c-white); }
.foot__brand .btn { margin-top: 0.5rem; }
.foot__t { font: 800 0.8rem var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; color: var(--c-lime-500); }
.foot__links a, .foot__direct a, .foot__social a, .foot__legal a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }
.foot__links a, .foot__social a { color: var(--c-white); }
.foot__links a:hover, .foot__direct a:hover, .foot__social a:hover { text-decoration-color: var(--c-lime-500); }
.foot__direct { display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.foot__direct a { color: var(--c-lime-500); min-height: 44px; }
.foot__sedi { margin-block: 0.75rem; display: grid; gap: 0.35rem; }
.foot__sedi b { color: var(--c-white); }
.foot__social { display: flex; gap: 1.25rem; font-weight: 700; }
.foot__bar { background: var(--c-lime-500); color: var(--c-ink-900); font-size: var(--fs-micro); }
.foot__bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 2rem; min-height: 60px; padding-block: 0.25rem; }
.foot__legal { display: flex; gap: 0 1.25rem; }
.foot__legal a { min-height: 44px; font-weight: 700; }
.foot__legal a:hover { text-decoration-color: currentColor; }
.agg { padding-block: 1rem; font-size: var(--fs-micro); color: var(--fg-muted); }

/* ---------- HERO ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 4rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.hero--c { padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 3rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; font-size: 0.875rem; color: var(--fg-muted); margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; }
.crumbs a:hover { text-decoration-color: currentColor; }
.hp { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hp--art { grid-template-columns: minmax(0, 1fr) auto; }
.hp__wm { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.hp .eyebrow { margin-bottom: 1rem; }
.hp__h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: 1.08; letter-spacing: -0.025em; max-width: 24ch; }
.hp__sub { margin-top: 1.1rem; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; max-width: 58ch; }
.hp .ctas { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hp__art { justify-self: end; }
.hero--p .hp__h1 { text-wrap: balance; }
.hp__nota { margin-top: 1.25rem; font: 600 0.95rem/1.4 var(--f-display); color: var(--fg-strong); }
.hero--c .hp__art .pxw--sm { --pixel: clamp(5px, 0.45vw, 7px); }
.nw { white-space: nowrap; }

/* home */
.hh { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2rem; align-items: center; }
.blk-hero_home.hero { padding-top: calc(var(--header-h) + clamp(1.5rem, 3.5vw, 3.25rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem);
  min-height: clamp(620px, 88svh, 1000px); display: flex; flex-direction: column; justify-content: center; }
.hh__art { order: 2; position: relative; align-self: stretch; min-height: 300px; }
.hh__h1 { font-size: clamp(2.1rem, 1rem + 3.5vw, 4rem); font-weight: var(--fw-light); line-height: 1.08; letter-spacing: -0.03em; margin-top: 1rem; text-wrap: balance; }
.hh__h1 b { font-weight: var(--fw-black); }
.hh__sub { margin-top: 1.4rem; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); max-width: 40ch; color: var(--fg-strong); }
.hh .ctas { margin-top: 2rem; }
.cluster { position: absolute; left: 50%; top: 50%; width: min(100%, 470px); aspect-ratio: 54.66 / 47.41; translate: -50% -50%; }
.blob { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.blob--1 { left: 16.1%; top: 0; width: 70.29%; background: var(--c-lime-200); }
.blob--2 { left: 0; top: 7.38%; width: 62.24%; background: var(--c-lime-500); }
.blob--3 { left: 50.95%; top: 40.18%; width: 41.93%; background: var(--c-lime-400); }
.blob--4 { left: 85.73%; top: 83.55%; width: 14.27%; background: var(--c-lime-500); }
.js .cluster .blob { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 1.5)); }
.js .cluster.is-ready .blob { opacity: 1; transform: none; transition: transform 1400ms var(--e-spring), opacity 600ms var(--e-out); transition-delay: var(--d, 0ms); }
.blob--1 { --fx: 20vw; --fy: -26vh; --fs: 1.8; --d: 0ms; }
.blob--2 { --fx: -24vw; --fy: -14vh; --fs: 1.6; --d: 90ms; }
.blob--3 { --fx: 14vw; --fy: 30vh; --fs: 2; --d: 180ms; }
.blob--4 { --fx: 24vw; --fy: 20vh; --fs: 3; --d: 270ms; }

/* case study (tavola 5) */
.hero--case { z-index: 2; padding-bottom: 0; }
.hc__wm { margin-bottom: 1.5rem; }
.hc__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.hc__meta dt, .cb__meta dt { font: 700 0.95rem var(--f-body); margin-bottom: 0.35rem; }
.hc__meta div:nth-child(2) dt { color: var(--c-lime-500); }
.hc__box { display: inline-block; font: 100 clamp(1.5rem, 1rem + 1.8vw, 2.5rem)/1.15 var(--f-display); padding: 0.05em 0.25em 0.1em; }
.hc__box--l { background: var(--c-lime-500); color: var(--c-ink-900); }
.hc__box--w { background: var(--c-white); color: var(--c-ink-900); }
.hc__box--i { background: var(--c-ink-900); color: var(--c-white); }
.hc__h1 { margin-top: clamp(1.5rem, 3vw, 2.25rem); font: 300 clamp(1.9rem, 1.3rem + 1.8vw, 3rem)/1.15 var(--f-body); color: var(--c-white); max-width: 28ch; }
.hc__tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; font-family: var(--f-display); font-weight: 600; font-size: 0.9rem; }
.hc__tags li::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; background: var(--c-lime-500); margin-right: 0.5em; vertical-align: 0.1em; }
.hc__img { position: relative; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: calc(-1 * var(--over)); aspect-ratio: 16 / 7; background: var(--c-ink-100); }
.hc__img img, .hc__img .slot, .hc__img .cover { width: 100%; height: 100%; object-fit: cover; }
.hc__img--cover { aspect-ratio: 21 / 9; max-height: 420px; width: 100%; }
.hero--case + .band { padding-top: calc(var(--sec) + var(--over)); }

/* ---------- RISPOSTA, PROBLEMI ---------- */
.risp { max-width: 64rem; }
.risp__def { font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 1.05rem; color: var(--fg-strong); margin-bottom: 0.9rem; }
.risp__def dfn { font-style: normal; font-weight: var(--fw-extrabold); }
.risp__t { font: 300 var(--fs-lead)/1.42 var(--f-display); color: var(--fg-strong); max-width: 52ch; }
.inbreve { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 2px solid var(--fg-strong); }
.inbreve--2 { --c: 2; } .inbreve--4 { --c: 4; }
.inbreve dt { font: 700 0.875rem var(--f-body); color: var(--fg-muted); margin-bottom: 0.35rem; }
.inbreve dd { color: var(--fg-strong); font-weight: 500; }
.probs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); }
.probs li { padding-top: 1.25rem; border-top: 2px solid var(--fg-strong); }
.probs__p { font-size: 1.2rem; font-weight: var(--fw-semibold); line-height: 1.3; }
.probs p { margin-block: 0.5rem 0.75rem; }

/* ---------- MACROAREE: stacking cards ---------- */
.stack { display: grid; gap: 1.5rem; }
.stk {
  position: sticky; top: calc(var(--header-h) + 1.25rem + var(--i) * 1.25rem); min-height: min(52dvh, 480px);
  background: var(--bg); color: var(--fg); overflow: hidden; transform-origin: 50% 0;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.22); display: flex;
}
.stk[data-band="dark"] { outline: 1px solid rgba(255, 255, 255, 0.16); outline-offset: -1px; }
.stk__in { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(1.75rem, 3.5vw, 3rem); width: 100%; }
.stk__art { justify-self: center; }
.stk__art .pxw--md { --pixel: clamp(6px, 0.55vw, 8px); }
.stk__srv { grid-column: 2; }
.stk__cta { margin-top: 1.5rem; }

.stk__h { margin-bottom: 1.25rem; }
.stk__f { font: 300 var(--fs-lead)/1.35 var(--f-display); color: var(--fg-strong); max-width: 34ch; }
.stk__srv { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; max-width: 46rem; }
.stk__srv a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem; border: 1.5px solid var(--rule); border-radius: var(--radius-pill); font-family: var(--f-display); font-weight: 600; font-size: 0.9rem; color: var(--fg-strong); transition: border-color var(--t-fast), background var(--t-fast); }
.stk__srv a:hover { border-color: var(--fg-strong); }
.stk__veil { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
@media (min-width: 1200px) {
  .stk__in { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 22rem); }
  .stk__srv { grid-column: 3; flex-direction: column; align-items: stretch; margin: 0; padding-left: 2rem; border-left: 1.5px solid var(--rule); }
  .stk__srv a { border: 0; border-radius: 0; padding: 0.35rem 0; min-height: 40px; border-bottom: 1px solid var(--rule); width: 100%; }
  .stk__srv a:hover { background: none; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.25em; }
}
/* ---------- POSIZIONAMENTO (peso variabile + cerchi) ---------- */
.pos { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pos__def { font-size: 1.125rem; max-width: 58ch; }
.pos--static .pos { align-items: center; }
.pos--static .pos__txt .sh { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.pos__peso { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 24ch; font: 700 clamp(1.5rem, 1rem + 1.4vw, 2.35rem)/1.2 var(--f-display); font-variation-settings: "wght" 700; color: var(--fg-strong); letter-spacing: -0.02em; }
.pos__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
/* due cerchi piatti che si fondono (lime in multiply); icone pixel e marchio nell'intersezione */
.pos__c { position: relative; width: 100%; max-width: 540px; justify-self: end; aspect-ratio: 1.56; --sep: 0; --lens-w: clamp(3px, 0.45vw, 5px); }
.pos__o { position: absolute; top: 0; width: 64%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.pos__o--a, .pos__la { transform: translateX(calc(var(--sep) * -1%)); }
.pos__o--b, .pos__lb { transform: translateX(calc(var(--sep) * 1%)); }
/* Intersezione bordata: ogni cerchio ritaglia l'anello dell'altro. Centri a 36% del contenitore
   = 56.25% del diametro, piu' lo scostamento animato (--sep, % del diametro per lato). */
.pos__lens { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pos__la, .pos__lb { position: absolute; top: 0; width: 64%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.pos__la { left: 0; }
.pos__lb { right: 0; }
.pos__lens i { position: absolute; top: 0; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 var(--lens-w) var(--c-lime-500); }
.pos__la i { left: calc(56.25% + var(--sep) * 2%); }
.pos__lb i { left: calc(-56.25% - var(--sep) * 2%); }
.pos__o--a { left: 0; background: var(--c-ink-900); color: var(--c-white); --px-ink: #121110; --px-fill: var(--c-white); --px-accent: var(--c-lime-500); }
.pos__o--b { right: 0; background: var(--c-lime-500); color: var(--c-ink-900); mix-blend-mode: multiply; --px-ink: var(--c-ink-900); --px-fill: var(--c-white); --px-accent: var(--c-ink-900); }
.pos__in { display: grid; justify-items: center; gap: 0.45rem; width: 54%; text-align: center; }
.pos__o--a .pos__in { translate: -22% 0; }
.pos__o--b .pos__in { translate: 22% 0; }
.pos__in .icw { --cell: clamp(3.5px, 0.36vw, 5.5px); margin-bottom: 0.35rem; }
.pos__in b { font: 800 clamp(1rem, 0.8rem + 0.55vw, 1.35rem)/1.1 var(--f-display); letter-spacing: -0.01em; }
.pos__s { font: 600 clamp(0.68rem, 0.6rem + 0.2vw, 0.8rem)/1.35 var(--f-display); opacity: 0.72; }
.pos__m { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; justify-items: center; gap: 0.35rem; pointer-events: none; }
.pos__m img { width: clamp(30px, 2.8vw, 44px); height: auto; }
.pos__m b { font: 800 clamp(0.62rem, 0.55rem + 0.22vw, 0.78rem) var(--f-display); color: var(--c-lime-500); letter-spacing: 0.02em; }
[data-band="dark"] .pos__o--a { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.pos__cf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pos__cf li { padding: 1.5rem; border: 1.5px solid var(--rule); }
.pos__cf li.is-sm { background: var(--c-lime-500); border-color: var(--c-lime-500); color: var(--c-ink-900); }
.pos__cf h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pos__cf .is-sm h3 { color: var(--c-ink-900); }

/* ---------- CLIENTI: ticker e griglia ---------- */
.blk-loghi_ticker { padding-block: clamp(1.75rem, 3vw, 2.25rem); }
.blk-loghi_ticker.is-tbc::before { display: none; }
.blk-loghi_ticker .tbc-sec { top: -1.75rem; right: var(--gutter); }
.ticker-w { position: relative; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; }
.js .ticker__track { animation: tick 45s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__list { display: flex; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); padding-right: clamp(2rem, 4vw, 3.5rem); }
.ticker__list img { height: var(--lh, 40px); width: auto; }
.logo-n { font-family: var(--f-display); font-weight: var(--fw-semibold); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--fg-strong); }
html:not(.js) .ticker, html:not(.js) .ticker__track { -webkit-mask-image: none; mask-image: none; width: auto; }
html:not(.js) .ticker__list { flex-wrap: wrap; gap: 1rem 2.5rem; padding: 0; }
html:not(.js) .ticker__list[aria-hidden] { display: none; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; padding-block: 1.25rem; border-top: 2px solid var(--fg-strong); border-bottom: 1px solid var(--rule); }
.logos li { flex: 0 0 calc((100% - 10rem) / 6); display: grid; place-items: center; min-height: 64px; padding: 0.5rem; text-align: center; }
.logos .logo-n { white-space: normal; font-size: 0.85rem; }
.logos img { height: var(--lh, 40px); width: auto; max-width: 100%; object-fit: contain; }
/* su fondo scuro o lime i loghi (a colori, pensati per il bianco) stanno su una tessera bianca */
:is([data-band="dark"], [data-band="lime"]) .logos li:has(img) { background: var(--c-white); border-radius: 6px; }
:is([data-band="dark"], [data-band="lime"]) .logos { border-top-color: var(--rule); }

/* ---------- SERVIZI: bento, indice, lista ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.b a {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 0.6rem; height: 100%; min-height: 168px;
  padding: 1.5rem 1.5rem 3.5rem; border: 1.5px solid var(--rule); background: var(--card); color: var(--fg);
  transition: transform var(--t-base) var(--e-out), border-color var(--t-fast);
}
.b a:hover { transform: translateY(-3px); border-color: var(--fg-strong); }
.b__n { font-size: 1.25rem; font-weight: var(--fw-bold); line-height: 1.2; color: var(--fg-strong); }
.b__s { font-size: 0.975rem; }
.b__go { position: absolute; right: 1.25rem; bottom: 1.25rem; width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; color: var(--fg-strong); }
.b__go::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.b--big { grid-column: span 2; grid-row: span 2; }
.b--big a { padding: clamp(1.75rem, 3vw, 2.5rem); align-content: end; }
.b--big .b__n { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); letter-spacing: -0.02em; }
.b--big .b__s { font-size: 1.1rem; max-width: 30ch; }
.b--w3 { grid-column: span 2; }
.b--ink a { background: var(--c-ink-900); border-color: var(--c-ink-900); --fg: rgba(255, 255, 255, 0.88); --fg-strong: var(--c-white); --focus: var(--c-lime-500); }
.b--lime a { background: var(--c-lime-500); border-color: var(--c-lime-500); --fg: var(--c-ink-900); --fg-strong: var(--c-ink-900); --focus: var(--c-ink-900); }
.bento__also { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: center; }
.bento__also span { font-weight: 700; color: var(--fg-strong); }
.bento__also a, .col__r a, .mp a, .sl__n { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; color: var(--fg-strong); }
.bento__also a { min-height: 32px; display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 600; }
.si { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); }
.si__h p { margin-top: 1rem; max-width: 36ch; }
.si__l, .sl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 2px solid var(--fg-strong); }
.si__l a, .sl a { display: grid; gap: 0.15rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); min-height: 44px; }
.si__n, .sl__n { font-family: var(--f-display); font-weight: var(--fw-semibold); color: var(--fg-strong); }
.si__n { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }
.si__l a:hover .si__n { text-decoration-color: var(--mark); }
.si__s, .sl__s { font-size: 0.925rem; color: var(--fg-muted); }
.lr { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }

/* ---------- PROCESSO, QUANDO SERVE, DELIVERABLE ---------- */
.proc { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem; counter-reset: p; }
.proc li { position: relative; padding-top: 3.4rem; padding-right: 0.5rem; }
.proc li::before { counter-increment: p; content: counter(p); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); font: 800 0.95rem var(--f-display); }
.proc li:not(:last-child)::after { content: ""; position: absolute; top: 1.15rem; left: 3.1rem; right: -0.9rem; height: 2px; background: var(--rule); }
.proc__v { font-size: 1.25rem; font-weight: var(--fw-bold); margin-bottom: 0.45rem; }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.qs li { padding-block: 1.1rem 1.35rem; border-top: 2px solid var(--fg-strong); font: 500 1.25rem/1.4 var(--f-display); color: var(--fg-strong); }
.ms li::before, .var li::before, .dlv ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.55rem; height: 0.55rem; background: var(--mark); }
.dlv { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.dlv--1 { --c: 1; } .dlv--2 { --c: 2; } .dlv--4 { --c: 4; }
.dlv__g { padding-top: 1.1rem; border-top: 2px solid var(--mark); }
.dlv__g h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.dlv ul { display: grid; gap: 0.55rem; margin-bottom: 0.75rem; }
.dlv ul li { position: relative; padding-left: 1.4rem; }

/* ---------- CONFRONTO, COSTO ---------- */
.cmp { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 0 1rem; }
.cmp--3 { --c: 3; }
.cmp--4 { --c: 4; }
.cmp__cta { padding-top: 1rem; align-self: end; }
@media (min-width: 768px) and (max-width: 1199px) {
  .cmp--4 { --c: 2; }
  .cmp--4 .cmp__c:nth-child(-n+2) { margin-bottom: 1rem; }
}
.cmp__c { display: grid; grid-row: span var(--r); grid-template-rows: subgrid; padding: 1.5rem 1.75rem; border: 1.5px solid var(--rule); }
.cmp__c h3 { font-size: 1.25rem; padding-bottom: 0.75rem; }
.cmp__c p { padding-block: 0.8rem; border-top: 1px solid var(--rule); }
.cmp__c p:empty { border-top-color: transparent; }
.cmp__c.is-ev { background: var(--c-lime-500); border-color: var(--c-lime-500); color: var(--c-ink-900); --rule: rgba(46, 45, 44, 0.25); }
.cmp__c.is-ev h3 { color: var(--c-ink-900); }
[data-band="lime"] .cmp__c.is-ev { background: var(--c-ink-900); color: var(--c-white); border-color: var(--c-ink-900); }
[data-band="lime"] .cmp__c.is-ev h3 { color: var(--c-white); }
.var { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); }
.var li, .ms li { break-inside: avoid; position: relative; padding-left: 1.6rem; margin-bottom: 0.9rem; }
.costo__n { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--fg-muted); max-width: 70ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.plan { padding: 1.75rem; border: 1.5px solid var(--rule); display: grid; gap: 0.75rem; align-content: start; }
.plan.is-ev { background: var(--c-lime-500); border-color: var(--c-lime-500); color: var(--c-ink-900); }
.plan__p { font: 900 clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem)/1 var(--f-display); color: var(--fg-strong); }
.plan ul { display: grid; gap: 0.4rem; font-size: var(--fs-small); }

/* ---------- FAQ, COLLEGATI, PONTE ---------- */
.faq { border-top: 2px solid var(--fg-strong); }
.faq__i { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0.6rem clamp(2rem, 4vw, 4rem); padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.faq dt { font: 600 1.15rem/1.35 var(--f-display); color: var(--fg-strong); }
.col { display: grid; gap: 0; }
.col__r { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.col__r h3 { font-size: 0.95rem; }
.col__r ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem; }
.col__r li { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; }
.col__r a { font-family: var(--f-display); font-weight: var(--fw-semibold); }
.col__p { font: 700 0.75rem var(--f-body); padding: 0.15rem 0.5rem; background: var(--c-ink-900); color: var(--c-white); }
.ponte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ponte__c { display: flex; }
.ponte__c span { width: clamp(3.5rem, 6vw, 5.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--c-ink-900); }
.ponte__c span + span { background: var(--c-lime-500); }
[data-band="dark"] .ponte__c span:first-child { background: var(--c-white); }
.ponte__t { font: 300 clamp(1.35rem, 1rem + 1.2vw, 2.1rem)/1.35 var(--f-display); color: var(--fg-strong); max-width: 44ch; margin-bottom: 1.25rem; }

/* ---------- PROGETTI (tavola 4) ---------- */
.checker { height: 32px; background: repeating-conic-gradient(var(--c-white) 0 25%, var(--c-lime-500) 0 50%) 0 0 / 64px 64px; }
.blk-progetti_card, .blk-prossimo_progetto { padding-top: 0; }
.blk-progetti_card > .wrap, .blk-prossimo_progetto > .wrap { padding-top: var(--sec); }
.pcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.pcs--1 { grid-template-columns: minmax(0, 1fr); }
.pcs--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.pc--big { grid-column: 1 / -1; }
.pc { position: relative; }
.pc__a { display: block; height: 100%; }
.pc__img { aspect-ratio: 16 / 10; background: var(--c-ink-100); overflow: hidden; }
.pc--big .pc__img { aspect-ratio: 21 / 8; }
.pc__img img, .pc__img .slot, .pc__img .cover { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--e-out); }
.pc__img--cover { background: var(--c-ink-900); }
.pc--big .pc__img--cover { aspect-ratio: 16 / 9; max-height: 460px; width: 100%; }
.pc__a:hover .pc__img .cover .pxart { transform: translateY(-4px); }
.pc__a:hover .pc__img img { transform: scale(1.04); }
.pc__img--ph { background: repeating-linear-gradient(135deg, var(--c-ink-100) 0 2px, var(--c-white) 2px 14px); }
.pc__box {
  position: relative; margin: -3.5rem clamp(0.75rem, 2.5vw, 2rem) 0; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.75rem);
  background: var(--c-white); color: var(--c-ink-700); box-shadow: 0 14px 34px rgba(46, 45, 44, 0.14);
  transition: transform var(--t-base) var(--e-out);
}
.pc__a:hover .pc__box { transform: translateY(-6px); }
.pc__a:hover .pc__t { text-decoration: underline; text-decoration-color: var(--c-lime-500); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
/* 3 progetti = 1 grande + 2 (tavola 4): da desktop la grande occupa la colonna sinistra
   per due righe e l'immagine si allunga fino in fondo, cosi' la sezione resta compatta */
@media (min-width: 64rem) {
  .pcs--3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .pcs--3 .pc--big { grid-column: 1; grid-row: span 2; }
  .pcs--3 .pc--big .pc__a { display: flex; flex-direction: column; }
  .pcs--3 .pc--big .pc__img { flex: 1; aspect-ratio: auto; min-height: 18rem; }
  .pcs--3 .pc--big .pc__img--cover { flex: none; aspect-ratio: 4 / 3; min-height: 0; max-height: none; }
  .pcs--3 .pc:not(.pc--big) .pc__img--cover { aspect-ratio: 2 / 1; }
  .pcs--3 .pc:not(.pc--big) .pc__img { aspect-ratio: 2 / 1; }
}
.pc__set { font: 700 0.875rem var(--f-body); color: var(--c-ink-900); }
.pc__t { margin-top: 0.3rem; font: 700 clamp(1.25rem, 1rem + 0.7vw, 1.6rem)/1.2 var(--f-display); color: var(--c-ink-900); }
.pc__e { margin-top: 0.5rem; font-size: 0.975rem; }
.pc__tags { margin-top: 0.6rem; font-size: 0.875rem; color: var(--c-ink-700); }
.pc__r { margin-top: 0.75rem; padding-left: 0.7rem; border-left: 4px solid var(--c-lime-500); font-family: var(--f-display); font-weight: 600; color: var(--c-ink-900); }
.pc__badge { display: inline-block; margin-bottom: 0.5rem; padding: 0.1rem 0.5rem; background: var(--c-tbc); font: 700 0.75rem var(--f-body); color: var(--c-ink-900); }
.cb { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cb__meta dl { display: grid; gap: 1.25rem; }
.cb__e { margin-top: 1rem; font-size: 1.125rem; }
.cb__r { margin-top: 1rem; font: 700 1.2rem var(--f-display); color: var(--fg-strong); }
.cb .ctas, .cb__txt > p:last-child { margin-top: 1.5rem; }
.fp__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
html:not(.js) .fp__pills { display: none; }
.pill, .postfilter button {
  min-height: 44px; padding: 0.45rem 1.1rem; background: transparent; border: 1.5px solid var(--fg-strong); border-radius: var(--radius-pill);
  font: 600 0.9rem var(--f-display); color: var(--fg-strong); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast);
}
.pill[aria-pressed="true"], .postfilter button[aria-pressed="true"] { background: var(--fg-strong); color: var(--bg); }
.pill span, .postfilter button span { opacity: 0.65; margin-left: 0.3em; }
.fp__g + .fp__g { margin-top: clamp(3rem, 5vw, 4.5rem); }
.fp__g > h2 { margin-bottom: 1.5rem; }
.fp__l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.js .fp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.js .fp__g, .js .fp__l { display: contents; }
.js .fp__g + .fp__g { margin: 0; }
.js .fp__gh { display: none; }
.blk-filtro_progetti { padding-top: 0; }
.blk-filtro_progetti > .wrap { padding-top: var(--sec); }
.blk-filtro_progetti .pill { border-color: var(--c-ink-900); }
/* progetti in documentazione: lista compatta */
.prep { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 2px solid var(--fg-strong); }
.prep--solo { margin-top: 0; }
.prep__h { font-size: var(--fs-h3); }
.prep__i { margin-top: 0.35rem; color: var(--fg-muted); }
.prep__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 3.5rem); margin-top: 1rem; }
.prep__l li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding-block: 0.8rem; border-bottom: 1px solid var(--rule); }
.prep__n { font: 700 1.05rem/1.3 var(--f-display); color: var(--fg-strong); flex: 1 1 60%; }
.prep__s { font-size: var(--fs-small); color: var(--fg-muted); }
.prep .pc__badge { margin: 0; }
.fp__n { margin: -0.75rem 0 1.5rem; color: var(--fg-muted); }
.nx { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.nx__t p { margin-top: 1rem; }

/* ---------- CASE STUDY: scheda, capitoli, risultato ---------- */
.scheda { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem 2rem; padding-top: 1.25rem; border-top: 2px solid var(--fg-strong); }
.scheda--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scheda--1 { grid-template-columns: minmax(0, 1fr); } .scheda--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scheda--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scheda dt { font: 700 0.875rem var(--f-body); color: var(--fg-muted); margin-bottom: 0.35rem; }
.scheda__tbc { margin-top: 1rem; font-size: var(--fs-small); color: var(--fg-muted); }
.scheda dd { color: var(--fg-strong); }
.scheda a { text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.2em; }
.cc__lead { font: 300 clamp(1.5rem, 1rem + 1.7vw, 2.6rem)/1.25 var(--f-display); color: var(--fg-strong); max-width: 32ch; margin-bottom: 1.5rem; }
.cc__2 { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); line-height: var(--lh-loose); }
.cc__2 p { break-inside: avoid; margin-bottom: 1em; }
.cc__img { margin-top: 2rem; aspect-ratio: 16 / 9; }
.cc .dlv { margin-top: 1.5rem; }
.cr__t { margin-top: 1.5rem; font-size: 1.15rem; max-width: 60ch; color: var(--fg-strong); }
[data-band="dark"] .cr .num__v { color: var(--c-lime-500); }
.cr__q { margin-block: 0.5rem 1.5rem; }
.cb__q { margin-top: 1.5rem; }
.cb__q p { font-size: 1.05rem; }

/* ---------- NUMERI, RECENSIONI, CITAZIONE ---------- */
.num { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); }
.num--1 { --c: 1; } .num--2 { --c: 2; } .num--4 { --c: 4; }
.num li { padding-top: 1rem; border-top: 2px solid var(--fg-strong); }
.num__v { font: 900 clamp(3.5rem, 2rem + 4.5vw, 6.5rem)/0.95 var(--f-display); letter-spacing: -0.035em; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.num__v [data-count] { display: inline-block; min-width: var(--w); text-align: right; }
.num__l { margin-top: 0.6rem; font: 400 1.125rem/1.4 var(--f-body); color: var(--fg-strong); max-width: 30ch; }
.num__f { margin-top: 1.5rem; color: var(--fg-muted); }
.numc { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 1rem clamp(2rem, 4vw, 4rem); align-items: start; }
.numc .num__f { grid-column: 1 / -1; margin-top: 0; }
.num--c .num__v { font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.6rem); }
.num--c .num__l { font-size: 0.95rem; }
.rqs { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.rq { display: grid; gap: 1rem; padding-left: 1.25rem; border-left: 3px solid var(--accent); }
[data-band="light"] .rq { border-left-color: var(--c-ink-900); }
.rq p { font-size: 1.1rem; line-height: 1.6; color: var(--fg-strong); }
.rqs__sm .rq p { max-width: 68ch; }
.rq--big p, .rq--solo p { font: 300 clamp(1.45rem, 1rem + 1.5vw, 2.35rem)/1.3 var(--f-display); max-width: 40ch; }
.rq figcaption { display: flex; align-items: center; gap: 0.9rem 1.1rem; }
.rq figcaption .rq__who { display: grid; font-size: inherit; color: inherit; }
.rq__logo { flex: none; height: calc(var(--lh, 40px) * 0.85); width: auto; }
:is([data-band="dark"], [data-band="lime"]) .rq__logo { box-sizing: content-box; padding: 0.4rem 0.6rem; background: var(--c-white); border-radius: 6px; }
.tp__logo { display: block; height: calc(var(--lh, 40px) * 0.8); width: auto; margin-bottom: 0.9rem; }
.rq figcaption b { display: block; font-family: var(--f-display); font-weight: 700; color: var(--fg-strong); }
.rq figcaption span { font-size: 0.875rem; color: var(--fg-muted); }
.rqs__sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); }

/* ---------- COMPANY ---------- */
.tl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(12rem, 1fr); gap: 2rem; padding-top: 2.25rem; }
.tl::before { content: ""; position: absolute; top: 0.6rem; left: 0; right: 0; height: 2px; background: var(--rule); }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; top: -2.25rem; left: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--c-lime-500); box-shadow: 0 0 0 4px var(--bg); }
.tl--scroll { overflow-x: auto; scroll-snap-type: x mandatory; }
.tl--scroll li { scroll-snap-align: start; }
.tl__y { font: 900 clamp(1.8rem, 1.3rem + 1.3vw, 2.6rem)/1 var(--f-display); color: var(--fg-strong); }
.tl__altre { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1rem; border-top: 1px solid var(--rule); }
.tl__altre ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem 2.5rem; margin-top: 0.75rem; }
.tl__t { margin-top: 0.5rem; font-weight: 500; color: var(--fg-strong); }
.tl__f { margin-top: 0.35rem; font-size: var(--fs-micro); color: var(--fg-muted); }
.ms { columns: 2; column-gap: clamp(2rem, 5vw, 5rem); }
.ms li { font: 600 1.15rem/1.4 var(--f-display); color: var(--fg-strong); }
.lv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); }
.lv--rows { grid-template-columns: minmax(0, 1fr); max-width: 60rem; }
.lv li { padding-top: 1rem; border-top: 2px solid var(--fg-strong); }
.lv h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 2.5rem 2rem; }
.team-w--2 { display: grid; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; }
.team-w--2 .team { grid-template-columns: minmax(0, 1fr); }
.team__altri { max-width: 56ch; padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 2px solid var(--fg-strong); }
.team__altri p { margin-top: 0.75rem; font-size: 1.125rem; }
.team li { text-align: center; }
.team__ph { width: min(100%, 210px); aspect-ratio: 1; margin-inline: auto; border: 2px solid var(--c-lime-500); border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
[data-band="light"] .team__ph { border-color: var(--c-ink-900); box-shadow: inset 0 0 0 6px var(--c-lime-500); }
.team__ph img { width: 100%; height: 100%; object-fit: cover; }
.team__ini { font: 100 clamp(3rem, 2rem + 3vw, 4.5rem) var(--f-display); color: var(--fg-strong); }
.team__n { margin-top: 1rem; font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); color: var(--fg-strong); }
.team__n b { font-weight: 900; }
.team__n span { font-weight: 100; }
.team__r { margin-top: 0.25rem; color: var(--fg-muted); }
.tp { border-top: 2px solid var(--fg-strong); }
.tp li { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 16rem; gap: 0.5rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule); align-items: baseline; }
.tp h3 { font-size: 1.1rem; }
.tp__f { font-size: var(--fs-micro); color: var(--fg-muted); }
.prod { border-top: 2px solid var(--fg-strong); }
.prod li { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) auto; gap: 0.75rem 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); align-items: center; }
.prod .wm { white-space: normal; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); line-height: 1.15; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.prod__l { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.prod__l > a:first-child { text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.25em; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.cs { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.cs__t { flex: 1; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); font-weight: 600; }
.sedi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.sedi li { padding-top: 1rem; border-top: 2px solid var(--fg-strong); }
.sedi h3 { font-size: 1.5rem; }
.sedi__r { font: 700 0.85rem var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-block: 0.25rem 0.75rem; }
.sedi--c h3 { font-size: 1.2rem; }
.sedi__c { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; font: 700 1.15rem var(--f-display); }
.sedi__c a { text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.3em; min-height: 44px; display: inline-flex; align-items: center; }
.sec--subnav { position: sticky; top: var(--header-h); z-index: 50; padding-block: 0; border-bottom: 1px solid var(--rule); }
.subnav ul { display: flex; gap: 0.25rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { scroll-snap-align: start; }
.subnav a { display: flex; align-items: center; min-height: 52px; padding: 0 0.9rem; font: 600 0.9rem var(--f-display); color: var(--fg-muted); white-space: nowrap; }
.subnav a:hover, .subnav a.is-on { color: var(--fg-strong); box-shadow: inset 0 -3px 0 var(--c-lime-500); }
.mp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2.5rem; }
.mp h2 { margin-bottom: 0.75rem; }
.mp ul { display: grid; gap: 0.1rem; }
.mp li a { display: inline-flex; min-height: 32px; align-items: center; }
.mp__blog { margin-top: clamp(3rem, 6vw, 5rem); }
.mp__y { margin-top: 2rem; }
.mp__y h3 span { font-weight: 400; color: var(--fg-muted); font-size: 0.9rem; }
.mp__y ul { columns: 2; column-gap: 2.5rem; margin-top: 0.75rem; font-size: var(--fs-small); }
.mp__y li { break-inside: avoid; padding-block: 0.3rem; }

/* ---------- CTA FINALE ---------- */
.cf { display: grid; justify-items: start; gap: 1.25rem; }
.cf__h { max-width: 32ch; }
.cf__s { max-width: 58ch; font-size: 1.125rem; }
.cf .ctas { margin-top: 0.5rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; width: 100%; margin-top: 0.75rem; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding: 1rem 1.4rem;
  border: 1.5px solid var(--rule); font: 600 1.1rem/1.3 var(--f-display); color: var(--fg-strong);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.choice:hover { background: var(--c-lime-500); color: var(--c-ink-900); border-color: var(--c-lime-500); }
.cf__c { margin-top: 0.75rem; color: var(--fg-muted); }
.cf__c a { color: var(--fg-strong); font-weight: 700; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 0.25em; display: inline-block; min-height: 32px; }

/* ---------- DISSOLVENZA A PIXEL sui cambi di band (motore.pixel_transizioni, sm.js) ---------- */
:root { --pfh: clamp(72px, 9vw, 150px); }
.pixel-field { position: absolute; left: 0; right: 0; height: var(--pfh); pointer-events: none; z-index: 0; }
.pixel-field--top { top: 0; }
.pixel-field--bottom { bottom: 0; }
.pixel-field canvas { width: 100%; height: 100%; display: block; }
.sec.pf-t { padding-top: calc(var(--sec) + var(--pfh) * 0.75); }
.sec.pf-b { padding-bottom: calc(var(--sec) + var(--pfh) * 0.75); }
/* la fascia pixel tocca la band successiva: nessuna riga in mezzo */
.sec.pf-t { border-top: 0; }
.sec.pf-b { border-bottom: 0; }
.pf-t > .wrap, .pf-b > .wrap, .pf-t > .checker, .pf-b > .checker { position: relative; z-index: 1; }
html:not(.js) .pixel-field { display: none; }
html:not(.js) .sec.pf-t { padding-top: var(--sec); }
html:not(.js) .sec.pf-b { padding-bottom: var(--sec); }

/* ---------- CASCATA DI PIXEL: apertura e cambio pagina (sm.js cascata/initIntro) ---------- */
.pt { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 10000; pointer-events: none; }
.pt--cover { pointer-events: auto; }
.pt--intro { cursor: pointer; z-index: 10001; }
/* copertura nel primo frame (classi messe dallo script inline in <head>): lime quando si
   arriva da un link interno, ink alla prima pagina della sessione. Se sm.js non parte
   si toglie da sola dopo 2 s. */
html.pt-in body::after, html.intro body::after {
  content: ""; position: fixed; inset: 0; z-index: 10000; background: var(--c-lime-500);
  animation: smSafe 0s linear 2s forwards;
}
html.intro body::after { background: var(--c-ink-900); }
@keyframes smSafe { to { visibility: hidden; } }
/* View Transitions fra documenti: il browser tiene la pagina vecchia (gia' coperta) fino
   al primo frame della nuova (coperta dal CSS sopra) e le scambia senza lampi. Arrivando
   da una copertura lo scambio e' istantaneo: la scoperta la fa sm.js a pixel. Indietro e
   Avanti: dissolvenza breve. Reduced motion: nessuna transizione. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(root) { animation-duration: 220ms; animation-timing-function: var(--e-out); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
html.pt-in::view-transition-old(root), html.pt-in::view-transition-new(root) { animation: none; }

/* ---------- COPERTINA TIPOGRAFICA (immagine di progetto da fornire) ---------- */
.cover { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; min-height: 12rem; padding: clamp(1rem, 2.5vw, 2rem); background: var(--c-ink-900); overflow: hidden; container-type: inline-size; }
.cover .cover__wm { font-size: min(clamp(1.5rem, 1rem + 2.4vw, 3.4rem), calc(100cqw / (var(--n, 6) * 0.74 + 0.4))); padding: 0; }
.cover { --px-ink: var(--c-white); --px-fill: var(--c-ink-900); --px-accent: var(--c-lime-500); }
.hc__img .cover { background: #252423; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.cover__px { position: absolute; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); }
.cover__px .pxw--sm { --pixel: 5px; }
.cover .pxart { transition: transform var(--t-base) var(--e-out); }
.cover__tag { max-width: 60%; font-size: var(--fs-micro); color: rgba(255, 255, 255, 0.75); }
.pc__img .cover__px { bottom: calc(3.5rem + clamp(0.75rem, 2vw, 1.5rem)); }

/* ---------- PERCORSO GUIDATO ---------- */
.hero--c:has(+ .blk-percorso) { padding-bottom: 1.5rem; }
.blk-percorso { padding-top: clamp(2rem, 3vw, 3rem); }
.perc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.perc__f { min-width: 0; }
.pbar { height: 6px; background: var(--rule); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--c-ink-900); transform-origin: left; transform: scaleX(var(--p, 0.16)); transition: transform var(--t-base) var(--e-out); }
html:not(.js) .ps + .ps { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.ps__l { display: grid; gap: 0.35rem; margin-bottom: 1.5rem; }
.ps__n { font: 700 0.8rem var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.ps__q { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: -0.02em; }
.ps__q:focus { outline: none; }
.ps__h { margin-bottom: 1.25rem; color: var(--fg-muted); }
.ps__note { margin-top: 1rem; padding: 0.9rem 1.1rem; background: var(--c-lime-50); color: var(--c-ink-900); }
.tiles { display: grid; gap: 0.75rem; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; align-items: center; min-height: 84px; padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  border: 1.5px solid var(--rule); background: var(--c-white); cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.tile input, .chip input, .rpill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile__w { display: grid; gap: 0.3rem; }
.tile__t { font: 300 clamp(1.1rem, 1rem + 0.4vw, 1.3rem)/1.25 var(--f-display); color: var(--c-ink-900); transition: font-weight var(--t-fast); }
.tile__d { font: 400 0.875rem/1.4 var(--f-body); color: var(--c-ink-500); }
.tile__ck { position: absolute; right: 1rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -0.8rem; border: 1.5px solid var(--rule); border-radius: 50%; }
.tile:hover { border-color: var(--c-ink-900); }
.tile:has(input:checked) { border: 2px solid var(--c-ink-900); box-shadow: inset 0 0 0 1px var(--c-ink-900); }
.tile:has(input:checked) .tile__t { font-weight: 900; }
.tile:has(input:checked) .tile__ck { background: var(--c-lime-500); border-color: var(--c-ink-900); }
.tile:has(input:checked) .tile__ck::after { content: ""; position: absolute; left: 0.5rem; top: 0.28rem; width: 0.4rem; height: 0.75rem; border-right: 2px solid var(--c-ink-900); border-bottom: 2px solid var(--c-ink-900); transform: rotate(45deg); }
.tile:has(input:focus-visible), .chip:has(input:focus-visible), .rpill:has(input:focus-visible) { outline: 3px solid var(--c-ink-900); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips + .chips { margin-top: 1.25rem; }
.chips__h { width: 100%; font: 700 0.9rem var(--f-display); color: var(--fg-strong); }
.js .chips__h { display: none; }
.chip, .rpill { position: relative; display: inline-flex; }
.chip span, .rpill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.1rem; border: 1.5px solid var(--c-ink-900);
  border-radius: var(--radius-pill); font: 500 0.95rem var(--f-display); color: var(--c-ink-900); background: var(--c-white);
}
.chip:has(input:checked) span, .rpill:has(input:checked) span { background: var(--c-ink-900); color: var(--c-white); font-weight: 700; }
.chip:has(input:checked) span::before { content: ""; width: 0.35rem; height: 0.65rem; margin-right: 0.6rem; border-right: 2px solid var(--c-lime-500); border-bottom: 2px solid var(--c-lime-500); transform: rotate(45deg) translateY(-2px); }
.chip--altro span { border-style: dashed; }
.rpills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sub { margin-top: 1.5rem; }
.sub legend, .fld label { font: 700 0.975rem var(--f-body); color: var(--fg-strong); margin-bottom: 0.6rem; }
.sub legend span, .fld label span { font-weight: 400; color: var(--fg-muted); }
.fld { display: grid; gap: 0.4rem; margin-top: 1.25rem; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.fgrid .fld { align-content: start; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.1rem; background: transparent; border: 0; border-bottom: 1.5px solid var(--c-ink-500);
  font-family: var(--f-body); font-size: 1.05rem; color: var(--c-ink-900); border-radius: 0;
}
.fld textarea { min-height: 9rem; padding: 0.8rem 1rem; border: 1.5px solid var(--c-ink-500); resize: vertical; line-height: 1.5; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink-900) 50%), linear-gradient(135deg, var(--c-ink-900) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--c-ink-900); outline-offset: 2px; }
.fld [aria-invalid="true"] { border-color: var(--c-err); }
.fld--ck { display: flex; gap: 0.75rem; align-items: flex-start; }
.fld--ck input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 0.2rem; accent-color: var(--c-ink-900); }
.fld--ck label { font-weight: 400; margin: 0; }
.fld__h { color: var(--fg-muted); font-size: var(--fs-small); }
.cand { max-width: 52rem; }
.cand > .sub:first-child { margin-top: 0; }
.cand__cv { margin-top: 1.25rem; padding: 0.9rem 1.1rem; background: var(--c-lime-50); color: var(--c-ink-900); font-size: var(--fs-small); }
.cand .ctas { margin-top: 1.75rem; }
.perr { color: var(--c-err); font: 600 0.925rem var(--f-body); }
.perr:empty { display: none; }
.perr:not(:empty) { margin-top: 0.5rem; }
.esempi { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--c-lime-50); color: var(--c-ink-900); font-size: var(--fs-small); }
.esempi ul { display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.esempi li::before { content: "“"; } .esempi li::after { content: "”"; }
.sugg { margin-top: 1.25rem; padding: 1rem 1.25rem; border: 1.5px dashed var(--c-ink-900); }
.sugg__k { font: 700 0.75rem var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.sugg__t { margin-block: 0.4rem 0.75rem; color: var(--c-ink-900); }
.sugg__c { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sugg__c button { min-height: 44px; padding: 0.4rem 1rem; border: 1.5px solid var(--c-ink-900); border-radius: var(--radius-pill); background: var(--c-white); font: 600 0.9rem var(--f-display); color: var(--c-ink-900); }
.sugg__c button[aria-pressed="true"] { background: var(--c-lime-500); }
.pnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 4vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.pnav [data-next] { margin-left: auto; }
.sum { border-top: 2px solid var(--c-ink-900); }
.sum > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); align-items: baseline; }
.sum dt { font-weight: 700; color: var(--fg-strong); }
.sum dd { white-space: pre-line; overflow-wrap: anywhere; }
.sum button { background: none; border: 0; padding: 0.25rem 0; min-height: 32px; font: 600 0.9rem var(--f-display); text-decoration: underline; text-underline-offset: 0.25em; color: var(--c-ink-900); }
.sum__send { margin-top: 1.75rem; display: grid; gap: 1rem; justify-items: start; }
.sum__note { max-width: 56ch; }
.sum__stato:empty { display: none; }
.sum__stato { padding: 0.75rem 1rem; background: var(--c-lime-50); color: var(--c-ink-900); font-weight: 600; }
.sum__ok { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--c-ink-900); background: var(--c-lime-50); color: var(--c-ink-900); }
.sum__ok ol { margin-top: 0.75rem; display: grid; gap: 0.4rem; list-style: decimal; padding-left: 1.25rem; }
.perc__nojs { margin-top: 2.5rem; display: grid; gap: 1rem; justify-items: start; }
.js .perc__nojs { display: none; }
html:not(.js) .ps--sum { display: none; }
.recap { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--c-ink-900); color: rgba(255, 255, 255, 0.88); --fg-strong: var(--c-white); --focus: var(--c-lime-500); }
.recap__h { font-size: 1.3rem; line-height: 1.25; color: var(--c-white); }
.recap__tel a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 0.75rem; font: 800 1.6rem var(--f-display); color: var(--c-lime-500); }
.recap__mail { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-lime-500); text-underline-offset: 0.25em; }
.recap h3 { margin-top: 1.75rem; color: var(--c-white); }
.recap__steps { margin-top: 0.6rem; display: grid; gap: 0.5rem; list-style: decimal; padding-left: 1.2rem; font-size: var(--fs-small); }
.recap__sedi { margin-top: 0.5rem; display: grid; gap: 0.25rem; font-size: var(--fs-small); }

/* ---------- BLOG ---------- */
.postfilter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.posts { display: grid; border-top: 1px solid var(--rule); }
.posts .post { border-bottom: 1px solid var(--rule); }
.posts a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1rem, 2.5vw, 2.5rem); align-items: start; padding: clamp(1.1rem, 2.2vw, 1.7rem) 0.5rem; transition: background var(--t-base) var(--e-out); }
.posts a:hover { background: color-mix(in srgb, var(--c-lime-500) 14%, transparent); }
.post__n { font: 100 clamp(1.3rem, 2.2vw, 2rem)/1 var(--f-display); color: var(--fg-muted); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.post__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: var(--fs-micro); color: var(--fg-muted); margin-bottom: 0.4rem; }
.post__cat { font: 700 var(--fs-micro) var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-strong); }
.post__t { display: block; font: 600 clamp(1.1rem, 1.6vw, 1.45rem)/1.25 var(--f-display); color: var(--fg-strong); }
.post__d { display: block; font-size: var(--fs-small); color: var(--fg-muted); margin-top: 0.4rem; max-width: 78ch; }
.post__go { align-self: center; width: 30px; height: 30px; border: 1.5px solid var(--rule); border-radius: 50%; position: relative; }
.post__go::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
.postmore { display: grid; justify-items: center; gap: var(--s-4); margin-top: clamp(2rem, 4vw, 3rem); }
.postmore__c { font-size: var(--fs-small); color: var(--fg-muted); }
.article { max-width: 68ch; font-size: 1.05rem; }
.article h2 { font-size: var(--fs-h2); margin-top: 2.5em; margin-bottom: 0.6em; }
.article h3 { font-size: var(--fs-h3); margin-top: 2em; margin-bottom: 0.5em; }
.article p { margin-bottom: 1.2em; }
.article ul, .article ol { margin: 0 0 1.4em 1.3em; display: grid; gap: 0.5em; }
.article ul { list-style: square; }
.article ol { list-style: decimal; }
.article img { display: block; margin: 2em auto; max-width: 100%; height: auto; }
.article p > img { margin-block: 0.5em; }
.article h4 { font-size: 1.1rem; margin-top: 1.6em; margin-bottom: 0.4em; }
.article h2, .art-faq h2, .art-tldr, .toc { scroll-margin-top: calc(var(--header-h) + 1rem); }
.article pre code { font-size: inherit; }
.article table p { margin: 0; }
/* testata e apparati dell'articolo (risposta diretta, indice, FAQ) */
.art-cat { font: 700 var(--fs-micro) var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.art-cat a { color: var(--fg-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--c-lime-500); }
.art-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin-top: 1.5rem; font-size: var(--fs-small); color: var(--fg-muted); }
.art-meta span + span::before { content: "\00B7"; margin-inline: 0.6rem; }
.art-meta a { color: var(--fg-strong); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 0.2em; }
.art-upd { max-width: 68ch; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--c-ink-900); background: color-mix(in srgb, var(--c-ink-900) 5%, transparent); font-size: var(--fs-small); line-height: var(--lh-normal); }
.art-upd strong { color: var(--fg-strong); }
.art-tldr { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); background: color-mix(in srgb, var(--c-lime-500) 22%, var(--bg)); border-top: 4px solid var(--c-ink-900); }
.art-tldr__h { font: 800 var(--fs-micro) var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; }
.art-tldr__r { font: 500 clamp(1.08rem, 1rem + 0.3vw, 1.22rem)/1.5 var(--f-body); color: var(--fg-strong); }
.art-tldr__l { display: grid; gap: 0.55rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.art-tldr__l li { position: relative; padding-left: 1.4rem; font-size: var(--fs-small); line-height: var(--lh-normal); }
.art-tldr__l li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.5rem; height: 0.5rem; background: var(--c-ink-900); }
.art-tldr a, .art-upd a { color: var(--fg-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.toc { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); padding-block: 1rem; border-block: 1px solid var(--rule); }
.toc__h { font: 800 var(--fs-micro) var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; }
.toc ol { display: grid; gap: 0.15rem; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); font-size: var(--fs-small); }
.toc li::before { content: counter(toc, decimal-leading-zero); font: 300 var(--fs-small) var(--f-display); color: var(--fg-muted); padding-top: 0.35rem; }
.toc a { display: block; padding-block: 0.3rem; color: var(--fg-strong); font-weight: var(--fw-medium); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--c-lime-500); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.art-faq { margin-top: clamp(2.5rem, 5vw, 4rem); }
.art-faq h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.art-faq .faq__i { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
.art-rel__h { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.cf__p { max-width: 60ch; }
.article blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 3px solid var(--c-ink-900); font: 300 var(--fs-h3)/1.4 var(--f-display); }
.article pre { background: var(--c-ink-900); color: #eee; padding: 1.2em; overflow-x: auto; font-size: 0.9rem; margin: 2em 0; }
.article code { font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; }
.article table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: var(--fs-small); display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--rule); padding: 0.7em; text-align: left; }

/* ---------- PROGRESS ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: var(--c-lime-500); z-index: calc(var(--z-header) + 1); pointer-events: none; box-shadow: 0 1px 0 rgba(46, 45, 44, 0.3); }

/* ---------- PIXEL ART (icone di capitolo) ---------- */
.pxw { display: grid; place-items: center; }
.pxw--md { --pixel: clamp(7px, 0.72vw, 11px); }
.pxw--sm { --pixel: clamp(4px, 0.4vw, 6px); }
.pxart { position: relative; display: grid; gap: 0; width: max-content; color: var(--px-ink, var(--c-ink-900)); }
.pxart i { display: block; width: var(--pixel); height: var(--pixel); background: currentColor; transition: opacity 420ms var(--e-out), transform 520ms var(--e-spring); transition-delay: var(--d, 0ms); }
.js .pxart i { opacity: 0; transform: scale(0.2); }
.js .pxart.is-in i { opacity: 1; transform: none; }
.pxart i[data-c="1"] { background: var(--px-fill); }
.pxart i[data-c="2"] { background: var(--px-accent, var(--c-lime-500)); }
.pxart b.fx { position: absolute; display: block; width: var(--pixel); height: var(--pixel); left: calc(var(--x) * var(--pixel)); top: calc(var(--y) * var(--pixel)); background: currentColor; opacity: 0; transform: scale(0.2); transition: opacity 220ms var(--e-out), transform 320ms var(--e-spring); transition-delay: var(--fd, 0ms); }
.pxart[data-fx] { cursor: pointer; transition: transform 420ms var(--e-spring), filter 300ms var(--e-out); }
.pxart[data-fx="beat"]:hover, .pxart[data-fx="beat"].is-fx { animation: beat 900ms var(--e-out); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.09); } 60% { transform: scale(1); } }
.pxart[data-fx="click"]::after { content: ""; position: absolute; left: calc(var(--pixel) * 1.5); top: calc(var(--pixel) * 1.5); width: calc(var(--pixel) * 3); height: calc(var(--pixel) * 3); border: 2px solid currentColor; border-radius: 50%; opacity: 0; transform: scale(0.3); pointer-events: none; }
.pxart[data-fx="click"]:hover, .pxart[data-fx="click"].is-fx { transform: translate(calc(var(--pixel) * 0.25), calc(var(--pixel) * 0.25)); }
.pxart[data-fx="click"]:hover::after, .pxart[data-fx="click"].is-fx::after { animation: ripple 700ms var(--e-out); }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.3); } 100% { opacity: 0; transform: scale(2.4); } }
.pxart[data-fx="flip"]:hover, .pxart[data-fx="flip"].is-fx { transform: rotate(180deg); transition: transform 900ms var(--e-spring); }
.pxart[data-fx="glow"]:hover, .pxart[data-fx="glow"].is-fx { filter: drop-shadow(0 0 calc(var(--pixel) * 1.2) var(--c-lime-500)); }
.pxart[data-fx="glow"] b.fx { background: var(--c-lime-500); }
[data-band="lime"] .pxart[data-fx="glow"] b.fx { background: var(--c-ink-900); }
.pxart[data-fx="glow"]:hover b.fx, .pxart[data-fx="glow"].is-fx b.fx, .pxart[data-fx="write"]:hover b.fx, .pxart[data-fx="write"].is-fx b.fx { opacity: 1; transform: none; }
.pxart[data-fx="write"] b.fx { background: var(--px-accent, var(--c-lime-500)); }
.pxart[data-fx="write"]:hover, .pxart[data-fx="write"].is-fx { transform: translate(calc(var(--pixel) * -0.3), calc(var(--pixel) * 0.3)); }
.pxart[data-fx="tv"] .scan { position: absolute; left: calc(var(--pixel) * 4); top: calc(var(--pixel) * 3); width: calc(var(--pixel) * 10); height: calc(var(--pixel) * 9); background: #fff; opacity: 0; transform: scaleY(0.04); pointer-events: none; }
.pxart[data-fx="tv"]:hover .scan, .pxart[data-fx="tv"].is-fx .scan { animation: tvOn 900ms var(--e-out); }
@keyframes tvOn { 0% { opacity: 0; transform: scaleY(0.03) scaleX(0.12); } 14% { opacity: 1; transform: scaleY(0.05) scaleX(1); } 34% { opacity: 1; transform: scaleY(0.05) scaleX(1); } 56% { opacity: 1; transform: scaleY(1) scaleX(1); } 72% { opacity: 0.7; background: var(--c-lime-500); } 100% { opacity: 0; transform: scaleY(1) scaleX(1); } }
.pxart[data-fx="tv"]:hover, .pxart[data-fx="tv"].is-fx { transform: translateY(calc(var(--pixel) * -0.25)); }
.pxart[data-fx="type"]:hover i.t, .pxart[data-fx="type"].is-fx i.t { animation: retype 1100ms var(--e-out) both; animation-delay: var(--td, 0ms); }
@keyframes retype { 0%, 10% { opacity: 0; transform: scale(0.1); } 40% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: none; } }
.pxart[data-fx="team"] i.x2, .js .pxart[data-fx="team"].is-in i.x2 { opacity: 0; transform: translateX(var(--tx, 0)) scale(0.6); transition-delay: var(--xd, 0ms); }
.pxart[data-fx="team"]:hover i.x2, .pxart[data-fx="team"].is-fx i.x2 { opacity: 1; transform: none; }
.pxart[data-fx="clickmouse"] i.bl { transition: background 90ms linear; }
.pxart[data-fx="clickmouse"] b.fx { background: var(--px-accent, var(--c-lime-500)); }
.pxart[data-fx="clickmouse"]:hover i.bl, .pxart[data-fx="clickmouse"].is-fx i.bl { animation: press 1200ms steps(1, end) infinite; animation-delay: var(--bd, 0ms); }
@keyframes press { 0%, 30% { background: var(--px-accent, var(--c-lime-500)); } 31%, 100% { background: var(--px-fill, #fff); } }
.pxart[data-fx="clickmouse"]:hover b.fx, .pxart[data-fx="clickmouse"].is-fx b.fx { animation: rays 1200ms ease-out infinite; animation-delay: var(--fd, 0ms); }
@keyframes rays { 0% { opacity: 0; transform: scale(0.25); } 8% { opacity: 1; transform: scale(1); } 36% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; transform: scale(0.25); } }
.pxart[data-fx="hit"] i.arrow { transition: transform 420ms var(--e-spring); }
.pxart[data-fx="hit"]:hover i.arrow, .pxart[data-fx="hit"].is-fx i.arrow { transform: translateX(calc(var(--pixel) * -1.6)); }
.pxart[data-fx="hit"]:hover, .pxart[data-fx="hit"].is-fx { animation: shake 480ms var(--e-out); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(calc(var(--pixel) * 0.18)); } 55% { transform: translateX(calc(var(--pixel) * -0.12)); } 80% { transform: translateX(calc(var(--pixel) * 0.06)); } }

/* ---------- ICONE HERO (SVG pixel art generato da _build/icone) ---------- */
.icw { --cell: clamp(9px, 0.92vw, 13px); display: inline-block; line-height: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero:not(.hero--c) .icw { --cell: clamp(10px, 1.05vw, 15px); }
.ico { display: block; width: min(calc(var(--w) * var(--cell)), 34vw); height: auto; overflow: visible; }
.ico .c0 { fill: var(--px-ink, var(--c-ink-900)); }
.ico .c1 { fill: var(--px-fill, #fff); }
.ico .c2 { fill: var(--px-accent, var(--c-lime-500)); }
.ico g, .ico .a { transform-box: fill-box; transform-origin: center; }
.ico .fx-grow, .ico .fx-grow .a { transform-origin: 50% 100%; }
.js .ico { clip-path: inset(100% 0 0 0); transition: clip-path 720ms steps(var(--h), end); }
.js .icw.is-in .ico { clip-path: inset(-50%); }
.icw.is-fx :is(.fx-move, .fx-fly, .fx-blink, .fx-pulse, .fx-shake, .fx-spin, .fx-swing, .fx-seq, .fx-wave, .fx-grow, .fx-flash):is(.a, :not(.a) .a),
.icw.is-fx .fx-lit path {
  animation-duration: var(--dur, 900ms); animation-delay: calc(var(--dl, 0ms) + var(--i, 0) * var(--st, 0ms));
  animation-iteration-count: var(--n, 1); animation-fill-mode: both; animation-timing-function: var(--e-out); }
.icw.is-fx .fx-move:is(.a, :not(.a) .a) { animation-name: ico-move; }
.icw.is-fx .fx-fly:is(.a, :not(.a) .a) { animation-name: ico-fly; }
.icw.is-fx .fx-blink:is(.a, :not(.a) .a) { animation-name: ico-blink; animation-timing-function: steps(1, end); }
.icw.is-fx .fx-pulse:is(.a, :not(.a) .a) { animation-name: ico-pulse; }
.icw.is-fx .fx-shake:is(.a, :not(.a) .a) { animation-name: ico-shake; animation-timing-function: steps(1, end); }
.icw.is-fx .fx-spin:is(.a, :not(.a) .a) { animation-name: ico-spin; animation-timing-function: var(--e-spring); }
.icw.is-fx .fx-swing:is(.a, :not(.a) .a) { animation-name: ico-swing; animation-timing-function: ease-in-out; }
.icw.is-fx .fx-seq:is(.a, :not(.a) .a) { animation-name: ico-seq; animation-timing-function: steps(1, end); }
.icw.is-fx .fx-wave:is(.a, :not(.a) .a) { animation-name: ico-wave; animation-timing-function: steps(2, end); }
.icw.is-fx .fx-grow:is(.a, :not(.a) .a) { animation-name: ico-grow; animation-timing-function: steps(6, end); }
.icw.is-fx .fx-flash:is(.a, :not(.a) .a) { animation-name: ico-flash; }
.icw.is-fx .fx-lit path { animation-name: ico-lit; animation-timing-function: steps(1, end); }
.ico .fx-flash:is(.a, :not(.a) .a) { opacity: 0; }
.ico :is(.fx-show, .fx-hide):is(.a, :not(.a) .a) { transition: opacity var(--dur, 320ms) var(--e-out), transform var(--dur, 320ms) var(--e-spring);
  transition-delay: calc(var(--dl, 0ms) + var(--i, 0) * var(--st, 0ms)); }
.ico .fx-show:is(.a, :not(.a) .a),
:is(.icw:hover, .icw.is-fx) .fx-hide:is(.a, :not(.a) .a) { opacity: 0; transform: translate(calc(var(--dx, 0) * 1px), calc(var(--dy, 0) * 1px)) scale(var(--s, 0.4)); }
:is(.icw:hover, .icw.is-fx) .fx-show:is(.a, :not(.a) .a) { opacity: 1; transform: none; }
@keyframes ico-move { 0%, 100% { transform: none; } 45% { transform: translate(calc(var(--dx, 0) * 1px), calc(var(--dy, 0) * 1px)); } }
@keyframes ico-fly { 0%, 100% { transform: none; opacity: 1; } 45% { transform: translate(calc(var(--dx, 0) * 1px), calc(var(--dy, 0) * 1px)); opacity: 0; }
  55% { transform: translate(calc(var(--dx, 0) * -1px), calc(var(--dy, 0) * -1px)); opacity: 0; } }
@keyframes ico-blink { 0%, 50% { opacity: 1; } 25%, 75% { opacity: 0; } }
@keyframes ico-pulse { 0%, 100% { transform: none; } 40% { transform: scale(var(--s, 1.15)); } }
@keyframes ico-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-1px); } 40%, 80% { transform: translateX(1px); } }
@keyframes ico-spin { from { transform: none; } to { transform: rotate(var(--r, 360deg)); } }
@keyframes ico-swing { 0%, 100% { transform: none; } 30% { transform: rotate(var(--r, 20deg)); } 65% { transform: rotate(calc(var(--r, 20deg) * -0.5)); } }
@keyframes ico-seq { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ico-wave { 0%, 100% { transform: none; } 50% { transform: translateY(calc(var(--dy, -1) * 1px)); } }
@keyframes ico-grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ico-flash { 0%, 100% { opacity: 0; } 25%, 70% { opacity: 1; } }
@keyframes ico-lit { 0%, 70% { fill: var(--px-accent, var(--c-lime-500)); } }

/* ---------- SFOCATURA DEI BORDI DURANTE LO SCROLL (sm.js initSfumaBordi) ---------- */
.sfuma { position: fixed; left: 0; right: 0; z-index: calc(var(--z-header) - 1); height: clamp(56px, 10vh, 120px); pointer-events: none; visibility: hidden; opacity: 0;
  -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); }
.sfuma.is-on { visibility: visible; }
.sfuma--t { top: var(--header-h); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.sfuma--b { bottom: 0; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }

/* ---------- SOLUZIONE: il problema e come lo risolviamo (_build/visual.py) ---------- */
.sol { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sol__k { display: flex; align-items: center; gap: 0.55rem; font: 700 0.78rem var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.sol__k::before { content: ""; width: 8px; height: 8px; background: var(--mark); }
.sol__p { margin: 0.7rem 0 clamp(1.5rem, 3vw, 2.25rem); font: 600 clamp(1.1rem, 1rem + 0.4vw, 1.35rem)/1.45 var(--f-display); color: var(--fg-strong); max-width: 46ch; }
.sol__passi { counter-reset: sol; display: grid; gap: 1.1rem; margin-top: 1rem; }
.sol__passi li { counter-increment: sol; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.15rem 0.9rem; }
.sol__passi li::before { content: counter(sol, decimal-leading-zero); grid-row: span 2; align-self: start; display: grid; place-items: center; height: 2.1rem; font: 800 0.78rem var(--f-display); background: var(--c-ink-900); color: var(--c-lime-500); }
[data-band="dark"] .sol__passi li::before { background: var(--c-lime-500); color: var(--c-ink-900); }
.sol__t { font: 700 1.02rem/1.35 var(--f-display); color: var(--fg-strong); }
.sol__passi p { font-size: 0.95rem; line-height: 1.55; }
.sol__st { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.sol__st ul { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.sol__st li { padding: 0.35rem 0.7rem; border: 1.5px solid var(--rule); font: 600 0.8rem var(--f-display); color: var(--fg-strong); }
.sol__vis { position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; padding: clamp(1rem, 2vw, 1.5rem); background: var(--c-ink-900); color: var(--c-white); }
[data-band="dark"] .sol__vis { background: #242322; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sol__cap { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.9rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font: 700 0.76rem var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.sol__led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-lime-500); animation: led 2.2s ease-out infinite; }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(175, 249, 18, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(175, 249, 18, 0); } }
.sol__nota { margin-top: 0.6rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.vis { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--f-display); }
.vis text { font-family: var(--f-display); }
.vis__grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.vis__ax { fill: rgba(255, 255, 255, 0.5); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.vis__ax--b { fill: var(--c-lime-500); }
.vis__lab { fill: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; }
.vis__lab--b { fill: var(--c-lime-500); }
.vis__leg text { fill: rgba(255, 255, 255, 0.75); font-size: 12px; font-weight: 600; }
.vis__sw--a { fill: #939393; }
.vis__sw--b { fill: var(--c-lime-500); }
.vis__sw--w { fill: rgba(255, 255, 255, 0.85); }
.vis__arr { fill: rgba(255, 255, 255, 0.5); }
.vis__l { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vis__l--a { stroke: #939393; }
.vis__l--b { stroke: var(--c-lime-500); }
.vis__l--w { stroke: rgba(255, 255, 255, 0.85); }
.vis__l--dash { stroke-dasharray: 0.012 0.012; }
.vis__area, .vis__band { opacity: 0; transition: opacity 900ms var(--e-out) 900ms; }
.vis__band { fill: var(--c-lime-500); fill-opacity: 0.14; }
.vis__oggi { stroke: rgba(255, 255, 255, 0.3); stroke-dasharray: 4 5; }
.vis__ev line { stroke: var(--c-lime-500); stroke-width: 1.5; stroke-dasharray: 4 5; }
.vis__ev rect:not(.vis__falla) { fill: var(--c-lime-500); }
.vis__ev text { fill: var(--c-ink-900); font-size: 12px; font-weight: 800; }
.vis__ev .vis__lab { fill: var(--c-lime-500); }
.vis__dot { fill: var(--c-lime-500); stroke: var(--c-ink-900); stroke-width: 2; }
.vis__falla { fill: none; stroke: var(--c-lime-500); stroke-width: 1.5; stroke-dasharray: 4 4; }
.vis__bar, .vis__fb { fill: #69696a; }
.vis__bar--b, .vis__fb--b { fill: var(--c-lime-500); }
.vis__val { fill: rgba(255, 255, 255, 0.85); font-size: 17px; font-weight: 800; }
.vis__val--b { fill: var(--c-lime-500); }
.vis__big { fill: var(--c-lime-500); font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.vis__big--s { font-size: 22px; fill: var(--c-white); }
.vis__ed { stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.2; transition: stroke 200ms, stroke-width 200ms; }
.vis__ed--f { stroke: rgba(175, 249, 18, 0.45); stroke-dasharray: 3 9; }
.vis__ed.is-hl { stroke: var(--c-lime-500); stroke-width: 2.2; stroke-dasharray: none; }
.vis__n { cursor: pointer; }
.vis__n circle { transform-box: fill-box; transform-origin: center; transition: transform 250ms var(--e-spring); }
.vis__n--in circle { fill: var(--c-white); }
.vis__n--h circle { fill: #3a3937; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.vis__n--out circle { fill: var(--c-lime-500); }
.vis__n:hover circle, .vis__n.is-hl circle { transform: scale(1.35); }
.vis__tip, .vis__hint { font-size: 14px; font-weight: 600; text-anchor: middle; }
.vis__tip { fill: var(--c-lime-500); opacity: 0; transition: opacity 180ms; pointer-events: none; }
.vis__hint { fill: rgba(255, 255, 255, 0.45); transition: opacity 180ms; }
.vis__n:hover .vis__tip, .vis__n.is-hl .vis__tip { opacity: 1; }
.vis:has(.vis__n:hover) .vis__hint { opacity: 0; }
.vis__cn { fill: none; stroke: rgba(255, 255, 255, 0.32); stroke-width: 2; }
.vis__pk { fill: var(--c-lime-500); offset-rotate: 0deg; opacity: 0; }
.vis__box rect { fill: #3a3937; stroke: rgba(255, 255, 255, 0.14); }
.vis__box--hl rect { fill: var(--c-lime-500); stroke: none; }
.vis__bt { fill: var(--c-white); font-size: 14px; font-weight: 700; }
.vis__bs { fill: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 600; }
.vis__box--hl .vis__bt, .vis__box--hl .vis__bs { fill: var(--c-ink-900); }
.vis__z { fill: none; stroke-width: 12; }
.vis__z--1 { stroke: #555453; }
.vis__z--2 { stroke: #939393; }
.vis__z--3 { stroke: var(--c-lime-500); }
.vis__ndl { stroke: var(--c-white); stroke-width: 4; stroke-linecap: round; transform-box: view-box; transform: rotate(40deg); }
.vis__ndl--prima { stroke: #939393; stroke-width: 3; stroke-dasharray: 3 5; transform: none; }
.vis__hub { fill: var(--c-white); }
/* animazioni d'ingresso: la figura riceve .is-in dal reveal */
.js .sol__vis .vis__l { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--e-out) 200ms; }
.js .sol__vis .vis__l--b { transition-delay: 700ms; transition-duration: 1500ms; }
.js .sol__vis .vis__l--dash { stroke-dasharray: 0.012 0.012; stroke-dashoffset: 0; opacity: 0; transition: opacity 800ms var(--e-out) 900ms; }
.js .sol__vis.is-in .vis__l { stroke-dashoffset: 0; }
.js .sol__vis.is-in .vis__l--dash { opacity: 1; }
.js .sol__vis :is(.vis__dot, .vis__ev) { opacity: 0; transition: opacity 500ms var(--e-out) 1500ms; }
.js .sol__vis.is-in :is(.vis__dot, .vis__ev), .sol__vis.is-in :is(.vis__area, .vis__band), html:not(.js) :is(.vis__area, .vis__band) { opacity: 1; }
.js .sol__vis :is(.vis__bar, .vis__fb) { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1100ms var(--e-out); transition-delay: calc(300ms + var(--i, 0) * 450ms); }
.js .sol__vis .vis__fb { transform-origin: center; transition-delay: calc(200ms + var(--i, 0) * 160ms); }
.js .sol__vis .vis__fb--b { transition-delay: calc(700ms + var(--i, 0) * 160ms); }
.js .sol__vis.is-in :is(.vis__bar, .vis__fb) { transform: none; }
.js .sol__vis :is(.vis__n, .vis__box, .vis__g) { opacity: 0; transition: opacity 500ms var(--e-out); transition-delay: calc(150ms + var(--i, 0) * 90ms); }
.js .sol__vis.is-in :is(.vis__n, .vis__box, .vis__g) { opacity: 1; }
.js .sol__vis :is(.vis__ed, .vis__cn) { opacity: 0; transition: opacity 700ms var(--e-out) 700ms, stroke 200ms, stroke-width 200ms; }
.js .sol__vis.is-in :is(.vis__ed, .vis__cn) { opacity: 1; }
.js .sol__vis .vis__ndl:not(.vis__ndl--prima) { transition: transform 1600ms var(--e-spring); transition-delay: calc(600ms + var(--i, 0) * 200ms); }
.sol__vis.is-in .vis__ndl:not(.vis__ndl--prima), html:not(.js) .vis__ndl:not(.vis__ndl--prima) { transform: rotate(160deg); }
.sol__vis.is-in .vis__ed--f { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.sol__vis.is-in .vis__pk { animation: pk 2.6s linear infinite; animation-delay: calc(1.2s + var(--i, 0) * 0.45s); }
@keyframes pk { 0% { offset-distance: 0%; opacity: 0; } 8%, 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ---------- REVEAL (solo con JS: senza JS tutto resta visibile) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--e-out), transform 700ms var(--e-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sh[data-reveal] .wm { clip-path: inset(0 100% 0 0); transition: clip-path 820ms var(--e-out) 80ms; }
.js .sh[data-reveal].is-in .wm { clip-path: inset(0 0 0 0); }

/* ---------- /noi/: tre competenze che convergono (blocco convergenza) ---------- */
.cv__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cv__righe { display: grid; gap: 0; border-top: 1.5px solid var(--fg-strong); }
.cv__righe li { padding: 0.85rem 0 0.85rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; font-size: 1.05rem; color: var(--fg-strong); }
.cv__righe li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 0.55rem; height: 0.55rem; background: var(--c-lime-500); box-shadow: 0 0 0 1.5px var(--c-ink-900); }
.cv__chiusa { margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 40ch; font: 700 clamp(1.25rem, 1rem + 0.8vw, 1.7rem)/1.3 var(--f-display); color: var(--fg-strong); letter-spacing: -0.01em; }
.cv__mid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.cv__venn { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.cv__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cv__l { font: 800 4.3px var(--f-display); letter-spacing: -0.01em; fill: var(--c-ink-900); }
.cv__l--w { fill: var(--c-white); }
.cv__tri { fill: #1d1c1b; stroke: var(--c-lime-500); stroke-width: 1.1; stroke-linejoin: round; }
.cv__c { transition: transform 900ms var(--e-out); }
.cv__tri, .cv__logo { transition: opacity 500ms 450ms; }
.js .cv__venn .cv__c--technology { transform: translate(-7%, -6%); }
.js .cv__venn .cv__c--ai_automation { transform: translate(7%, -6%); }
.js .cv__venn .cv__c--digital_growth { transform: translate(0, 8%); }
.js .cv__venn .cv__tri, .js .cv__venn .cv__logo { opacity: 0; }
.js .cv__venn.is-in .cv__c { transform: none; }
.js .cv__venn.is-in .cv__tri, .js .cv__venn.is-in .cv__logo { opacity: 1; }
.cv__aree { display: grid; gap: 0; }
.cv__a { display: grid; gap: 0.35rem; padding: 1.25rem 0 1.25rem 1.5rem; border-left: 6px solid var(--c-ink-900); }
.cv__a + .cv__a { margin-top: 0.75rem; }
.cv__a--ai_automation { border-left-color: var(--c-lime-500); }
.cv__a--digital_growth { border-left-color: #c9c9c6; }
.cv__k { font: 700 0.78rem var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.cv__v { font: 900 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--f-display); color: var(--fg-strong); letter-spacing: -0.02em; }
.cv__a p:not(.cv__k) { max-width: 52ch; }
.cv__a .tlink { justify-self: start; margin-top: 0.25rem; font-size: 0.9rem; }
.cv__frase { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1.5px solid var(--fg-strong); max-width: 30ch; font: 300 clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem)/1.2 var(--f-display); color: var(--fg-strong); letter-spacing: -0.02em; }
@media (prefers-reduced-motion: reduce) { .cv__c, .cv__tri, .cv__logo { transition: none; } }

/* ---------- /noi/: manifesto (titolo Black + Thin, battute grandi) ---------- */
.mf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.mf__h { font: 900 clamp(2rem, 1.4rem + 2vw, 3.4rem)/1.05 var(--f-display); letter-spacing: -0.03em; color: var(--fg-strong); max-width: 18ch; }
.mf__h span { display: block; font-weight: 200; }
.mf__t p { font-size: 1.1rem; line-height: 1.6; }
.mf__t p + p { margin-top: 1rem; }
.mf__b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.mf__b li { padding: 1.4rem 1.5rem; background: var(--c-ink-900); color: var(--c-white); font: 800 clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem)/1.25 var(--f-display); letter-spacing: -0.01em; }
.mf__b li::before { content: ""; display: block; width: 0.8rem; height: 0.8rem; margin-bottom: 0.9rem; background: var(--c-lime-500); }

/* ---------- partner, certificazioni e loghi delle tecnologie (tecnologie_partner) ---------- */
.tp__h { font-size: 1.15rem; margin: clamp(2rem, 4vw, 2.75rem) 0 1rem; }
.tp--card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border: 0; }
.tp--card .tp__card { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.25rem; border: 1.5px solid var(--rule); }
.tp__vis { display: grid; place-items: center; min-height: 88px; background: var(--c-white); }
.tp__vis img { width: 100%; max-width: 170px; height: auto; }
.tp__nome { font: 900 1.15rem/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--c-ink-900); text-align: center; padding: 0.5rem; border: 2px solid var(--c-ink-900); }
.tp__txt h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.tp__txt .tp__f { margin-top: 0.4rem; font-size: 0.8rem; color: var(--fg-muted); }
.stk2s { display: grid; gap: 1.5rem; }
.stk2__h { font: 700 0.78rem var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.7rem; }
.stk2__l { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stk2__l li { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 50px; padding: 0.5rem 1rem 0.5rem 0.75rem; border: 1.5px solid var(--rule); background: var(--c-white); font: 600 0.88rem var(--f-display); color: var(--c-ink-900); transition: border-color var(--t-fast), transform var(--t-fast); }
.stk2__l li:hover { border-color: var(--c-ink-900); transform: translateY(-2px); }
.stk2__l img { width: 26px; height: 26px; opacity: 0.9; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .mega__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .mega__side { grid-column: 1 / -1; }
  .tp li { grid-template-columns: 12rem minmax(0, 1fr); }
  .tp__f { grid-column: 2; }
  .prod li { grid-template-columns: 14rem minmax(0, 1fr); }
  .prod__l { grid-column: 2; }
  .scheda { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b--big { grid-column: span 2; grid-row: span 1; }
  .b--w3 { grid-column: auto; }
  .b--w2 { grid-column: span 2; }
  .perc { grid-template-columns: minmax(0, 1fr); }
  .recap { position: static; }
  .proc { grid-auto-flow: row; grid-auto-columns: auto; gap: 1.5rem; }
  .proc li { padding: 0 0 0 3.5rem; min-height: 2.4rem; }
  .proc li:not(:last-child)::after { top: 2.8rem; bottom: -1.2rem; left: 1.15rem; right: auto; width: 2px; height: auto; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__col--c { grid-column: 1 / -1; }
  .logos li { flex-basis: calc((100% - 6rem) / 4); }
  .team-w--2 { grid-template-columns: minmax(0, 1fr); }
  .team__altri { padding-left: 1.25rem; }
}
@media (max-width: 767px) {
  .art-meta { gap: 0.25rem 1.1rem; }
  .art-meta span + span::before { content: none; }
  .art-meta span:first-child { flex-basis: 100%; }
  .hh { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .stk .pxw, .blk-careers_strip .pxart, .blk-careers_strip .pxw { display: none; }
  .stk__srv { grid-column: auto; }
  .stk__in { grid-template-columns: minmax(0, 1fr); }
  .qs, .prep__l, .fp__l, .js .fp { grid-template-columns: minmax(0, 1fr); }
  .logos { gap: 0.75rem 1.25rem; }
  .logos li { flex-basis: calc((100% - 2.5rem) / 3); min-height: 56px; }
  .hc__box { font-weight: 300; }
  .scheda--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crumbs a { min-height: 44px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b--big { grid-column: 1 / -1; }
  .b:not(.b--big) a { padding: 1rem 1rem 3rem; }
  .b:not(.b--big) .b__n { font-size: 1.05rem; }
  .b:not(.b--big) .b__go { top: auto; bottom: 0.9rem; right: 0.9rem; margin: 0; }
  .hh__art { order: -1; min-height: 0; height: 34vw; max-height: 170px; }
  .cluster { width: 44vw; left: auto; right: -4vw; translate: 0 -50%; }
  .hp--art { grid-template-columns: minmax(0, 1fr); }
  .sol__vis { position: static; margin-inline: calc(var(--gutter) * -1); }
  .cv__top, .cv__mid, .mf, .mf__b, .tp--card { grid-template-columns: minmax(0, 1fr); }
  .tp--card .tp__card { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .stk2__l li { min-height: 40px; font-size: 0.82rem; padding: 0.35rem 0.75rem 0.35rem 0.55rem; }
  .cv__venn { max-width: 380px; }
  .mf { align-items: start; }
  /* icona della pagina sotto il primo paragrafo, prima dei pulsanti */
  .hp { gap: 0; }
  .hp__txt { display: contents; }
  .hp__art { order: 1; justify-self: start; margin-top: 1.5rem; }
  .hp .ctas { order: 2; }
  .hp .pxw { --pixel: 5px; }
  .inbreve, .inbreve--4 { grid-template-columns: minmax(0, 1fr); }
  .probs, .lv, .fgrid, .si, .si__l, .sl, .nx, .cb, .pos, .pos__cf, .sol, .sedi, .num, .dlv, .numc { grid-template-columns: minmax(0, 1fr); }
  .num--c { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .num--c .num__v { font-size: 2.4rem; }
  .qs, .var, .ms, .cc__2, .mp__y ul { columns: 1; }
  .stk { position: relative; top: 0; min-height: 0; box-shadow: none; transform: none !important; }
  .stk__in { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 1.25rem; gap: 1.25rem; }
  .stk__art { order: 2; justify-self: start; }
  .stk .pxw { --pixel: 5px; }
  .stk__veil { display: none; }
  .pos__c { max-width: 400px; justify-self: center; }
  .num__v { font-size: 3.5rem; }
  .b--w2, .b--w3 { grid-column: auto; grid-row: auto; }
  .b a { min-height: 0; padding: 1.25rem 3.5rem 1.25rem 1.25rem; }
  .b__go { top: 50%; bottom: auto; margin-top: -17px; }
  .b--big a { padding: 1.5rem 3.5rem 1.5rem 1.25rem; }
  .cmp { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .faq__i, .col__r, .sum > div { grid-template-columns: minmax(0, 1fr); }
  .pcs { grid-template-columns: minmax(0, 1fr); }
  .pc__box { margin: -2.5rem 0.75rem 0; }
  .pc--big .pc__img { aspect-ratio: 16 / 10; }
  .logos .logo-n { font-size: 0.72rem; letter-spacing: 0.03em; }
  .tl { grid-auto-flow: row; grid-auto-columns: auto; padding: 0 0 0 2.25rem; gap: 1.5rem; }
  .tl::before { top: 0; bottom: 0; left: 0.55rem; right: auto; width: 2px; height: auto; }
  .tl li::before { top: 0.35rem; left: -2.25rem; }
  .tp li, .prod li { grid-template-columns: minmax(0, 1fr); }
  .tp__f, .prod__l { grid-column: auto; }
  .cs { flex-direction: column; align-items: flex-start; }
  .cs__art { order: 3; }
  .ponte { grid-template-columns: minmax(0, 1fr); }
  .tiles--2, .tiles--3, .tiles--4 { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 64px; }
  .fp__pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .scheda { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__links a, .foot__legal a, .foot__social a, .foot__direct a { min-height: 44px; }
  .foot__bar-in { padding-block: 0.5rem; }
  .foot__links { columns: 2; }
  .posts a { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; }
  .post__go, .post__d { display: none; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .hc__img { aspect-ratio: 16 / 10; }
  .pnav .btn { padding-inline: 1.1rem; }
}

@media (max-width: 400px) {
  .blk-hero_home .eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; }
  .b:not(.b--big) .b__s { display: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js .pxart i { opacity: 1 !important; transform: none !important; }
  .js .sh[data-reveal] .wm { clip-path: none !important; }
  .js .cluster .blob { opacity: 1 !important; transform: none !important; }
  .js .ticker__track { animation: none !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker__track { width: auto; }
  .ticker__list { flex-wrap: wrap; gap: 1rem 2.5rem; padding: 0; }
  .ticker__list[aria-hidden] { display: none; }
  .stk { transform: none !important; }
  .stk__veil { opacity: 0 !important; }
  .pxart[data-fx], .pxart[data-fx] * { animation: none !important; transform: none !important; }
  .js .ico { clip-path: none !important; }
  .sol__vis * { transition: none !important; }
  .vis__pk, .sol__led { display: none; }
  .ico * { animation: none !important; transition: none !important; }
  .pxart[data-fx="team"] i.x2 { opacity: 0 !important; }
  .mnav__l, .mnav__p { transition: none !important; }
  .pt { display: none !important; }
  html.pt-in body::after, html.intro body::after { content: none; }
}

/* ---------- PRINT ---------- */
@media print {
  .site-header, .pixel-field, .progress, .sfuma, .pnav, .mnav, .pt { display: none !important; }
  body { color: #000; }
}
