/* CSS del sito — generato da costruisci-assets.py, non modificare a mano */
/* ===== 00-font.css ===== */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/font/ibm-plex-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/font/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/font/ibm-plex-mono-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/font/ibm-plex-mono-500-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/font/schibsted-grotesk-400-800-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;
}

/* ===== 01-token.css ===== */
:root {
  --carta: #f4f3ef;
  --superficie: #fbfaf7;
  --inchiostro: #16181b;
  --testo: #2f3337;
  --tenue: #5b6168;
  --riga: #d8d5cc;
  --accento: #008f11;
  --accento-testo: #007a0f;
  --su-accento: #ffffff;
  --spia: #1f9d55;
  --errore: #b3261e;
  --errore-fondo: #fbeae8;
  --font-testo: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-piccolo: 0.875rem;
  --t-base: 1.0625rem;
  --t-medio: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  --t-grande: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --t-enorme: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem);
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: clamp(3.5rem, 2rem + 6vw, 7rem);
  --larghezza: 72rem;
  --colonna: 40rem;
  --raggio: 4px;
  --tocco: 44px;
  --ombra-scheda: 6px 6px 0 var(--inchiostro);
}
@media (prefers-color-scheme: dark) {
  :root {
    --carta: #111315;
    --superficie: #181b1e;
    --inchiostro: #f1efe9;
    --testo: #d6d4ce;
    --tenue: #9da3a9;
    --riga: #2c3035;
    --accento: #00ff41;
    --accento-testo: #00ff41;
    --su-accento: #16181b;
    --spia: #3ccf7f;
    --errore: #ff8a80;
    --errore-fondo: #3a1715;
    --ombra-scheda: 6px 6px 0 var(--accento);
  }
}

/* ===== 02-base.css ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-6);
}
html.anteprima { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--carta);
  color: var(--testo);
  font-family: var(--font-testo);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-wrap: break-word;
}
h1, h2, h3 { color: var(--inchiostro); line-height: 1.1; margin: 0; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--inchiostro); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accento-testo); }
:focus-visible { outline: 3px solid var(--accento); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.contenitore {
  width: 100%;
  max-width: var(--larghezza);
  margin-inline: auto;
  padding-inline: max(var(--s-4), env(safe-area-inset-left)) max(var(--s-4), env(safe-area-inset-right));
}
@media (min-width: 48rem) {
  .contenitore { padding-inline: var(--s-6); }
}
.nascosto {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.salta {
  position: absolute; left: var(--s-4); top: -100px; z-index: 10;
  background: var(--inchiostro); color: var(--carta);
  padding: var(--s-3) var(--s-4); border-radius: var(--raggio);
}
.salta:focus { top: var(--s-4); color: var(--carta); }
.etichetta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tenue);
  margin: 0 0 var(--s-3);
}
h1 em, h2 em, h3 em { font-style: normal; color: var(--accento); }
.pulsante {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tocco);
  padding: var(--s-3) var(--s-5);
  border: 2px solid var(--inchiostro);
  border-radius: var(--raggio);
  background: var(--inchiostro);
  color: var(--carta);
  font: inherit; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pulsante:hover { color: var(--carta); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--accento); }
.pulsante--secondario { background: transparent; color: var(--inchiostro); }
.pulsante--secondario:hover { color: var(--inchiostro); }
.pulsante--pieno { width: 100%; }
.pulsante--chiaro { background: var(--accento-testo); border-color: var(--accento-testo); color: var(--su-accento); }
.pulsante--chiaro:hover { color: var(--su-accento); box-shadow: 3px 3px 0 var(--carta); }
.azioni { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.collegamento { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accento); }
.collegamento:hover { color: var(--accento-testo); }
.vuoto { color: var(--tenue); }

/* ===== 10-testata.css ===== */
.testata {
  border-bottom: 1px solid var(--riga);
  background: var(--carta);
  padding-top: env(safe-area-inset-top);
}
.testata__riga {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  padding-block: var(--s-3);
}
.marchio {
  display: flex; flex-direction: column;
  min-height: var(--tocco); justify-content: center;
  text-decoration: none; color: var(--inchiostro); line-height: 1.15;
}
.marchio__nome { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.marchio__qualifica { font-family: var(--font-mono); font-size: 0.75rem; color: var(--tenue); letter-spacing: 0.04em; }
.marchio:hover { color: var(--inchiostro); }
.menu { width: 100%; }
.menu ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); list-style: none; margin-inline: calc(-1 * var(--s-2)); }
.menu a {
  display: inline-flex; align-items: center; min-height: var(--tocco);
  padding-inline: var(--s-2);
  text-decoration: none; font-weight: 500; color: var(--testo);
}
.menu a[aria-current="page"] { color: var(--inchiostro); text-decoration: underline; text-decoration-color: var(--accento); text-decoration-thickness: 2px; }
.menu__azione {
  border: 2px solid var(--inchiostro); border-radius: var(--raggio);
  padding-inline: var(--s-4) !important; font-weight: 700 !important; color: var(--inchiostro) !important;
  margin-left: auto;
}
.menu__azione:hover { background: var(--inchiostro); color: var(--carta) !important; }
@media (min-width: 44rem) {
  .menu { width: auto; }
  .menu ul { margin-inline: 0; gap: var(--s-1) var(--s-3); }
  .menu__azione { margin-left: var(--s-2); }
}
@media (max-width: 23rem) {
  .menu ul { gap: 0; margin-inline: -4px; }
  .menu a { padding-inline: 4px; font-size: 0.9375rem; }
  .menu__azione { padding-inline: 8px !important; }
}

/* ===== 20-apertura.css ===== */
.apertura { padding-block: var(--s-8); }
.apertura__griglia { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 60rem) {
  .apertura__griglia { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}
.apertura__titolo {
  font-size: var(--t-enorme);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 18ch;
  text-wrap: balance;
}
.apertura__sotto { font-size: var(--t-medio); max-width: 38rem; margin-top: var(--s-5); color: var(--testo); }
.scheda {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--superficie);
  border: 2px solid var(--inchiostro);
  border-radius: var(--raggio);
  box-shadow: var(--ombra-scheda);
  padding: var(--s-5);
  rotate: 1.2deg;
  max-width: 26rem;
}
@media (max-width: 59.99rem) {
  .scheda { rotate: 0deg; margin-right: 6px; }
}
.scheda__testa {
  display: flex; justify-content: space-between; gap: var(--s-3);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 500;
  color: var(--tenue);
  padding-bottom: var(--s-3); margin-bottom: var(--s-3);
  border-bottom: 1px dashed var(--riga);
}
.scheda__righe { margin: 0; }
.scheda__righe div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-3);
  padding-block: var(--s-2);
  border-bottom: 1px dashed var(--riga);
}
.scheda__righe dt { color: var(--tenue); }
.scheda__righe dd { margin: 0; color: var(--inchiostro); font-weight: 500; }
.scheda__stato { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-4) 0 0; color: var(--inchiostro); font-weight: 500; }
.spia {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--spia);
  box-shadow: 0 0 0 0 var(--spia);
  animation: spia 2.4s ease-out infinite;
}
@keyframes spia {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--spia) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 10px transparent; }
}
@media (max-width: 22rem) {
  .scheda__righe div { grid-template-columns: 1fr; gap: 0; }
}
.apertura {
  position: relative; overflow: hidden; isolation: isolate;
  --carta: #0b0f0c;
  --superficie: #111713;
  --inchiostro: #e8ffe9;
  --testo: #c5dcc8;
  --tenue: #8fae94;
  --riga: #1f2e23;
  --accento: #00ff41;
  --accento-testo: #00ff41;
  --su-accento: #0b0f0c;
  --ombra-scheda: 6px 6px 0 #00ff41;
  background: var(--carta);
  color: var(--testo);
}
.pioggia { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.apertura__testo { background: radial-gradient(ellipse at 35% 50%, var(--carta) 50%, transparent 78%); }
.apertura__griglia--sola { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 60rem) {
  .scheda--dritta { rotate: 0deg; }
  .scheda--sinistra { rotate: -1.2deg; }
}
.scheda--senza-ombra { box-shadow: none; }
.spia--gialla { --spia: #f5c518; }
.spia--rossa { --spia: #ff4d4d; }
.spia--spenta { --spia: transparent; box-shadow: inset 0 0 0 1.5px var(--tenue) !important; animation: none !important; }
.spia--ferma { animation: none; }

/* ===== 30-sezioni.css ===== */
.sezione { padding-block: var(--s-8); border-top: 1px solid var(--riga); }
.sezione--alterna { background: var(--superficie); }
.sezione__testa { margin-bottom: var(--s-7); }
.sezione__titolo { font-size: var(--t-grande); font-weight: 800; letter-spacing: -0.025em; }
.servizi {
  list-style: none;
  display: grid; gap: 0;
  border-top: 1px solid var(--riga);
  border-left: 1px solid var(--riga);
}
@media (min-width: 40rem) { .servizi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .servizi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.servizio {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--carta);
  border-right: 1px solid var(--riga);
  border-bottom: 1px solid var(--riga);
  padding: var(--s-6) var(--s-5);
  transition: background .15s ease;
}
.sezione--alterna .servizio { background: var(--superficie); }
.servizio:hover { background: var(--superficie); }
.servizio__numero { font-family: var(--font-mono); font-weight: 500; color: var(--accento-testo); font-size: 0.875rem; margin-bottom: var(--s-4); }
.servizio__titolo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.servizio__titolo a { text-decoration: none; }
.servizio__titolo a::after { content: ""; position: absolute; inset: 0; }
.servizio__sintesi { flex: 1; color: var(--testo); }
.servizio__vai { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500; color: var(--inchiostro); transition: transform .15s ease; }
.servizio:hover .servizio__vai { transform: translateX(4px); color: var(--accento-testo); }
.servizio:focus-within { outline: 3px solid var(--accento); outline-offset: -3px; }
.servizio__titolo a:focus-visible { outline: none; }
.passi { list-style: none; counter-reset: passo; display: grid; gap: var(--s-6); }
@media (min-width: 40rem) { .passi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .passi { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.passo { counter-increment: passo; border-top: 2px solid var(--inchiostro); padding-top: var(--s-4); }
.passo::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; color: var(--accento-testo);
  margin-bottom: var(--s-3);
}
.passo__titolo { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s-2); }
.passo p { margin: 0; }
.lavori { list-style: none; display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .lavori { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lavoro { border: 1px solid var(--riga); border-radius: var(--raggio); padding: var(--s-5); background: var(--superficie); }
.lavoro__tipo { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-bottom: var(--s-2); }
.lavoro__titolo { font-size: 1.4rem; font-weight: 800; margin-bottom: var(--s-3); }
.lavoro__link { display: inline-flex; align-items: center; min-height: var(--tocco); font-weight: 700; }
.gettoni { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.gettoni li { font-family: var(--font-mono); font-size: 0.75rem; border: 1px solid var(--riga); border-radius: 99px; padding: 2px var(--s-3); }
.presentazione { display: grid; gap: var(--s-7); }
@media (min-width: 56rem) { .presentazione { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.presentazione__attacco { font-size: var(--t-medio); margin-top: var(--s-4); max-width: var(--colonna); }
.fatti { margin: 0; border-top: 2px solid var(--inchiostro); }
.fatti div {
  display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--s-4);
  padding-block: var(--s-3); border-bottom: 1px solid var(--riga);
}
.fatti dt { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); padding-top: 0.2em; }
.fatti dd { margin: 0; color: var(--inchiostro); font-weight: 500; }
.fatti--colonna div { grid-template-columns: 1fr; gap: 0; }
@media (max-width: 26rem) { .fatti div { grid-template-columns: 1fr; gap: 0; } }
.invito { background: var(--inchiostro); color: var(--carta); padding-block: var(--s-8); }
.invito__riga { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.invito__titolo { color: var(--carta); font-size: var(--t-grande); font-weight: 800; letter-spacing: -0.025em; max-width: 20ch; }

/* ===== 35-lavori.css ===== */
.lavoro { position: relative; }
.lavoro__media {
  position: relative; overflow: hidden;
  margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) var(--s-4);
  border-bottom: 1px solid var(--riga);
  border-radius: var(--raggio) var(--raggio) 0 0;
  background: var(--riga);
}
.lavoro__anteprima { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.lavoro__liquido { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.liquido-attivo .lavoro__liquido { opacity: 1; }
.lavoro__titolo a { text-decoration: none; }
.lavoro__titolo a:hover { text-decoration: underline; text-decoration-color: var(--accento); }
.lavoro__link + .lavoro__link { margin-left: var(--s-5); }
.galleria { padding-bottom: var(--s-8); }
.galleria__elenco { list-style: none; display: grid; gap: var(--s-7); }
.galleria__voce { margin: 0; }
.galleria__voce a { display: block; border: 2px solid var(--inchiostro); border-radius: var(--raggio); overflow: hidden; background: var(--riga); }
.galleria__voce a:hover { box-shadow: var(--ombra-scheda); }
.galleria__img { display: block; width: 100%; height: auto; }
.galleria__voce figcaption { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-top: var(--s-3); }

/* ===== 38-strumenti.css ===== */
.strumenti__vasca {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.strumenti__voce {
  font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 500;
  padding: 0.45rem 0.95rem;
  border: 2px solid var(--inchiostro); border-radius: 99px;
  background: var(--carta); color: var(--inchiostro);
  white-space: nowrap;
}
.strumenti__voce--servizio { background: var(--accento-testo); border-color: var(--accento-testo); color: var(--su-accento); }
.strumenti__nota { display: none; }
.strumenti__vasca.in-fisica {
  display: block; position: relative;
  height: clamp(20rem, 42vw, 26rem);
  overflow: hidden;
  border: 2px solid var(--inchiostro); border-radius: var(--raggio);
  background: var(--superficie);
  touch-action: pan-y;
}
.in-fisica .strumenti__voce { position: absolute; top: 0; left: 0; will-change: transform; cursor: grab; }
.in-fisica .strumenti__voce:active { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .strumenti__vasca.in-fisica + .strumenti__nota { display: block; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-top: var(--s-2); }
}
.strumenti--rettangolo .strumenti__voce { border-radius: 2px; }
.strumenti--piccola .strumenti__voce { font-size: 0.8125rem; padding: 0.35rem 0.75rem; }
.strumenti--grande .strumenti__voce { font-size: 1.0625rem; padding: 0.55rem 1.1rem; }
.strumenti--servizi-contorno .strumenti__voce--servizio { background: var(--carta); color: var(--accento-testo); border-color: var(--accento-testo); }
.strumenti--pillole .strumenti__voce {
  --lx: 34%; --ly: 20%; --lk: .6; --ox: 2px; --oy: 4px; --ga: 0;
  --p-base: #1d4ed8; --p-chiaro: #5b8cff; --p-scuro: #0f2a78; --p-alone: rgb(80 140 255 / .75);
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 1px rgb(0 0 0 / .55), 0 0 6px rgb(0 0 0 / .25);
  background:
    radial-gradient(ellipse 30% 42% at var(--lx) var(--ly), rgb(255 255 255 / calc(.95 * var(--lk))) 0%, rgb(255 255 255 / calc(.35 * var(--lk))) 38%, transparent 72%),
    linear-gradient(180deg, var(--p-chiaro) 0%, var(--p-base) 32%, var(--p-base) 60%, var(--p-scuro) 100%);
  box-shadow:
    inset 0 2px 1px rgb(255 255 255 / .35),
    inset 0 -4px 6px rgb(0 0 0 / .38),
    inset 0 0 0 1px rgb(0 0 0 / .25),
    var(--ox) var(--oy) 10px rgb(0 0 0 / .38),
    0 0 calc(26px * var(--ga)) calc(4px * var(--ga)) var(--p-alone);
}
.strumenti--pillole .strumenti__voce--servizio { --p-base: #c81e1e; --p-chiaro: #ff6464; --p-scuro: #6e0b0b; --p-alone: rgb(255 80 80 / .75); }
.strumenti--pillole.strumenti--piccola .strumenti__voce { padding: 0.42rem 0.9rem; }
.strumenti--pillole.strumenti--grande .strumenti__voce { padding: 0.65rem 1.3rem; }

/* ===== 40-pagine.css ===== */
.intestazione { padding-block: var(--s-7) var(--s-6); }
.intestazione__titolo { font-size: var(--t-enorme); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.intestazione__sotto { font-size: var(--t-medio); max-width: 40rem; margin-top: var(--s-4); }
.briciole ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-bottom: var(--s-4); }
.briciole li + li::before { content: "/"; margin-right: var(--s-2); color: var(--riga); }
.briciole a { color: var(--tenue); }
.dettaglio { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }
@media (min-width: 60rem) {
  .dettaglio { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: start; }
  .dettaglio .riquadro { position: sticky; top: var(--s-5); }
}
.testo { max-width: var(--colonna); }
.testo--largo { max-width: 46rem; padding-bottom: var(--s-8); }
.testo h2 { font-size: 1.35rem; font-weight: 700; margin: var(--s-6) 0 var(--s-3); }
.testo ul { padding-left: 1.2em; margin-bottom: var(--s-4); }
.testo li { margin-bottom: var(--s-2); }
.testo li::marker { color: var(--accento); }
.riquadro { border: 2px solid var(--inchiostro); border-radius: var(--raggio); padding: var(--s-5); background: var(--superficie); }
.riquadro__nota { color: var(--tenue); font-size: var(--t-piccolo); margin-top: var(--s-4); }
.spunte { list-style: none; margin-bottom: var(--s-4); }
.spunte li { position: relative; padding-left: 1.6em; padding-block: var(--s-2); border-bottom: 1px solid var(--riga); }
.spunte li::before { content: "✓"; position: absolute; left: 0; color: var(--accento-testo); font-weight: 700; }
.altri { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.altri a {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tocco);
  padding-inline: var(--s-4); border: 1px solid var(--riga); border-radius: 99px; text-decoration: none; background: var(--carta);
}
.altri a:hover { border-color: var(--inchiostro); color: var(--inchiostro); }
.esito p:first-child { font-size: var(--t-medio); color: var(--inchiostro); }
.nota-data { color: var(--tenue); font-size: var(--t-piccolo); margin-top: var(--s-6); }
code { font-family: var(--font-mono); font-size: 0.9em; }
.domande { padding-bottom: var(--s-8); }
.domande > * { max-width: 52rem; }
.domande .sezione__titolo { margin-bottom: var(--s-5); }
.domanda { border-top: 1px solid var(--riga); }
.domanda:last-of-type { border-bottom: 1px solid var(--riga); }
.domanda summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: var(--tocco); padding-block: var(--s-4);
  font-weight: 700; color: var(--inchiostro); cursor: pointer; list-style: none;
}
.domanda summary::-webkit-details-marker { display: none; }
.domanda summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--accento-testo); flex: none; }
.domanda[open] summary::after { content: "−"; }
.domanda p { margin: 0 0 var(--s-5); max-width: var(--colonna); }

/* ===== 45-ritratto.css ===== */
.ritratto {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--inchiostro);
  border-radius: var(--raggio);
  margin-bottom: var(--s-5);
  background: var(--riga);
}
.ritratto--piccolo { width: 6rem; margin: 0; flex: none; }
.presentazione__intesta { display: flex; align-items: center; gap: var(--s-4); }
.riquadro .ritratto { max-width: 18rem; }
@media (min-width: 40rem) and (max-width: 59.99rem) {
  .riquadro:has(> .ritratto) { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
  .riquadro:has(> .ritratto) .ritratto { margin: 0; }
}

/* ===== 48-guide.css ===== */
.guide-elenco { padding-bottom: var(--s-8); }
.sezione__testa--riga { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4); }
.schede-guide { list-style: none; display: grid; gap: var(--s-5); }
@media (min-width: 40rem) { .schede-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .schede-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scheda-guida { position: relative; border-top: 2px solid var(--inchiostro); padding-top: var(--s-4); }
.scheda-guida__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raggio); margin-bottom: var(--s-3); background: var(--riga); }
.scheda-guida__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-bottom: var(--s-2); }
.scheda-guida__titolo { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: var(--s-2); }
.scheda-guida__titolo a { text-decoration: none; }
.scheda-guida__titolo a::after { content: ""; position: absolute; inset: 0; }
.scheda-guida:hover .scheda-guida__titolo a { text-decoration: underline; text-decoration-color: var(--accento); }
.scheda-guida:focus-within { outline: 3px solid var(--accento); outline-offset: 4px; }
.scheda-guida__titolo a:focus-visible { outline: none; }
.guide-rss { margin-top: var(--s-6); font-family: var(--font-mono); font-size: 0.875rem; }
.guida__titolo { font-size: var(--t-grande); max-width: 28ch; }
.guida__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--tenue); margin-top: var(--s-4); }
.guida__copertina { margin-bottom: var(--s-6); }
.guida__img { display: block; width: 100%; height: auto; border: 2px solid var(--inchiostro); border-radius: var(--raggio); }
.testo--guida { font-size: 1.0625rem; line-height: 1.7; }
.testo--guida h2 { font-size: 1.5rem; margin-top: var(--s-7); scroll-margin-top: var(--s-5); }
.testo--guida h3 { font-size: 1.2rem; margin: var(--s-5) 0 var(--s-2); }
.testo--guida ol { padding-left: 1.4em; margin-bottom: var(--s-4); }
.testo--guida li { margin-bottom: var(--s-2); }
.testo--guida ol li::marker { font-family: var(--font-mono); color: var(--accento-testo); }
.testo--guida a { color: var(--inchiostro); text-decoration-color: var(--accento); text-decoration-thickness: 2px; }
.testo--guida blockquote { margin: var(--s-5) 0; padding-left: var(--s-4); border-left: 3px solid var(--accento); color: var(--testo); }
.testo--guida code { background: var(--superficie); padding: 0.1em 0.35em; border-radius: 3px; }
.testo--guida pre { overflow-x: auto; background: var(--superficie); border: 1px solid var(--riga); padding: var(--s-4); border-radius: var(--raggio); }
.indice { list-style: none; padding-left: 0; margin-bottom: var(--s-4); }
.indice li { position: relative; padding-left: 1.1em; margin-bottom: var(--s-2); }
.indice li::before { content: "›"; position: absolute; left: 0; color: var(--accento-testo); font-weight: 700; }
.indice a { text-decoration: none; }
.indice a:hover { text-decoration: underline; }

/* ===== 50-modulo.css ===== */
.modulo { max-width: var(--colonna); }
.modulo__coppia { display: grid; gap: 0 var(--s-4); }
@media (min-width: 36rem) { .modulo__coppia { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.campo { margin-bottom: var(--s-5); }
.campo label { display: block; font-weight: 700; color: var(--inchiostro); margin-bottom: var(--s-2); }
.facoltativo { font-weight: 400; color: var(--tenue); }
.campo__aiuto { color: var(--tenue); font-size: var(--t-piccolo); margin: calc(-1 * var(--s-1)) 0 var(--s-2); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: var(--tocco);
  padding: var(--s-3);
  font: inherit; font-size: max(1rem, var(--t-base));
  color: var(--inchiostro);
  background: var(--superficie);
  border: 2px solid var(--riga);
  border-radius: var(--raggio);
}
.campo textarea { resize: vertical; min-height: 10rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--inchiostro); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accento) 45%, transparent); }
.campo [aria-invalid="true"] { border-color: var(--errore); }
.campo__errore { color: var(--errore); font-size: var(--t-piccolo); font-weight: 500; margin: var(--s-2) 0 0; }
.modulo__avviso { background: var(--errore-fondo); color: var(--errore); border-left: 4px solid var(--errore); padding: var(--s-3) var(--s-4); font-weight: 500; }
.modulo__privacy { color: var(--tenue); font-size: var(--t-piccolo); }
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dopo { padding-left: 1.3em; margin-bottom: var(--s-4); }
.dopo li { margin-bottom: var(--s-2); }
.dopo li::marker { font-family: var(--font-mono); color: var(--accento-testo); }

/* ===== 60-scroll.css ===== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.anteprima) .passo { position: relative; }
    html:not(.anteprima) .passo::after {
      content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px;
      background: var(--accento); transform-origin: left;
      animation: cavo linear both; animation-timeline: view(); animation-range: entry 30% cover 45%;
    }
    html:not(.anteprima) .servizio > * { animation: sali linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    html:not(.anteprima) .sezione__titolo { animation: scopri linear both; animation-timeline: view(); animation-range: entry 20% cover 30%; }
  }
}
@keyframes cavo { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sali { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes scopri { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -1rem 0 0); } }

/* ===== 90-piede.css ===== */
.piede { border-top: 1px solid var(--riga); padding-top: var(--s-7); padding-bottom: max(var(--s-5), env(safe-area-inset-bottom)); font-size: var(--t-piccolo); }
.invito + .piede, main:has(> .invito:last-child) + .piede { border-top: 0; }
.piede__griglia { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
@media (min-width: 48rem) { .piede__griglia { grid-template-columns: 1.4fr 1fr 1fr; } }
.piede__nome { font-weight: 800; font-size: 1.1rem; color: var(--inchiostro); margin-bottom: var(--s-1); }
.piede__ruolo, .piede__zona { color: var(--tenue); margin-bottom: var(--s-1); }
.piede ul { list-style: none; }
.piede li a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; }
.piede li a:hover { text-decoration: underline; }
.piede__fondo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); border-top: 1px solid var(--riga); padding-top: var(--s-4); color: var(--tenue); }
.piede__fondo p { margin: 0; }
.piede__fondo a { color: var(--tenue); }

