/* ════════════════════════════════════════════════════════════════
   Riccardo Staiano — «Atelier di Luce»
   Bianco perlato, luce morbida; oro e argento cromati come il logo.
   ════════════════════════════════════════════════════════════════ */

:root {
  --perla: #F8F6F1;
  --avorio: #EFEAE0;
  --carta: #FCFBF8;
  --ink: #1B1916;
  --ink-2: #3F3A33;
  --muted: #6A645B;
  --line: rgba(27, 25, 22, .11);
  --line-strong: rgba(27, 25, 22, .22);

  --gold: #B48A3C;          /* accento pieno: linee, punti, dettagli */
  --gold-deep: #85621F;     /* testo piccolo dorato leggibile su perla */
  --silver-deep: #565C65;
  --gold-grad: linear-gradient(180deg, #E6C77A 0%, #B3852F 46%, #D9B25E 56%, #7E5D20 100%);
  --silver-grad: linear-gradient(180deg, #B9BEC6 0%, #6B7079 46%, #A3A8B0 56%, #4F535A 100%);
  --gold-flat: linear-gradient(100deg, #9C7529, #D9B45E 45%, #A57C2E);

  /* metalli cromati: una linea d'orizzonte scura a metà, come un riflesso su metallo lucido */
  --ink-chrome: linear-gradient(180deg, #6E675C 0%, #2E2A25 34%, #0E0D0B 50%, #554D43 57%, #211E1A 80%, #3B362F 100%);
  --gold-chrome: linear-gradient(180deg, #F6DE9E 0%, #DDB25A 24%, #A47624 46%, #6B4A13 51%, #E6C474 58%, #BE8F37 78%, #85611E 100%);
  --silver-chrome: linear-gradient(180deg, #E4E7EB 0%, #A4A9B1 26%, #5C6169 48%, #3D4148 52%, #C6CAD0 59%, #8A8F97 80%, #575B62 100%);
  --gold-bright: linear-gradient(180deg, #FFF2CC 0%, #EBC673 42%, #B7862F 52%, #F5D892 66%, #CFA04A 100%);
  --gold-chrome-diag: linear-gradient(135deg, #FBE7B0 0%, #D6AA52 22%, #8C6419 45%, #F2D48A 56%, #B88A33 76%, #7A5517 100%);
  --silver-chrome-diag: linear-gradient(135deg, #FFFFFF 0%, #B6BBC2 22%, #686D75 45%, #EEF0F3 56%, #9A9FA7 76%, #5C6067 100%);
  --sheen: linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 58%);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4.4vw, 72px);
  --maxw: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; } /* niente scorrimento laterale su mobile, anche se un elemento animato sborda */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--perla);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  font-variant-numeric: lining-nums; /* Cormorant usa cifre minuscole: "01" sembrerebbe "ıı" */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, non hidden: hidden renderebbe il body un contenitore di scroll e romperebbe position: sticky */
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(201, 154, 62, .28); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
em { font-style: italic; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.silver, .gold { -webkit-background-clip: text; background-clip: text; color: transparent; }
.silver { background-image: var(--silver-grad); }
.gold { background-image: var(--gold-grad); }

/* ── Testo cromato ─────────────────────────────────────────────
   Il gradiente vive solo sull'elemento più interno (padre e figlio entrambi
   con clip sul testo producono glifi sdoppiati in Chrome). */
.chrome, .chrome-gold, .chrome-silver {
  background-image: var(--sheen), var(--ink-chrome);
  background-size: 300% 100%, 100% 100%;
  background-position: 110% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.chrome-gold { background-image: var(--sheen), var(--gold-chrome); }
.chrome-silver { background-image: var(--sheen), var(--silver-chrome); }
/* il riquadro del gradiente si allarga oltre il glifo: corsivi e discendenti non vengono tagliati */
span.chrome, span.chrome-gold, em.chrome-gold, .wi {
  display: inline-block; padding: .06em .14em .14em 0; margin: -.06em -.14em -.14em 0;
}
/* riflesso che attraversa i titoli, parola dopo parola */
.title .wi, .shine, .hero-claim .chrome, .hero-claim .chrome-gold, .work-info h3, .svc-num, .step h3, .step-n .chrome-gold {
  animation: sheen 9s var(--ease-io) infinite;
  animation-delay: calc(2.2s + var(--k, 0) * .07s);
}
@keyframes sheen {
  0% { background-position: 110% 0, 0 0; }
  20%, 100% { background-position: -10% 0, 0 0; }
}
/* profondità: un filo d'ombra netto sotto il metallo + ombra morbida */
.title, .depth {
  filter: drop-shadow(0 1.5px 0 rgba(78, 58, 24, .26)) drop-shadow(0 14px 18px rgba(60, 44, 18, .14));
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Atmosfera ─────────────────────────────────────────────── */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--perla), var(--avorio));
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  will-change: transform;
}
.glow-1 { width: 60vw; height: 60vw; left: -14vw; top: -18vw; background: radial-gradient(circle, #FFF7E6, transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.glow-2 { width: 50vw; height: 50vw; right: -12vw; top: 24vh; background: radial-gradient(circle, #F1F3F7, transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.glow-3 { width: 44vw; height: 44vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #F6E9CF, transparent 62%); opacity: .45; animation: drift3 28s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(12vw, 10vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-10vw, -8vh, 0) scale(.92); } }
@keyframes drift3 { to { transform: translate3d(-14vw, -12vh, 0) scale(1.15); } }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* filo d'oro in alto: avanzamento della lettura */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 57; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: var(--gold-flat); box-shadow: 0 0 10px rgba(201, 154, 62, .55);
}

main, .footer { position: relative; z-index: 1; }

/* Il logo 3D vive sopra ai contenuti ma non intercetta il mouse */
#logo-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 55;
  pointer-events: none; display: block;
}

/* ── Cursore ───────────────────────────────────────────────── */
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
.cursor.is-on { opacity: 1; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor select { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: radial-gradient(circle at 35% 30%, #fff, #9aa0a8);
  box-shadow: 0 0 0 1px rgba(27,25,22,.15);
}
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(180, 138, 60, .7);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.cursor-label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--carta);
  opacity: 0; transition: opacity .3s;
}
.cursor.is-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(201, 154, 62, .08); }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(27, 25, 22, .86); border-color: transparent; backdrop-filter: blur(4px); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-drag .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-style: dashed; }
.cursor.is-down .cursor-ring { transform-origin: center; scale: .85; }

/* ── Navigazione ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease), transform .8s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(248, 246, 241, .74);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity .6s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.nav-mark { width: 46px; height: 46px; flex: none; }
.nav-name {
  font-size: 12px; letter-spacing: .36em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transform: translateX(-8px); transition: opacity .7s var(--ease), transform .7s var(--ease);
  white-space: nowrap;
}
.logo-docked .nav-name { opacity: 1; transform: none; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-current { color: var(--ink); }
.nav-toggle { display: none; }

/* ── Pulsanti ─────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 100px; border: 1px solid transparent;
  font: 500 14px/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before { /* riempimento che sale dal basso */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }
.btn-ink { background: var(--ink); color: var(--carta); box-shadow: 0 10px 30px -12px rgba(27,25,22,.5); }
.btn-ink::before { background: var(--gold-flat); }
.btn-ink:hover { color: var(--ink); box-shadow: 0 14px 34px -12px rgba(180,138,60,.6); }
.btn-line { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--carta); border-color: var(--ink); }
.nav-cta { height: 44px; padding: 0 20px; font-size: 13px; }

/* pulsante gioiello: corpo nero lucido, bordo e icona in oro cromato */
.btn-chrome {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  height: 60px; padding: 0 7px 0 28px; border-radius: 100px; text-decoration: none;
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #2B2824 0%, #141311 60%, #0D0C0B 100%) padding-box, var(--gold-chrome-diag) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .14), 0 22px 40px -22px rgba(40, 28, 8, .7), 0 3px 8px -3px rgba(40, 28, 8, .35);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: box-shadow .6s var(--ease);
}
.btn-chrome::after { /* lama di luce al passaggio */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 228, 170, .26) 50%, transparent 66%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.btn-chrome:hover::after { transform: translateX(120%); }
.btn-chrome:hover { box-shadow: inset 0 1px 0 rgba(255, 236, 190, .2), 0 26px 46px -20px rgba(150, 105, 30, .65), 0 3px 8px -3px rgba(40, 28, 8, .35); }
.bc-label {
  position: relative; z-index: 1; padding: .3em .1em .3em 0;
  font: 600 13.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-bright); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.bc-icon {
  position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px; color: #1B1916;
  background: var(--gold-chrome-diag);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -3px 5px rgba(90, 60, 10, .45), 0 4px 10px -4px rgba(0,0,0,.7);
  transition: transform .7s var(--ease);
}
.btn-chrome:hover .bc-icon { transform: rotate(-45deg) scale(1.06); }

/* ── Tipografia di sezione ────────────────────────────────── */
.section { padding: clamp(110px, 16vh, 190px) 0; }
.section .wrap, .metodo-head { position: relative; isolation: isolate; }
/* etichetta di sezione: placchetta d'argento spazzolato, scritta incisa, due rivetti */
.label {
  display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 0 30px; padding: 10px 17px;
  border-radius: 7px; border: 1px solid rgba(86, 92, 101, .42);
  font-size: 12.5px; font-weight: 600; line-height: 1.2; letter-spacing: .3em; text-transform: uppercase;
  color: #474C54; text-shadow: 0 1px 0 rgba(255, 255, 255, .85), 0 -1px 0 rgba(20, 22, 26, .18);
  background-image:
    var(--sheen),
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 2px, rgba(255,255,255,.22) 2px 3px, rgba(90,96,105,.06) 3px 4px),
    linear-gradient(180deg, #F7F8FA 0%, #DDE0E4 40%, #C3C7CD 54%, #E6E8EB 72%, #CDD0D5 100%);
  background-size: 300% 100%, auto, auto; background-position: 110% 0, 0 0, 0 0; background-repeat: no-repeat, repeat, no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(40, 44, 50, .14), 0 1px 0 rgba(255,255,255,.8), 0 8px 16px -10px rgba(40, 44, 52, .5);
  animation: plate-sheen 8s var(--ease-io) infinite 1.5s;
}
.label::before, .label::after { /* rivetti */
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, #A3A8B0 55%, #5C6169);
  box-shadow: 0 1px 0 rgba(255,255,255,.8), inset 0 0 0 .5px rgba(20, 22, 26, .3);
}
.label::after { margin-left: -.3em; } /* compensa la spaziatura dopo l'ultima lettera */
@keyframes plate-sheen {
  0% { background-position: 110% 0, 0 0, 0 0; }
  22%, 100% { background-position: -10% 0, 0 0, 0 0; }
}
.title {
  font-family: var(--f-display); font-weight: 500; margin: 0;
  font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.018em; max-width: 14ch;
}
.title em, .manifesto em, .hero-claim em, .menu-foot em { font-weight: 500; }
.title-xl { font-size: clamp(52px, 8.6vw, 136px); max-width: 12ch; }
.section-head { display: grid; gap: 0; margin-bottom: clamp(56px, 8vh, 96px); }

/* numero di sezione gigante, inciso e in parallasse */
.sec-num {
  position: absolute; right: var(--gutter); top: -.38em; z-index: -1; pointer-events: none; user-select: none;
  font: italic 500 clamp(150px, 22vw, 340px)/1 var(--f-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(180, 138, 60, .38);
  background: linear-gradient(180deg, rgba(214, 170, 82, .16), rgba(214, 170, 82, 0) 75%);
  -webkit-background-clip: text; background-clip: text;
  padding: 0 .1em .1em 0; will-change: transform;
}

/* parole divise per il reveal: la maschera è più ampia del glifo (niente lettere tagliate) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .16em .18em .02em; margin: -.08em -.16em -.18em -.02em; }
.wi { will-change: transform; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-rows: 1fr auto auto auto;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 28px;
  touch-action: pan-y; overflow-x: clip; /* le orbite, ingrandite dallo scroll, non allargano la pagina */
}
.hero-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.hero-mark { width: min(46vh, 72vw, 470px); aspect-ratio: 1; }
.hero-shadow {
  position: absolute; left: 50%; bottom: 2%; width: min(30vh, 46vw, 300px); height: 30px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(70, 52, 20, .22), rgba(70,52,20,0));
  filter: blur(6px); opacity: 0; transition: opacity 1.4s var(--ease);
}
.is-ready .hero-shadow { opacity: 1; }
/* orbite d'oro attorno al nodo: una scia di luce le percorre */
.hero-orbit {
  position: absolute; inset: 0; margin: auto; width: min(66vh, 96vw, 680px); height: auto; aspect-ratio: 1;
  overflow: visible; pointer-events: none;
}
.is-loading .hero-orbit { opacity: 0; }
.orbit { transform-origin: 200px 200px; }
.orbit ellipse { fill: none; stroke: rgba(180, 138, 60, .3); stroke-width: .8; vector-effect: non-scaling-stroke; }
.orbit .comet { stroke: url(#g-gold); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 90 910; animation: comet 7s linear infinite; }
.orbit-a { transform: rotate(-16deg); }
.orbit-b { transform: rotate(24deg); }
.orbit-b .comet { animation-duration: 9.5s; animation-direction: reverse; stroke-dasharray: 60 940; }
@keyframes comet { to { stroke-dashoffset: -1000; } }

.hero-hint {
  position: absolute; right: 0; top: 50%; margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); opacity: 0;
  transition: opacity 1s var(--ease) .6s;
}
.is-ready .hero-hint { opacity: 1; }
.hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(180,138,60,.15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(180,138,60,0); } }

.hero-name {
  margin: 6px 0 0; display: flex; justify-content: center; gap: .6em; flex-wrap: wrap;
  font: 600 clamp(13px, 1.25vw, 18px)/1.2 var(--f-body); letter-spacing: .48em; text-transform: uppercase;
  padding-left: .48em;
}
.hero-name > span { display: inline-block; overflow: hidden; padding: .1em 0; background: none; color: inherit; }
/* il gradiente vive solo sulla parola animata (padre + figlio con clip sul testo = glifi sdoppiati in Chrome) */
.hero-name .ch { display: inline-block; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-name .silver .ch { background-image: var(--silver-chrome); }
.hero-name .gold .ch { background-image: var(--gold-chrome); }

.hero-bottom {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px;
  margin-top: clamp(26px, 5vh, 56px);
}
.hero-claim {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(42px, 5.6vw, 88px); line-height: 1; letter-spacing: -.018em;
}
.hero-claim .line { display: block; overflow: hidden; padding: .06em .16em .16em 0; margin: -.06em -.16em -.12em 0; }
.hero-side { justify-self: end; max-width: 430px; }
.hero-side p { margin: 0 0 24px; color: var(--ink-2); font-size: 16.5px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center; margin-top: clamp(24px, 4vh, 40px);
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 26px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* stati iniziali dell'intro (rivelati da JS) */
.is-loading .hero-name .ch,
.is-loading .hero-claim .line > *,
.is-loading .hero-side,
.is-loading .hero-meta,
.is-loading .nav { opacity: 0; }

/* ── Nastro in movimento ──────────────────────────────────── */
.marquee {
  position: relative; z-index: 1; overflow: hidden; padding: clamp(16px, 2.6vh, 28px) 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.1));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(26px, 3.6vw, 58px); width: max-content; will-change: transform; }
.marquee-track > span { font: italic 500 clamp(38px, 5.6vw, 86px)/1.12 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.marquee-track i {
  flex: none; width: 11px; height: 11px; rotate: 45deg; background: var(--gold-chrome-diag);
  box-shadow: 0 2px 6px -1px rgba(120, 86, 26, .45);
}
/* Vexus nel nastro: lettere in vetro cromato, la X rossa gira in 3D con un bagliore al centro */
.mq-vexus {
  --vx-chrome: linear-gradient(180deg, #A9AFBA 0%, #6A707D 36%, #23262E 50%, #0C0D11 54%, #9AA1AE 66%, #4A505B 100%);
  --vx-flash: linear-gradient(105deg, transparent 42%, #fff 50%, transparent 58%);
  flex: none; display: inline-grid; justify-items: center; gap: .1em; text-decoration: none;
  font-size: clamp(34px, 4.9vw, 74px);
}
.vx-word { display: inline-flex; align-items: center; font: 600 1em/1 var(--f-body); letter-spacing: -.012em; }
.vx-part {
  background-image: var(--vx-flash), var(--vx-chrome); background-size: 300% 100%, 100% 100%;
  background-position: 130% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1.5px 0 rgba(20, 22, 29, .2)); padding: .04em 0 .06em;
  animation: vx-flash 6s ease-in-out infinite;
}
.vx-l { background-image: var(--vx-flash), linear-gradient(90deg, transparent 70%, rgba(255, 43, 20, .45)), var(--vx-chrome); background-size: 300% 100%, 100% 100%, 100% 100%; }
.vx-r { background-image: var(--vx-flash), linear-gradient(270deg, transparent 70%, rgba(255, 43, 20, .45)), var(--vx-chrome); background-size: 300% 100%, 100% 100%, 100% 100%; }
@keyframes vx-flash { 0%, 72% { background-position-x: 130%, 0, 0; } 100% { background-position-x: -30%, 0, 0; } }
.vx-x { position: relative; display: inline-block; width: .98em; height: .78em; perspective: 12em; }
.vx-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: vx-turn 6s linear infinite; }
@keyframes vx-turn { to { transform: rotateY(360deg); } }
.vx-spin b {
  position: absolute; left: 50%; top: 50%; width: 1.1em; height: .17em; margin: -.085em 0 0 -.55em; border-radius: .025em;
  background-image: linear-gradient(90deg, #A81709 0%, #FF2B14 24%, #FFDCCC 50%, #FF2B14 76%, #A81709 100%);
  box-shadow: 0 0 .3em rgba(255, 43, 20, .7); transform: rotate(45deg); transform-style: preserve-3d;
}
.vx-spin b + b { transform: rotate(-45deg); }
.vx-spin b::before, .vx-spin b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: inherit; transform: translateZ(.05em); }
.vx-spin b::after { transform: translateZ(-.05em); }
.vx-flare { /* il lampo bianco-rosso al centro della X, come nell'hero di vexus.it */
  position: absolute; left: 50%; top: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em; border-radius: 50%; pointer-events: none;
  z-index: 1; background: radial-gradient(circle, #fff 0 5%, rgba(255, 170, 150, .9) 9%, rgba(255, 60, 36, .32) 22%, rgba(255, 43, 20, .08) 40%, transparent 62%);
  animation: vx-pulse 3s ease-in-out infinite;
}
@keyframes vx-pulse { 50% { transform: scale(1.25); opacity: .7; } }
.mq-vexus small { font: 600 clamp(9px, .78vw, 12px)/1 var(--f-body); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: #C2321F; }

/* ── 01 Chi sono ──────────────────────────────────────────── */
.manifesto {
  margin: 0 0 clamp(56px, 9vh, 100px); max-width: 22ch;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4.9vw, 74px); line-height: 1.1; letter-spacing: -.012em;
}
.manifesto .mw { transition: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); max-width: 980px; margin-left: auto; }
.about-grid p { margin: 0; color: var(--ink-2); font-size: 17.5px; line-height: 1.72; }
.about-grid strong { font-weight: 600; color: var(--ink); }
/* tre principi: piccole targhe con cornice oro/argento alternata, come le schede dei servizi */
.pillars {
  --gap: clamp(16px, 2vw, 26px);
  position: relative; list-style: none; padding: calc(var(--gap) + 18px) 0 0; margin: clamp(70px, 11vh, 120px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.pillars::before { /* filo d'oro che si disegna con lo scroll */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gold-flat); transform-origin: left; transform: scaleX(var(--draw, 0));
}
.pillars li {
  --frame: var(--gold-chrome-diag); --hair: rgba(180, 138, 60, .32); --tone: var(--gold-flat);
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 2.8vw, 40px) clamp(24px, 2.6vw, 38px) clamp(30px, 3vw, 42px);
  border: 1.5px solid transparent; border-radius: 26px;
  background: linear-gradient(165deg, #FFFFFF, #FAF7F1 70%, #F5F0E6) padding-box, var(--frame) border-box;
  box-shadow: 0 30px 56px -38px rgba(60, 46, 20, .34), 0 6px 14px -8px rgba(60, 46, 20, .16);
  transition: translate .9s var(--ease), box-shadow .9s var(--ease);
}
.pillars li[data-frame="silver"] { --frame: var(--silver-chrome-diag); --hair: rgba(120, 126, 136, .34); --tone: linear-gradient(100deg, #6B7079, #C6CAD0 45%, #7D828A); }
.pillars li::before { /* passe-partout */
  content: ""; position: absolute; inset: 8px; z-index: -1; border-radius: 19px; border: 1px solid var(--hair); pointer-events: none;
}
.pillars li::after { /* lama di luce al passaggio del mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(240, 205, 130, .18) 48%, rgba(255,255,255,.7) 50%, rgba(240,205,130,.16) 52%, transparent 65%);
  transform: translateX(-100%); transition: transform 1.4s var(--ease);
}
.pillars li:hover { translate: 0 -6px; box-shadow: 0 40px 70px -40px rgba(60, 46, 20, .42), 0 8px 18px -10px rgba(60, 46, 20, .2); }
.pillars li:hover::after { transform: translateX(100%); }
/* medaglione: disco perlato incassato in un anello di metallo, con un riflesso che gira */
.pillar-medal {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 26px; border-radius: 50%;
  border: 2px solid transparent;
  background: radial-gradient(circle at 50% 35%, #FFFFFF, #F4EFE5 72%) padding-box, var(--frame) border-box;
  box-shadow: inset 0 2px 5px rgba(60, 46, 20, .2), 0 10px 20px -10px rgba(60, 46, 20, .45), 0 0 0 6px rgba(255,255,255,.7), 0 0 0 7px var(--hair);
}
.pillar-medal::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,.95) 80%, transparent 90%);
  -webkit-mask: radial-gradient(circle, transparent 31px, #000 32px); mask: radial-gradient(circle, transparent 31px, #000 32px);
  animation: medal-turn 7s linear infinite;
}
.pillars li:nth-child(2) .pillar-medal::after { animation-delay: -2.3s; }
.pillars li:nth-child(3) .pillar-medal::after { animation-delay: -4.6s; }
@keyframes medal-turn { to { transform: rotate(1turn); } }
.pillar-n { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: 31px; line-height: 1; letter-spacing: .02em; padding: .08em .06em .12em; filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)); }
.pillars h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 3vw, 42px); line-height: 1.1; letter-spacing: -.01em; padding-bottom: .06em; }
.pillar-rule { display: block; width: 42px; height: 2px; margin: 14px 0 16px; border-radius: 2px; background: var(--tone); transform-origin: left; transition: width .9s var(--ease); }
.pillars li:hover .pillar-rule { width: 84px; }
.pillars p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 30ch; }

/* ── 02 Servizi: schede che si impilano, cornici oro/argento alternate ── */
.stack { display: grid; gap: 22px; }
.svc {
  --frame: var(--gold-chrome-diag); --tone: var(--gold-chrome); --tone-ink: var(--gold-deep);
  --hair: rgba(180, 138, 60, .32); --glyph: url(#g-gold); --dot: var(--gold);
  position: sticky; top: calc(var(--nav-h) + 22px + var(--i) * 18px);
  display: grid; grid-template-columns: 140px 1fr 220px; gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: clamp(320px, 46vh, 420px); padding: clamp(30px, 4vw, 58px);
  border: 2px solid transparent; border-radius: 28px;
  background: linear-gradient(160deg, #FFFFFF, #FAF7F1) padding-box, var(--frame) border-box;
  box-shadow: 0 30px 60px -36px rgba(60, 46, 20, .32), 0 6px 14px -8px rgba(60, 46, 20, .18);
  transform-origin: 50% 0; overflow: hidden; isolation: isolate;
}
.svc[data-frame="silver"] {
  --frame: var(--silver-chrome-diag); --tone: var(--silver-chrome); --tone-ink: var(--silver-deep);
  --hair: rgba(120, 126, 136, .34); --glyph: url(#g-silver); --dot: #8E939B;
}
.svc::before { /* seconda cornice sottile, come un passe-partout */
  content: ""; position: absolute; inset: 9px; z-index: -1; border-radius: 20px; pointer-events: none;
  border: 1px solid var(--hair);
}
.svc::after { /* lama di luce */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(240, 205, 130, .2) 48%, rgba(255,255,255,.65) 50%, rgba(240,205,130,.18) 52%, transparent 65%);
  transform: translateX(-100%); transition: transform 1.4s var(--ease);
}
.svc:hover::after { transform: translateX(100%); }
.svc-num {
  font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: clamp(66px, 8vw, 124px); line-height: .9;
  background-image: var(--sheen), var(--tone); background-size: 300% 100%, 100% 100%; background-repeat: no-repeat;
  background-position: 110% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  align-self: start; padding: 0 .14em .12em 0;
  filter: drop-shadow(0 1.5px 0 rgba(60, 46, 20, .22));
}
.svc-kicker { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--tone-ink); }
.svc h3 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.015em; padding-bottom: .08em; }
.svc-body > p:not(.svc-kicker) { margin: 0 0 24px; max-width: 46ch; color: var(--ink-2); font-size: 16.5px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 7px 15px 7px 12px; border-radius: 100px; color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(255,255,255,.7);
}
.chips li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--dot, var(--gold)); }
.svc-glyph { justify-self: end; width: min(100%, 190px); aspect-ratio: 1; }
.svc-glyph svg { width: 100%; height: 100%; fill: none; stroke: var(--glyph); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.svc-glyph svg * { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease); }
.svc.is-in .svc-glyph svg * { stroke-dashoffset: 0; }
/* i contenuti entrano in sequenza quando la scheda arriva */
.svc-body > * { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js-motion .svc:not(.is-in) .svc-body > * { opacity: 0; transform: translateY(22px); }
.svc.is-in .svc-body > :nth-child(2) { transition-delay: .08s; }
.svc.is-in .svc-body > :nth-child(3) { transition-delay: .16s; }
.svc.is-in .svc-body > :nth-child(4) { transition-delay: .24s; }

/* ── 03 Lavori ────────────────────────────────────────────── */
.work {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-bottom: clamp(90px, 14vh, 160px);
}
.work:last-child { margin-bottom: 0; }
.work-reverse { grid-template-columns: 1fr 1.45fr; }
.work-reverse .work-media { order: 2; }
.work-media { display: block; text-decoration: none; perspective: 1400px; }
.browser {
  border-radius: 18px; overflow: hidden; background: #111;
  box-shadow: 0 50px 90px -50px rgba(40, 30, 12, .55), 0 0 0 1px rgba(27,25,22,.08);
  clip-path: inset(10% 8% 10% 8% round 18px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease);
  will-change: clip-path, transform;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
  background: linear-gradient(#F3F1EC, #E9E5DD); border-bottom: 1px solid rgba(0,0,0,.08);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3CEC5; }
.browser-bar span {
  margin: 0 auto; transform: translateX(-24px); font-size: 12px; font-weight: 500; color: var(--ink-2);
  padding: 4px 18px; border-radius: 100px; background: rgba(255,255,255,.75);
}
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; object-position: top; will-change: transform; }
.browser-view .alt { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-io); }
.work-media:hover .browser-view .alt { clip-path: inset(0 0 0 0); }
.glare { /* riflesso sul vetro che segue il cursore */
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.28), rgba(255,255,255,0) 70%);
  mix-blend-mode: screen;
}
.work-media:hover .glare { opacity: 1; }
.work-meta { display: flex; gap: 12px; align-items: baseline; margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.work-meta span {
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 22px; letter-spacing: 0;
  background: var(--gold-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .14em .08em 0;
}
.work-info h3 {
  display: inline-block; margin: 0 0 20px; padding: .04em .12em .12em 0;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 4.6vw, 70px); line-height: 1; letter-spacing: -.02em;
}
.work-info > p:not(.work-meta) { margin: 0 0 24px; color: var(--ink-2); max-width: 44ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 0 0 32px; border-block: 1px solid var(--line); }
.facts div { padding: 14px 22px 14px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts dt { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.facts dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }

/* ── 04 Metodo ────────────────────────────────────────────── */
.metodo { position: relative; padding-top: clamp(110px, 16vh, 190px); }
.metodo-head { margin-bottom: clamp(40px, 7vh, 72px); }
.metodo-intro { margin: 24px 0 0; max-width: 44ch; color: var(--ink-2); font-size: 17.5px; }
/* guida verso il film: rotellina che scende, frecce che scorrono */
.film-cue {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 9px 20px 9px 10px; border-radius: 100px;
  border: 1.5px solid transparent; text-decoration: none; font-size: 14px; letter-spacing: .02em; color: var(--ink-2);
  background: linear-gradient(180deg, #FFFFFF, #FAF7F1) padding-box, var(--gold-chrome-diag) border-box;
  box-shadow: 0 16px 30px -20px rgba(60, 46, 20, .45), 0 4px 10px -6px rgba(60, 46, 20, .2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.film-cue:hover { transform: translateY(3px); box-shadow: 0 10px 22px -16px rgba(60, 46, 20, .5); }
.fc-text b { font-weight: 600; color: var(--ink); }
.fc-mouse {
  position: relative; flex: none; width: 24px; height: 36px; border-radius: 13px; border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #FFFDF8, #F3ECDD);
}
.fc-mouse i { position: absolute; left: 50%; top: 6px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-chrome); animation: fc-wheel 1.9s var(--ease-io) infinite; }
@keyframes fc-wheel { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 70%, 100% { transform: translateY(13px); opacity: 0; } }
.fc-arrows { display: grid; gap: 1px; }
.fc-arrows i { width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); rotate: 45deg; animation: fc-arrow 1.9s ease-in-out infinite; }
.fc-arrows i + i { animation-delay: .22s; }
@keyframes fc-arrow { 0%, 100% { opacity: .2; transform: translate(-2px, -2px); } 50% { opacity: 1; transform: translate(1px, 1px); } }
.metodo-pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(70% 60% at 62% 58%, #FFFFFF 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(239,234,224,0) 0%, #EAE4D8 100%);
}
#metodo-canvas, .metodo-film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* se lo schermo è meno largo del 16:9 si taglia il fondale vuoto a sinistra, mai iPhone e MacBook */
.metodo-film { object-fit: cover; object-position: 88% 50%; background: #EFEAE1; }
.metodo-seal { position: absolute; z-index: 2; pointer-events: none; } /* il logo 3D della pagina si posa qui */
.metodo-caption, .metodo-copy, .metodo-rail { z-index: 2; }
.metodo-caption {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 18px); margin: 0;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(251, 249, 245, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 138, 60, .4); box-shadow: 0 10px 24px -16px rgba(60, 44, 18, .4);
}
.metodo-caption b { color: var(--gold); font-weight: 400; }
.metodo-caption em { font-style: normal; color: var(--gold-deep); }
.metodo-caption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(180,138,60,.15); animation: pulse 2.4s ease-in-out infinite; }
/* pannello di vetro perlato con filo d'oro: i capitoli si alternano dentro */
.metodo-copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%);
  width: min(450px, 36vw); display: grid;
  padding: clamp(26px, 2.6vw, 38px); border-radius: 24px;
  background: rgba(251, 249, 245, .8);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 40px 80px -46px rgba(60, 44, 18, .5), inset 0 1px 0 #fff;
}
.metodo-copy::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(226, 190, 110, .95), rgba(255,255,255,.4) 40%, rgba(180, 138, 60, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.step { grid-area: 1 / 1; pointer-events: none; }
.step.is-active { pointer-events: auto; }
.step > * {
  opacity: 0; transform: translateY(30px); filter: blur(6px);
  transition: opacity .4s var(--ease), transform .55s var(--ease), filter .4s var(--ease);
}
.step.is-past > * { transform: translateY(-26px); }
.step.is-active > * { opacity: 1; transform: none; filter: blur(0); transition-duration: .9s, 1.1s, .9s; }
.step.is-active > :nth-child(1) { transition-delay: .22s; }
.step.is-active > :nth-child(2) { transition-delay: .3s; }
.step.is-active > :nth-child(3) { transition-delay: .38s; }
.step.is-active > :nth-child(4) { transition-delay: .46s; }
.step-n { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-family: var(--f-display); font-style: italic; }
.step-n .chrome-gold { font-size: 46px; font-weight: 600; line-height: 1; }
.step-n small { font-size: 18px; font-weight: 500; color: var(--muted); }
.step h3 {
  margin: 0 0 16px; padding-bottom: .1em; justify-self: start;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: -.02em;
  filter: drop-shadow(0 1.5px 0 rgba(78, 58, 24, .22));
}
.step p { margin: 0 0 18px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.step .step-out { display: flex; gap: 12px; align-items: baseline; margin: 0; padding-top: 16px; border-top: 1px solid rgba(180, 138, 60, .3); color: var(--ink); font-size: 15px; font-weight: 500; }
.step-out span { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.metodo-rail {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: var(--line-strong);
}
.rail-fill { position: absolute; inset: 0; background: var(--gold-flat); transform-origin: left; transform: scaleX(0); }
.metodo-rail ol {
  list-style: none; margin: 0; padding: 0; position: absolute; inset: 14px 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.metodo-rail li { position: relative; transition: color .5s; }
.metodo-rail li::before {
  content: ""; position: absolute; left: 0; top: -18px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--perla); border: 1px solid var(--line-strong); transition: background .5s, border-color .5s;
}
.metodo-rail li.is-done { color: var(--ink); }
.metodo-rail li.is-done::before { background: var(--gold); border-color: var(--gold); }

/* ── Interludio: dove lavoro ─────────────────────────────────
   Un piccolo racconto in tre città mentre l'Italia si disegna in fili d'oro;
   il palco resta fermo (sticky) e lo scroll fa avanzare la scena. */
.ovunque { position: relative; }
.js-motion .ovunque { height: 250vh; }
.ovunque-stage { padding: clamp(80px, 12vh, 140px) 0; }
.js-motion .ovunque-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--nav-h) 0 0; display: grid; align-items: center; overflow: hidden; }
.ovunque-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.ov-lines { list-style: none; margin: 0 0 clamp(22px, 4vh, 40px); padding: 0; display: grid; gap: .28em; font: italic 500 clamp(26px, 2.6vw, 38px)/1.2 var(--f-display); color: var(--ink); }
.ov-line em { font-weight: 600; }
.ov-title { margin: 0; font: 500 clamp(44px, 5.4vw, 84px)/1.02 var(--f-display); letter-spacing: -.018em; }
.ov-title .chrome, .ov-title .chrome-gold { animation: sheen 9s var(--ease-io) infinite 1s; }
.ov-sub { margin: 22px 0 22px; max-width: 40ch; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.ov-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-deep); padding-bottom: 6px; background: var(--gold-flat) 0 100% / 100% 1px no-repeat;
}
.ov-link span { transition: transform .5s var(--ease); }
.ov-link:hover span { transform: translateY(4px); }

.ov-map { position: relative; margin: 0; justify-self: center; width: min(100%, 560px, 74vh); aspect-ratio: 1; }
.ov-globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* etichette delle tre città: le posiziona globo.js sopra il punto, qui solo lo stile */
.ov-pin {
  position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap;
  font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  padding: 5px 9px 5px 10px; border-radius: 99px; background: rgba(250, 247, 241, .86); border: 1px solid rgba(180, 138, 60, .45);
  box-shadow: 0 6px 18px -8px rgba(80, 56, 16, .35); will-change: transform, opacity;
}
/* Torino a sinistra del punto, Pescara a destra, Palermo sotto: così non si sovrappongono */
.ov-pin[data-city="torino"] { margin: -12px 0 0 -14px; translate: -100% -100%; }
.ov-pin[data-city="pescara"] { margin: -12px 0 0 14px; translate: 0 -100%; }
.ov-pin[data-city="palermo"] { margin: 12px 0 0 10px; }

/* stati iniziali: la scena parte vuota e la scrive lo scroll (senza JS o con movimento ridotto si vede già finita) */
.js-motion .ov-line, .js-motion .ov-end > * { opacity: 0; }

/* ── 05 Contatto ──────────────────────────────────────────── */
.contact { padding-bottom: clamp(40px, 6vh, 80px); }
.contact-top { display: grid; grid-template-columns: 1fr minmax(220px, 34%); gap: 40px; align-items: center; margin-bottom: clamp(56px, 9vh, 100px); }
.contact-lead { margin: 30px 0 0; max-width: 46ch; color: var(--ink-2); font-size: 17.5px; }
.contact-mark { width: 100%; max-width: 380px; aspect-ratio: 1; justify-self: center; touch-action: pan-y; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { border-bottom: 1px solid var(--line); }
.channel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 24px 4px; text-decoration: none; transition: padding .6s var(--ease);
}
.channel:hover { padding-left: 14px; }
/* icone stilizzate in oro cromato, dentro un medaglione perlato */
.ch-ico {
  position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid transparent;
  background: radial-gradient(circle at 34% 26%, #FFFFFF, #F3ECDF 72%) padding-box, var(--gold-chrome-diag) border-box;
  box-shadow: 0 12px 22px -14px rgba(90, 64, 20, .55), inset 0 -3px 7px rgba(180, 138, 60, .14);
  transition: transform .7s var(--ease);
}
.ch-ico svg {
  width: 32px; height: 32px; fill: none; stroke: url(#g-gold); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)) drop-shadow(0 1.5px 1px rgba(90, 60, 10, .35));
}
.ch-ico svg .fill { fill: url(#g-gold); stroke: none; }
.channel:hover .ch-ico { transform: rotate(-10deg) scale(1.06); }
.ch-txt { display: grid; gap: 4px; min-width: 0; }
.ch-k { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.ch-v { font-family: var(--f-display); font-weight: 500; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.15; word-break: break-word; }
.ch-a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.channel:hover .ch-a { background: var(--ink); color: var(--carta); border-color: var(--ink); transform: rotate(45deg); }

.form {
  padding: clamp(26px, 3.4vw, 44px); border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(250,247,241,.75));
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line), 0 40px 80px -50px rgba(60,46,20,.35);
}
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 26px 0 10px; outline: none; resize: none; appearance: none; -webkit-appearance: none;
  transition: border-color .4s;
}
.field select { padding-top: 18px; color: var(--ink-2); cursor: pointer; }
.field-select::after { content: "↓"; position: absolute; right: 2px; bottom: 12px; font-size: 13px; color: var(--muted); pointer-events: none; }
.field label {
  position: absolute; left: 0; top: 26px; color: var(--muted); font-size: 16px; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .45s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.74); color: var(--gold-deep); }
.form-error { margin: 0 0 12px; font-size: 14px; color: #9B3B2A; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-note a { color: var(--ink-2); }

/* domande: stessa famiglia dei pilastri, ma cornici argento/oro/argento, un "?" cromato e una manopola che si apre */
.faq-label { margin-top: clamp(70px, 11vh, 120px); }
.faq { --gap: clamp(16px, 2vw, 26px); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.faq details {
  --frame: var(--silver-chrome-diag); --tone: var(--silver-chrome); --hair: rgba(120, 126, 136, .34);
  --mark: #8E939B; --glow: rgba(120, 126, 136, .14);
  position: relative; padding: 22px 22px 24px 26px; border: 1.5px solid transparent; border-radius: 22px;
  background:
    linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%) padding-box,
    linear-gradient(165deg, #FFFFFF, #FAF7F1 70%, #F5F0E6) padding-box,
    var(--frame) border-box;
  background-size: 260% 100%, auto, auto; background-position: 150% 0, 0 0, 0 0; background-repeat: no-repeat;
  outline: 1px solid var(--hair); outline-offset: -8px; /* passe-partout */
  box-shadow: 0 26px 50px -36px rgba(60, 46, 20, .34), 0 6px 14px -8px rgba(60, 46, 20, .14);
  transition: translate .8s var(--ease), box-shadow .8s var(--ease), background-position 1.3s var(--ease);
}
.faq details[data-frame="gold"] { --frame: var(--gold-chrome-diag); --tone: var(--gold-chrome); --hair: rgba(180, 138, 60, .32); --mark: var(--gold); --glow: rgba(180, 138, 60, .14); }
.faq details:hover { translate: 0 -4px; background-position: -50% 0, 0 0, 0 0; }
.faq details[open] { box-shadow: 0 0 0 5px var(--glow), 0 34px 60px -38px rgba(60, 46, 20, .42), 0 8px 18px -10px rgba(60, 46, 20, .18); }
.faq summary {
  list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; cursor: pointer;
  font-family: var(--f-display); font-weight: 500; font-size: 25px; line-height: 1.18;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: 6px; }
.faq-q {
  align-self: center; font: italic 600 70px/.8 var(--f-display); padding: .04em .14em .1em .02em;
  background-image: var(--sheen), var(--tone); background-size: 300% 100%, 100% 100%; background-position: 110% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1.5px 0 rgba(60, 46, 20, .22)); animation: sheen 9s var(--ease-io) infinite;
}
.faq details:nth-child(2) .faq-q { animation-delay: 1.2s; }
.faq details:nth-child(3) .faq-q { animation-delay: 2.4s; }
.faq-t { padding-bottom: .06em; }
.faq summary i { /* manopola di metallo: il + ruota e diventa una × */
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid transparent;
  background: radial-gradient(circle at 50% 35%, #FFFFFF, #F1ECE2 75%) padding-box, var(--frame) border-box;
  box-shadow: inset 0 1.5px 3px rgba(60, 46, 20, .16), 0 8px 16px -9px rgba(60, 46, 20, .45);
  transition: transform .7s var(--ease);
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; margin: -.75px 0 0 -6.5px; border-radius: 2px; background: var(--mark);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details:hover summary i { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); }
.faq details p {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hair);
  color: var(--ink-2); font-size: 16px; line-height: 1.65;
}
.faq details[open] p { animation: faq-in .8s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }
/* apertura morbida dove il browser lo supporta */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .7s var(--ease), content-visibility .7s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { padding: clamp(80px, 12vh, 140px) 0 34px; overflow: hidden; }
/* firma finale: lettere in metallo estruso, un'onda di luce le attraversa, riflesse sul piano */
.footer { perspective: 1100px; }
.footer-name {
  margin: 0 0 clamp(40px, 7vw, 90px); white-space: nowrap; text-align: center; transform-style: preserve-3d;
  font: 600 clamp(22px, 5.6vw, 92px)/1.1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  filter:
    drop-shadow(0 1px 0 rgba(96, 84, 64, .55)) drop-shadow(0 1px 0 rgba(88, 76, 58, .5))
    drop-shadow(0 1px 0 rgba(80, 68, 52, .45)) drop-shadow(0 1.5px 0 rgba(70, 60, 46, .4))
    drop-shadow(0 16px 20px rgba(60, 44, 18, .24));
  -webkit-box-reflect: below .06em linear-gradient(transparent 50%, rgba(255, 255, 255, .26));
}
.fn-word { display: inline-block; }
.fn-l {
  display: inline-block; padding: .04em 0 .08em;
  background-image: var(--sheen), var(--silver-chrome); background-size: 300% 100%, 100% 100%;
  background-position: 110% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 6s var(--ease-io) infinite; animation-delay: calc(1s + var(--k) * .08s);
}
.is-gold .fn-l { background-image: var(--sheen), var(--gold-chrome); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.footer-row nav { display: flex; gap: 26px; }
.footer-row a { text-decoration: none; transition: color .3s; }
.footer-row a:hover { color: var(--gold-deep); }

/* reveal generici */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

/* ── Menu mobile ──────────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; background: rgba(248,246,241,.96); backdrop-filter: blur(20px);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-links { display: grid; gap: 6px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px; text-decoration: none;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(42px, 11vw, 64px); line-height: 1.1;
}
.menu-links small { font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--gold-deep); letter-spacing: .1em; }
.menu-foot { margin: 40px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 25px; color: var(--ink-2); }

/* ── Pagina privacy ───────────────────────────────────────── */
.legal-page .nav-name { opacity: 1; transform: none; }
.nav-back { height: 44px; padding: 0 20px; font-size: 13px; }
.legal { padding: calc(var(--nav-h) + clamp(56px, 10vh, 110px)) 0 clamp(40px, 8vh, 90px); }
.legal-wrap { max-width: 860px; }
.legal .title { max-width: none; font-size: clamp(44px, 6vw, 84px); }
.legal-date { margin: 34px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.legal-lead { margin: 30px 0 0; font-size: 18.5px; line-height: 1.7; color: var(--ink-2); }
.legal-brief {
  position: relative; margin: 44px 0 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px;
  border: 1.5px solid transparent;
  background: linear-gradient(160deg, #FFFFFF, #FAF7F1) padding-box, var(--gold-chrome-diag) border-box;
  box-shadow: 0 30px 60px -40px rgba(60, 46, 20, .35);
}
.legal-brief h2 { display: inline-block; margin: 0 0 10px; font: 600 30px/1.1 var(--f-display); padding-bottom: .06em; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 10px; }
.legal-toc a {
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.7);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.legal-toc a:hover { border-color: var(--gold); color: var(--ink); }
.legal section { padding-top: clamp(40px, 6vh, 60px); scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal section h2 { display: inline-block; margin: 0 0 14px; font: 600 clamp(32px, 3.4vw, 44px)/1.08 var(--f-display); letter-spacing: -.01em; padding-bottom: .08em; }
.legal h3 { margin: 28px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.legal li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; rotate: 45deg; background: var(--gold-chrome-diag); }
.legal strong { font-weight: 600; color: var(--ink); }
.legal a:not(.legal-toc a) { color: var(--gold-deep); text-underline-offset: 3px; }
.legal-basis { padding: 12px 16px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.55); border-radius: 0 12px 12px 0; font-size: 15.5px !important; }
.legal-prefs { height: 48px; margin: 6px 0 4px; font-size: 14px; cursor: pointer; }
.legal-table { overflow-x: auto; margin: 10px 0 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.legal-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.legal-table td:first-child { color: var(--ink); font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 600px) { /* la tabella diventa una scheda per cookie */
  .legal-table table { min-width: 0; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr, .legal-table td { display: block; }
  .legal-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .legal-table tr:last-child { border-bottom: 0; }
  .legal-table td { padding: 2px 0; border: 0; }
  .legal-table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 600; }
}
.legal-basis span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .svc { grid-template-columns: 90px 1fr; }
  .svc-glyph { display: none; }
}
@media (max-width: 900px) {
  .ovunque-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .ov-map { order: -1; width: min(340px, 82vw, 40svh); }
  .ovunque-copy { display: grid; }
  .ovunque-copy .label { display: none; }
  .js-motion .ov-lines, .js-motion .ov-end { grid-area: 1 / 1; } /* su mobile la frase finale prende il posto delle tre righe */
  .ov-lines { font-size: 25px; margin: 0; align-content: center; }
  .ov-pin { font-size: 10px; letter-spacing: .16em; padding: 4px 7px 4px 8px; }
  .ov-title { font-size: 42px; }
  .ov-sub { font-size: 16px; margin: 14px 0 16px; }
  :root { --nav-h: 66px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.6); border: 1px solid var(--line); cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
  .menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-mark { width: 40px; height: 40px; }
  .nav-name { letter-spacing: .26em; font-size: 11px; }

  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-side { justify-self: start; }
  .hero-hint { display: none; }
  .hero-meta span:first-child, .hero-meta span:last-child { display: none; }
  .hero-meta { justify-content: center; }

  /* il numero gigante si sposta sopra la placca, nel margine della sezione: non tocca più i titoli */
  .sec-num { top: -1.08em; font-size: clamp(76px, 22vw, 120px); }
  .label { gap: 11px; padding: 9px 14px; font-size: 11.5px; letter-spacing: .22em; margin-bottom: 24px; }

  .about-grid { grid-template-columns: 1fr; margin-left: 0; }
  .pillars { grid-template-columns: 1fr; }

  /* sul telefono le schede non si impilano più l'una sopra l'altra: scorrono in fila, senza coprirsi */
  .svc { position: relative; top: auto; grid-template-columns: 1fr; gap: 14px; min-height: 0; border-radius: 22px; }
  .svc::before { inset: 7px; border-radius: 16px; }
  .svc-num { font-size: 56px; }

  .work, .work-reverse { grid-template-columns: 1fr; }
  .work-reverse .work-media { order: 0; }

  .metodo-caption { top: calc(var(--nav-h) + 10px); font-size: 10.5px; letter-spacing: .12em; padding: 7px 14px 7px 11px; white-space: nowrap; }
  .metodo-caption .cap-a { display: none; }
  /* in verticale il film si ingrandisce sul soggetto (a destra nel fotogramma) e sfuma in alto e in basso */
  .metodo-film {
    inset: calc(var(--nav-h) + 40px) auto auto -96vw; width: 200vw; height: auto; aspect-ratio: 16 / 9;
    object-fit: contain; background: none;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
  }
  .metodo-copy {
    left: var(--gutter); right: var(--gutter); top: auto; bottom: 66px; transform: none; width: auto;
    padding: 20px 22px; border-radius: 20px;
  }
  .metodo-pin::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, rgba(234,228,216,0), rgba(240,235,226,.85) 50%);
  }
  .step-n .chrome-gold { font-size: 34px; }
  .step h3 { font-size: 38px; margin-bottom: 8px; }
  .step p { font-size: 15px; margin-bottom: 10px; }
  .step .step-out { padding-top: 10px; font-size: 14px; }
  .metodo-rail { bottom: 24px; }
  .metodo-rail ol { font-size: 0; } /* su mobile restano solo i punti: il titolo del capitolo è già sopra */

  .contact-top { grid-template-columns: 1fr; }
  .contact-mark { max-width: 240px; order: -1; justify-self: start; margin-bottom: -10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .channel { gap: 16px; padding: 20px 2px; }
  .faq { grid-template-columns: 1fr; }
  .faq summary { font-size: 23px; }
}
@media (max-width: 520px) {
  .btn { height: 48px; padding: 0 20px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .ch-ico { width: 52px; height: 52px; }
  .ch-ico svg { width: 27px; height: 27px; }
  .channel .ch-v { font-size: 21px; }
  .facts { grid-template-columns: 1fr; width: 100%; }
  .facts div, .facts div + div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
  .facts dt { margin: 0; }
  .facts dd { text-align: right; }
  .btn-chrome { width: 100%; justify-content: space-between; padding-left: 22px; }
  .bc-label { font-size: 12.5px; letter-spacing: .06em; white-space: normal; line-height: 1.2; }
}

/* ── Banner cookie (js/consenso.js): scheda perla con cornice d'oro, come i servizi ── */
.cc {
  position: fixed; z-index: 90; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  width: min(460px, calc(100vw - 32px)); padding: 26px 26px 20px;
  border: 1.5px solid transparent; border-radius: 22px;
  background: linear-gradient(160deg, #FFFFFF, #FAF7F1) padding-box, var(--gold-chrome-diag) border-box;
  box-shadow: 0 40px 80px -36px rgba(60, 46, 20, .45), 0 8px 20px -10px rgba(60, 46, 20, .22);
  color: var(--ink-2); font-size: 14.5px; line-height: 1.6;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.cc[hidden] { display: none; }
.cc.is-entering { opacity: 0; transform: translateY(22px); }
.cc h2 { margin: 0 40px 8px 0; font: 500 32px/1.05 var(--f-display); letter-spacing: -.01em; }
.cc h2 em { font-weight: 500; }
.cc p { margin: 0 0 16px; }
.cc a { color: var(--gold-deep); text-underline-offset: 3px; }
.cc-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.7); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .3s, rotate .5s var(--ease);
}
.cc-close:hover { border-color: var(--gold); rotate: 90deg; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* "Rifiuta" e "Accetta" hanno lo stesso peso: nessuna delle due spinge l'altra */
.cc-btn {
  flex: 1 1 0; min-width: 120px; height: 48px; padding: 0 18px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 14px/1 var(--f-body); letter-spacing: .02em; transition: background-color .3s, color .3s;
}
.cc-btn:hover { background: var(--ink); color: #FBF9F5; }
.cc-save { flex-basis: 100%; }
.cc-link {
  flex: 1 1 100%; height: 38px; border: 0; background: none; cursor: pointer;
  font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(180, 138, 60, .5);
}
.cc button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cc-options { margin: 0 0 14px; padding: 0; border: 0; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cc-option { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc-option strong { display: block; color: var(--ink); font-weight: 600; }
.cc-option small { display: block; font-size: 13px; line-height: 1.5; }
.cc-option input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold-deep); cursor: pointer; }
.cc-option input:disabled { cursor: not-allowed; opacity: .6; }
.footer-row button[data-cookie-preferences] { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .3s; }
.footer-row button[data-cookie-preferences]:hover { color: var(--gold-deep); }
@media (max-width: 520px) {
  .cc { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 22px 20px 14px; font-size: 14px; }
  .cc h2 { font-size: 28px; }
  .cc-btn { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .cc { transition: none; } }

/* ── Telefoni e tablet: stesso aspetto, molto meno lavoro per la grafica ──────────
   (la grana in fusione su tutto lo schermo, i bagliori sfocati animati, centinaia di livelli
   "will-change" e i riflessi che ridisegnano filtri e vetri a ogni frame facevano scattare lo scroll) */
@media (hover: none), (max-width: 900px) {
  .grain { display: none; }
  .glow { animation: none; will-change: auto; filter: blur(60px); }
  .wi, .marquee-track, .browser, .browser-view img { will-change: auto; }
  .nav::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(248, 246, 241, .96); }
  .btn-line { backdrop-filter: none; background: rgba(255,255,255,.62); }
  .metodo-caption { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 249, 245, .95); }
  .metodo-copy { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 249, 245, .95); }
  .menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .step > *, .step.is-active > * { filter: none; }
  .hero-shadow { filter: none; }
  /* i riflessi restano sul titolo dell'hero, sulle placche e sulla firma; i titoli di sezione sono metallo fermo */
  .title .wi, .shine, .work-info h3, .svc-num, .step h3, .step-n .chrome-gold, .ov-title .chrome, .ov-title .chrome-gold, .faq-q { animation: none; }
  .title, .depth { filter: drop-shadow(0 1.5px 0 rgba(78, 58, 24, .26)); }
  .footer-name {
    filter: drop-shadow(0 1px 0 rgba(96, 84, 64, .55)) drop-shadow(0 2px 0 rgba(70, 60, 46, .4)) drop-shadow(0 12px 14px rgba(60, 44, 18, .2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .grain, .hint-dot, .scroll-cue i::after, .orbit .comet, .metodo-caption .dot { animation: none !important; }
  .title .wi, .shine, .hero-claim .chrome, .hero-claim .chrome-gold, .work-info h3, .svc-num, .step h3, .step-n .chrome-gold { animation: none !important; }
  .browser { clip-path: none !important; }
  .svc-glyph svg * { stroke-dashoffset: 0; }
}
