@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:300 800;font-display:swap;src:url('../fonts/atkinson-hyperlegible-next-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:300 800;font-display:swap;src:url('../fonts/atkinson-hyperlegible-next-italic-latin.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:'Atkinson Hyperlegible Next';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/atkinson-hyperlegible-next-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/atkinson-hyperlegible-next-normal-latin.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:'Outfit';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/outfit-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Outfit';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/outfit-normal-latin.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}
/* ==========================================================================
   Includia — foglio di stile
   Colori presi dal logo: rosso, azzurro e verde dei tre anelli + nero del marchio.
   ========================================================================== */

:root {
  --paper: #faf8f4;
  --surface: #ffffff;
  --ink: #101318;
  --muted: #474e5c;
  --line: #dcd7cc;

  /* colori del logo: solo per grafica e forme grandi */
  --red: #ff2a00;
  --cyan: #00b0f8;
  --green: #4daa66;
  /* varianti scure: per testo e link (contrasto AA su --paper) */
  --red-t: #c02000;
  --cyan-t: #006b9e;
  --green-t: #29713f;

  --focus: #006b9e;
  --band: #101318;
  --band-surface: #1a1f27;
  --band-ink: #f4f2ed;
  --band-muted: #b9bfca;
  --band-line: #323945;

  --font-display: "Outfit", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 1.25rem;
  --radius-s: 0.625rem;
  --section: clamp(4rem, 9vw, 7.5rem);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0d1015;
  --surface: #171b22;
  --ink: #f4f2ed;
  --muted: #b4bac6;
  --line: #2c333e;
  --red-t: #ff8266;
  --cyan-t: #5ccbff;
  --green-t: #7fd49a;
  --focus: #5ccbff;
  --band: #171b22;
  --band-surface: #212730;
  color-scheme: dark;
}

[data-contrast="more"] {
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #000000;
  --muted: #1c1c1c;
  --line: #000000;
  --red-t: #8f1700;
  --cyan-t: #004a70;
  --green-t: #17502a;
  --focus: #000000;
  --band: #000000;
  --band-surface: #000000;
  --band-ink: #ffffff;
  --band-muted: #ffffff;
  --band-line: #ffffff;
}
[data-contrast="more"][data-theme="dark"] {
  --paper: #000000;
  --surface: #000000;
  --ink: #ffffff;
  --muted: #f0f0f0;
  --line: #ffffff;
  --red-t: #ffb3a1;
  --cyan-t: #a3e1ff;
  --green-t: #b4ecc5;
  --focus: #ffffff;
}

[data-contrast="yellow"] {
  --paper: #000000; --surface: #000000; --ink: #ffff00; --muted: #ffff00; --line: #ffff00;
  --red-t: #ffff00; --cyan-t: #ffff00; --green-t: #ffff00; --focus: #ffffff;
  --band: #000000; --band-surface: #000000; --band-ink: #ffff00; --band-muted: #ffff00; --band-line: #ffff00;
  color-scheme: dark;
}
[data-contrast="yellow"] .band { --red-t: #ffff00; --cyan-t: #ffff00; --green-t: #ffff00; --focus: #ffffff; border-block: 2px solid #ffff00; }
[data-contrast="yellow"] .site-header { background: #000; backdrop-filter: none; }
[data-contrast="yellow"] a:not(.btn) { text-decoration: underline; }
[data-contrast="yellow"] .logo--light { display: none; }
[data-contrast="yellow"] .logo--dark { display: block; }

/* preferenze di lettura applicate dal pannello */
[data-lh] body :is(p, li, dd, dt, label, figcaption, input, textarea, select, blockquote) { line-height: calc(1.6 * var(--lhs, 1)) !important; }
[data-lh] body :is(h1, h2, h3, h4, .wordmark) { line-height: calc(1.1 * var(--lhs, 1)) !important; }
[data-ls] body * { letter-spacing: calc(var(--ls, 0) * 0.03em) !important; word-spacing: calc(var(--ls, 0) * 0.05em) !important; }
[data-align="left"] main :is(h1, h2, h3, h4, p, li, figcaption) { text-align: left !important; }
[data-align="center"] main :is(h1, h2, h3, h4, p, li, figcaption) { text-align: center !important; }
[data-align="right"] main :is(h1, h2, h3, h4, p, li, figcaption) { text-align: right !important; }
[data-font] { --font-display: var(--font-body); }
[data-font] body { word-spacing: 0.1em; }
[data-font] :is(h1, h2, h3, h4) { font-weight: 500; letter-spacing: 0; }
[data-titles] body :is(h1, h2, h3, h4):not(.prefs *) { outline: 3px solid var(--cyan-t); outline-offset: 4px; background: color-mix(in srgb, var(--cyan) 14%, transparent); border-radius: 4px; }
[data-links] body a:not(.prefs *):not(.brand) { background: #ffff00 !important; color: #000000 !important; text-decoration: underline !important; text-decoration-thickness: 3px !important; font-weight: 700 !important; }
[data-zoom] body { zoom: 1.15; }
[data-cursor], [data-cursor] * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'><path d='M7 2l12 11.2-5.8.5 3.3 7.3-2.2.9-3.2-7.4-4.4 4.7z' fill='black' stroke='white' stroke-width='1.3'/></svg>") 12 3, auto !important; }
.read-mask {
  position: fixed; left: 0; width: 100%; height: 7.5rem; z-index: 90; pointer-events: none;
  box-shadow: 0 0 0 9999px rgb(0 0 0 / 0.62); border-block: 2px solid #38bdf8;
}
.read-guide { position: fixed; left: 0; width: 100%; height: 6px; z-index: 91; pointer-events: none; background: #facc15; border-block: 1px solid #854d0e; }

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}


img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.16em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: #000; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 strong, h2 strong, .wordmark strong { font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-s); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- tipografia di sezione ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%;
  border: 3px solid var(--dot, var(--red));
}
.dot-cyan { --dot: var(--cyan); }
.dot-green { --dot: var(--green); }
.dot-red { --dot: var(--red); }

.h-xl { font-size: clamp(2.75rem, 7.2vw, 5.75rem); }
.h-l { font-size: clamp(2.125rem, 4.6vw, 3.75rem); }
.h-m { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 400; }
.h-s { font-size: 1.3125rem; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
.lead { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.5; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 52rem; }
.head .eyebrow { margin-bottom: 0; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
  padding: 0.875rem 1.5rem; min-height: 3rem;
  border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 0.2s ease; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--line);
}
.arrow-link svg { width: 1.125rem; height: 1.125rem; transition: transform 0.2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- testata ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
[data-contrast="more"] .site-header { background: var(--paper); backdrop-filter: none; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; min-height: 5.25rem; }
.brand { flex: none; display: block; padding-block: 0.5rem; }
.brand img { width: auto; height: 3.75rem; }
.logo--dark { display: none; }
[data-theme="dark"] .logo--light { display: none; }
[data-theme="dark"] .logo--dark { display: block; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.nav a {
  display: block; padding: 0.625rem 0.75rem; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 400;
  text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.nav .is-product::before {
  content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--c); margin-right: 0.5rem; vertical-align: 0.1em;
}
.tools { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.75rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-family: var(--font-display); font-size: 1rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
}
.tool:hover { border-color: var(--ink); }
.tool svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle { display: none; }

@media (max-width: 68rem) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.5rem; margin: 0;
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 0.875rem 0.5rem; font-size: 1.25rem; border-radius: var(--radius-s); border-bottom: 1px solid var(--line); }
  .tools { margin-left: 0; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .nav { position: static; padding: 0 0 1rem; border: 0; }
  html:not(.js) .bar { flex-wrap: wrap; }
}
@media (max-width: 30rem) {
  .brand img { height: 2.5rem; }
  .bar { gap: 0.5rem; }
  .tool .tool-label { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.75rem; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 34rem; margin-inline: auto; }
.orbit-photo {
  position: absolute; inset: 19%; border-radius: 50%; overflow: hidden;
  background: var(--line);
}
.orbit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings ellipse { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 87 13; }
.ring-r { stroke: var(--red); }
.ring-c { stroke: var(--cyan); }
.ring-g { stroke: var(--green); }
.rings g { transform-origin: 300px 300px; animation: spin 70s linear infinite; }
.rings g:nth-child(2) { animation-duration: 95s; animation-direction: reverse; }
.rings g:nth-child(3) { animation-duration: 120s; }
.rings ellipse { animation: draw 1.8s cubic-bezier(0.6, 0, 0.2, 1) both; }
.rings g:nth-child(2) ellipse { animation-delay: 0.15s; }
.rings g:nth-child(3) ellipse { animation-delay: 0.3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 87 13; } }

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 24rem; order: -1; }
}

/* ---------- pilastri ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; }
.pillar { border-top: 4px solid var(--c); padding-top: 1.5rem; display: grid; gap: 0.75rem; align-content: start; }
.pillar p { color: var(--muted); }
@media (max-width: 52rem) { .pillars { grid-template-columns: 1fr; } }

/* ---------- fascia scura (prodotti) ---------- */
.band {
  background: var(--band); color: var(--band-ink);
  --ink: var(--band-ink); --muted: var(--band-muted); --line: var(--band-line);
  --paper: var(--band); --surface: var(--band-surface);
  --focus: #5ccbff; --red-t: #ff8266; --cyan-t: #5ccbff; --green-t: #7fd49a;
}
[data-contrast="more"] .band { --focus: #ffffff; --red-t: #ffb3a1; --cyan-t: #a3e1ff; --green-t: #b4ecc5; border-block: 2px solid var(--band-line); }
.band .btn { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.band .btn:hover { background: transparent; color: var(--band-ink); }
.band .btn--ghost { background: transparent; color: var(--band-ink); }
.band .btn--ghost:hover { background: var(--band-ink); color: var(--band); }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease;
}
.product:hover { transform: translateY(-4px); border-color: var(--c); }
.product-art { aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--c) 12%, var(--band)); border-bottom: 1px solid var(--line); }
.product-art svg, .product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.125rem; flex: 1; align-content: start; }
.tag {
  justify-self: start; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 999px; border: 1.5px solid var(--c); color: var(--ink);
}
.wordmark { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.product .wordmark { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.product-link { text-decoration: none; display: inline-block; }
.product-link::after { content: ""; position: absolute; inset: 0; }
.product-link:focus-visible { outline: none; }
.product:has(.product-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
/* loghi dei prodotti */
.plogo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5em; font-size: 2.25rem; line-height: 1; }
.plogo img { height: 0.72em; width: auto; }
.plogo-suffix { font-family: var(--font-display); font-weight: 300; font-size: 0.78em; letter-spacing: 0.3em; text-transform: uppercase; }
.plogo--auditin { gap: 0.3em; }
.plogo--auditin img { height: 1.05em; }
.plogo--auditin .wordmark { font-size: 1.15em; font-weight: 600; letter-spacing: -0.02em; }
.plogo--xl { font-size: clamp(2.25rem, 5vw, 4rem); flex-wrap: wrap; }
.wordmark .accent { color: var(--ct); font-weight: 700; }
.ticks { list-style: none; display: grid; gap: 0.625rem; }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.625rem; align-items: start; }
.ticks svg { width: 1.375rem; height: 1.375rem; margin-top: 0.15em; color: var(--ct, var(--green-t)); }
.product .arrow-link { margin-top: auto; padding-top: 0.5rem; text-decoration: none; color: var(--ct); }
.c-cyan { --c: var(--cyan); --ct: var(--cyan-t); }
.c-green { --c: var(--green); --ct: var(--green-t); }
.c-red { --c: var(--red); --ct: var(--red-t); }
@media (max-width: 52rem) { .products { grid-template-columns: 1fr; } }

/* ---------- ambiti ---------- */
.fields { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.fields li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.fields .n { font-family: var(--font-display); font-size: 0.9375rem; color: var(--muted); padding-top: 0.35rem; font-variant-numeric: tabular-nums; }
.fields p { color: var(--muted); margin-top: 0.375rem; }
@media (max-width: 52rem) { .fields { grid-template-columns: 1fr; } }

/* ---------- schede ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); list-style: none; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img--contain img { object-fit: contain; background: #fff; }
.card-body { padding: 1.5rem; display: grid; gap: 0.75rem; align-content: start; flex: 1; }
.card-body p { color: var(--muted); font-size: 1.0625rem; }
.card-meta { font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
/* righe allineate tra le schede: categoria, titolo e testo partono alla stessa altezza */
@supports (grid-template-rows: subgrid) {
  .cards { --cards-gap: clamp(1.25rem, 2.5vw, 2rem); row-gap: 0; margin-bottom: calc(-1 * var(--cards-gap)); }
  .cards > .card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: var(--cards-gap); }
  .card > .card-body { grid-row: span 3; grid-template-rows: subgrid; }
}
@media (max-width: 60rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* ---------- servizi ---------- */
.services { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services li { padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 0.625rem; align-content: start; }
.services p { color: var(--muted); font-size: 1.0625rem; }
.services--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 60rem) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .services { grid-template-columns: 1fr; } }

/* ---------- blocchi a due colonne ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
/* se a sinistra c'è l'etichetta sopra il titolo, la colonna destra parte all'altezza del titolo */
@media (min-width: 52.0625rem) {
  .split--top:has(> .stack:first-child > .eyebrow:first-child) > :last-child:not(:has(> .eyebrow:first-child)) {
    padding-top: calc(0.875rem * 1.6 * var(--eyebrow-lhs, 1) + 2.5rem);
  }
  [data-lh] .split--top { --eyebrow-lhs: var(--lhs, 1); }
}
.split img { border-radius: var(--radius); width: 100%; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-content: start; }
.stack p { color: var(--muted); }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

.figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.figure img { border-radius: 0; width: 100%; }
.figure figcaption { padding: 0.875rem 1.25rem; font-size: 0.9375rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- passi ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.steps li { counter-increment: step; display: grid; gap: 0.75rem; align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 4px solid var(--c, var(--green));
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}
.steps p { color: var(--muted); }
@media (max-width: 52rem) { .steps { grid-template-columns: 1fr; } }

/* ---------- valori / chip ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.chips li { font-family: var(--font-display); font-size: 1.0625rem; padding: 0.5rem 1.125rem; border-radius: 999px; border: 1.5px solid var(--line); }

/* ---------- team ---------- */
.team { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.team li { display: grid; gap: 0.875rem; align-content: start; }
.team img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; width: 100%; border: 4px solid var(--c); padding: 5px; background: var(--paper); }
.team .name { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.25; text-align: center; }
@media (max-width: 60rem) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 32rem) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- partner ---------- */
.partners { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.875rem; }
.partners a, .partners span {
  display: flex; align-items: center; justify-content: center; height: 6.5rem; padding: 1rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.partners a:hover { border-color: var(--ink); transform: translateY(-2px); }
.partners img { max-height: 4.25rem; width: auto; max-width: 100%; object-fit: contain; }
.partners-group + .partners-group { margin-top: 2.5rem; }
.partners-group h3 { margin-bottom: 1.125rem; }

/* ---------- invito finale ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: grid; gap: 1.5rem; justify-items: start; }
.cta h2, .cta .lead { max-width: min(38rem, 62%); }
.cta-rings { position: absolute; right: -6rem; top: 50%; width: 32rem; height: 32rem; translate: 0 -50%; pointer-events: none; }
.cta-rings .rings { position: static; }
@media (max-width: 60rem) { .cta-rings { opacity: 0.22; right: -14rem; } .cta h2, .cta .lead { max-width: none; } }

/* ---------- testata pagine interne ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; gap: 1.5rem; }
.page-hero .eyebrow { margin-bottom: 0; }
.page-hero h1 { max-width: 14em; }
.page-hero--product { border-bottom: 0; }
.page-hero--product .hero-grid { align-items: center; }
.page-hero--product .wordmark { font-size: clamp(3rem, 8vw, 6rem); }
.product-stage { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: color-mix(in srgb, var(--c) 12%, var(--band)); aspect-ratio: 4 / 3; }
.product-stage svg { width: 100%; height: 100%; }

/* ---------- testo lungo ---------- */
.prose { max-width: 44rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
.prose h2 { font-size: 1.75rem; font-weight: 500; margin-top: 1.75rem; }
.prose h3 { font-size: 1.3125rem; font-weight: 500; margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; display: grid; gap: 0.5rem; }
.prose a { color: var(--cyan-t); }
.note { border-left: 4px solid var(--cyan); padding: 0.875rem 1.25rem; background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--muted); font-size: 1rem; }

/* ---------- contatti / modulo ---------- */
.contact-list { list-style: none; display: grid; gap: 1.5rem; }
.contact-list .label { font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.25rem; }
.form { display: grid; gap: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--font-display); font-weight: 500; }
.field .hint { font-size: 0.9375rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--muted); border-radius: var(--radius-s);
  padding: 0.75rem 1rem; min-height: 3rem; width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--green-t); }
.form-status[data-state="error"] { color: var(--red-t); }

/* ---------- piè di pagina ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.footer-grid h2 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand img { height: 3.5rem; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; display: grid; gap: 0.375rem; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- pannello preferenze ---------- */
.prefs {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0;
  background: var(--surface); color: var(--ink);
  width: min(46rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto;
}
.prefs::backdrop { background: rgb(0 0 0 / 0.55); }
.prefs form { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.5rem; }
.prefs-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.prefs-group { display: grid; gap: 1.125rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.prefs-group > h3 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prefs fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.prefs legend { font-family: var(--font-display); font-weight: 500; padding: 0; margin-bottom: 0.625rem; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 0.5rem 1rem; min-height: 2.75rem; border: 1.5px solid var(--muted); border-radius: 999px; font-size: 1rem; line-height: 1.6; }
.seg input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); font-weight: 600; }
.seg input[type="checkbox"]:checked + span::before { content: "✓ "; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.steppers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.stepper { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; row-gap: 0.5rem; }
.stepper-label { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 500; }
.stepper button {
  height: 2.75rem; border: 1.5px solid var(--muted); background: transparent; color: var(--ink);
  font: inherit; font-size: 1.375rem; line-height: 1; cursor: pointer; border-radius: 999px;
}
.stepper button:hover:not(:disabled) { background: var(--ink); color: var(--surface); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 36rem) { .steppers { grid-template-columns: 1fr; } }
.prefs-foot { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.link-btn { background: none; border: 0; padding: 0.5rem 0; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; min-height: 2.75rem; display: inline-flex; align-items: center; }

/* ---------- comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
[data-motion] { scroll-behavior: auto; }
[data-motion] *, [data-motion] *::before, [data-motion] *::after { animation: none !important; transition: none !important; }
[data-motion] .reveal { opacity: 1 !important; transform: none !important; }

@media print {
  .site-header, .site-footer .footer-grid, .cta-rings, .prefs, .read-mask, .read-guide { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
