/* ==========================================================================
   FILO Digital — foglio di stile
   Indice: 0 Font · 1 Token · 2 Base · 3 Componenti · 4 Nav · 5 Hero · 6 Sezioni
           7 Mockup servizi · 8 Concept · 9 Contatti/Footer · 10 Intro · 11 Responsive · 12 Pagina legale · 13 Musica
   ========================================================================== */

/* ---------- 0. FONT (ospitati qui: nessuna richiesta a Google, nessun IP trasmesso) ---------- */
/* Archivo e JetBrains Mono — SIL Open Font License 1.1 (vedi assets/fonts/LICENZE.txt). Sono font variabili: un solo file per famiglia. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-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;
}

/* ---------- 1. TOKEN ---------- */
:root {
  --bg: #05070D;          /* identico allo sfondo del logo */
  --bg-1: #080B15;
  --bg-2: #0C1120;
  --ink: #F4F7FC;
  --ink-2: #C3CBDB;
  --mut: #8E9AB0;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --violet: #7C3AED;
  --grad: linear-gradient(100deg, #22D3EE 0%, #3B82F6 52%, #7C3AED 100%);
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --pad: clamp(20px, 4.2vw, 64px);
  --maxw: 1480px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Impact, sans-serif;
  --monof: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); scroll-padding-top: 104px; }
html.jump { scroll-behavior: auto; }   /* arrivo diretto su una sezione (anche da un cambio lingua): salto istantaneo */
html.is-intro { overflow: hidden; height: 100%; }
html.is-intro, html.is-intro body { touch-action: none; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(59, 130, 246, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.fill { fill: currentColor; stroke: none; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: #fff; color: #05070D; font-weight: 600; transition: top .3s; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(88px, 12vw, 190px); }
.center { justify-content: center; text-align: center; }

h1, h2, h3, .display { text-wrap: balance; }   /* righe equilibrate: niente parole sole in fondo ai titoli */
p, li { text-wrap: pretty; }
.display { font-family: var(--cond); font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.008em; }
.mono { font-family: var(--monof); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.grad {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: gshift 9s ease-in-out infinite alternate;
}
@keyframes gshift { to { background-position: 100% 0; } }
sup.ast { font-size: .52em; vertical-align: top; position: relative; top: .1em; margin-left: .05em; font-weight: 700; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--monof); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--grad); flex: none; }
.footnote { display: flex; gap: .45em; font-family: var(--monof); font-size: 13px; letter-spacing: .02em; color: var(--mut); }
.footnote span { color: var(--cyan); }
.lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: var(--ink-2); max-width: 36em; font-weight: 400; }
.note { margin-top: 36px; color: var(--mut); font-size: 11px; }

/* ---------- 3. COMPONENTI ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 56px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: transform .6s var(--ease), box-shadow .5s var(--ease), border-color .4s, background .4s, color .3s;
}
.btn .i { font-size: 18px; transition: transform .5s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-lg { height: 64px; padding: 0 36px; font-size: 17px; }
.btn-grad { color: #041019; background: linear-gradient(100deg, #22D3EE, #3B82F6); box-shadow: 0 12px 44px -12px rgba(34, 211, 238, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-grad::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(100deg, #2563EB, #7C3AED); transition: opacity .5s; }
.btn-grad:hover { color: #fff; box-shadow: 0 16px 54px -10px rgba(124, 58, 237, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-grad:hover::before { opacity: 1; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .4); }
.round-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #05070D; font-size: 20px; flex: none; transition: transform .6s var(--ease), background .4s, color .3s; }
a:hover > .round-btn, .round-btn:hover, a:hover .round-btn { background: var(--grad); color: #041019; transform: rotate(-45deg); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding-bottom: 6px; font-weight: 600; border-bottom: 1px solid var(--line-2); transition: border-color .4s, color .3s; }
.link-arrow .i { font-size: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover { color: var(--cyan); border-color: var(--cyan); }
.link-arrow:hover .i { transform: translateX(5px); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--monof); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: rgba(255, 255, 255, .03); }
.tag .i { font-size: 14px; color: var(--cyan); }
.ticks { display: grid; gap: 11px; margin: 22px 0 26px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--grad); }

/* reveal allo scroll (attivo solo con JS) */
.js [data-reveal] { opacity: 0; translate: 0 44px; }
.js [data-reveal].in { opacity: 1; translate: 0 0; transition: opacity .9s var(--ease) var(--d, 0s), translate 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal="lines"] { opacity: 1; translate: 0 0; }
.line { display: block; overflow: hidden; padding: .12em 0 .05em; margin: -.12em 0 -.05em; }
.line-in { display: block; }
.js [data-reveal="lines"] .line-in { transform: translateY(112%); }
.js [data-reveal="lines"].in .line-in { transform: none; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }

/* barra di avanzamento e cursore */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--sp, 0)); transform-origin: left; box-shadow: 0 0 14px rgba(34, 211, 238, .7); }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.c-dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.c-ring { position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #fff; transition: width .4s var(--ease), height .4s var(--ease), left .4s var(--ease), top .4s var(--ease), background .3s; }
.cursor.is-link .c-ring { width: 72px; height: 72px; left: -36px; top: -36px; background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* canvas della F (sopra ai contenuti, ma non intercetta i click) */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

/* ---------- 4. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--pad); border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease), opacity .6s, background .4s, border-color .4s, height .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled { height: 84px; background: rgba(5, 7, 13, .66); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
html.is-intro .nav { opacity: 0; transform: translateY(-26px); pointer-events: none; }
.nav-logo { display: block; flex: none; }
.nav-logo img { display: block; height: 80px; width: auto; transition: height .4s var(--ease); }   /* immagine ritagliata sul logo: l'altezza è quella che si vede */
.nav.is-scrolled .nav-logo img { height: 62px; }
.lang { --lw: 42px; --lh: 34px; position: relative; display: inline-flex; flex: none; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lang-lg { --lw: 66px; --lh: 48px; }
.lang-thumb { position: absolute; left: 3px; top: 3px; width: var(--lw); height: var(--lh); border-radius: 999px; background: linear-gradient(100deg, #22D3EE, #3B82F6); box-shadow: 0 6px 22px -6px rgba(34, 211, 238, .65); transform: translateX(calc(var(--li, 0) * 100%)); transition: transform .55s var(--ease); }
.lang-btn { --fw: 24px; position: relative; z-index: 1; display: grid; place-items: center; width: var(--lw); height: var(--lh); border-radius: 999px; }
.lang-lg .lang-btn { --fw: 36px; }
.flag { display: block; width: var(--fw); height: calc(var(--fw) * 2 / 3); border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); opacity: .6; filter: saturate(.75); transition: opacity .3s, filter .3s, transform .3s var(--ease); }
.lang-btn:hover .flag { opacity: 1; filter: none; transform: scale(1.08); }
.lang-btn[aria-current="true"] .flag { opacity: 1; filter: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
.menu .lang { align-self: flex-start; margin: 30px 0 0; }
.nav-links { display: flex; gap: clamp(22px, 2.8vw, 40px); margin-left: auto; margin-right: 8px; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .3s; }
.nav-links .i { font-size: 14px; opacity: .55; transition: transform .5s var(--ease), opacity .3s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover .i { transform: translateX(4px); opacity: 1; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); position: relative; flex: none; z-index: 2; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger i:nth-child(1) { top: 19px; }
.burger i:nth-child(2) { top: 27px; }
.menu-open .burger i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  background: rgba(5, 7, 13, .97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden; pointer-events: none;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; pointer-events: auto; transition: clip-path .8s var(--ease-io), visibility 0s; }
html.menu-open { overflow: hidden; }
.menu-links { display: grid; gap: 6px; }
.menu-links a { display: block; overflow: hidden; padding-block: 4px; }
.menu-links .display { display: block; font-size: clamp(56px, 17vw, 120px); transform: translateY(115%); transition: transform .9s var(--ease); transition-delay: 0s; }
.menu-open .menu-links .display { transform: none; transition-delay: calc(var(--i) * .06s + .2s); }
.menu-foot { margin-top: 32px; color: var(--mut); }

/* ---------- 5. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(120px, 15vh, 160px) 0 clamp(48px, 7vh, 72px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; will-change: transform; }
.aurora.a1 { width: 78vw; height: 78vw; left: -22vw; top: -34vw; background: radial-gradient(closest-side, rgba(34, 211, 238, .2), transparent); animation: drift1 24s ease-in-out infinite alternate; }
.aurora.a2 { width: 70vw; height: 70vw; right: -22vw; top: -8vw; background: radial-gradient(closest-side, rgba(124, 58, 237, .26), transparent); animation: drift2 28s ease-in-out infinite alternate; }
.aurora.a3 { width: 64vw; height: 64vw; left: 24vw; bottom: -40vw; background: radial-gradient(closest-side, rgba(59, 130, 246, .2), transparent); animation: drift1 32s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vw, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-7vw, 9vw, 0) scale(.92); } }
.dotgrid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.3px); background-size: 30px 30px; }
.dotgrid::after {
  content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(125, 211, 252, .85) 1.2px, transparent 1.6px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(340px circle at var(--mx, 72%) var(--my, 40%), #000, transparent 72%); mask-image: radial-gradient(340px circle at var(--mx, 72%) var(--my, 40%), #000, transparent 72%);
}
.vignette { position: absolute; inset: 0; background: radial-gradient(120% 95% at 50% 38%, transparent 52%, rgba(5, 7, 13, .92) 100%), linear-gradient(180deg, transparent 70%, var(--bg)); }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: clamp(18px, 2.6vh, 28px); justify-items: start; }
.hero-title { font-size: calc(clamp(60px, min(10.6vw, 17vh), 200px) * var(--fit, 1)); line-height: .86; }
.hero-title .line-in { will-change: transform; }
.hero-copy .footnote { margin-top: -6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.f-stage { position: relative; width: min(30vw, 45vh); }
.f-slot { position: relative; width: 100%; aspect-ratio: 1; cursor: pointer; will-change: transform; }
.f-glow { position: absolute; inset: -22%; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(closest-side, rgba(59, 130, 246, .3), rgba(34, 211, 238, .12) 45%, transparent 72%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .75; } }
.f-fallback { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.f-slot.fx-on .f-fallback { opacity: 0; visibility: hidden; }
html.is-intro .f-fallback { opacity: 0; }
html.is-intro .f-slot:not(.show-glow) .f-glow { opacity: 0; }
.f-slot .f-glow { transition: opacity 1.2s ease; }
.f-hint { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 7, 13, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--monof); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: border-color .4s, color .3s, background .4s; }
.f-hint .i { font-size: 14px; color: var(--cyan); transition: transform .8s var(--ease); }
.f-hint:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.f-hint:hover .i { transform: rotate(180deg); }
.f-chips { position: absolute; inset: 0; pointer-events: none; }
.f-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: rgba(12, 17, 32, .6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: floaty 7s ease-in-out infinite; box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .8); }
.f-chip .i { font-size: 16px; color: var(--cyan); }
.f-chip { white-space: nowrap; pointer-events: auto; cursor: pointer; transition: border-color .35s, background .35s, color .3s, box-shadow .45s var(--ease), scale .45s var(--ease); }
.f-chip .go { width: 0; margin-left: -9px; opacity: 0; font-size: 14px; transition: width .4s var(--ease), margin .4s var(--ease), opacity .3s; }
.f-chip:hover, .f-chip:focus-visible { color: #fff; border-color: var(--cyan); background: rgba(34, 211, 238, .14); box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 18px 50px -14px rgba(34, 211, 238, .55); scale: 1.06; z-index: 2; }
.f-chip:hover .go, .f-chip:focus-visible .go { width: 14px; margin-left: 0; opacity: 1; }
.f-chip.c1 { left: 47%; top: 24%; }
.f-chip.c2 { left: 58%; top: 60%; animation-delay: -2s; }
.f-chip.c3 { left: 46%; top: 77%; animation-delay: -4s; }
.f-chip.c4 { left: -16%; top: 56%; animation-delay: -1s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.hero-scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 1; display: inline-flex; align-items: center; gap: 14px; color: var(--mut); opacity: 0; }
.js.is-ready .hero-scroll { opacity: 1; transition: opacity 1.2s ease 1.6s; }
html:not(.js) .hero-scroll { opacity: 1; }
.hs-line { position: relative; width: 1px; height: 40px; background: var(--line-2); overflow: hidden; }
.hs-line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--grad); animation: scrolldown 2.4s var(--ease-io) infinite; }
@keyframes scrolldown { to { top: 100%; } }
.hero-card { display: grid; grid-template-columns: 1fr 36%; width: min(440px, 100%); min-height: 150px; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .7s var(--ease), border-color .4s, background .4s; }
.hero-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .07); }
.hc-text { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px; }
.hc-text .mono { color: var(--mut); }
.hc-text strong { font-weight: 600; font-size: 16.5px; line-height: 1.3; max-width: 19ch; }
.hc-text .round-btn { width: 44px; height: 44px; font-size: 17px; }
.hc-media { position: relative; overflow: hidden; background: linear-gradient(160deg, #16286a, #4b2a9a 62%, #0d1838); }
.hc-media i { position: absolute; left: 14%; border-radius: 9px; background: rgba(255, 255, 255, .16); }
.hc-media i:nth-child(1) { top: 14%; width: 64%; height: 26%; }
.hc-media i:nth-child(2) { top: 46%; width: 46%; height: 11%; }
.hc-media i:nth-child(3) { top: 63%; width: 30%; height: 11%; background: rgba(34, 211, 238, .7); }
.hc-media b { position: absolute; right: -14%; bottom: -12%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #22D3EE, #7C3AED 72%); animation: floaty 8s ease-in-out infinite; }

/* stati di ingresso dell'hero */
.js .hero [data-hero] { opacity: 0; translate: 0 26px; filter: blur(8px); }
.js.is-ready .hero [data-hero] { opacity: 1; translate: 0 0; filter: none; transition: opacity 1s var(--ease), translate 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * .09s + .2s); }
.js .hero .line-in { transform: translateY(112%); }
.js.is-ready .hero .line-in { transform: none; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * .1s + .12s); }

/* fascia scorrevole */
.ticker { position: relative; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); padding-block: clamp(18px, 2.4vw, 34px); }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-set { display: flex; align-items: center; flex: none; }
.ticker-set span { font-family: var(--cond); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 8.4vw, 132px); line-height: 1; padding-inline: clamp(18px, 2.6vw, 44px); color: var(--ink); white-space: nowrap; }
.ticker-set span.o { color: transparent; -webkit-text-stroke: 1.6px rgba(255, 255, 255, .42); }
.ticker-set .sq { width: clamp(12px, 1.4vw, 20px); height: clamp(12px, 1.4vw, 20px); }
html:not(.js) .ticker-track { animation: marq 40s linear infinite; }

/* ---------- 6. SEZIONI ---------- */
.sec-head { display: grid; gap: 22px; justify-items: start; }
.sec-title { font-size: calc(clamp(54px, 9.6vw, 156px) * var(--fit, 1)); line-height: .88; }
.sec-title.xl { font-size: clamp(54px, 17vw, 250px); }

/* manifesto */
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 72px); }
.manifesto-text { font-size: clamp(26px, 3.7vw, 58px); line-height: 1.16; font-weight: 500; letter-spacing: -.02em; max-width: 24em; }
.manifesto-text .w { opacity: .17; transition: opacity .5s ease, color .5s ease; }
.manifesto-text .w.on { opacity: 1; }
.js .manifesto-text:not(.split) { opacity: .2; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 8vw, 110px); }
.principles li { padding-top: 22px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; align-content: start; }
.principles .mono { color: var(--cyan); }
.principles h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.principles p { color: var(--mut); line-height: 1.55; }

/* servizi: schede che si impilano */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-1) 12%, var(--bg-1) 90%, var(--bg)); }
.svc-stack { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 96px); }
.svc {
  position: sticky; top: calc(88px + var(--i) * 20px);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 56px);
  min-height: min(660px, 80vh); padding: clamp(22px, 3.2vw, 52px); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 38%), #0A0F1D;
  border: 1px solid var(--line-2); box-shadow: 0 -34px 80px -40px rgba(0, 0, 0, .95);
}
.svc::before { content: ""; position: absolute; inset: auto -10% -45% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: .5; background: radial-gradient(closest-side, var(--glow, rgba(59, 130, 246, .28)), transparent); }
#svc-web { --glow: rgba(34, 211, 238, .26); }
#svc-shop { --glow: rgba(59, 130, 246, .3); }
#svc-ads { --glow: rgba(124, 58, 237, .32); }
#svc-auto { --glow: rgba(34, 211, 238, .24); }
.svc.flash { animation: svcFlash 1.5s ease-out; }
@keyframes svcFlash {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0), 0 -34px 80px -40px rgba(0, 0, 0, .95); border-color: var(--line-2); }
  18% { box-shadow: 0 0 0 2px rgba(34, 211, 238, .9), 0 0 80px 0 rgba(34, 211, 238, .35), 0 -34px 80px -40px rgba(0, 0, 0, .95); border-color: rgba(34, 211, 238, .9); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0), 0 -34px 80px -40px rgba(0, 0, 0, .95); border-color: var(--line-2); }
}
.svc-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(16px, 2.4vw, 30px); }
.svc-num { color: var(--mut); font-size: 13px; }
.svc-title { font-size: calc(clamp(44px, 5.6vw, 92px) * var(--fit, 1)); line-height: .9; margin-bottom: 20px; }
.svc-text { color: var(--ink-2); max-width: 34em; font-size: clamp(16px, 1.25vw, 18.5px); }
.svc-visual { position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(90% 90% at 80% 0%, rgba(59, 130, 246, .18), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(124, 58, 237, .16), transparent 60%), #070A14; }
.svc-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }

/* processo */
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.process-aside { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: calc(100% * var(--p, 0)); background: var(--grad); box-shadow: 0 0 16px rgba(34, 211, 238, .9); }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); align-items: start; padding: clamp(30px, 4.4vw, 60px) 0 clamp(30px, 4.4vw, 60px) clamp(24px, 3.6vw, 60px); border-bottom: 1px solid var(--line); opacity: .36; transition: opacity .7s ease; }
.step:last-child { border-bottom: 0; }
.step.active { opacity: 1; }
.step-n { font-size: clamp(76px, 10vw, 150px); line-height: .78; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .4); transition: color .6s, -webkit-text-stroke-color .6s; min-width: 1.1em; }
.step.active .step-n { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke-color: transparent; }
.step h3 { font-size: clamp(24px, 2.7vw, 38px); font-weight: 700; letter-spacing: -.015em; margin-bottom: 12px; line-height: 1.1; }
.step p { color: var(--ink-2); max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--monof); font-size: 12px; color: var(--ink-2); }

/* strumenti */
.stack { padding-block: clamp(56px, 8vw, 110px); border-block: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.stack .eyebrow { justify-self: center; }
.pills { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.pills-row { display: flex; width: max-content; animation: marq 70s linear infinite; }
.pills-row.rev { animation-direction: reverse; animation-duration: 80s; }
.pills-set { display: flex; gap: 14px; padding-right: 14px; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: 17px; white-space: nowrap; color: var(--ink-2); }
.pill::before { content: ""; width: 8px; height: 8px; background: var(--grad); }
@keyframes marq { to { transform: translateX(calc(var(--shift, 50%) * -1)); } }
.no-fx .f-hint { display: none; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq-head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.acc-item { border-top: 1px solid var(--line-2); }
.acc-item:last-child { border-bottom: 1px solid var(--line-2); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: clamp(22px, 2.6vw, 32px) 0; text-align: left; font-size: clamp(19px, 2vw, 27px); font-weight: 600; letter-spacing: -.012em; line-height: 1.25; transition: color .3s; }
.acc-q:hover { color: var(--cyan); }
.plus { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, transform .6s var(--ease), border-color .4s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: #fff; translate: -50% -50%; transition: transform .6s var(--ease); }
.plus::after { transform: rotate(90deg); }
.acc-item.open .plus { background: #fff; border-color: #fff; transform: rotate(180deg); }
.acc-item.open .plus::before, .acc-item.open .plus::after { background: #05070D; }
.acc-item.open .plus::after { transform: rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a p { padding: 0 64px 30px 0; color: var(--ink-2); max-width: 46em; }

/* ---------- 7. MOCKUP DEI SERVIZI ---------- */
.mock { position: absolute; inset: 0; display: grid; place-items: center; padding: 7%; }

/* web */
.mw-win { position: relative; width: 100%; max-width: 530px; border-radius: 18px; overflow: hidden; background: #09101F; border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .9); }
.mw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.mw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2B3556; }
.mw-bar i:nth-child(1) { background: #22D3EE; }
.mw-bar i:nth-child(2) { background: #3B82F6; }
.mw-bar i:nth-child(3) { background: #7C3AED; }
.mw-bar span { margin-left: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-family: var(--monof); font-size: 10.5px; color: var(--mut); }
.mw-body { display: grid; grid-template-columns: .88fr 1.32fr; min-height: 262px; }
.mw-code { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, .28); }
.mw-code b { display: block; height: 7px; width: var(--w); border-radius: 4px; transform-origin: left; transform: scaleX(0); animation: codeLine 7.5s var(--ease) infinite; animation-delay: var(--d); }
.k1 { background: #22D3EE; } .k2 { background: #7C3AED; } .k3 { background: #3B82F6; } .k4 { background: #4A5578; }
@keyframes codeLine { 0% { transform: scaleX(0); opacity: 0; } 4% { opacity: 1; } 14%, 84% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
.mw-prev { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; }
.mw-prev > *, .mp-hero > div, .mp-cards i { animation: pvIn 7.5s var(--ease) infinite both; }
.mp-nav { display: flex; align-items: center; gap: 9px; animation-delay: .5s !important; }
.mp-nav i { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); margin-right: auto; }
.mp-nav span { width: 28px; height: 5px; border-radius: 3px; background: #3C4768; }
.mp-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: center; }
.mp-hero > div:first-child { animation-delay: .9s !important; }
.mp-hero > div:last-child { animation-delay: 1.2s !important; }
.mp-h { height: 13px; width: 94%; border-radius: 5px; background: #E8EEFA; margin-bottom: 8px; }
.mp-h.s { width: 62%; }
.mp-p { height: 5px; width: 100%; border-radius: 3px; background: #3C4768; margin-bottom: 7px; }
.mp-p.s { width: 70%; }
.mp-btn { width: 66px; height: 21px; border-radius: 999px; margin-top: 12px; background: linear-gradient(100deg, #22D3EE, #3B82F6); }
.mp-img { aspect-ratio: 1.1; border-radius: 13px; background: radial-gradient(120% 120% at 18% 8%, #7C3AED, transparent 60%), radial-gradient(100% 100% at 92% 92%, #22D3EE, transparent 55%), #19213F; }
.mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mp-cards i { height: 46px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.mp-cards i:nth-child(1) { animation-delay: 1.6s; } .mp-cards i:nth-child(2) { animation-delay: 1.8s; } .mp-cards i:nth-child(3) { animation-delay: 2s; }
@keyframes pvIn { 0% { opacity: 0; transform: translateY(14px); } 8%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
.mw-chip { position: absolute; padding: 9px 15px; border-radius: 999px; font-family: var(--monof); font-size: 11.5px; font-weight: 500; background: rgba(10, 16, 32, .85); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: floaty 6s ease-in-out infinite; }
.mw-chip.a { left: 3%; top: 2.5%; color: var(--cyan); }
.mw-chip.b { right: 3%; top: 16%; animation-delay: -2s; color: #A78BFA; }
.mw-chip.c { right: 9%; bottom: 8%; animation-delay: -4s; color: #86EFAC; }

/* e-commerce */
.ms-win { position: relative; width: 100%; max-width: 480px; padding: 16px; border-radius: 18px; background: #09101F; border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .9); }
.ms-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ms-top b { font-weight: 800; font-size: 15px; letter-spacing: .22em; }
.ms-top > span { width: 34px; height: 5px; border-radius: 3px; background: #3C4768; }
.ms-cart { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.ms-cart .i { font-size: 16px; }
.cnt { display: inline-grid; font-family: var(--monof); font-size: 12px; font-weight: 600; }
.cnt em { grid-area: 1 / 1; font-style: normal; text-align: center; }
.cnt .c0 { animation: cnt0 7.5s infinite; }
.cnt .c1 { animation: cnt1 7.5s infinite; color: var(--cyan); }
@keyframes cnt0 { 0%, 30% { opacity: 1; } 31%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes cnt1 { 0%, 30% { opacity: 0; transform: scale(.5); } 32% { opacity: 1; transform: scale(1.6); } 37%, 96% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; } }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.ms-p { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 9px 9px 12px; border-radius: 15px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ms-img { aspect-ratio: 1 / 1.1; border-radius: 11px; }
.g1 { background: linear-gradient(145deg, #F4B183, #C0643A); }
.g2 { background: linear-gradient(145deg, #A7C7E7, #3B6FB5); }
.g3 { background: linear-gradient(145deg, #B8E0C8, #3F8F6B); }
.ms-p i { height: 6px; width: 70%; border-radius: 3px; background: #3C4768; }
.ms-p u { font-family: var(--monof); font-size: 13px; font-weight: 600; text-decoration: none; color: #E8EEFA; }
.ms-add { position: absolute; left: 9px; right: 9px; bottom: 9px; padding: 9px; text-align: center; border-radius: 11px; background: linear-gradient(100deg, #22D3EE, #3B82F6); color: #041019; font-size: 12.5px; font-weight: 700; animation: addBtn 7.5s infinite; }
@keyframes addBtn { 0%, 28% { transform: scale(1); } 30% { transform: scale(.92); filter: brightness(1.3); } 34%, 100% { transform: scale(1); } }
.ms-p.sel { border-color: rgba(34, 211, 238, .55); box-shadow: 0 0 40px -12px rgba(34, 211, 238, .55); }
.ms-cursor { position: absolute; z-index: 3; left: 130%; top: 160%; width: 22px; height: 26px; background: #fff; clip-path: polygon(0 0, 0 100%, 28% 76%, 50% 100%, 64% 92%, 44% 68%, 82% 68%); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); animation: cursorGo 7.5s var(--ease-io) infinite; }
@keyframes cursorGo { 0% { left: 130%; top: 170%; opacity: 0; } 6% { opacity: 1; } 26% { left: 52%; top: 84%; } 30% { left: 52%; top: 84%; scale: .82; } 34% { scale: 1; } 46% { left: 52%; top: 84%; opacity: 1; } 62%, 100% { left: 130%; top: 170%; opacity: 0; } }
.ms-toast { position: absolute; left: 50%; bottom: 8%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(8, 14, 28, .92); border: 1px solid rgba(34, 211, 238, .5); color: #E8EEFA; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 50px -14px rgba(34, 211, 238, .45); opacity: 0; translate: -50% 18px; animation: toast 7.5s var(--ease) infinite; }
.ms-toast .i { font-size: 16px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: #041019; stroke-width: 2.6; }
@keyframes toast { 0%, 36% { opacity: 0; translate: -50% 18px; } 42%, 78% { opacity: 1; translate: -50% 0; } 86%, 100% { opacity: 0; translate: -50% 18px; } }

/* social ads */
.mock-ads { grid-template-columns: auto minmax(0, 1fr); gap: 5%; align-content: center; }
.ma-phone { justify-self: end; width: clamp(130px, 17vw, 192px); aspect-ratio: 9 / 18.4; padding: 7px; border-radius: 28px; background: #0B1020; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 34px 70px -20px rgba(0, 0, 0, .9), 0 0 70px -14px rgba(124, 58, 237, .45); }
.ma-screen { display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; background: #0D1226; }
.ma-top { display: flex; align-items: center; gap: 6px; padding: 11px 10px 8px; font-size: 10px; font-weight: 700; }
.ma-top i { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.ma-top em { margin-left: auto; font-family: var(--monof); font-size: 7.5px; font-style: normal; color: var(--mut); }
.ma-art { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; margin: 0 8px; padding: 12px; border-radius: 15px; background: radial-gradient(100% 70% at 28% 8%, #7C3AED, transparent 62%), radial-gradient(90% 70% at 82% 100%, #22D3EE, transparent 60%), #10163A; }
.ma-art b { font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: .88; }
.ma-art span { font-size: 9px; font-weight: 600; opacity: .9; }
.ma-cta { margin: 8px; padding: 8px; text-align: center; border-radius: 11px; background: #fff; color: #05070D; font-size: 10px; font-weight: 700; }
.ma-panel { position: relative; display: grid; min-width: 0; gap: 14px; padding: 16px; border-radius: 20px; background: rgba(12, 17, 32, .86); border: 1px solid var(--line-2); box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .9); }
.ma-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ma-kpis div { min-width: 0; padding: 9px 9px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ma-kpis small, .cv-dash small { display: block; font-family: var(--monof); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.ma-kpis b { display: block; white-space: nowrap; font-size: clamp(13px, 1.35vw, 18px); font-weight: 800; }
.ma-chart { width: 100%; height: 84px; }
.ma-chart .area { fill: url(#maA); opacity: 0; animation: fadeA 6.5s infinite; }
.ma-chart .ln { fill: none; stroke: url(#maL); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 460; stroke-dashoffset: 460; animation: drawL 6.5s var(--ease) infinite; }
@keyframes drawL { 0% { stroke-dashoffset: 460; } 40%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fadeA { 0%, 25% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.ma-bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; }
.ma-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #3B82F6, rgba(59, 130, 246, .12)); transform-origin: bottom; transform: scaleY(0); animation: bar 6.5s var(--ease) infinite; }
.ma-bars i:nth-child(2) { animation-delay: .08s; } .ma-bars i:nth-child(3) { animation-delay: .16s; } .ma-bars i:nth-child(4) { animation-delay: .24s; } .ma-bars i:nth-child(5) { animation-delay: .32s; } .ma-bars i:nth-child(6) { animation-delay: .4s; } .ma-bars i:nth-child(7) { animation-delay: .48s; } .ma-bars i:nth-child(8) { animation-delay: .56s; background: linear-gradient(180deg, #22D3EE, rgba(34, 211, 238, .12)); }
@keyframes bar { 0%, 8% { transform: scaleY(0); } 34%, 88% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.demo { position: absolute; right: 14px; top: -11px; padding: 3px 9px; border-radius: 999px; background: #0B1020; border: 1px solid var(--line-2); font-family: var(--monof); font-size: 9px; font-style: normal; color: var(--mut); }
.ma-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.ma-chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-family: var(--monof); font-size: 11px; color: var(--ink-2); }

/* automazioni */
.mock-flow { padding: 4%; }
.mock-flow svg { width: 100%; height: 100%; }
.wire { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-dasharray: 4 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.fnode rect { fill: #0B1326; stroke: rgba(255, 255, 255, .18); stroke-width: 1.2; }
.fnode .t1 { fill: #F4F7FC; font-family: var(--sans); font-size: 15px; font-weight: 700; text-anchor: middle; }
.fnode .t2 { fill: #8E9AB0; font-family: var(--monof); font-size: 10.5px; text-anchor: middle; letter-spacing: .03em; }
.fnode.n0 rect { stroke: #22D3EE; filter: drop-shadow(0 0 14px rgba(34, 211, 238, .45)); }
.fnode.n1 rect, .fnode.n2 rect, .fnode.n3 rect { animation: nodeOn 3.6s ease-in-out infinite; }
.fnode.n1 rect { animation-delay: .9s; } .fnode.n2 rect { animation-delay: 1.02s; } .fnode.n3 rect { animation-delay: 1.14s; }
@keyframes nodeOn { 0%, 55% { stroke: rgba(255, 255, 255, .18); } 70%, 85% { stroke: #3B82F6; } 100% { stroke: rgba(255, 255, 255, .18); } }
.fnode.n4 rect { fill: url(#fw); stroke: none; }
.chk { fill: none; stroke: #05070D; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pulse { fill: #22D3EE; filter: drop-shadow(0 0 7px #22D3EE); }
.pulse.p2 { fill: #A78BFA; filter: drop-shadow(0 0 7px #7C3AED); }

/* ---------- 8. CONCEPT ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 6vw, 88px); }
.work-a { grid-column: span 7; } .work-b { grid-column: span 5; } .work-c { grid-column: span 7; } .work-cta { grid-column: span 5; }
.work { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 14px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), border-color .4s, background .4s; will-change: transform; }
.work:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.work.tilting { transition: transform .12s linear, border-color .4s, background .4s; }
.work::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .09), transparent 60%); }
.work:hover::after { opacity: 1; }
.work-visual { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 10.4; background: #0B1020; }
.work-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: end; padding: 4px 14px 12px; }
.work-meta .tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.work-meta h3 { grid-column: 1; font-family: var(--cond); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 4vw, 62px); line-height: .9; }
.work-meta p { grid-column: 1; color: var(--mut); max-width: 40em; font-size: 15.5px; }
.work-meta .round-btn { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
.work-cta { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 28px; min-height: 340px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-xl); border: 1px dashed rgba(255, 255, 255, .28); background: radial-gradient(90% 90% at 100% 100%, rgba(124, 58, 237, .28), transparent 60%), radial-gradient(80% 80% at 0% 0%, rgba(34, 211, 238, .14), transparent 60%); transition: border-color .4s, background .4s; }
.work-cta:hover { border-color: var(--cyan); }
.work-cta .mono { color: var(--mut); }
.work-cta strong { font-size: calc(clamp(46px, 5.2vw, 84px) * var(--fit, 1)); line-height: .9; }

/* A — shop */
.cv { position: absolute; inset: 0; }
.cv-shop { display: grid; place-items: center; padding: 7% 8%; background: radial-gradient(110% 100% at 85% 0%, #31407a, transparent 60%), #0C1226; }
.cv-win { width: 100%; border-radius: 14px; overflow: hidden; background: #F4EFE8; color: #2B2420; box-shadow: 0 34px 80px -20px rgba(0, 0, 0, .85); }
.cv-nav { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.cv-nav b { margin-right: auto; font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.cv-nav span { width: 24px; height: 4px; border-radius: 2px; background: #CBBFB2; }
.cv-nav em { width: 13px; height: 13px; border-radius: 50%; background: #2B2420; }
.cv-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; padding: 4px 14px 12px; }
.cv-hero small { font-family: var(--monof); font-size: 7.5px; letter-spacing: .14em; text-transform: uppercase; color: #8B7B6B; }
.cv-hero .cv-title { margin: 5px 0 10px; font-family: var(--cond); font-stretch: 78%; font-weight: 800; font-size: clamp(18px, 2.2vw, 28px); line-height: 1; }
.cv-hero .t i { display: block; width: 50px; height: 15px; border-radius: 8px; background: #2B2420; }
.cv-hero .img { position: relative; aspect-ratio: 1.15; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #EBC09A, #B7674A); }
.cv-hero .img u { position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: .8; translate: -50% 0; border-radius: 44% 44% 12% 12%; background: linear-gradient(180deg, #FBE7D0, #E3A77E); box-shadow: 0 18px 30px -10px rgba(80, 30, 10, .5); }
.cv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 0 14px 14px; }
.cv-row i { aspect-ratio: 1; border-radius: 9px; }
.cv-row .a { background: #D9C7B2; } .cv-row .b { background: #9DB4A3; } .cv-row .c { background: #C98F78; } .cv-row .d { background: #8E9FB8; }

/* B — ads */
.cv-ads { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 6% 7%; background: radial-gradient(100% 100% at 50% 0%, #3A2A7A, transparent 62%), #0B1020; }
.story { position: relative; flex: 1; max-width: 31%; aspect-ratio: 9 / 16; display: flex; flex-direction: column; justify-content: space-between; padding: 9px; border-radius: 15px; overflow: hidden; color: #fff; box-shadow: 0 24px 46px -16px rgba(0, 0, 0, .8); }
.story small { font-size: 7.5px; font-weight: 700; opacity: .9; }
.story b { font-family: var(--cond); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(16px, 2vw, 26px); line-height: .92; }
.story i { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: #fff; color: #05070D; font-size: 7.5px; font-weight: 800; font-style: normal; }
.s1 { background: linear-gradient(165deg, #19E3A2, #0A6B5B); transform: translateY(7%); }
.s2 { background: linear-gradient(165deg, #FF8A4C, #B8332A); transform: translateY(-6%); }
.s3 { background: linear-gradient(165deg, #8B5CF6, #2B1B6E); transform: translateY(9%); }

/* C — dashboard */
.cv-dash { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-content: center; padding: 7% 7%; background: radial-gradient(100% 100% at 0% 0%, #123A52, transparent 55%), #080D1A; }
.cv-dash .side { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.cv-dash .side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.cv-dash .side i.on { background: var(--grad); }
.cv-dash .main { display: grid; gap: 10px; align-content: start; }
.cv-dash .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cv-dash .kpis div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.cv-dash .kpis b { font-size: clamp(14px, 1.7vw, 22px); font-weight: 800; }
.cv-dash svg { width: 100%; height: 74px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cv-dash .list { display: grid; gap: 6px; }
.cv-dash .row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); }
.cv-dash .row span { width: 8px; height: 8px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 9px #22D3EE; }
.cv-dash .row span.w { background: #F59E0B; box-shadow: 0 0 9px #F59E0B; }
.cv-dash .row i { flex: 1; height: 5px; border-radius: 3px; background: #2E3A58; }
.cv-dash .row em { font-family: var(--monof); font-size: 8px; font-style: normal; color: #22D3EE; }
.cv-dash .row em.w { color: #F59E0B; }

/* ---------- 9. CONTATTI & FOOTER ---------- */
.contact { overflow: clip; }
.contact-glow { position: absolute; inset: 10% -10% auto auto; width: 70vw; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 58, 237, .22), rgba(59, 130, 246, .1) 50%, transparent); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.contact-head { display: grid; gap: 22px; justify-items: start; margin-bottom: clamp(36px, 5vw, 80px); }
.contact-copy { display: grid; gap: 22px; justify-items: start; align-content: start; }
.contact-list { display: grid; gap: 12px; width: 100%; max-width: 480px; margin-top: 10px; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.contact-list a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); transform: translateX(6px); }
.contact-list .ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #041019; font-size: 21px; flex: none; }
.contact-list .cl { display: grid; gap: 1px; min-width: 0; }
.contact-list small { color: var(--mut); }
.contact-list b { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.contact-list .go { margin-left: auto; font-size: 20px; color: var(--mut); transition: color .3s, transform .5s var(--ease); }
.contact-list a:hover .go { color: #fff; transform: translate(3px, -3px); }
[hidden] { display: none !important; }

.form { position: relative; display: grid; gap: 22px; padding: clamp(22px, 3vw, 44px); border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02)), rgba(10, 15, 29, .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.f-chips-sel { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-chips-sel legend { padding: 0; margin-bottom: 14px; font-family: var(--monof); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.sel-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.schip { position: relative; cursor: pointer; }
.schip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.schip span { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .03); transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease); }
.schip:hover span { border-color: rgba(255, 255, 255, .42); color: #fff; }
.schip input:checked + span { background: linear-gradient(100deg, rgba(34, 211, 238, .22), rgba(124, 58, 237, .26)); border-color: var(--cyan); color: #fff; transform: translateY(-2px); }
.schip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--monof); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.field abbr { text-decoration: none; color: var(--cyan); }
.field input, .field textarea { width: 100%; padding: 12px 0 14px; font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; outline: 0; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 1px 0 0 var(--cyan); }
.field.bad input, .field.bad textarea { border-color: #FB7185; box-shadow: 0 1px 0 0 #FB7185; }
.err { min-height: 0; font-size: 13px; color: #FDA4AF; }
.err:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; position: relative; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check .box { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: transparent; transition: background .3s, color .3s, border-color .3s; }
.check .box .i { font-size: 16px; stroke-width: 2.6; }
.check input:checked ~ .box { background: var(--grad); color: #041019; border-color: transparent; }
.check input:focus-visible ~ .box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.form .btn-lg { width: 100%; }
.form-status { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.form-status:empty { display: none; }
.form-status a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.form-status.ok { padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .07); }

.footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-1)); overflow: clip; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(64px, 9vw, 140px) clamp(20px, 3vw, 48px); }
.footer-claim { font-size: clamp(60px, 9vw, 150px); line-height: .86; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols h3 { margin-bottom: 18px; color: var(--mut); font-size: 11.5px; }
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a { color: var(--ink-2); font-size: 16px; transition: color .3s; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--cyan); }
.footer-mark { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2vw, 36px); padding: clamp(24px, 5vw, 80px) var(--pad) 0; }
.fm-f { position: relative; flex: none; width: min(30vw, 420px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fm-f .f-slot { width: 100%; }
.fm-word { flex: none; width: min(54vw, 780px); display: grid; gap: calc(min(54vw, 780px) * .04); padding-bottom: calc(min(54vw, 780px) * .075); }
.wm { width: 100%; height: auto; overflow: visible; }
.wm-l:not(.wm-i) rect { fill: #fff; }
.fm-digital { margin: 0; font-weight: 400; font-size: calc(min(54vw, 780px) * .088); line-height: 1; letter-spacing: .44em; text-transform: uppercase; color: var(--blue); padding-left: calc(min(54vw, 780px) * .009); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding-block: 30px 36px; margin-top: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); color: var(--mut); font-size: 14px; }
.footer-bottom .mono { color: var(--mut); }
.footer-bottom a:hover { color: var(--cyan); }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 19px; color: var(--ink); transition: background .4s, color .3s, transform .6s var(--ease); }
.to-top:hover { background: #fff; color: #05070D; transform: translateY(-4px); }


/* tasti contatto flottanti (WhatsApp + email) */
.dock { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 58; display: grid; gap: 12px; justify-items: end; transition: opacity .5s ease, translate .6s var(--ease); }
html.is-intro .dock, html.menu-open .dock, .dock.is-away { opacity: 0; translate: 0 18px; pointer-events: none; }
.dock-btn { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 26px; color: #fff; transition: transform .5s var(--ease), box-shadow .4s, background .3s; }
.dock-btn:hover { transform: translateY(-4px) scale(1.06); }
.dock-wa { background: linear-gradient(145deg, #34E887, #11A24F); box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.dock-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52, 232, 135, .65); animation: dockPulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes dockPulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.dock-mail { width: 52px; height: 52px; font-size: 22px; background: rgba(12, 17, 32, .78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 36px -12px rgba(0, 0, 0, .8); }
.dock-mail:hover { background: rgba(34, 211, 238, .16); border-color: var(--cyan); }
.dock-tip { position: absolute; right: calc(100% + 14px); top: 50%; translate: 10px -50%; padding: 9px 16px; border-radius: 999px; background: rgba(8, 11, 21, .92); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, translate .45s var(--ease); }
.dock-btn:hover .dock-tip, .dock-btn:focus-visible .dock-tip { opacity: 1; translate: 0 -50%; }
@media (hover: none), (pointer: coarse) { .dock-tip { display: none; } }
@media (max-width: 480px) { .dock-btn { width: 54px; height: 54px; } .dock-mail { width: 48px; height: 48px; } }
@media (max-width: 480px) { .contact-list a { padding: 14px; gap: 12px; } .contact-list .go { display: none; } .contact-list b { font-size: 15px; } }
.contact-list .ci.ci-wa { background: linear-gradient(145deg, #34E887, #11A24F); color: #fff; }

/* ---------- 10. INTRO ---------- */
.intro { position: fixed; inset: 0; z-index: 46; pointer-events: none; display: none; }
html.is-intro .intro { display: block; }
.intro-word { position: absolute; left: 50%; top: var(--wm-top, 64%); width: min(60vw, 500px); translate: -50% 0; display: grid; justify-items: center; gap: clamp(14px, 2.4vh, 26px); transition: opacity .6s ease, translate .9s var(--ease); }
.intro-word.out { opacity: 0; translate: -50% -28px; }
.intro .wm { width: 100%; }
.intro .wm-l { opacity: 0; transform: translateY(46px); }
.intro-word.in .wm-l { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .09s); }
.wm-d { font-family: var(--sans); font-size: 77px; font-weight: 400; fill: #3B82F6; opacity: 0; }
.intro-word.in .wm-d { opacity: 1; transition: opacity 1s ease .5s; }
.intro-tag { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px); font-size: clamp(9px, 1.05vw, 13px); font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: #94A3B8; opacity: 0; white-space: nowrap; }
.intro-tag .ln { display: block; width: clamp(28px, 7vw, 100px); height: 1px; background: #3B82F6; transform: scaleX(0); transform-origin: right; }
.intro-tag .ln:last-child { transform-origin: left; }
.intro-tag .dot { width: 4px; height: 4px; border-radius: 50%; background: #94A3B8; }
.intro-word.in .intro-tag { opacity: 1; transition: opacity .8s ease .75s; }
.intro-word.in .intro-tag .ln { transform: scaleX(1); transition: transform 1.1s var(--ease) .85s; }
.intro-actions { position: fixed; right: var(--pad); bottom: clamp(18px, 4vh, 36px); z-index: 70; display: none; gap: 10px; opacity: 0; }
html.is-intro .intro-actions { display: flex; animation: fadein .7s ease .4s forwards; }
.intro-skip, .intro-snd { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 7, 13, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink-2); transition: border-color .3s, color .3s, box-shadow .4s; }
.intro-skip:hover, .intro-snd:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.intro-snd[aria-pressed="true"] { color: var(--cyan); border-color: rgba(34, 211, 238, .55); box-shadow: 0 0 22px -8px rgba(34, 211, 238, .6); }
@keyframes fadein { to { opacity: 1; } }

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
}
@media (max-width: 1100px) {
  .f-chip.c1 { left: -4%; } .f-chip.c2 { right: -4%; }
  .work-a, .work-b, .work-c, .work-cta { grid-column: span 12; }
  .work-cta { min-height: 260px; }
  .process-grid, .faq-grid { grid-template-columns: 1fr; }
  .process-aside, .faq-head { position: static; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .work-visual { aspect-ratio: 4 / 3; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .burger { display: block; }
  .hero { padding-top: 100px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-visual { display: contents; }
  .f-stage { order: -2; align-self: center; width: min(62vw, 38vh); margin-bottom: 108px; }
  .f-hint { order: -1; align-self: center; margin: 14px 0 22px; }
  .f-chips { inset: auto; left: 50%; top: calc(100% + 18px); width: max-content; max-width: min(92vw, 440px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; transform: translateX(-50%); }
  .f-chip { position: static; animation: none; }
  .hero-title { font-size: calc(clamp(58px, 19.5vw, 150px) * var(--fit, 1)); }
  .hero-scroll { display: none; }
  .hero-card { order: 1; width: 100%; margin-top: 36px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .svc { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .svc-visual { min-height: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-mark { flex-direction: column; align-items: center; }
  .fm-f { width: min(58vw, 300px); }
  .fm-word { width: min(88vw, 780px); gap: calc(min(88vw, 780px) * .04); padding-bottom: 28px; }
  .fm-digital { font-size: calc(min(88vw, 780px) * .088); }
  .acc-a p { padding-right: 0; }
}
@media (max-width: 900px) {
  .nav { height: 88px; }
  .nav.is-scrolled { height: 74px; }
  .nav-logo img { height: 62px; }
  .nav.is-scrolled .nav-logo img { height: 52px; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; height: 80px; }
  .nav.is-scrolled { height: 68px; }
  .nav-logo img { height: 50px; }
  .nav.is-scrolled .nav-logo img { height: 44px; }
  .nav .lang { --lw: 36px; --lh: 32px; }
  .nav .lang-btn { --fw: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .btn { height: 54px; padding: 0 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .step { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; }
  .step-n { font-size: 72px; }
  .svc-visual { min-height: 340px; }
  .mock-ads { grid-template-columns: 1fr; gap: 14px; }
  .ma-phone { justify-self: center; width: 150px; }
  .mw-body { grid-template-columns: 1fr; }
  .mw-code { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .plus { width: 38px; height: 38px; }
  .intro-tag { letter-spacing: .24em; }
}

/* ---------- movimento ridotto (preferenza di sistema o classe .reduce) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker-track, .pills-row { animation: none !important; }
  .js [data-reveal], .js .hero [data-hero], .js .hero-scroll { opacity: 1 !important; translate: none !important; filter: none !important; }
  .js [data-reveal="lines"] .line-in, .js .hero .line-in { transform: none !important; }
  .manifesto-text .w, .js .manifesto-text:not(.split) { opacity: 1; }
  .step { opacity: 1; }
}
html.reduce { scroll-behavior: auto; }
html.reduce *, html.reduce *::before, html.reduce *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
html.reduce .ticker-track, html.reduce .pills-row { animation: none !important; }
html.reduce [data-reveal], html.reduce .hero [data-hero], html.reduce .hero-scroll { opacity: 1 !important; translate: none !important; filter: none !important; }
html.reduce [data-reveal="lines"] .line-in, html.reduce .hero .line-in { transform: none !important; }
html.reduce .manifesto-text .w, html.reduce .manifesto-text:not(.split) { opacity: 1; }
html.reduce .step { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .mw-code b { animation: none; transform: none; opacity: 1; }
  .mw-prev > *, .mp-hero > div, .mp-cards i { animation: none; opacity: 1; transform: none; }
  .ma-chart .area { animation: none; opacity: 1; }
  .ma-chart .ln { animation: none; stroke-dashoffset: 0; }
  .ma-bars i { animation: none; transform: none; opacity: 1; }
  .cnt .c0 { animation: none; opacity: 0; }
  .cnt .c1 { animation: none; opacity: 1; }
  .ms-toast { animation: none; opacity: 1; translate: -50% 0; }
  .ms-add { animation: none; }
  .ms-cursor, .pulse { display: none; }
  .wire { animation: none; }
}

/* stato finale statico dei mockup per chi ha il movimento ridotto */
html.reduce .mw-code b { animation: none; transform: none; opacity: 1; }
html.reduce .mw-prev > *, html.reduce .mp-hero > div, html.reduce .mp-cards i { animation: none; opacity: 1; transform: none; }
html.reduce .ma-chart .area { animation: none; opacity: 1; }
html.reduce .ma-chart .ln { animation: none; stroke-dashoffset: 0; }
html.reduce .ma-bars i { animation: none; transform: none; opacity: 1; }
html.reduce .cnt .c0 { animation: none; opacity: 0; }
html.reduce .cnt .c1 { animation: none; opacity: 1; }
html.reduce .ms-toast { animation: none; opacity: 1; translate: -50% 0; }
html.reduce .ms-add { animation: none; }
html.reduce .ms-cursor, html.reduce .pulse { display: none; }
html.reduce .wire { animation: none; }

/* ---------- 12. PAGINA LEGALE (privacy) ---------- */
.legal { padding: clamp(120px, 16vw, 200px) 0 clamp(60px, 8vw, 120px); }
.legal h1 { font-size: clamp(54px, 10vw, 140px); margin: 18px 0 36px; }
.legal .box { max-width: 760px; display: grid; gap: 18px; color: var(--ink-2); }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; color: var(--ink); margin-top: 22px; letter-spacing: -.01em; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { padding: 14px 18px; border-radius: 14px; border: 1px dashed rgba(251, 191, 36, .6); background: rgba(251, 191, 36, .07); color: #FDE68A; font-size: 15px; }
@media (max-width: 560px) {
  .nav .btn-back { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .nav .btn-back span { display: none; }
}

/* ---------- 13. MUSICA (tasti e indicatore) ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; width: 17px; height: 15px; flex: none; }
.eq i { display: block; width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; transform: scaleY(.3); transition: transform .4s var(--ease); }
.eq i:nth-child(2) { transform: scaleY(.55); }
.eq i:nth-child(3) { transform: scaleY(.4); }
.eq i:nth-child(4) { transform: scaleY(.25); }
[aria-pressed="true"] > .eq i { animation: eq 1.05s ease-in-out infinite; }
[aria-pressed="true"] > .eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.35s; }
[aria-pressed="true"] > .eq i:nth-child(3) { animation-duration: 1.25s; animation-delay: -.7s; }
[aria-pressed="true"] > .eq i:nth-child(4) { animation-duration: .95s; animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
html.reduce [aria-pressed="true"] > .eq i { animation: none; transform: scaleY(.75); }
.snd { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: color .3s, border-color .3s, box-shadow .4s; }
.snd[hidden] { display: none; }
.snd:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.snd[aria-pressed="true"] { color: var(--cyan); border-color: rgba(34, 211, 238, .55); box-shadow: 0 0 24px -8px rgba(34, 211, 238, .6); }
.snd-text { width: auto; height: 48px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--monof); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.menu .snd-text { align-self: flex-start; margin-top: 18px; }
html.is-intro .nav .snd { pointer-events: none; }
@media (max-width: 480px) {
  .nav .snd { width: 40px; height: 40px; }
}
@media (max-width: 412px) {
  .nav .snd { display: none; }                         /* sui telefoni il logo grande ha la precedenza: la musica resta nel menu e nell'intro */
}
@media (max-width: 360px) {
  .nav { gap: 8px; }
  .nav-logo img, .nav.is-scrolled .nav-logo img { height: 44px; }
  .nav .lang { --lw: 32px; }
  .nav .lang-btn { --fw: 20px; }
}
