/* ==========================================================================
   KrossUp Studio — app.css
   Nessuna dipendenza. Mobile first. Rispetta prefers-reduced-motion.
   ========================================================================== */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --bg-3: #1b1b1e;
  --fg: #f4f4f1;
  --muted: #9b9b96;
  --line: rgb(255 255 255 / .12);
  --accent: #ffc400;
  --accent-ink: #0b0b0c;
  --light: #ecebe6;
  --light-2: #e2e1db;
  --ink: #0b0b0c;

  --f-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;

  --fs-hero: clamp(3.4rem, 9.6vw, 11.5rem);
  --fs-h1: clamp(3.4rem, 11vw, 11rem);
  --fs-h2: clamp(2.4rem, 6vw, 5.6rem);
  --fs-statement: clamp(1.5rem, 3.2vw, 2.9rem);

  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-2vh); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(3vh); } }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1680px; }
.section { padding-block: clamp(80px, 12vw, 180px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 110px); }
.theme-light-section { background: var(--light); color: var(--ink); --line: rgb(0 0 0 / .12); --muted: #5f5f5a; border-radius: var(--radius-lg); margin-inline: clamp(6px, 1vw, 14px); }

/* ---------- Typography ---------- */
.eyebrow { font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(255 196 0 / .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(255 196 0 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 196 0 / 0); } }
.h2 { font: 800 var(--fs-h2)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.h2 em, .page-hero__title em, .hero__title em { font-style: normal; color: var(--accent); }
.theme-light-section .h2 em { color: inherit; -webkit-text-stroke: 0; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .08em; }
.statement { font: 500 var(--fs-statement)/1.22 var(--f-body); letter-spacing: -.02em; text-wrap: balance; }
.statement--sm { font-size: clamp(1.35rem, 2.4vw, 2.2rem); }
.body-lg { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); margin-top: 28px; max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 980px; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.section-head__lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--bh); padding: 0 1.6em; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--fg); }
.theme-light-section .btn--accent::before { background: var(--ink); }
.theme-light-section .btn--accent:hover { color: var(--fg); }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn--sm { --bh: 42px; padding: 0 1.2em; font-size: .88rem; }
.btn--lg { --bh: 60px; padding: 0 1.9em; font-size: 1rem; }
.btn--xl { --bh: 76px; padding: 0 2.4em; font-size: 1.15rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease), color .3s; }
.link-arrow:hover { gap: .9em; color: var(--accent); }
.theme-light-section .link-arrow:hover { color: inherit; }
.chip { display: inline-flex; align-items: center; gap: .4em; height: 40px; padding: 0 1.1em; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.chip sup { font: 500 .65rem var(--f-mono); opacity: .7; }
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.linkish { text-decoration: underline; text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--header-h);
  display: flex; align-items: center; gap: 20px; padding-inline: var(--gutter);
  pointer-events: none; transition: transform .6s var(--ease);
}
.site-header > * { pointer-events: auto; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(11 11 12 / .85), transparent); opacity: 0; transition: opacity .5s; pointer-events: none; }
.site-header.is-scrolled::before { opacity: 1; }
.brand { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-right: auto; transition: background .4s; }
.logo-mark { width: 46px; height: 46px; color: var(--accent); transition: transform .9s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-360deg) scale(1.08); }

/* HUD: ora e stato */
.hud { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgb(20 20 22 / .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; transition: opacity .5s, transform .6s var(--ease); }
.hud__dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: pulse-g 2s infinite; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 8px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.hud__time { color: var(--fg); font-variant-numeric: tabular-nums; }
.hud__sep { opacity: .4; }

/* Testo che rotola */
.roll { position: relative; display: inline-flex; flex-direction: column; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: top; }
.roll > span { display: block; transition: transform .6s var(--ease); }
.roll > span:last-child { position: absolute; top: 100%; left: 0; }
a:hover > .roll > span, a:focus-visible > .roll > span { transform: translateY(-100%); }

/* Nav in linea (desktop, in cima alla pagina) */
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgb(20 20 22 / .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav li { transition: opacity .45s, transform .6s var(--ease); transition-delay: calc((3 - var(--n)) * 45ms); }
.nav ul { transition: opacity .5s .15s, transform .6s var(--ease) .1s, border-color .4s; }
.is-collapsed .nav ul, .menu-open .nav ul { opacity: 0; transform: translateY(-14px) scale(.96); pointer-events: none; transition-delay: .12s; }
.nav__link { position: relative; display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background .35s, color .35s; }
.nav__link:hover { background: rgb(255 255 255 / .08); }
.nav__link[aria-current]::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--accent); }
.nav__link--cta { background: var(--accent); color: var(--accent-ink); }
.nav__link--cta:hover { background: var(--fg); }

/* Pulsante menu */
.mbtn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; transition: background .4s, color .4s, transform .5s var(--ease), opacity .4s; }
.mbtn__label { position: relative; display: inline-flex; flex-direction: column; height: 1.2em; line-height: 1.2; overflow: hidden; }
.mbtn__label span { transition: transform .6s var(--ease); }
.mbtn__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-ink); display: grid; place-content: center; gap: 5px; transition: transform .6s var(--ease); }
.mbtn__icon i { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .5s var(--ease), width .4s var(--ease); }
.mbtn__icon i:last-child { width: 10px; margin-left: auto; }
.mbtn:hover .mbtn__icon { transform: rotate(90deg); }
.mbtn:hover .mbtn__icon i:last-child { width: 16px; }
.mbtn[aria-expanded="true"] { background: var(--fg); }
.mbtn[aria-expanded="true"] .mbtn__label span { transform: translateY(-100%); }
.mbtn[aria-expanded="true"] .mbtn__icon { transform: rotate(180deg); }
.mbtn[aria-expanded="true"] .mbtn__icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.mbtn[aria-expanded="true"] .mbtn__icon i:last-child { width: 16px; transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Menu a tendina ---------- */
.menu { position: fixed; inset: 0; z-index: 110; color: var(--fg); visibility: hidden; }
.menu[hidden] { display: block !important; }
.menu.is-open, .menu.is-closing { visibility: visible; }
.menu__curtain { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.menu__curtain i { background: #121214; transform: scaleY(0); transform-origin: 50% 0; transition: transform .75s var(--ease-in-out); transition-delay: calc(var(--k) * 45ms); }
.menu__curtain i:nth-child(odd) { background: #151517; }
.menu.is-open .menu__curtain i { transform: scaleY(1); }
.menu.is-closing .menu__curtain i { transform: scaleY(0); transform-origin: 50% 100%; transition-delay: calc((5 - var(--k)) * 40ms + .2s); }
.menu__grid { position: relative; height: 100%; overflow-y: auto; display: grid; grid-template-rows: 1fr auto; gap: 28px; padding: calc(var(--header-h) + 24px) var(--gutter) 28px; }
.menu__label { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; align-items: center; gap: 14px; padding-block: 6px; font: 900 clamp(3rem, 12vw, 7.8rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
  transform: translateY(105%); transition: transform .9s var(--ease), color .35s, opacity .35s; }
.menu__list .roll { height: 1em; line-height: 1; }
.menu__list small { font: 500 .75rem var(--f-mono); color: var(--accent); align-self: flex-start; margin-top: 1.2em; }
.menu__list sup { font: 500 .8rem var(--f-mono); color: var(--muted); align-self: flex-start; margin-top: 1em; }
.menu__list a[aria-current] { color: var(--accent); }
.menu.is-open .menu__list a { transform: none; transition-delay: calc(.35s + var(--n) * 70ms); }
.menu__list:hover a { opacity: .28; }
.menu__list:hover a:hover { opacity: 1; color: var(--accent); }
.menu__aside { display: none; }
.menu__foot { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .75s; }
.menu.is-closing .menu__foot, .menu.is-closing .menu__aside { opacity: 0; transition-delay: 0s; }
.menu.is-closing .menu__list a { transform: translateY(-105%); transition-delay: calc(var(--n) * 30ms); }
.menu__mail { font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1.1 var(--f-display); text-transform: uppercase; transition: color .3s; overflow-wrap: anywhere; }
.menu__mail:hover { color: var(--accent); }
.menu__social { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 700; }
.menu__social a:hover { color: var(--accent); }
.menu-open { overflow: hidden; }
.menu-open .site-header { transform: none !important; }
.menu-open .site-header::before, .menu-open .hud { opacity: 0; }
.menu-open .nav li { opacity: 0; transform: translateY(-14px); pointer-events: none; }

/* ---------- Overlays: progress, cursor, grain, intro ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; mix-blend-mode: difference; }
  .cursor__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease), opacity .3s; }
  .cursor__label { position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 .8rem var(--f-body); text-transform: uppercase; letter-spacing: .04em; transform: scale(0); transition: transform .45s var(--ease); mix-blend-mode: normal; }
  .cursor.is-hover .cursor__dot { transform: scale(3.2); }
  .cursor.has-label { mix-blend-mode: normal; }
  .cursor.has-label .cursor__dot { opacity: 0; }
  .cursor.has-label .cursor__label { transform: scale(1); }
  .cursor.is-hidden { opacity: 0; }
}
.intro-curtain { display: none; }
.intro .intro-curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: var(--accent); animation: curtain 1.1s var(--ease-in-out) .55s forwards; pointer-events: none; }
.intro-curtain__logo { width: 84px; color: var(--accent-ink); animation: curtain-logo 1s var(--ease) both; }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); } }
@keyframes curtain-logo { from { transform: scale(.4) rotate(-180deg); opacity: 0; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="lines"], .js [data-reveal="words"] { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.w > span { display: inline-block; }
.js [data-reveal="lines"] .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-reveal="lines"].is-in .w > span { transform: none; }
.js [data-reveal="words"] .w > span { opacity: .14; transition: opacity .4s; }
.js [data-reveal="words"] .w > span.on { opacity: 1; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 6% 12% 6% round var(--radius)); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-split] { display: inline-block; }
.js [data-split] .ch { display: inline-block; transform: translateY(105%) rotate(6deg); opacity: 0; animation: ch-in 1s var(--ease) forwards; animation-delay: calc(var(--c) * 28ms + var(--delay, .1s)); }
.intro [data-split] .ch { --delay: 1.2s; }
@keyframes ch-in { to { transform: none; opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; align-items: center; gap: 0; flex: none; min-width: 100%; animation: marquee var(--dur, 40s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band { padding-block: clamp(20px, 3vw, 40px); border-block: 1px solid var(--line); overflow: hidden; }
.marquee--big .marquee__track { transform: skewX(var(--skew, 0deg)); }
.marquee--big span { font: 900 clamp(3.2rem, 9vw, 9rem)/1 var(--f-display); text-transform: uppercase; padding-inline: .3em; white-space: nowrap; }
.marquee--big b { color: var(--accent); font-size: clamp(1.6rem, 4vw, 4rem); }
.marquee--outline span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.marquee--logos { --dur: 36s; padding-block: 20px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee--logos img { height: clamp(36px, 5vw, 60px); width: auto; margin-inline: clamp(28px, 5vw, 70px); opacity: .65; transition: opacity .3s; }
.marquee--logos img:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(28px, 5vw, 56px); overflow: hidden; isolation: isolate; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__eyebrow { margin-bottom: clamp(18px, 3vw, 36px); }
.hero__title { font: 900 var(--fs-hero)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.015em; }
.hero__line { display: block; overflow: hidden; padding: .16em 0 .04em; margin-top: -.16em; }
.hero__line em { color: var(--accent); font-style: normal; }
.hero__line--rotator { height: auto; }
.rotator { position: relative; display: block; height: .88em; overflow: hidden; color: transparent; -webkit-text-stroke: 2px var(--fg); }
.rotator span { position: absolute; left: 0; top: 0; line-height: .88; white-space: nowrap; transform: translateY(125%); transition: transform .9s var(--ease); }
.rotator span.is-active { transform: translateY(0); }
.rotator span.is-leaving { transform: translateY(-125%); }
.no-js .rotator span:first-child, html:not(.js) .rotator span:first-child { transform: none; }
.hero__foot { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 56px); }
.hero__lead { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #cfcfca; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__latest { display: none; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; display: none; align-items: center; gap: 10px; font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(var(--accent) 50%, var(--line) 50%); background-size: 100% 200%; animation: scrollcue 2s var(--ease-in-out) infinite; }
@keyframes scrollcue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- Hero con muro di progetti ---------- */
.hx { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(36px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.hx__wall { position: absolute; inset: 0; z-index: -2; perspective: 1600px; }
.hx__plane { position: absolute; left: 50%; top: 50%; width: 230vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px);
  transform: translate(-50%, -50%) rotateX(24deg) rotateZ(-18deg) translate3d(var(--wx, 0px), var(--wy, 0px), 0) scale(var(--ws, 1)); transform-style: preserve-3d; }
.hx__col:nth-child(even) { margin-top: -18vh; }
.hx__strip { display: flex; flex-direction: column; animation: wall var(--dur, 44s) linear infinite; will-change: transform; }
.hx__col:nth-child(even) .hx__strip { animation-direction: reverse; }
.hx__strip img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: clamp(8px, 1vw, 16px); margin-bottom: clamp(10px, 1.4vw, 22px); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); filter: saturate(.9) brightness(.85); }
@keyframes wall { to { transform: translateY(-50%); } }
.hx__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--bg) 4%, rgb(11 11 12 / .55) 45%, rgb(11 11 12 / .25) 75%, rgb(11 11 12 / .7) 100%),
    radial-gradient(120% 90% at 0% 100%, rgb(11 11 12 / .9), transparent 60%); }
.hx__eyebrow { margin-bottom: clamp(18px, 3vw, 32px); color: #cfcfca; }
.hx .hero__lead { color: #e6e6e1; }
.js .hx__wall { opacity: 0; transform: scale(1.15); transition: opacity 1.6s var(--ease), transform 2.4s var(--ease); }
.js .hx.is-ready .hx__wall { opacity: 1; transform: none; }
.hx .hero__latest { z-index: 2; }

/* ---------- Zoom ---------- */
.zoom { position: relative; height: 260vh; }
.zoom__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom__media { position: absolute; inset: 0; background: var(--c);
  clip-path: inset(calc(var(--zy, 22) * 1%) calc(var(--zx, 8) * 1%) round calc(var(--zr, 24) * 1px)); }
.zoom__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(var(--zs, 1.2)); filter: brightness(var(--zb, .4)) blur(calc(var(--zbl, 6) * 1px)); }
.zoom__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .92) 0%, rgb(0 0 0 / .55) 35%, transparent 65%); opacity: var(--zc, 0); }
.zoom__words { position: relative; z-index: 2; display: grid; justify-items: center; font: 900 clamp(3.4rem, 12vw, 13rem)/.85 var(--f-display); text-transform: uppercase; text-align: center; color: #fff; pointer-events: none; opacity: calc(1 - var(--zw, 0)); }
.zoom__w { display: block; white-space: nowrap; will-change: transform; }
.zoom__w--l { transform: translateX(calc(var(--zw, 0) * -100vw)); }
.zoom__w--r { transform: translateX(calc(var(--zw, 0) * 100vw)); color: var(--accent); }
.zoom__caption { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); margin-inline: auto; z-index: 3; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px;
  opacity: var(--zc, 0); transform: translateY(calc((1 - var(--zc, 0)) * 30px)); pointer-events: none; }
.zoom.is-done .zoom__caption { pointer-events: auto; }
.zoom__caption .eyebrow { color: #e6e6e1; }
.zoom__name { font: 900 clamp(2.8rem, 7vw, 6.4rem)/.9 var(--f-display); text-transform: uppercase; margin-top: 8px; }

/* ---------- Card impilate ---------- */
.stack__list { display: grid; gap: 0; }
.stack__card { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 22px); min-height: min(62svh, 560px); margin-bottom: 9vh; border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 56px); display: grid; grid-template-rows: auto 1fr auto; gap: 20px; transform-origin: 50% 0; box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .6);
  transform: scale(var(--ss, 1)); filter: brightness(var(--sb, 1)); }
.stack__card:last-child { margin-bottom: 0; }
.stack__card--0 { background: var(--accent); color: var(--accent-ink); }
.stack__card--2 { background: var(--bg-3); color: var(--fg); border: 1px solid var(--line); }
.stack__card--4 { background: var(--accent); color: var(--accent-ink); }
.stack__n { font: 900 clamp(5rem, 14vw, 12rem)/.8 var(--f-display); }
.stack__body { align-self: end; display: grid; gap: 12px; max-width: 760px; }
.stack__body h3 { font: 900 clamp(2.6rem, 6vw, 5.4rem)/.9 var(--f-display); text-transform: uppercase; }
.stack__body p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); opacity: .82; max-width: 52ch; }
.stack__of { font: 500 .78rem var(--f-mono); opacity: .6; justify-self: end; }

/* ---------- Intro / stats ---------- */
.intro__grid { display: grid; gap: 28px; }
.intro__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(40px, 6vw, 80px); }
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.stats strong { display: block; font: 900 clamp(3.4rem, 7vw, 6rem)/.9 var(--f-display); color: var(--accent); }
.stats span { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.two-col { display: grid; gap: 24px; margin-top: 40px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Horizontal works ---------- */
.works-h { position: relative; }
.works-h__sticky { padding-block: clamp(60px, 8vw, 110px); }
.works-h__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.works-h__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); padding-bottom: 12px; scrollbar-width: none; }
.works-h__track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 86vw; scroll-snap-align: start; display: grid; gap: 16px; }
.slide__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--c); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; transform: scale(1.04); }
.slide:hover .slide__media img { transform: scale(1.1); }
.slide__meta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; }
.slide__n { grid-column: 1 / -1; font: 500 .75rem var(--f-mono); color: var(--muted); }
.slide h3 { font: 800 clamp(2rem, 4vw, 3.6rem)/.95 var(--f-display); text-transform: uppercase; }
.slide__meta p { color: var(--muted); font-size: .92rem; }
.slide--all { width: 60vw; align-content: center; justify-items: start; padding: 32px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); aspect-ratio: auto; }
.slide--all span { font: 900 clamp(2.6rem, 6vw, 5.2rem)/.9 var(--f-display); text-transform: uppercase; }
.slide--all .i { width: 56px; height: 56px; transition: transform .5s var(--ease); }
.slide--all:hover .i { transform: translateX(12px); }
.works-h__bar { margin-top: 28px; }
.works-h__bar span { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.works-h__bar span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--hp, .15)); }

/* ---------- Services list (home) ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__item a { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.svc__item a::before { content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.svc__item a:hover::before, .svc__item a:focus-visible::before { transform: scaleY(1); }
.svc__item a:hover, .svc__item a:focus-visible { color: var(--accent-ink); }
.svc__n { font: 500 .78rem var(--f-mono); color: var(--muted); transition: color .3s; }
.svc__item a:hover .svc__n { color: inherit; }
.svc__name { font: 800 clamp(1.8rem, 4.6vw, 4rem)/1 var(--f-display); text-transform: uppercase; transition: transform .55s var(--ease); }
.svc__item a:hover .svc__name { transform: translateX(14px); }
.svc__kicker { grid-column: 2; font-size: .85rem; color: var(--muted); transition: color .3s; }
.svc__item a:hover .svc__kicker { color: rgb(0 0 0 / .7); }
.svc__arrow { grid-row: 1 / span 2; grid-column: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), border-color .3s; }
.svc__item a:hover .svc__arrow { transform: rotate(-45deg); border-color: var(--accent-ink); }
.hover-preview { display: none; }

/* ---------- Process ---------- */
.process__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process__step { background: var(--light); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; transition: background .4s; }
.process__n { font: 900 3.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .4s; }
.process__step:hover .process__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.process__step h3 { font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; }
.process__step p { color: var(--muted); }

/* ---------- Clients ---------- */
.clients { padding-block: clamp(60px, 8vw, 110px); }
.clients .wrap { margin-bottom: 28px; }

/* ---------- Values ---------- */
.values__grid { display: grid; gap: 48px; }
.values__sticky { display: grid; gap: 18px; align-content: start; }
.values__sticky p { color: var(--muted); max-width: 40ch; }
.values__list li { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.values__list span { font: 500 .75rem var(--f-mono); text-transform: uppercase; color: var(--accent); letter-spacing: .06em; }
.values__list h3 { font: 800 clamp(2.2rem, 4vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; }
.values__list p { color: var(--muted); max-width: 54ch; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin: clamp(40px, 8vw, 120px) clamp(6px, 1vw, 14px) 0; overflow: hidden; }
.cta__marquee { border-bottom: 1px solid rgb(0 0 0 / .14); padding-block: 18px; --dur: 22s; }
.cta__marquee span { display: inline-flex; align-items: center; gap: .5em; font: 900 clamp(2.2rem, 5vw, 4.4rem)/1 var(--f-display); text-transform: uppercase; padding-right: .5em; white-space: nowrap; }
.cta__k { width: .8em; height: .8em; }
.cta__body { display: grid; gap: 36px; padding-block: clamp(60px, 9vw, 130px); }
.cta__title { font: 900 clamp(3rem, 8.5vw, 8.4rem)/.88 var(--f-display); text-transform: uppercase; }
.cta__side { display: grid; gap: 28px; align-content: end; justify-items: start; }
.cta__side p { font-size: 1.15rem; max-width: 38ch; }
.cta .btn--accent { background: var(--accent-ink); color: var(--accent); }
.cta .btn--accent::before { background: var(--fg); }
.cta .btn--accent:hover { color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); padding-top: clamp(60px, 8vw, 110px); overflow: hidden; }
.footer__top { display: grid; gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 34ch; color: var(--muted); }
.footer__logo { width: 56px; color: var(--accent); }
.footer__col h2 { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer__col h2:not(:first-child) { margin-top: 28px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__col address { margin-bottom: 14px; color: #cfcfca; }
.footer__social { margin-top: 14px; }
.footer__social a { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom { margin-top: clamp(48px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer__bottom p { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- Page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 8vw, 110px)) 0 clamp(40px, 6vw, 80px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero__title { font: 900 var(--fs-h1)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.015em; overflow-wrap: anywhere; }
.page-hero__title sup { font: 500 clamp(.9rem, 1.6vw, 1.3rem) var(--f-mono); vertical-align: top; color: var(--accent); }
.page-hero__title--md { font-size: clamp(3rem, 8.5vw, 8.2rem); }
.page-hero__foot { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 52px); align-items: end; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 52ch; color: #cfcfca; }
.crumbs { margin-bottom: clamp(20px, 3vw, 36px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Work cards ---------- */
.grid-works { display: grid; gap: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px); }
.card__link { display: grid; gap: 16px; }
.card__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--c); }
.card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease), opacity .6s; }
.card__scroll { opacity: 0; object-position: top; }
.card__link:hover .card__media > img:first-child { transform: scale(1.06); }
@media (hover: hover) {
  .card__link:hover .card__scroll { opacity: 1; object-position: bottom; transition: opacity .5s, object-position 6s linear; }
}
.card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); pointer-events: none; }
.card__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; }
.card__index, .card__year { font: 500 .78rem var(--f-mono); color: var(--muted); }
.card__title { font: 800 clamp(2rem, 3.6vw, 3.2rem)/.95 var(--f-display); text-transform: uppercase; transition: color .3s; }
.card__link:hover .card__title { color: var(--accent); }
.card__excerpt { color: var(--muted); max-width: 56ch; }
.card.is-out { display: none; }

/* ---------- Case study ---------- */
.case-hero { padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) 0 0; }
.case-hero__title { font: 900 clamp(3.4rem, 11vw, 11rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.015em; margin-top: 16px; }
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-block: clamp(28px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.case-meta dt { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.case-meta dd { font-weight: 600; }
.link-ext { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }
.link-ext:hover { text-decoration: underline; }
.browser { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px; background: #1f1f22; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-inline: auto; padding: 4px 16px; border-radius: 8px; background: #2a2a2e; font: 500 .72rem var(--f-mono); color: var(--muted); transform: translateX(-24px); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser > img, .browser a > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser--hero { transform-origin: 50% 0; }
.case-intro__grid { display: grid; gap: 40px; }
.case-services { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; background: var(--bg-2); }
.case-services h3 { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }
.case-services ul { display: grid; gap: 10px; }
.case-services li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.case-services .i { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(48px, 7vw, 100px); border: 1px solid var(--line); }
.facts li { background: var(--bg); padding: clamp(20px, 3vw, 36px); display: grid; gap: 6px; }
.facts strong { font: 900 clamp(2.8rem, 6vw, 5.4rem)/.9 var(--f-display); color: var(--accent); }
.facts span { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.scroller { position: relative; height: 300vh; }
.scroller__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); }
.scroller__grid { display: grid; gap: 24px; align-items: center; height: 100%; padding-block: 24px; grid-template-rows: auto 1fr; }
.scroller__text { display: grid; gap: 14px; }
.scroller__text p { color: var(--muted); display: none; }
.scroller__meter { height: 2px; background: var(--line); max-width: 260px; }
.scroller__meter span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.browser--tall { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.browser__viewport { position: relative; flex: 1; overflow: hidden; }
.browser__viewport img { width: 100%; height: auto; will-change: transform; transform: translateY(var(--sy, 0px)); }

.case-story__grid { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.case-story__block { background: var(--c); color: var(--ink); padding: clamp(28px, 5vw, 64px); display: grid; gap: 16px; align-content: start; position: relative; }
.case-story__block:nth-child(2) { background: var(--bg-2); color: var(--fg); }
.case-story__n { font: 500 .78rem var(--f-mono); opacity: .7; }
.case-story__block h2 { font: 900 clamp(2.6rem, 5vw, 4.6rem)/.9 var(--f-display); text-transform: uppercase; }
.case-story__block p { font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 54ch; }
.case.is-dark-c .case-story__block:first-child { color: var(--fg); }

.case-design__grid { display: grid; gap: 56px; align-items: center; }
.phone { width: min(320px, 76vw); margin-inline: auto; aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2c2c30, #0d0d0f); box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8), inset 0 0 0 1.5px rgb(255 255 255 / .12); transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--c); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-design__text { display: grid; gap: 22px; }
.case-design__text > p { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.palette { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.palette li { border-radius: 14px; border: 1px solid var(--line); padding: 10px; display: grid; gap: 4px; background: var(--bg-2); }
.palette__sw { height: 64px; border-radius: 9px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: height .5s var(--ease); }
.palette li:hover .palette__sw { height: 84px; }
.palette strong { font-size: .9rem; }
.palette code { font: 500 .72rem var(--f-mono); color: var(--muted); }
.typeset { display: grid; gap: 8px; }
.typeset li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.typeset span { font: 800 1.8rem/1 var(--f-display); color: var(--fg); width: 48px; }
.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 14px; }

.feature-grid { display: grid; gap: 14px; }
.feature, .svc-card, .disc li { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 3vw, 36px); isolation: isolate; }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(255 196 0 / .16), transparent 60%); }
[data-spotlight]:hover::before { opacity: 1; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature__n { font: 500 .75rem var(--f-mono); color: var(--accent); }
.feature h3 { font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; }
.feature p { color: var(--muted); }

.shot { display: grid; gap: 22px; margin-bottom: clamp(56px, 8vw, 120px); align-items: center; }
.shot a { display: block; overflow: hidden; }
.shot a img { transition: transform 1.2s var(--ease); }
.shot a:hover img { transform: scale(1.03); }
.shot figcaption { display: grid; gap: 10px; }
.shot figcaption span { font: 500 .78rem var(--f-mono); color: var(--accent); }
.shot figcaption h3 { font: 800 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); text-transform: uppercase; }
.shot figcaption p { color: var(--muted); max-width: 42ch; }
.visit { display: flex; justify-content: center; }

.next { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.next a { display: grid; gap: 18px; padding-block: clamp(60px, 9vw, 130px); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; position: relative; }
.next__title { font: 900 clamp(3.4rem, 11vw, 10rem)/.86 var(--f-display); text-transform: uppercase; transition: color .4s; position: relative; z-index: 1; }
.next a:hover .next__title { color: var(--accent); }
.next__media { width: min(520px, 80vw); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.next__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.next a:hover .next__media img { transform: scale(1.07); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 1.1rem; }

/* ---------- Services pages ---------- */
.svc-cards { display: grid; gap: 14px; }
.svc-card { display: grid; gap: 14px; align-content: start; min-height: 300px; transition: border-color .4s, transform .5s var(--ease); }
.svc-card:hover { border-color: rgb(255 196 0 / .5); transform: translateY(-4px); }
.svc-card__n { font: 500 .78rem var(--f-mono); color: var(--muted); }
.svc-card__kicker { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.svc-card h2 { font: 800 clamp(2rem, 3.2vw, 2.8rem)/.95 var(--f-display); text-transform: uppercase; }
.svc-card p { color: var(--muted); }
.svc-card .tags { margin-top: auto; }
.svc-card__go { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: transform .5s var(--ease), background .3s; }
.svc-card:hover .svc-card__go { transform: rotate(-45deg); background: var(--accent); }
.accordion-steps { border-top: 1px solid var(--line); }
.accordion-steps li { border-bottom: 1px solid var(--line); }
.accordion-steps summary, .faq__item summary { list-style: none; cursor: pointer; }
.accordion-steps summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.accordion-steps summary { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 12px; padding-block: 26px; }
.steps__n { font: 500 .8rem var(--f-mono); color: var(--accent); }
.steps__t { font: 800 clamp(1.8rem, 4vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; transition: transform .5s var(--ease); }
.accordion-steps summary:hover .steps__t { transform: translateX(8px); }
.steps__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
details[open] .steps__x, .faq__item[open] summary span { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps__body { padding: 0 0 30px 64px; max-width: 70ch; color: var(--muted); font-size: 1.08rem; }
details[open] .steps__body, .faq__item[open] > p { animation: open .6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-10px); } }
.faq__grid { display: grid; gap: 40px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 22px; font-weight: 700; font-size: 1.12rem; }
.faq__item summary span { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.faq__item > p { padding-bottom: 24px; color: var(--muted); max-width: 70ch; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.other-svc { border-top: 1px solid var(--line); }

/* ---------- Studio ---------- */
.disc { display: grid; gap: 14px; }
.disc strong { font: 900 clamp(4rem, 9vw, 7.6rem)/.85 var(--f-display); }
.disc span { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.disc p { color: var(--muted); margin-top: 10px; }
.theme-light-section [data-spotlight]::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(255 196 0 / .35), transparent 60%); }
.tl { position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--accent); transform-origin: 0 0; transform: scaleY(var(--tp, 0)); }
.tl li { position: relative; display: grid; gap: 8px; padding: 0 0 44px 32px; }
.tl li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl__y { font: 900 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--f-display); color: var(--accent); }
.tl h3 { font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; }
.tl p { color: var(--muted); max-width: 52ch; }

/* ---------- Contact ---------- */
.page-hero--contact .page-hero__lead { margin-top: 24px; }
.contact__grid { display: grid; gap: 40px; }
.form { position: relative; display: grid; gap: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.steps-bar { display: none; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps-bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--fp, .25)); transition: transform .6s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: baseline; gap: 14px; font: 800 clamp(1.8rem, 3.6vw, 3rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: 22px; padding: 0; }
.step legend span { font: 500 .8rem var(--f-mono); color: var(--accent); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 50px; padding: 0 1.3em; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.choice:hover span { border-color: var(--fg); }
.choice input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.03); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 500 1.05rem var(--f-body); color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .3s, background .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff6b5b; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent-check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.consent-check a { color: var(--fg); text-decoration: underline; }
.form__nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form__count { margin-right: auto; font: 500 .8rem var(--f-mono); color: var(--muted); }
.form-error { padding: 16px 20px; border-radius: 14px; background: rgb(255 107 91 / .12); border: 1px solid rgb(255 107 91 / .4); }
.form-done { display: grid; gap: 18px; justify-items: start; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.form-done__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.form-done__icon .i { width: 34px; height: 34px; }
.form-done h2 { font: 900 clamp(2.6rem, 5vw, 4rem)/.9 var(--f-display); text-transform: uppercase; }
.form-done p { color: var(--muted); }
.js .form.is-stepped .step { display: none; }
.js .form.is-stepped .step.is-current { display: block; animation: open .6s var(--ease); }
.js .form.is-stepped .steps-bar { display: block; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; justify-items: start; background: var(--bg-2); }
.info-card h2 { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-big { font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; transition: color .3s; }
.info-big:hover { color: var(--accent); }
.info-card--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.info-card--accent h2 { color: rgb(0 0 0 / .6); }
.info-card--accent a { text-decoration: underline; font-weight: 700; }
.social-list { display: grid; gap: 6px; }
.social-list a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.social-list a:hover { color: var(--accent); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font: 800 2rem/1 var(--f-display); text-transform: uppercase; margin: 44px 0 12px; }
.prose p { color: #cfcfca; margin-bottom: 12px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose code { font: .9em var(--f-mono); background: var(--bg-3); padding: 2px 6px; border-radius: 5px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound__title { display: flex; align-items: center; font: 900 clamp(8rem, 34vw, 30rem)/.8 var(--f-display); margin: 20px 0 30px; }
.notfound__k { width: .78em; height: .78em; color: var(--accent); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notfound .page-hero__lead { margin-bottom: 28px; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 460px; padding: 22px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); display: grid; gap: 16px; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Contatti ---------- */
.ct-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) 0 clamp(60px, 8vw, 120px); }
.ct-hero::before { content: ""; position: absolute; z-index: -2; width: 70vw; height: 70vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgb(255 196 0 / .22), transparent 62%); filter: blur(20px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-8vw, 10vw) scale(1.15); } }
.ct-hero__k { position: absolute; z-index: -1; right: -8vw; top: 50%; width: min(64vw, 820px); transform: translateY(-50%); pointer-events: none; }
.ct-hero__mark { width: 100%; height: auto; color: transparent; animation: spin 60s linear infinite; }
.ct-hero__mark path { fill: none; stroke: rgb(255 196 0 / .35); stroke-width: .25; }
.ct-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgb(20 20 22 / .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.ct-status time { color: var(--fg); font-variant-numeric: tabular-nums; }
.ct-hero__grid { display: grid; gap: 40px; align-items: end; }
.ct-hero__title { font: 900 clamp(3.6rem, 12vw, 12.5rem)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.015em; }
.ct-hero__title em { font-style: normal; color: var(--accent); }
.ct-outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.ct-hero__side { display: grid; gap: 22px; justify-items: start; max-width: 520px; }
.ct-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #cfcfca; }
.ct-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ct-mail__link { font: 900 clamp(1.9rem, 3.6vw, 3.2rem)/1 var(--f-display); text-transform: uppercase; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; padding-bottom: 6px; transition: background-size .6s var(--ease), color .3s; overflow-wrap: anywhere; }
.ct-mail__link:hover { background-size: 100% 3px; color: var(--accent); }
.ct-mail__copy { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; transition: background .3s, color .3s, border-color .3s; }
.ct-mail__copy:hover { border-color: var(--fg); }
.ct-mail__copy.is-done { background: #3ddc84; border-color: #3ddc84; color: #04210f; }
.ct-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }

/* Card modulo (chiara, sopra il fondo scuro) */
.ct-form-sec { position: relative; padding-bottom: clamp(40px, 6vw, 80px); scroll-margin-top: 20px; }
.ct-card { --fg: #0b0b0c; --line: rgb(0 0 0 / .13); --muted: #5f5f5a; position: relative; background: var(--light); color: var(--fg); border-radius: clamp(22px, 3vw, 36px); padding: clamp(22px, 4vw, 56px); box-shadow: 0 60px 120px -40px rgb(0 0 0 / .9); overflow: hidden; }
.ct-card ::selection { background: var(--ink); color: var(--accent); }
.ct-card__head { display: grid; gap: 22px; margin-bottom: clamp(26px, 4vw, 44px); }
.ct-card__head .eyebrow { color: var(--muted); }
.ct-card__title { font: 900 clamp(2.4rem, 5vw, 4.4rem)/.9 var(--f-display); text-transform: uppercase; margin-top: 8px; }
.ct-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--muted); transition: background .35s, color .35s, border-color .35s; }
.ct-tab span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(0 0 0 / .07); font: 500 .7rem var(--f-mono); transition: background .35s, color .35s; }
.ct-tab.is-done { color: var(--fg); }
.ct-tab.is-done span { background: var(--fg); color: var(--accent); }
.ct-tab.is-current { background: var(--fg); color: var(--light); border-color: var(--fg); }
.ct-tab.is-current span { background: var(--accent); color: var(--ink); }
.ct-card .steps-bar { display: block; height: 4px; background: rgb(0 0 0 / .08); }
.ct-card .steps-bar span { background: var(--fg); }
.ct-card__body { display: grid; gap: 32px; }
.ct-card .step legend { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 8px; }
.ct-card .step legend span { color: var(--fg); background: var(--accent); padding: 4px 8px; border-radius: 6px; }
.step__hint { color: var(--muted); margin-bottom: 22px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; margin: 0; }
.tile__box { position: relative; display: grid; gap: 4px; align-content: start; height: 100%; min-height: 128px; padding: 18px; border-radius: 18px; background: #fff; border: 1.5px solid transparent; transition: transform .45s var(--ease), border-color .3s, background .3s, box-shadow .45s var(--ease); }
.tile:hover .tile__box { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgb(0 0 0 / .35); }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--light); margin-bottom: 10px; transition: background .3s, transform .5s var(--ease); }
.tile__icon .i { width: 22px; height: 22px; }
.tile strong { font-size: 1.02rem; }
.tile small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.tile__check { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--accent); transform: scale(0); transition: transform .45s var(--ease); }
.tile__check .i { width: 15px; height: 15px; }
.tile input:checked + .tile__box { background: var(--accent); border-color: var(--fg); }
.tile input:checked + .tile__box .tile__icon { background: var(--fg); color: var(--accent); transform: rotate(-8deg); }
.tile input:checked + .tile__box small { color: rgb(0 0 0 / .65); }
.tile input:checked + .tile__box .tile__check { transform: scale(1); }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--fg); outline-offset: 3px; }

.budget { display: grid; gap: 10px; }
.budget__opt { position: relative; cursor: pointer; }
.budget__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; margin: 0; }
.budget__opt > span { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 20px; border-radius: 16px; background: #fff; border: 1.5px solid transparent; font: 800 clamp(1.3rem, 2.2vw, 1.8rem)/1 var(--f-display); text-transform: uppercase; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.budget__opt:hover > span { transform: translateX(6px); }
.budget__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.budget__bars b { width: 5px; border-radius: 2px; background: rgb(0 0 0 / .14); }
.budget__bars b:nth-child(1) { height: 30%; } .budget__bars b:nth-child(2) { height: 55%; } .budget__bars b:nth-child(3) { height: 80%; } .budget__bars b:nth-child(4) { height: 100%; }
.budget__opt[style*="--lv:1"] b:nth-child(-n+1), .budget__opt[style*="--lv:2"] b:nth-child(-n+2), .budget__opt[style*="--lv:3"] b:nth-child(-n+3), .budget__opt[style*="--lv:4"] b:nth-child(-n+4) { background: var(--fg); }
.budget__opt input:checked + span { background: var(--accent); border-color: var(--fg); }
.budget__opt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Campi con etichetta fluttuante */
.fl { position: relative; display: block; }
.fl input, .fl textarea { width: 100%; font: 600 1.1rem var(--f-body); color: var(--fg); background: #fff; border: 1.5px solid transparent; border-radius: 16px; padding: 28px 18px 10px; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.fl textarea { min-height: 150px; }
.fl > span { position: absolute; left: 19px; top: 21px; font-weight: 500; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 4px rgb(255 196 0 / .55); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span, .fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { transform: translateY(-12px) scale(.74); color: var(--fg); }
.fl input:user-invalid, .fl textarea:user-invalid { border-color: #e5484d; }
.fl--full { grid-column: 1 / -1; }
.ct-card .choice span { background: #fff; border-color: transparent; }
.ct-card .choice input:checked + span { border-color: var(--fg); }
.ct-card .form-error { background: #ffe5e3; border-color: #f3a39b; color: #5c0c06; margin-bottom: 20px; }

/* Riepilogo */
.summary { position: relative; display: none; align-content: start; gap: 18px; padding: 26px; border-radius: 22px; background: var(--ink); color: #f4f4f1; overflow: hidden; }
.summary .eyebrow { color: #9b9b96; }
.summary dl { display: grid; gap: 16px; }
.summary dt { font: 500 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #9b9b96; margin-bottom: 6px; }
.summary dd { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 700; }
.summary dd .chip-s { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .82rem; animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.summary__empty { color: #6b6b67; font-weight: 500; }
.summary__eta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #cfcfca; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); }
.summary__k { position: absolute; right: -40px; bottom: -40px; width: 170px; color: rgb(255 196 0 / .12); animation: spin 30s linear infinite; }

.ct-card .form__nav { margin-top: clamp(26px, 4vw, 40px); padding-top: 24px; border-top: 1px solid var(--line); }
.btn--ink { background: var(--ink); color: var(--accent); }
.btn--ink::before { background: var(--accent); }
.btn--ink:hover { color: var(--ink); }
.btn--ghost-ink { border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost-ink::before { background: var(--ink); }
.btn--ghost-ink:hover { color: var(--light); }

/* Invio completato */
.ct-done { display: grid; gap: 20px; justify-items: start; min-height: 420px; align-content: center; }
.ct-done__title { font: 900 clamp(3rem, 8vw, 7rem)/.88 var(--f-display); text-transform: uppercase; }
.ct-done__title em { font-style: normal; background: var(--accent); padding: 0 .12em; }
.ct-done > p:not(.eyebrow) { max-width: 52ch; font-size: 1.1rem; color: var(--muted); }
.ct-done .btn--ghost { color: var(--ink); border-color: var(--line); }
.ct-done__burst { position: absolute; right: -6%; top: 50%; width: min(40vw, 460px); transform: translateY(-50%); color: var(--accent); opacity: .9; animation: burst 1.2s var(--ease) both; }
.ct-done__k { width: 100%; height: auto; }
@keyframes burst { from { transform: translateY(-50%) scale(.3) rotate(-120deg); opacity: 0; } }

/* Dopo il messaggio */
.ct-next__list { position: relative; display: grid; gap: 14px; counter-reset: s; }
.ct-next__list li { position: relative; display: grid; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.ct-next__list li:hover { border-color: rgb(255 196 0 / .6); transform: translateY(-6px); }
.ct-next__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.ct-next__icon .i { width: 26px; height: 26px; }
.ct-next__n { position: absolute; right: 22px; top: 6px; font: 900 7rem/1 var(--f-display); color: var(--bg-3); z-index: 0; }
.ct-next__list h3 { position: relative; font: 800 2rem/1 var(--f-display); text-transform: uppercase; margin-top: 10px; }
.ct-next__list p { position: relative; color: var(--muted); }

/* Sede con radar */
.ct-ways__grid { display: grid; gap: 14px; }
.ct-place { position: relative; display: grid; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background:
  radial-gradient(circle at 70% 45%, rgb(255 196 0 / .14), transparent 45%),
  linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 34px 34px,
  linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px) 0 0 / 34px 34px,
  var(--bg-2); border: 1px solid var(--line); transition: border-color .4s; }
.ct-place:hover { border-color: var(--accent); }
.ct-place__radar { position: absolute; left: 70%; top: 45%; width: 0; height: 0; z-index: -1; }
.ct-place__radar i { position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; border: 1.5px solid rgb(255 196 0 / .7); animation: radar 3.6s var(--ease) infinite; opacity: 0; }
.ct-place__radar i:nth-child(2) { animation-delay: 1.2s; } .ct-place__radar i:nth-child(3) { animation-delay: 2.4s; }
@keyframes radar { 0% { transform: scale(.1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.ct-place__pin { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 6px rgb(255 196 0 / .2); }
.ct-place__pin .logo-mark { width: 40px; height: 40px; }
.ct-place:hover .ct-place__pin .logo-mark { transform: rotate(-360deg); }
.ct-place__info { align-self: end; display: grid; gap: 10px; justify-items: start; padding: clamp(24px, 3vw, 40px); }
.ct-place__city { font: 900 clamp(4rem, 10vw, 8.5rem)/.82 var(--f-display); text-transform: uppercase; }
.ct-place address { color: #cfcfca; font-size: 1.05rem; }
.ct-place__coord { font: 500 .75rem var(--f-mono); color: var(--muted); letter-spacing: .05em; }
.ct-ways__side { display: grid; gap: 14px; }
.ct-social { display: grid; gap: 4px; width: 100%; }
.ct-social a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; transition: color .3s, padding .4s var(--ease); }
.ct-social li:last-child a { border-bottom: 0; }
.ct-social a:hover { color: var(--accent); padding-left: 8px; }

/* ---------- Servizi: hero con anello ---------- */
.sv-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) 0 clamp(40px, 6vw, 80px); }
.sv-hero__grid { display: grid; gap: 40px; align-items: center; }
.sv-hero .eyebrow { margin-bottom: 18px; }
.sv-hero__title, .st-hero__title { font: 900 clamp(3.4rem, 10.5vw, 10.5rem)/.85 var(--f-display); overflow-wrap: normal; text-transform: uppercase; letter-spacing: -.015em; margin-bottom: clamp(24px, 3vw, 40px); }
.sv-hero__title em, .st-hero__title em { font-style: normal; color: var(--accent); }
.ring { position: relative; width: min(80vw, 560px); aspect-ratio: 1; margin-inline: auto; }
.ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(var(--rot, 0deg)); }
.ring__svg text { font: 800 19px var(--f-display); text-transform: uppercase; letter-spacing: 1px; fill: var(--fg); }
.ring__svg--in { transform: rotate(calc(var(--rot, 0deg) * -1.4)); }
.ring__svg--in text { font-size: 17px; fill: var(--accent); }
.ring__core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 14px rgb(255 196 0 / .08), 0 0 80px rgb(255 196 0 / .35); }
.ring__core .logo-mark { width: 62%; height: 62%; color: var(--ink); animation: spin 14s linear infinite reverse; }

/* Aree */
.sv-areas__grid { display: grid; gap: 14px; }
.area { position: relative; display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 38px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.area:hover { border-color: rgb(255 196 0 / .5); transform: translateY(-6px); }
.area header { display: flex; justify-content: space-between; align-items: center; }
.area__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .6s var(--ease); }
.area:hover .area__icon { transform: rotate(-12deg) scale(1.08); }
.area__icon .i { width: 26px; height: 26px; }
.area__count { font: 500 .75rem var(--f-mono); text-transform: uppercase; color: var(--muted); }
.area__name { font: 900 clamp(3rem, 6vw, 5.2rem)/.86 var(--f-display); text-transform: uppercase; }
.area > p { color: var(--muted); }
.area ul { border-top: 1px solid var(--line); margin-top: 8px; }
.area li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; transition: color .3s, padding .4s var(--ease); }
.area li a .i { transition: transform .4s var(--ease); }
.area li a:hover { color: var(--accent); padding-left: 8px; }
.area li a:hover .i { transform: translateX(4px); }

/* Esploratore */
.explorer__grid { display: grid; gap: 40px; }
.explorer__list { border-top: 1px solid var(--line); }
.ex-item { border-bottom: 1px solid var(--line); }
.ex-item > a { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 22px 0; transition: opacity .4s; }
.ex-item__n { font: 500 .78rem var(--f-mono); color: var(--accent); padding-top: .5em; }
.ex-item__name { font: 800 clamp(1.9rem, 3.6vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; transition: color .35s, transform .5s var(--ease); }
.ex-item__kicker { grid-column: 2; color: var(--muted); font-size: .88rem; }
.ex-item__mobile { display: grid; gap: 12px; padding: 0 0 22px 58px; color: var(--muted); }
.explorer__panel { display: none; }

/* Metodo: percorso */
.path { position: relative; display: grid; gap: 22px; padding-left: 0; }
.path__line { position: absolute; left: 27px; top: 0; width: 10px; height: 100%; overflow: visible; }
.path__line line { stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pp, 0)); }
.path__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.path__node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--light); border: 2px solid var(--ink); font: 800 1.2rem var(--f-display); transition: background .5s, color .5s, transform .5s var(--ease); }
.path__step.is-in .path__node { background: var(--accent); }
.path__card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 8px; box-shadow: 0 20px 40px -28px rgb(0 0 0 / .35); }
.path__card h3 { font: 900 clamp(2rem, 3.6vw, 3rem)/.95 var(--f-display); text-transform: uppercase; }
.path__card p { color: var(--muted); }
.marquee--tools span { font: 800 clamp(2rem, 4.6vw, 4rem)/1 var(--f-display); text-transform: uppercase; padding-inline: .4em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--fg); transition: color .3s; }
.marquee--tools span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee--tools b { color: var(--accent); }
.marquee--tools .marquee__track { transform: skewX(var(--skew, 0deg)); }

/* ---------- Studio ---------- */
.st-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(30px, 6vw, 80px)) 0 clamp(50px, 7vw, 100px); }
.st-hero__grid { display: grid; gap: 50px; align-items: center; }
.st-hero .eyebrow { margin-bottom: 18px; }
.deck { position: relative; height: clamp(280px, 52vw, 520px); perspective: 1400px; }
.deck__card { position: absolute; left: 50%; top: 50%; width: min(70vw, 400px); aspect-ratio: 16 / 10; margin: 0; border-radius: 18px; overflow: hidden; background: var(--c); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .1);
  --spread: calc((var(--i) - (var(--n) - 1) / 2));
  transform: translate(-50%, -50%) translateX(calc(var(--spread) * var(--fx, 34px))) translateY(calc(var(--spread) * var(--fy, -8px))) rotate(calc(var(--spread) * var(--fr, 7deg)));
  transition: transform .9s var(--ease); z-index: calc(10 - var(--i)); }
.deck__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.deck__card figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgb(11 11 12 / .8); font: 500 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.deck.is-open .deck__card figcaption { opacity: 1; transform: none; }
.js .deck__card { animation: deal 1.1s var(--ease) backwards; animation-delay: calc(.3s + var(--i) * 90ms); }
@keyframes deal { from { transform: translate(-50%, 30%) rotate(0deg) scale(.7); opacity: 0; } }
.st-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.st-facts li { background: var(--bg); padding: clamp(20px, 3vw, 34px); display: grid; gap: 6px; }
.st-facts strong { font: 900 clamp(2.8rem, 6vw, 5.2rem)/.9 var(--f-display); color: var(--accent); text-transform: uppercase; }
.st-facts span { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.manifesto { position: relative; height: 240vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; background: radial-gradient(60% 60% at 80% 30%, rgb(255 196 0 / .08), transparent 70%); }
.manifesto .eyebrow { margin-bottom: 24px; }
.manifesto__text { font: 900 clamp(2.4rem, 6.4vw, 6.4rem)/.98 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; max-width: 1300px; }
.mw { display: inline-block; color: var(--bg-3); transition: color .4s, transform .5s var(--ease); }
.mw.on { color: var(--fg); }
.mw.hot { color: var(--accent); }

.panels { display: grid; gap: 12px; }
.panel { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; outline: none; }
.panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -2; opacity: .35; transform: scale(1.1); filter: grayscale(.6); transition: opacity .8s, transform 1.4s var(--ease), filter .8s; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(11 11 12 / .95) 10%, rgb(11 11 12 / .4) 70%, rgb(11 11 12 / .6)); }
.panel.is-open .panel__bg { opacity: .75; transform: scale(1); filter: none; }
.panel__inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(22px, 3vw, 36px); gap: 14px; }
.panel__n { font: 500 .78rem var(--f-mono); color: var(--accent); }
.panel__k { font: 900 clamp(4.4rem, 10vw, 9rem)/.8 var(--f-display); align-self: end; transition: color .5s; }
.panel.is-open .panel__k { color: var(--accent); }
.panel__body { display: grid; gap: 10px; }
.panel__body h3 { font: 800 1.8rem/1 var(--f-display); text-transform: uppercase; }
.panel__body p { color: #cfcfca; max-width: 42ch; }

.tl-h .works-h__track { gap: 0; }
.yr { flex: none; width: 78vw; scroll-snap-align: start; position: relative; display: grid; gap: 14px; align-content: start; padding: 0 clamp(20px, 3vw, 44px) 0 0; }
.yr::before { content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(4.6rem, 11vw, 10rem) * .9 + 26px); height: 1px; background: var(--line); }
.yr__year { font: 900 clamp(4.6rem, 11vw, 10rem)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--fg); transition: color .5s; }
.yr:hover .yr__year, .yr--now .yr__year { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.yr__dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); margin-block: 4px; }
.yr h3 { font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; }
.yr p { color: var(--muted); max-width: 38ch; }

.stack__body .eyebrow { color: inherit; opacity: .6; }
.join { position: relative; display: grid; gap: 18px; padding: clamp(32px, 6vw, 80px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; transition: border-color .4s; }
.join:hover { border-color: var(--accent); }
.join__title { font: 900 clamp(3rem, 8vw, 8rem)/.86 var(--f-display); text-transform: uppercase; max-width: 12ch; }
.join__title em { font-style: normal; color: var(--accent); }
.join p { color: var(--muted); max-width: 46ch; font-size: 1.1rem; }
.join__go { position: absolute; right: clamp(20px, 4vw, 56px); top: clamp(20px, 4vw, 56px); width: clamp(64px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .7s var(--ease); }
.join__go .i { width: 40%; height: 40%; }
.join:hover .join__go { transform: rotate(45deg) scale(1.08); }


/* ---------- Profondità: aloni di luce ---------- */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(255 196 0 / .09), transparent 62%); }
.glow--tr::before { right: -18vw; top: -12vw; }
.glow--bl::before { left: -22vw; bottom: -18vw; background: radial-gradient(circle, rgb(110 125 255 / .10), transparent 62%); }
.band--yellow { background: var(--accent); color: var(--ink); border: 0; }
.band--yellow .marquee--big b { color: var(--ink); }

/* Card impilate (Studio): solo tinte scure e giallo */
.stack__card--0, .stack__card--4 { background: var(--accent); color: var(--ink); }
.stack__card--1 { background: linear-gradient(160deg, #1f1f24, #141417); color: var(--fg); border: 1px solid var(--line); }
.stack__card--2 { background: linear-gradient(160deg, #191c2b, #111219); color: var(--fg); border: 1px solid rgb(110 125 255 / .25); }
.stack__card--3 { background: linear-gradient(160deg, #2a2310, #15130c); color: var(--fg); border: 1px solid rgb(255 196 0 / .3); }

/* Percorso (Servizi) in versione scura */
.sv-method { background: linear-gradient(180deg, transparent, rgb(255 196 0 / .04) 50%, transparent); }
.path__line line { stroke: var(--accent); }
.path__node { background: var(--bg); border-color: var(--accent); color: var(--accent); }
.path__step.is-in .path__node { background: var(--accent); color: var(--ink); }
.path__card { background: linear-gradient(160deg, #1b1b1f, #131316); border: 1px solid var(--line); box-shadow: none; }

/* ---------- Home: vetrina lavori impilata ---------- */
.show { position: relative; padding-block: clamp(80px, 10vw, 150px) clamp(40px, 6vw, 80px); }
.show__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.show__head .h2 { margin-top: 14px; }
.show__list { display: grid; gap: 28px; }
.show__item { position: relative; }
.show__card { position: relative; display: grid; gap: 30px; padding: clamp(24px, 4vw, 60px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 90% at 88% 8%, color-mix(in srgb, var(--a) 38%, transparent), transparent 55%), radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--a) 14%, transparent), transparent 60%), linear-gradient(155deg, var(--c), var(--c2));
  border: 1px solid rgb(255 255 255 / .09); box-shadow: 0 -30px 80px -40px rgb(0 0 0 / .9);
  transform: scale(var(--ss, 1)); transform-origin: 50% 0; filter: brightness(var(--sb, 1)); }
.show__card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 44px 44px; mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent); }
.show__info { display: grid; gap: 16px; align-content: center; justify-items: start; position: relative; z-index: 2; }
.show__n { font: 500 .8rem var(--f-mono); color: var(--a); letter-spacing: .06em; }
.show__n i { font-style: normal; color: rgb(255 255 255 / .4); }
.show__name { font: 900 clamp(3rem, 6.6vw, 7rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.show__name a { transition: color .4s; }
.show__name a:hover { color: var(--a); }
.show__sector { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: rgb(255 255 255 / .55); }
.show__excerpt { color: rgb(255 255 255 / .78); max-width: 46ch; font-size: 1.06rem; }
.show .tags li { border-color: rgb(255 255 255 / .16); color: rgb(255 255 255 / .72); }
.show__visual { position: relative; display: block; padding-bottom: 6%; }
.show__browser { position: relative; z-index: 1; transform: perspective(1600px) rotateY(calc(var(--vy, 0) * 1deg)) rotateX(calc(var(--vx, 0) * 1deg)) translateY(var(--by, 0px)); transition: transform .3s var(--ease); box-shadow: 0 50px 90px -30px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .1); }
.show__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.show__visual:hover .show__browser img { transform: scale(1.04); }
.show__phone { position: absolute; z-index: 2; right: 2%; bottom: 0; width: 26%; aspect-ratio: 9 / 19.2; margin: 0; padding: 5px; border-radius: 26px; background: linear-gradient(145deg, #2c2c30, #0d0d0f); box-shadow: 0 40px 80px -20px rgb(0 0 0 / .9), inset 0 0 0 1.5px rgb(255 255 255 / .14); transform: translateY(var(--py, 0px)) rotate(5deg); transition: transform .3s var(--ease); }
.show__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 21px; }

/* ---------- Home: metodo in 5 passi ---------- */
.steps5__wrap { position: relative; }
.steps5__list { display: grid; gap: 30px; }
.steps5__item { position: relative; display: grid; gap: 12px; align-content: start; padding-left: 86px; min-height: 64px; }
.steps5__dot { position: absolute; left: 0; top: 0; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 900 1.5rem var(--f-display); background: var(--bg); border: 2px solid var(--accent); color: var(--accent); transition: background .6s, color .6s, transform .6s var(--ease), box-shadow .6s; transition-delay: calc(var(--d, 0) * 120ms + .2s); }
.steps5__item.is-in .steps5__dot { background: var(--accent); color: var(--ink); box-shadow: 0 0 0 8px rgb(255 196 0 / .12), 0 0 40px rgb(255 196 0 / .35); }
.steps5__item h3 { font: 900 clamp(2rem, 3vw, 2.6rem)/.95 var(--f-display); text-transform: uppercase; padding-top: 14px; }
.steps5__item p { color: var(--muted); }
.steps5__line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--line); }
.steps5__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--lp, 0)); box-shadow: 0 0 16px rgb(255 196 0 / .6); }

/* ---------- Case study ---------- */
.cs { background: linear-gradient(180deg, var(--c) 0, var(--c2) 900px, var(--bg) 2000px); }
.cs-hero { position: relative; padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.cs-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at 72% 38%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), radial-gradient(40% 40% at 8% 92%, color-mix(in srgb, var(--a) 20%, transparent), transparent 70%);
  animation: csglow 14s ease-in-out infinite alternate; }
@keyframes csglow { to { transform: translate(-4%, 6%) scale(1.1); } }
.cs-dot { background: var(--a); box-shadow: 0 0 0 0 color-mix(in srgb, var(--a) 60%, transparent); }
.cs-hero .eyebrow { color: rgb(255 255 255 / .65); }
.cs-hero__title { font: 900 clamp(3.6rem, 12vw, 13rem)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; margin: 16px 0 22px; overflow-wrap: anywhere; }
.cs-hero__lead { max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgb(255 255 255 / .82); }
.cs-stage { position: relative; width: min(1180px, 90vw); margin: clamp(40px, 6vw, 90px) auto 0; perspective: 2200px; }
.cs-stage__browser { position: relative; z-index: 2; transform-origin: 50% 100%; transform: rotateX(var(--sx, 10deg)) rotateY(var(--sy2, 0deg)) translateY(var(--st, 0px)); transition: transform .35s var(--ease); box-shadow: 0 90px 150px -40px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .12), 0 0 120px -20px color-mix(in srgb, var(--a) 40%, transparent); }
.cs-stage__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.cs-stage__phone { position: absolute; z-index: 3; right: -2%; bottom: -12%; width: 22%; aspect-ratio: 9 / 19.2; margin: 0; padding: 7px; border-radius: 36px; background: linear-gradient(145deg, #2f2f34, #0d0d0f); box-shadow: 0 60px 100px -30px rgb(0 0 0 / .95), inset 0 0 0 1.5px rgb(255 255 255 / .16); transform: translateY(var(--pt, 0px)) rotate(5deg); transition: transform .35s var(--ease); }
.cs-stage__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; }
.cs-stage__back { position: absolute; z-index: 1; left: -7%; top: -14%; width: 40%; margin: 0; opacity: .55; transform: rotate(-7deg) translateY(var(--bt, 0px)); filter: brightness(.75); transition: transform .35s var(--ease); }
.cs-stage__back img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.js .cs-stage__browser { animation: cs-rise 1.5s var(--ease) .35s backwards; }
.js .cs-stage__phone { animation: cs-pop 1.3s var(--ease) .85s backwards; }
.js .cs-stage__back { animation: cs-back 1.4s var(--ease) .6s backwards; }
@keyframes cs-rise { from { transform: translateY(160px) rotateX(35deg); opacity: 0; } }
@keyframes cs-pop { from { transform: translate(60px, 120px) rotate(18deg); opacity: 0; } }
@keyframes cs-back { from { transform: translate(-60px, 40px) rotate(-16deg); opacity: 0; } }
.cs-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(70px, 10vw, 150px); padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .14); }
.cs-meta dt { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: rgb(255 255 255 / .5); margin-bottom: 6px; }
.cs-meta dd { font-weight: 600; }
.cs-link { display: inline-flex; align-items: center; gap: 4px; color: var(--a); }
.cs-link:hover { text-decoration: underline; }
.cs-intro__grid { display: grid; gap: 40px; }
.cs-services { align-self: start; padding: 28px; border-radius: var(--radius-lg); background: rgb(255 255 255 / .035); border: 1px solid rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cs-services h3 { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.cs-services li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.cs-services li:last-child { border-bottom: 0; }
.cs-services li span { font: 500 .72rem var(--f-mono); color: var(--a); }
.cs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(48px, 7vw, 100px); }
.cs-facts li { position: relative; overflow: hidden; display: grid; gap: 8px; padding: clamp(20px, 3vw, 34px); border-radius: var(--radius); background: linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); border: 1px solid rgb(255 255 255 / .09); }
.cs-facts li::after { content: ""; position: absolute; right: -30%; top: -60%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 22%, transparent), transparent 65%); }
.cs-facts strong { font: 900 clamp(2.8rem, 6vw, 5.6rem)/.9 var(--f-display); color: var(--a); }
.cs-facts span { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cs-story__grid { display: grid; gap: 14px; }
.cs-story__block { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 16px; align-content: start; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--c), var(--c2)); border: 1px solid rgb(255 255 255 / .09); }
.cs-story__block--sol { background: radial-gradient(90% 90% at 100% 0%, color-mix(in srgb, var(--a) 30%, transparent), transparent 60%), linear-gradient(160deg, #18181c, #0f0f12); }
.cs-story__n { font: 500 .78rem var(--f-mono); color: var(--a); }
.cs-story__block h2 { font: 900 clamp(2.8rem, 5vw, 4.8rem)/.9 var(--f-display); text-transform: uppercase; }
.cs-story__block p { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgb(255 255 255 / .8); max-width: 54ch; }
.cs-design__grid { display: grid; gap: 56px; align-items: center; }
.cs-design__text { display: grid; gap: 22px; }
.cs-design__text > p { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.cs-design .phone { box-shadow: 0 50px 100px -30px rgb(0 0 0 / .9), inset 0 0 0 1.5px rgb(255 255 255 / .12), 0 0 120px -30px color-mix(in srgb, var(--a) 60%, transparent); }
.cs-palette { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cs-palette li { display: grid; gap: 4px; padding: 10px; border-radius: 16px; background: rgb(255 255 255 / .04); border: 1px solid var(--line); }
.cs-palette__sw { height: 70px; border-radius: 10px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: height .5s var(--ease); }
.cs-palette li:hover .cs-palette__sw { height: 92px; }
.cs-palette strong { font-size: .9rem; }
.cs-palette code { font: 500 .72rem var(--f-mono); color: var(--muted); }
.cs-feat { display: grid; gap: 14px; }
.cs-feat__item { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: linear-gradient(160deg, rgb(255 255 255 / .045), rgb(255 255 255 / .012)); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.cs-feat__item:hover { border-color: color-mix(in srgb, var(--a) 60%, transparent); transform: translateY(-5px); }
.cs-feat__n { font: 500 .75rem var(--f-mono); color: var(--a); }
.cs-feat__item h3 { font: 800 1.9rem/1 var(--f-display); text-transform: uppercase; }
.cs-feat__item p { color: var(--muted); }
.cs-gallery .shot figcaption span { color: var(--a); }
.cs-visit { border-block: 1px solid var(--line); margin-top: clamp(20px, 4vw, 60px); }
.cs-visit__link { position: relative; display: grid; gap: 10px; padding: clamp(50px, 8vw, 110px) var(--gutter); max-width: var(--max); margin-inline: auto; }
.cs-visit__host { font: 900 clamp(2.8rem, 10vw, 10rem)/.9 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; transition: color .4s; padding-right: 120px; }
.cs-visit__link:hover .cs-visit__host { color: var(--a); }
.cs-visit__go { position: absolute; right: var(--gutter); top: 50%; width: clamp(64px, 8vw, 110px); aspect-ratio: 1; margin-top: calc(clamp(64px, 8vw, 110px) / -2); border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .7s var(--ease); }
.cs-visit__go .i { width: 40%; height: 40%; }
.cs-visit__link:hover .cs-visit__go { transform: rotate(45deg) scale(1.08); }
.cs-next a { position: relative; display: grid; align-items: end; min-height: 86svh; overflow: hidden; isolation: isolate; background: var(--c2); }
.cs-next__media { position: absolute; inset: 0; z-index: -2; }
.cs-next__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.45) saturate(.9); transform: scale(1.12); transition: transform 1.6s var(--ease), filter .8s; }
.cs-next a:hover .cs-next__media img { transform: scale(1.02); filter: brightness(.6); }
.cs-next a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--c2) 5%, color-mix(in srgb, var(--c) 60%, transparent) 45%, transparent 80%); }
.cs-next__body { display: grid; gap: 14px; padding: clamp(40px, 7vw, 100px) var(--gutter); max-width: var(--max); width: 100%; margin-inline: auto; position: relative; }
.cs-next__body .eyebrow { color: rgb(255 255 255 / .7); }
.cs-next__title { font: 900 clamp(4rem, 14vw, 15rem)/.82 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; transition: color .4s; }
.cs-next a:hover .cs-next__title { color: var(--a); }
.cs-next__go { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vw, 100px); width: clamp(64px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .7s var(--ease); }
.cs-next__go .i { width: 40%; height: 40%; }
.cs-next a:hover .cs-next__go { transform: translateX(10px); }

/* ---------- Contatti: card modulo scura ---------- */
.ct-card { --fg: #f4f4f1; --line: rgb(255 255 255 / .12); --muted: #a3a39e; background: radial-gradient(70% 60% at 100% 0%, rgb(255 196 0 / .10), transparent 60%), linear-gradient(160deg, #18181c, #111114); color: var(--fg); border: 1px solid var(--line); }
.ct-card ::selection { background: var(--accent); color: var(--ink); }
.ct-tab span { background: rgb(255 255 255 / .08); }
.ct-tab.is-done span { background: var(--accent); color: var(--ink); }
.ct-tab.is-current { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.ct-tab.is-current span { background: var(--ink); color: var(--accent); }
.ct-card .steps-bar { background: rgb(255 255 255 / .08); }
.ct-card .steps-bar span { background: var(--accent); }
.ct-card .step legend span { color: var(--ink); }
.tile__box, .budget__opt > span, .fl input, .fl textarea, .ct-card .choice span { background: #1f1f24; }
.tile__icon { background: rgb(255 255 255 / .07); }
.tile input:checked + .tile__box, .budget__opt input:checked + span { color: var(--ink); border-color: var(--accent); }
.tile input:checked + .tile__box .tile__icon { background: var(--ink); color: var(--accent); }
.tile__check { background: var(--ink); color: var(--accent); }
.budget__bars b { background: rgb(255 255 255 / .16); }
.budget__opt input:checked + span .budget__bars b { background: rgb(0 0 0 / .2); }
.budget__opt[style*="--lv:1"] input:checked + span b:nth-child(-n+1), .budget__opt[style*="--lv:2"] input:checked + span b:nth-child(-n+2), .budget__opt[style*="--lv:3"] input:checked + span b:nth-child(-n+3), .budget__opt[style*="--lv:4"] input:checked + span b:nth-child(-n+4) { background: var(--ink); }
.fl input:focus, .fl textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(255 196 0 / .18); }
.ct-card .choice input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.ct-card .form-error { background: rgb(229 72 77 / .12); border-color: rgb(229 72 77 / .45); color: #ffc9c6; }
.summary { background: #0b0b0c; border: 1px solid var(--line); }
.btn--ink { background: var(--accent); color: var(--ink); }
.btn--ink::before { background: var(--fg); }
.btn--ink:hover { color: var(--ink); }
.btn--ghost-ink { border: 1.5px solid var(--line); color: var(--fg); }
.btn--ghost-ink::before { background: var(--fg); }
.btn--ghost-ink:hover { color: var(--ink); }
.ct-done__title em { color: var(--ink); }
.ct-done .btn--ghost { color: var(--fg); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .case-meta { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .palette { grid-template-columns: repeat(4, 1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .slide { width: 70vw; }
  .slide--all { width: 40vw; }
  .feature-grid, .svc-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 88px; }
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
  .hero__scroll { display: flex; }
  .nav { display: block; }
  .hud { display: inline-flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .js .mbtn { opacity: 0; transform: scale(.5); pointer-events: none; }
  .js .is-collapsed .mbtn, .js .menu-open .mbtn { opacity: 1; transform: none; pointer-events: auto; }
  .is-collapsed .nav li { opacity: 0; transform: translateY(-14px); pointer-events: none; transition-delay: calc(var(--n) * 45ms); }
  .is-collapsed .hud { opacity: 0; transform: translate(-50%, -14px); }
  .nav { position: absolute; right: var(--gutter); }
  .menu__grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr auto; column-gap: clamp(40px, 6vw, 110px); padding-top: calc(var(--header-h) + 36px); }
  .menu__nav { align-self: center; }
  .menu__aside { display: grid; gap: 28px; align-content: center; opacity: 0; transform: translateX(30px); transition: opacity .6s, transform .9s var(--ease); }
  .menu.is-open .menu__aside { opacity: 1; transform: none; transition-delay: .55s; }
  .menu__foot { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr 1fr; align-items: end; }
  .menu__preview { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8); }
  .menu__shot { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease-in-out); }
  .menu__shot.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
  .menu__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.15); transition: transform 1.4s var(--ease); }
  .menu__shot.is-on img { transform: scale(1); }
  .menu__shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(transparent, rgb(0 0 0 / .8)); font-size: .92rem; color: #e6e6e1; }
  .menu__shot figcaption span { display: block; font: 900 1.6rem/1 var(--f-display); text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
  .menu__quick ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .menu__quick a { display: inline-flex; height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; transition: background .3s, color .3s, border-color .3s; }
  .menu__quick a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .hero__foot { padding-right: 56px; }
  .show__list { gap: 9vh; }
  .show__item { position: sticky; top: calc(var(--header-h) + 8px + var(--i) * 14px); }
  .show__card { grid-template-columns: .9fr 1.1fr; align-items: center; min-height: min(80svh, 740px); gap: 50px; }
  .show__visual { padding-bottom: 0; }
  .show__phone { right: -3%; bottom: -10%; width: 23%; }
  .steps5__list { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps5__item { padding-left: 0; padding-top: 96px; }
  .steps5__item h3 { padding-top: 0; }
  .steps5__line { left: 32px; right: 32px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .steps5__line i { transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); }
  .cs-meta { grid-template-columns: repeat(5, 1fr); }
  .cs-intro__grid { grid-template-columns: 1fr 360px; gap: 80px; }
  .cs-facts { grid-template-columns: repeat(4, 1fr); }
  .cs-story__grid { grid-template-columns: 1fr 1fr; }
  .cs-design__grid { grid-template-columns: 1fr 1.25fr; gap: 100px; }
  .cs-palette { grid-template-columns: repeat(4, 1fr); }
  .cs-feat { grid-template-columns: repeat(3, 1fr); }

  .sv-hero__grid { grid-template-columns: 1.3fr 1fr; }
  .sv-areas__grid { grid-template-columns: repeat(3, 1fr); }
  .explorer__grid { grid-template-columns: 1.1fr 1fr; gap: 70px; }
  .ex-item__mobile { display: none; }
  .ex-item > a { padding: 26px 0; }
  .explorer__list:hover .ex-item > a, .explorer__list .ex-item > a { opacity: .32; }
  .explorer__list .ex-item.is-active > a { opacity: 1; }
  .ex-item.is-active .ex-item__name { color: var(--accent); transform: translateX(14px); }
  .explorer__panel { display: block; }
  .explorer__sticky { position: sticky; top: calc(var(--header-h) + 30px); height: min(72svh, 640px); }
  .ex-panel { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: 24px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease); pointer-events: none; }
  .ex-panel.is-on { opacity: 1; transform: none; }
  .ex-panel__media img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; transform: scale(1.06); transition: transform 1.2s var(--ease); }
  .ex-panel.is-on .ex-panel__media img { transform: none; }
  .ex-panel__body { display: grid; gap: 14px; align-content: start; }
  .ex-panel__n { font: 900 4.4rem/.8 var(--f-display); color: var(--accent); }
  .ex-panel__tag { font: 800 2rem/1 var(--f-display); text-transform: uppercase; }
  .ex-panel__case { color: var(--muted); font-size: .92rem; }
  .path { gap: 30px; }
  .path__line { left: 50%; margin-left: -5px; }
  .path__step { grid-template-columns: 1fr 72px 1fr; gap: 30px; }
  .path__node { grid-column: 2; width: 72px; height: 72px; font-size: 1.5rem; }
  .path__card { grid-column: 1; grid-row: 1; text-align: right; }
  .path__step--r .path__card { grid-column: 3; text-align: left; }
  .st-hero__grid { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .st-hero__title, .sv-hero__title { font-size: clamp(4rem, 7.4vw, 8.6rem); }
  .st-facts { grid-template-columns: repeat(4, 1fr); }
  .panels { display: flex; height: 560px; gap: 14px; }
  .panel { flex: 1; min-height: 0; transition: flex 1s var(--ease), border-color .4s; }
  .panel.is-open { flex: 2.6; border-color: rgb(255 196 0 / .5); }
  .panel__body { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease); min-width: 340px; }
  .panel.is-open .panel__body { opacity: 1; transform: none; transition-delay: .3s; }
  .yr { width: min(36vw, 520px); }

  .ct-hero__grid { grid-template-columns: 1.35fr 1fr; gap: 60px; }
  .ct-card__head { grid-template-columns: 1fr auto; align-items: end; }
  .ct-card__head .steps-bar { grid-column: 1 / -1; }
  .ct-card__body { grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
  .summary { display: grid; position: sticky; top: calc(var(--header-h) + 20px); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .ct-next__list { grid-template-columns: repeat(3, 1fr); }
  .ct-next__list::before { content: ""; position: absolute; left: 8%; right: 8%; top: 62px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); z-index: -1; }
  .ct-ways__grid { grid-template-columns: 1.5fr 1fr; }

  .hx__plane { width: 150vw; }
  .zoom__media { clip-path: inset(calc(var(--zy, 22) * 1%) calc(var(--zx, 30) * 1%) round calc(var(--zr, 24) * 1px)); }
  .stack__card { grid-template-columns: 1fr 1.4fr; grid-template-rows: 1fr auto; }
  .stack__n { grid-row: 1 / span 2; align-self: start; }
  .stack__of { grid-column: 2; }
  .hero__latest { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 28px); display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, border-color .3s; }
  .hero__latest:hover { background: rgb(255 255 255 / .12); border-color: var(--accent); }
  .hero__latest-media { width: 76px; height: 50px; border-radius: 999px; overflow: hidden; }
  .hero__latest-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .hero__latest small { display: block; font: 500 .68rem var(--f-mono); text-transform: uppercase; color: var(--muted); }
  .hero__latest strong { font-size: .95rem; }
  .intro__grid { grid-template-columns: 220px 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .page-hero__foot { grid-template-columns: 1fr auto; }

  /* Lavori orizzontali agganciati allo scroll */
  .js .works-h { height: var(--hs-h, 300vh); }
  .js .works-h__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: calc(var(--header-h) + 10px) 40px; }
  .js .works-h__track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; will-change: transform; transform: translate3d(var(--hx, 0px), 0, 0); }
  .works-h__head { flex-direction: row; justify-content: space-between; align-items: end; }
  .slide { width: min(62vw, 980px); }
  .slide__media { aspect-ratio: auto; height: min(58svh, 600px); }
  .slide--all { width: min(30vw, 420px); }

  .svc__item a { grid-template-columns: 70px 1fr minmax(180px, 280px) 56px; padding: 28px 0; }
  .svc__kicker { grid-column: 3; text-align: right; }
  .svc__arrow { grid-row: auto; grid-column: 4; }
  .hover-preview { display: block; position: fixed; left: 0; top: 0; width: 320px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; pointer-events: none; z-index: 50; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease); }
  .hover-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); }
  .hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .3s; }
  .hover-preview img.is-on { opacity: 1; }

  .process__list { grid-template-columns: repeat(5, 1fr); }
  .process__step { min-height: 340px; }
  .values__grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .values__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .cta__body { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }

  .grid-works { grid-template-columns: 1fr 1fr; }
  .grid-works .card:nth-child(even) { margin-top: clamp(60px, 10vw, 160px); }
  .case-intro__grid { grid-template-columns: 1fr 340px; gap: 80px; }
  .case-meta { grid-template-columns: repeat(5, 1fr); }
  .scroller__grid { grid-template-columns: 1fr 1.9fr; grid-template-rows: none; gap: 60px; }
  .scroller__text p { display: block; }
  .browser--tall { height: min(78svh, 820px); }
  .case-story__grid { grid-template-columns: 1fr 1fr; }
  .case-design__grid { grid-template-columns: 1fr 1.25fr; gap: 100px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .shot { grid-template-columns: 1.7fr 1fr; gap: 56px; }
  .shot--rev { grid-template-columns: 1fr 1.7fr; }
  .shot--rev .browser { order: 2; }
  .next a { grid-template-columns: 1fr auto; align-items: center; }
  .next .eyebrow { grid-column: 1 / -1; }
  .next__media { width: min(440px, 34vw); transform: rotate(3deg); transition: transform .8s var(--ease); }
  .next a:hover .next__media { transform: rotate(0); }

  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-card { min-height: 360px; }
  .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 80px; }
  .disc { grid-template-columns: repeat(3, 1fr); }
  .tl { grid-template-columns: 1fr; }
  .tl li { grid-template-columns: 200px 1fr; gap: 40px; padding-left: 48px; }
  .contact__grid { grid-template-columns: 1.5fr 1fr; gap: 80px; }
  .consent { left: auto; right: 24px; bottom: 24px; }
}

@media (min-width: 1280px) {
  .svc-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Riduci movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="lines"] .w > span { transform: none; }
  .js [data-reveal="words"] .w > span { opacity: 1; }
  .js [data-split] .ch { opacity: 1; transform: none; }
  .grain, .intro-curtain, .hero__field { display: none !important; }
  .marquee__track, .hx__strip { animation: none; }
  .zoom { height: auto; }
  .zoom__sticky { position: relative; height: 80svh; }
  .zoom__media { clip-path: none; }
  .zoom__caption { opacity: 1; transform: none; pointer-events: auto; }
  .stack__card { position: relative; top: 0; }
  .manifesto { height: auto; }
  .manifesto__sticky { position: relative; height: auto; padding-block: 100px; }
  .mw { color: var(--fg); }
  .path__line line { stroke-dashoffset: 0; }
  .js .works-h { height: auto; }
  .js .works-h__sticky { position: static; height: auto; }
  .js .works-h__track { transform: none; overflow-x: auto; }
  .scroller { height: auto; }
  .scroller__sticky { position: static; height: auto; }
  .browser--tall { height: 70vh; }
  .browser__viewport { overflow-y: auto; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .cursor, .grain, .progress, .cta, .site-footer, .hero__field { display: none !important; }
  body { background: #fff; color: #000; }
}

.is-contact .hud { display: none !important; }
@media (max-width: 899px) { .ct-done__burst { width: 46vw; top: 18px; right: -12vw; transform: none; opacity: .18; animation: none; } .ct-done > *:not(.ct-done__burst) { position: relative; } }

@media (max-width: 639px) {
  .cs-stage__back { display: none; }
  .cs-stage__phone { width: 30%; right: -1%; bottom: -14%; border-radius: 26px; padding: 5px; }
  .cs-stage__phone img { border-radius: 21px; }
  .show__phone { width: 30%; }
}

/* ---------- Guide e pagine zona ---------- */
.page-hero__title--sm { font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: .95; max-width: 18ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose--article { font-size: 1.08rem; line-height: 1.7; }
.prose__lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--fg) !important; line-height: 1.55; }
.prose h3 { font-weight: 700; font-size: 1.15rem; margin: 26px 0 8px; }
.prose ul { display: grid; gap: 10px; margin: 16px 0 20px; }
.prose ul li { position: relative; padding-left: 22px; color: #cfcfca; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose .pill-list li { padding: 0; }
.prose .pill-list li::before { display: none; }
.prose .chip { text-decoration: none; color: var(--fg); }
.guide-box { margin-top: 48px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(120% 140% at 0 0, rgb(255 196 0 / .1), transparent 60%), var(--bg-2); }
.guide-list { display: grid; border-top: 1px solid var(--line); }
.guide-list > li { border-bottom: 1px solid var(--line); }
.guide-card { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: start; padding: clamp(24px, 3vw, 40px) 0; transition: color .3s; }
.guide-card__n { font: 500 .8rem var(--f-mono); color: var(--muted); padding-top: .4em; }
.guide-card__body { display: grid; gap: 10px; }
.guide-card__title { font: 800 clamp(1.5rem, 3vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; }
.guide-card__desc { color: var(--muted); max-width: 70ch; }
.guide-card__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.guide-card:hover .guide-card__title { color: var(--accent); }
.guide-card:hover .guide-card__go { background: var(--accent); color: var(--bg); transform: rotate(-45deg); }
@media (max-width: 640px) { .guide-card { grid-template-columns: 1fr; } .guide-card__n, .guide-card__go { display: none; } }
.area-points li { align-items: flex-start !important; }
.area-points strong { display: block; margin-bottom: 2px; }
.area-points span { font-weight: 400; color: var(--muted); }
.area-points strong { color: var(--fg); }
.area-addr { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.area-addr a { color: var(--accent); }
.area-nearby { color: var(--muted); margin-top: 14px; max-width: 90ch; }
