/* Julia Margiotta — Web Designer */
:root {
  --ink: #141218;
  --ink-2: #4A4654;
  --paper: #FAF8F5;
  --paper-2: #F1EDE7;
  --line: #E3DDD4;
  --violet: #6B3FC4;
  --violet-d: #4B21A8;
  --violet-l: #B79CF2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--violet); }
::selection { background: var(--violet); color: #fff; }

/* grana leggera su tutto il sito */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; 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 baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- monogramma (usato in loader e hero) ---------- */
.mono-j, .mono-m { font-family: var(--serif); font-weight: 700; font-size: 330px; }
.mono-j { fill: var(--ink); }
.mono-m { fill: url(#gv); }
.mono-swoosh { fill: none; stroke: var(--violet); stroke-width: 22; stroke-linecap: round; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; place-items: center; transition: clip-path 1s var(--ease); clip-path: inset(0 0 0 0); }
.loader-mono { width: min(360px, 70vw); overflow: visible; }
.loader .mono-j, .loader .mono-m { fill: transparent; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw .9s var(--ease) forwards, fillIn .4s .55s forwards; }
.skip-intro .loader { display: none; }
.loader .mono-m { stroke: var(--violet); animation-delay: .1s, .65s; }
.loader .mono-m { --fill: var(--violet); }
.loader .mono-j { --fill: var(--ink); }
.loader .mono-swoosh { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw .7s .35s var(--ease) forwards; }
.loader-count { position: absolute; bottom: 32px; right: var(--pad); font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1; color: var(--ink); }
.loader-count span { font-variant-numeric: tabular-nums; }
body.loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: var(--fill); stroke-width: 0; } }

/* ---------- cursore ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-arrow { position: absolute; width: 26px; height: 26px; transform: translate(-5px, -3px); transition: transform .3s var(--ease), opacity .2s; }
.cursor-arrow path { fill: var(--violet); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.cursor-ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--violet); border-radius: 50%; display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s, opacity .3s; opacity: .5; }
.cursor-ring em { font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 1; background: rgba(107, 63, 196, .12); }
.cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 1; background: var(--violet); border-color: var(--violet); }
.cursor.is-view .cursor-ring em { opacity: 1; }
.cursor.is-view .cursor-arrow { opacity: 0; }
.cursor.is-down .cursor-arrow { transform: translate(-5px, -3px) scale(.82); }
.burst { position: fixed; z-index: 149; pointer-events: none; width: 0; height: 0; }
.burst i { position: absolute; left: 0; top: 0; width: 3px; height: 14px; border-radius: 3px; background: var(--violet); transform-origin: 50% 0;
  animation: ray .55s var(--ease) forwards; }
@keyframes ray { from { opacity: 1; translate: 0 0; scale: 1 .4; } to { opacity: 0; translate: var(--dx) var(--dy); scale: 1 1; } }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 32px; padding: 14px var(--pad);
  transition: background .4s, box-shadow .4s, padding .4s; }
.header.scrolled { background: rgba(250, 248, 245, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 58px; height: 44px; overflow: visible; }
.bm-j, .bm-m { font-family: var(--serif); font-weight: 700; font-size: 70px; }
.bm-j { fill: var(--ink); }
.bm-m { fill: var(--violet); }
.bm-sw { fill: none; stroke: var(--violet); stroke-width: 5; stroke-linecap: round; }
.bm-ar { fill: var(--violet); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.brand-txt small { font-size: 10.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--violet); }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 15px; letter-spacing: .04em; position: relative; padding: 4px 0; font-variant-numeric: tabular-nums; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }
.nav .nav-wa { display: none; }

/* ---------- bottoni ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 500; letter-spacing: .03em; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), color .4s; white-space: nowrap; }
.btn span { position: relative; z-index: 1; display: inline-block; transition: transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; z-index: 0; left: var(--bx, 50%); top: var(--by, 50%); width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); transition: width .55s var(--ease), height .55s var(--ease); }
.btn:hover::before { width: 260%; height: 600%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: var(--violet); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px -10px rgba(107, 63, 196, .6); }
.btn-violet::before { background: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: var(--violet-l); }
.btn.big { padding: 22px 40px; font-size: clamp(16px, 2vw, 22px); }
.link-arrow { font-size: 15px; letter-spacing: .03em; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow b { font-weight: 400; transition: transform .35s var(--ease); }
.link-arrow:hover b { transform: translateX(6px); }

/* ---------- tipografia comune ---------- */
.kicker { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--violet); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker.light { color: var(--violet-l); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.01em; }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 6vw, 80px); max-width: 1100px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 120px var(--pad) 80px; overflow: hidden; }
.hero-glow { position: absolute; width: 60vmax; height: 60vmax; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(183, 156, 242, .45), rgba(183, 156, 242, 0) 65%); transform: translate(calc(var(--gx, 60vw) - 50%), calc(var(--gy, 40vh) - 50%)); transition: transform 1.2s var(--ease); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 60%); }
.hero-text { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .06em; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 182, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); } }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 8.2vw, 136px); line-height: .92; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title em { font-weight: 600; }
.char { display: inline-block; transform: translateY(110%) rotate(8deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 28ms + .1s); }
.loaded .char { transform: none; }
.hero-title em .char { background: linear-gradient(100deg, var(--violet-d), var(--violet) 40%, var(--violet-l)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-sub { max-width: 500px; margin: 28px 0 36px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); font-weight: 300; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.loaded .hero .reveal { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .9s; }
.hero .eyebrow.reveal { transition-delay: .2s; }

.hero-mono { position: relative; z-index: 1; display: grid; place-items: center; aspect-ratio: 1; }
.mono { width: 100%; overflow: visible; }
.mono .layer { transition: transform .9s var(--ease); }
.hero .mono-j, .hero .mono-m { stroke-dasharray: 1400; stroke-dashoffset: 1400; stroke-width: 1.5; fill-opacity: 0; }
.hero .mono-j { stroke: var(--ink); }
.hero .mono-m { stroke: var(--violet); }
.loaded .hero .mono-j, .loaded .hero .mono-m { animation: draw 1.6s .3s var(--ease) forwards, heroFill .8s 1.2s forwards; }
.loaded .hero .mono-m { animation-delay: .5s, 1.4s; }
@keyframes heroFill { to { fill-opacity: 1; stroke-width: 0; } }
.hero .mono-swoosh { stroke: url(#gv); stroke-dasharray: 600; stroke-dashoffset: 600; }
.loaded .hero .mono-swoosh { animation: draw 1.2s 1.1s var(--ease) forwards; }
.mono-click .arrow { fill: var(--violet); }
.mono-click .ray { stroke: var(--violet); stroke-width: 4; stroke-linecap: round; opacity: 0; }
.mono-click { opacity: 0; }
.loaded .mono-click { animation: pop .6s 2s var(--ease) forwards; }
.loaded .mono-click .ray { animation: blink 2.4s 2.4s infinite; }
.mono-click .ray:nth-child(2) { animation-delay: 2.5s; }
.mono-click .ray:nth-child(3) { animation-delay: 2.6s; }
@keyframes pop { from { opacity: 0; transform: translate(560px, 20px) scale(.4); } to { opacity: 1; transform: translate(520px, 64px) scale(1); } }
@keyframes blink { 0%, 60%, 100% { opacity: 0; } 10%, 40% { opacity: 1; } }
.orbit { position: absolute; inset: -4%; pointer-events: none; animation: spin 40s linear infinite; }
.orbit span { position: absolute; inset: 0; }
.orbit .ch { position: absolute; left: 50%; top: 0; height: 50%; transform-origin: 0 100%; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--ink-2); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--violet); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.marquee-track { display: flex; width: max-content; transform: skewX(var(--skew, 0deg)); transition: transform .3s; }
.marquee-row { display: flex; align-items: center; gap: 40px; padding-right: 40px; animation: marquee 32s linear infinite; }
.marquee-row span { font-family: var(--serif); font-size: clamp(44px, 6vw, 92px); font-weight: 500; line-height: 1; white-space: nowrap; }
.marquee-row .outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); font-style: italic; }
.marquee-row i { font-style: normal; color: var(--violet); font-size: clamp(24px, 3vw, 40px); }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- processo: il sito si costruisce ---------- */
.build { padding: clamp(90px, 12vw, 160px) var(--pad); }
.build-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.build-lead { margin-top: 18px; color: var(--ink-2); font-weight: 300; max-width: 420px; }
.build-steps { display: grid; gap: 10px; margin-top: 30px; }
.bs { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline;
  padding: 16px 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.bs:hover { border-color: #CFC4E6; transform: translateX(4px); }
.bs:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.bs-n { font-size: 13px; letter-spacing: .1em; color: #A7A1AE; transition: color .3s; }
.bs-t { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; color: #8A8294; transition: color .3s; }
.bs small { grid-column: 2; font-size: 14.5px; font-weight: 300; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.bs.on { border-color: var(--violet); box-shadow: 0 22px 44px -26px rgba(107, 63, 196, .6); }
.bs.on .bs-t, .bs.done .bs-t { color: var(--ink); }
.bs.on .bs-n, .bs.done .bs-n { color: var(--violet); }
.bs.done .bs-n::after { content: " ✓"; }
.bs.on small { max-height: 48px; opacity: 1; margin-top: 4px; }
.bs-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; background: var(--paper-2); overflow: hidden; opacity: 0; transition: opacity .3s; }
.bs.on .bs-bar { opacity: 1; }
.bs-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-d), var(--violet-l)); transform-origin: left; transform: scaleX(var(--f, 0)); }
.build-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.build-ctrl b { color: var(--violet); font-weight: 600; }
.build-play { all: unset; box-sizing: border-box; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; transition: background .3s, transform .3s var(--ease); }
.build-play:hover { background: var(--violet); transform: scale(1.08); }
.build-play:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.browser-wrap { position: relative; }
.browser-chip { position: absolute; top: -18px; right: 26px; z-index: 2; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; letter-spacing: .03em;
  box-shadow: 0 14px 30px -12px rgba(20, 10, 40, .5); animation: chipIn .5s var(--ease); }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px); } }
.has-cursor .bs, .has-cursor .build-play { cursor: none; }
.browser { border-radius: 16px; background: #fff; box-shadow: 0 50px 100px -30px rgba(40, 20, 90, .35), 0 0 0 1px var(--line); overflow: hidden;
  transform: perspective(1600px) rotateY(calc(-7deg + var(--s, 0) * 2.33deg)) rotateX(calc(5deg - var(--s, 0) * 1.66deg)); transition: transform 1.2s var(--ease); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D9D2C9; }
.browser-bar .url { margin-left: 16px; flex: 1; max-width: 280px; font-size: 12px; color: var(--ink-2); background: #fff; padding: 4px 12px; border-radius: 6px; }
.site { --t: .7s; position: relative; aspect-ratio: 16 / 11.2; padding: 3.2% 5% 4%; display: flex; flex-direction: column; gap: 6%; background: #fff; transition: background var(--t); font-size: clamp(8px, 1.05vw, 15px); overflow: hidden; }
.site * { transition: all var(--t) var(--ease); }
.s-nav { display: flex; justify-content: space-between; align-items: center; }
.s-logo, .s-links i, .s-tag, .s-h, .s-p, .s-btn { color: transparent; border-radius: 4px; background: #E9E6EF; }
.s-logo { font-family: var(--serif); font-size: 1.6em; font-weight: 700; line-height: 1.1; }
.s-links { display: flex; gap: 1.6em; }
.s-links i { font-style: normal; font-size: .9em; }
.s-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; flex: 1; }
.s-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .9em; }
.s-tag { font-size: .75em; letter-spacing: .2em; text-transform: uppercase; }
.s-h { font-family: var(--serif); font-size: 2.9em; line-height: 1; font-weight: 600; }
.s-p { font-size: .95em; line-height: 1.5; }
.s-btn { font-size: .9em; padding: .8em 1.5em; border-radius: 100px; }
.s-img { position: relative; height: 100%; min-height: 8em; border-radius: 8px; background: #F3F1F6; border: 1.5px dashed #CFC8DA; overflow: hidden; }
.s-x::before, .s-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140%; height: 1.5px; background: #CFC8DA; transform: translate(-50%, -50%) rotate(33deg); }
.s-x::after { transform: translate(-50%, -50%) rotate(-33deg); }
.s-sun, .s-hill { position: absolute; opacity: 0; }
.s-sun { width: 32%; aspect-ratio: 1; border-radius: 50%; right: 16%; top: 16%; background: radial-gradient(circle at 35% 35%, #FFE3B0, #F29A6B); transform: translateY(40%) scale(.6); }
.s-hill { left: -10%; right: -10%; bottom: -30%; height: 70%; border-radius: 50% 50% 0 0; background: #7B4FD6; transform: translateY(40%); }
.s-hill.b { left: 30%; right: -40%; bottom: -40%; background: #3A1A85; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.s-card { display: flex; flex-direction: column; gap: .5em; }
.s-ci { height: 5.5em; border-radius: 6px; background: #F3F1F6; border: 1.5px dashed #CFC8DA; }
.s-cl { height: .7em; width: 70%; border-radius: 4px; background: #E9E6EF; }

/* stage 1: tipografia e colore */
.browser[data-stage="1"] .site, .browser[data-stage="2"] .site, .browser[data-stage="3"] .site { background: #F7F2EA; }
.browser:not([data-stage="0"]) .s-logo { color: #2A1B4A; background: transparent; }
.browser:not([data-stage="0"]) .s-links i { color: #2A1B4A; background: transparent; }
.browser:not([data-stage="0"]) .s-tag { color: #7B4FD6; background: transparent; }
.browser:not([data-stage="0"]) .s-h { color: #1B1230; background: transparent; }
.browser:not([data-stage="0"]) .s-p { color: #5B5468; background: transparent; }
.browser:not([data-stage="0"]) .s-btn { color: #fff; background: #2A1B4A; }
.browser:not([data-stage="0"]) .s-cl { background: #D8CDEB; }
/* stage 2: immagini */
.browser[data-stage="2"] .s-img, .browser[data-stage="3"] .s-img { border-color: transparent; background: linear-gradient(180deg, #FDE7D2, #E9C7F0); }
.browser[data-stage="2"] .s-x, .browser[data-stage="3"] .s-x { opacity: 0; }
.browser[data-stage="2"] .s-sun, .browser[data-stage="3"] .s-sun,
.browser[data-stage="2"] .s-hill, .browser[data-stage="3"] .s-hill { opacity: 1; transform: none; }
.browser[data-stage="2"] .s-hill.b, .browser[data-stage="3"] .s-hill.b { transition-delay: .15s; }
.browser[data-stage="2"] .s-ci, .browser[data-stage="3"] .s-ci { border-color: transparent; }
.browser[data-stage="2"] .c1, .browser[data-stage="3"] .c1 { background: linear-gradient(135deg, #3A1A85, #7B4FD6); }
.browser[data-stage="2"] .c2, .browser[data-stage="3"] .c2 { background: linear-gradient(135deg, #F29A6B, #FDE7D2); transition-delay: .1s; }
.browser[data-stage="2"] .c3, .browser[data-stage="3"] .c3 { background: linear-gradient(135deg, #B79CF2, #F7F2EA); transition-delay: .2s; }
/* stage 3: movimento */
.browser[data-stage="3"] .s-sun { animation: float 4s ease-in-out infinite; }
.browser[data-stage="3"] .s-btn { animation: btnPulse 2s infinite; background: #7B4FD6; }
.browser[data-stage="3"] .s-card { animation: cardIn 3s ease-in-out infinite; }
.browser[data-stage="3"] .s-card:nth-child(2) { animation-delay: .3s; }
.browser[data-stage="3"] .s-card:nth-child(3) { animation-delay: .6s; }
.browser[data-stage="3"] .s-h { background: linear-gradient(90deg, #1B1230 40%, #7B4FD6 50%, #1B1230 60%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3s linear infinite; }
@keyframes float { 50% { transform: translateY(-12%); } }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(123, 79, 214, .5); } 70% { box-shadow: 0 0 0 1em rgba(123, 79, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 79, 214, 0); } }
@keyframes cardIn { 50% { transform: translateY(-6%); } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- WhatsApp ---------- */
.wa-ic { width: 20px; height: 20px; fill: currentColor; position: relative; z-index: 1; margin-right: 10px; flex: none; }
.btn .wa-ic { transition: transform .35s var(--ease); }
.btn:hover .wa-ic { transform: rotate(-12deg) scale(1.1); }
.btn-wa { background: #25D366; color: #0B2B17; box-shadow: 0 16px 40px -14px rgba(37, 211, 102, .7); }
.btn-wa::before { background: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost::before { background: rgba(255, 255, 255, .12); }
.hero-trust { margin-top: 18px; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero-trust::before { content: "✓"; color: #1FA855; font-weight: 600; }
.card-wa { margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--violet); display: inline-flex; gap: 8px; transform: translateZ(25px); }
.card-wa b { font-weight: 400; transition: transform .35s var(--ease); }
.card-wa:hover b { transform: translateX(6px); }
.cta-contacts { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; color: #8C8696; font-size: 15px; }
.cta-contacts a:hover, .foot-links a:hover { color: #fff; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(20, 120, 60, .6); transform: scale(0); transition: transform .5s var(--ease); }
.wa-float.show { transform: scale(1); }
.wa-float .wa-ic { width: 32px; height: 32px; margin: 0; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.4s infinite; }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-tip { position: absolute; right: 76px; top: 50%; white-space: nowrap; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 12px 12px 2px 12px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .25); transform: translate(10px, -50%); opacity: 0; transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.wa-float.tip .wa-tip, .wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* barra di avanzamento lettura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; background: linear-gradient(90deg, var(--violet-d), var(--violet-l)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) var(--pad); }
.manifesto-text { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -.01em; max-width: 1200px; }
.manifesto-text .w { color: #D6D0DC; transition: color .35s; }
.manifesto-text .w.on { color: var(--ink); }
.manifesto-text em .w.on { color: var(--violet); }

/* ---------- prima / dopo: cantiere 3D ---------- */
.cantiere { padding: clamp(90px, 12vw, 160px) 0 0; }
.ba-hint { margin-top: 16px; color: var(--ink-2); font-weight: 300; }
.cantiere-wrap { padding: 0 var(--pad); }
.viewer { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #15121C; box-shadow: 0 60px 120px -50px rgba(40, 20, 90, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viewer-phase { position: absolute; left: 20px; top: 20px; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 14px; border-radius: 16px; color: #fff;
  background: rgba(21, 18, 28, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.viewer-phase b { display: block; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.1; }
.viewer-phase small { display: block; color: #C9C2D6; font-size: 13.5px; font-weight: 300; }
.ph-dot { width: 10px; height: 10px; border-radius: 50%; background: #FFCC00; box-shadow: 0 0 0 0 rgba(255, 204, 0, .6); animation: phPulse 1.6s infinite; flex: none; }
.cantiere[data-phase="old"] .ph-dot { background: #FF5F57; }
.cantiere[data-phase="done"] .ph-dot { background: #28C840; }
@keyframes phPulse { 70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); } }
.hud { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 100px; color: #E9E4F2; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(21, 18, 28, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .1); }
.hud button { flex: none; border: 0; border-radius: 100px; padding: 10px 18px; background: var(--violet); color: #fff; font: 500 14px var(--sans); letter-spacing: .04em; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.hud button:hover { background: #7B4FD6; transform: scale(1.05); }
.hud input { flex: 1; min-width: 0; accent-color: var(--violet-l); height: 24px; cursor: pointer; }
.has-cursor .hud input, .has-cursor .hud button, .has-cursor .cantiere-steps li { cursor: none; }
.no-webgl-msg { display: none; }
.no-webgl .viewer canvas, .no-webgl .hud, .no-webgl .viewer-phase { display: none; }
.no-webgl .no-webgl-msg { display: grid; place-items: center; position: absolute; inset: 0; padding: 30px; text-align: center; color: #fff; }
.cantiere-steps { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 18px; }
.cantiere-steps li { padding: 12px 12px 10px; border-top: 2px solid var(--line); font-size: 14px; color: #A7A1AE; cursor: pointer; transition: color .3s, border-color .3s; }
.cantiere-steps li b { display: block; font-weight: 400; font-size: 12px; letter-spacing: .1em; margin-bottom: 2px; }
.cantiere-steps li:hover { color: var(--ink); }
.cantiere-steps li.on { color: var(--ink); border-color: var(--violet); }
.cantiere-steps li.on b { color: var(--violet); }

/* ---------- chi sono: ritratto da copertina ----------
   Proporzioni: palco 4:5, arco con semicerchio in alto (raggio = metà larghezza).
   La figura è larga il 108% dell'arco (i bordi tagliati della foto restano fuori),
   il centro del viso cade al 38,2% dell'altezza (sezione aurea). */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: center; padding: clamp(40px, 8vw, 120px) var(--pad) clamp(90px, 12vw, 170px); }
.about-visual { position: relative; justify-self: center; width: min(470px, 100%); }
.stage { position: relative; aspect-ratio: 4 / 5; container-type: inline-size; }
.arch { position: absolute; inset: 0; border-radius: 50cqw 50cqw 6cqw 6cqw; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 18%, #8E63EA 0%, #6B3FC4 42%, #3D1A8F 100%);
  box-shadow: 0 50cqw 80cqw -40cqw rgba(60, 25, 140, .55), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.arch::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 40% at 50% 100%, rgba(20, 8, 50, .55), transparent 70%); z-index: 3; }
.arch-grid { position: absolute; inset: 0; opacity: .22;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 1px, transparent 1.4px); background-size: 5.2cqw 5.2cqw; background-position: center;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent); }
.arch-letters { position: absolute; left: 0; right: 0; top: 9cqw; display: flex; justify-content: center; gap: 0; font-family: var(--serif); font-weight: 700; font-size: 60cqw; line-height: .8;
  color: rgba(255, 255, 255, .1); -webkit-text-stroke: .35cqw rgba(255, 255, 255, .5); letter-spacing: -.04em; pointer-events: none; }
.arch-letters span:last-child { color: rgba(201, 179, 255, .16); margin-left: -4cqw; }
.figure { position: absolute; left: 7%; width: 86%; bottom: 0; aspect-ratio: 3 / 4; z-index: 2; }
.portrait-dots, .portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.portrait-photo { object-fit: cover; filter: drop-shadow(0 2cqw 4cqw rgba(20, 8, 50, .45));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-composite: intersect; }
.js-portrait .portrait-photo { clip-path: circle(0% at 50% 36%); transition: clip-path 1.5s var(--ease); }
.js-portrait .stage.developed .portrait-photo { clip-path: circle(90% at 50% 36%); }
.stage.lens .portrait-photo {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), radial-gradient(circle 15cqw at var(--lx) var(--ly), transparent 72%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), radial-gradient(circle 15cqw at var(--lx) var(--ly), transparent 72%, #000 100%);
  -webkit-mask-composite: source-in, source-in; mask-composite: intersect, intersect; }
/* i puntini: visibili mentre compongono la figura, poi solo dentro la lente */
.portrait-dots { transition: opacity .8s .6s; }
.stage.developed .portrait-dots { opacity: 0; }
.stage.developed.lens .portrait-dots { opacity: 1; transition: opacity .2s;
  -webkit-mask-image: radial-gradient(circle 15cqw at var(--lx) var(--ly), #000 72%, transparent 100%); mask-image: radial-gradient(circle 15cqw at var(--lx) var(--ly), #000 72%, transparent 100%); }
.stage [data-d] { transition: transform .9s var(--ease); }
.stage-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 4; pointer-events: none; }
.stage-swoosh .sw { fill: none; stroke: url(#gsw); stroke-width: 15; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; filter: drop-shadow(0 6px 10px rgba(30, 10, 80, .35)); }
.stage-swoosh .sw-click { opacity: 0; }
.stage-swoosh .arr { fill: #C9B3FF; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.stage-swoosh .ray { stroke: #C9B3FF; stroke-width: 4; stroke-linecap: round; opacity: 0; }
.about.in .stage-swoosh .sw { transition: stroke-dashoffset 1.8s 1.6s var(--ease); stroke-dashoffset: 0; }
.about.in .stage-swoosh .sw-click { animation: swPop .6s 3.1s var(--ease) forwards; }
.about.in .stage-swoosh .ray { animation: blink 2.4s 3.6s infinite; }
.stage-swoosh .ray:nth-child(2) { animation-delay: 3.7s; } .stage-swoosh .ray:nth-child(3) { animation-delay: 3.8s; }
@keyframes swPop { from { opacity: 0; transform: translate(500px, 60px) scale(.3); } to { opacity: 1; transform: translate(470px, 86px) scale(1); } }
.about-badge { position: absolute; left: -7cqw; bottom: 9cqw; z-index: 5; width: 30cqw; height: 30cqw; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4cqw 8cqw -3cqw rgba(20, 10, 40, .55), 0 0 0 .6cqw var(--paper); }
.about-badge svg { position: absolute; inset: 1.2cqw; width: calc(100% - 2.4cqw); height: calc(100% - 2.4cqw); animation: spin 18s linear infinite; }
.about-badge text { font: 500 13px var(--sans); letter-spacing: .16em; fill: #fff; }
.about-badge b { font: italic 600 8.5cqw var(--serif); color: var(--violet-l); line-height: 1; }
.portrait-hint { position: absolute; left: 60%; bottom: 4cqw; z-index: 6; transform: translate(-50%, 10px); white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .04em;
  color: #fff; background: rgba(20, 12, 40, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s 1s, transform .6s 1s var(--ease); pointer-events: none; }
.stage.developed .portrait-hint { opacity: 1; transform: translate(-50%, 0); }
.stage.lens .portrait-hint { opacity: 0; transition-delay: 0s; }
.about-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7vw, 108px); line-height: .95; letter-spacing: -.02em; }
.about-title em { font-weight: 600; }
.about-lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; margin: 22px 0 16px; color: var(--ink); }
.about-p { color: var(--ink-2); font-weight: 300; font-size: 17px; max-width: 560px; }
.about-points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 34px 0 30px; }
.about-points li { padding: 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); font-weight: 300; line-height: 1.45; }
.about-points li:nth-child(2) { --d: .08s; } .about-points li:nth-child(3) { --d: .16s; }
.about-points b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.about-sign { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.signature { width: 190px; height: 76px; overflow: visible; }
.signature text { font: italic 600 96px var(--serif); fill: transparent; stroke: var(--violet); stroke-width: 1.4; stroke-dasharray: 700; stroke-dashoffset: 700; }
.about-sign.in .signature text { animation: sign 2.2s .3s var(--ease) forwards; }
@keyframes sign { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: var(--violet); } }

/* avatar di Julia nei punti di contatto */
.hero-trust img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #25D366; }
.hero-trust::before { display: none; }
.cta-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px #25D366; }
.cta-contacts { align-items: center; }
.wa-float { background: #fff; padding: 3px; }
.wa-float picture, .wa-float img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-badge { position: absolute; right: -3px; bottom: -3px; width: 26px; height: 26px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 0 0 2.5px #fff; }
.wa-badge .wa-ic { width: 14px; height: 14px; margin: 0; fill: #fff; }

/* ---------- servizi ---------- */

.services { padding: clamp(90px, 12vw, 160px) 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 var(--pad); perspective: 1200px; }
.card { position: relative; padding: 34px 28px 38px; border-radius: 20px; background: #fff; border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s, opacity 1s var(--ease); }
.card.reveal.in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(183, 156, 242, .35), transparent 45%); }
.card:hover { box-shadow: 0 40px 70px -30px rgba(60, 30, 130, .35); }
.card:hover::before { opacity: 1; }
.card:nth-child(2) { --d: .08s; } .card:nth-child(3) { --d: .16s; } .card:nth-child(4) { --d: .24s; }
.card-n { font-size: 13px; letter-spacing: .1em; color: #A7A1AE; }
.card-ic { width: 54px; height: 54px; margin: 40px 0 auto; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateZ(40px); }
.card-ic * { stroke-dasharray: 200; stroke-dashoffset: 0; }
.card:hover .card-ic * { animation: redraw 1.2s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 200; } }
.card h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.05; margin: 28px 0 12px; transform: translateZ(30px); }
.card p { font-size: 15.5px; color: var(--ink-2); font-weight: 300; transform: translateZ(20px); }

/* ---------- lavori: galleria orizzontale ---------- */
.work { position: relative; height: 380vh; background: var(--ink); color: #fff; }
.work-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.work-track { display: flex; gap: 32px; padding-right: var(--pad); will-change: transform; transform: translateX(var(--wx, 0px)); }
.work-sticky::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--pad) + min(440px, 36vw)); z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 70%, rgba(20, 18, 24, 0)); }
.work-head { position: absolute; left: var(--pad); top: 110px; z-index: 2; max-width: 420px; pointer-events: none; }
.work .kicker { color: var(--violet-l); }
.work-note { margin-top: 18px; color: #B9B4C2; font-weight: 300; }
.work-track { padding-left: calc(var(--pad) + min(440px, 36vw)); padding-top: 90px; }
.shot { flex: 0 0 auto; width: min(520px, 72vw, 56vh); display: block; }
.shot-art { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; display: grid; place-items: center; transition: transform .8s var(--ease), border-radius .8s var(--ease); }
.shot:hover .shot-art { transform: scale(.97); border-radius: 40px; }
.shot-art > * { transition: transform 1.1s var(--ease); }
.shot:hover .shot-art > span:first-child { transform: scale(1.18) rotate(8deg); }
.a-type { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(54px, 7vw, 96px); font-weight: 600; line-height: .9; text-align: center; }
.shot-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; gap: 12px; }
.shot-meta b { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.shot-meta span { color: #B9B4C2; font-size: 14px; letter-spacing: .04em; }
.s1 .shot-art { background: #E8DCC8; color: #3B2414; }
.a-circle { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #F6B26B, #C4532C); }
.s1 .a-type { font-style: italic; color: #FFF6E8; mix-blend-mode: normal; }
.s2 .shot-art { background: #D9DEE2; color: #111; }
.a-grid { position: absolute; inset: 12%; border: 2px solid #111; background: linear-gradient(#111 2px, transparent 2px) 0 0 / 100% 25%, linear-gradient(90deg, #111 2px, transparent 2px) 0 0 / 33.33% 100%; opacity: .16; }
.s2 .a-type { font-family: var(--sans); font-weight: 600; letter-spacing: .1em; font-size: clamp(44px, 6vw, 84px); }
.s3 .shot-art { background: #2A0F2E; color: #F7D6E6; }
.a-blob { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; background: conic-gradient(from 90deg, #B0145B, #6B3FC4, #F29A6B, #B0145B); filter: blur(30px); opacity: .75; animation: morph 9s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%; } }
.s3 .a-type { font-style: italic; }
.s4 .shot-art { background: #0B0B14; color: #fff; }
.a-rings { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(183, 156, 242, .5) 23px 24px); animation: spin 30s linear infinite; }
.s4 .a-type { font-family: var(--sans); font-weight: 500; }
.shot-end { width: min(460px, 72vw); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-left: 20px; }
.shot-end p { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.shot-end em { color: var(--violet-l); }
.shot-end .btn { align-self: flex-start; }

/* ---------- metodo ---------- */
.method { padding: clamp(90px, 12vw, 160px) 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 0 var(--pad); }
.timeline-line { position: absolute; left: var(--pad); right: var(--pad); top: 22px; height: 2px; background: var(--line); }
.timeline-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-d), var(--violet-l)); transform-origin: left; transform: scaleX(var(--tl, 0)); }
.t-item { position: relative; padding-top: 70px; }
.t-item b { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; background: var(--paper); border: 1.5px solid var(--violet); color: var(--violet); }
.t-item h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.t-item p { font-size: 15px; font-weight: 300; color: var(--ink-2); }
.t-item:nth-child(3) { --d: .1s; } .t-item:nth-child(4) { --d: .2s; } .t-item:nth-child(5) { --d: .3s; } .t-item:nth-child(6) { --d: .4s; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--ink); color: #fff; padding: clamp(100px, 14vw, 180px) var(--pad); overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; bottom: -35vmax; border-radius: 50%; background: radial-gradient(circle, rgba(107, 63, 196, .55), transparent 60%); }
.cta-inner { position: relative; }
.cta-title { position: relative; font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 10vw, 170px); line-height: .9; letter-spacing: -.02em; margin: 10px 0 60px; }
.cta-base { display: block; color: #5E5869; }
@media (hover: none) { .cta-base { color: #fff; } .cta-mask { display: none; } }
.cta-mask { position: absolute; inset: 0; color: #fff; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 260px at var(--cx, -500px) var(--cy, -500px), #000 40%, transparent 100%); mask-image: radial-gradient(circle 260px at var(--cx, -500px) var(--cy, -500px), #000 40%, transparent 100%); }
.cta-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-note { color: #B9B4C2; font-weight: 300; }

.footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px var(--pad); background: var(--ink); color: #8C8696; font-size: 14px; border-top: 1px solid #2A2631; }
.to-top:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-visual { width: min(400px, 84vw); margin-bottom: 10px; }
  .about-badge { left: -4cqw; }
  .about-points { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .viewer { aspect-ratio: 4 / 5; border-radius: 18px; }
  .viewer-phase { left: 12px; top: 12px; right: 12px; padding: 10px 14px; }
  .hud { left: 10px; right: 10px; bottom: 10px; gap: 10px; font-size: 11px; }
  .hud button { padding: 9px 14px; font-size: 13px; }
  .cantiere-steps { display: none; }
  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline-line { left: calc(var(--pad) + 22px); right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline-line span { transform: scaleY(var(--tl, 0)); transform-origin: top; height: 100%; width: 100%; }
  .t-item { padding: 0 0 0 76px; }
}
@media (max-width: 900px) {
  .nav, .header > .btn { display: none; }
  .burger { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; }
  .burger i { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .3s; }
  .menu-open .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .menu-open .nav { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 26px; background: var(--paper); }
  .menu-open .nav a { font-family: var(--serif); font-size: 44px; }
  .menu-open .nav .nav-wa { display: inline-flex; margin-top: 14px; padding: 14px 26px; border-radius: 999px; background: #25D366; color: #0B2B17; font: 500 18px var(--sans); }
  .menu-open .nav .nav-wa::after { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 0; }
  .hero-mono { order: -1; width: min(360px, 80vw); justify-self: center; margin-bottom: 10px; }
  .scroll-hint { display: none; }
  .build-wrap { grid-template-columns: 1fr; gap: 0; }
  .build-copy { display: contents; }
  .build-copy .kicker, .build-copy .h2, .build-lead { order: 0; }
  .browser-wrap { order: 1; margin-top: 40px; }
  .build-steps { order: 2; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
  .build-ctrl { order: 3; justify-content: center; }
  .bs { grid-template-columns: 1fr; text-align: center; padding: 10px 4px 16px; border-radius: 12px; }
  .bs:hover { transform: none; }
  .bs-t { font-size: 14.5px; }
  .bs small { display: none; }
  .bs-bar { left: 10px; right: 10px; bottom: 6px; }
  .browser-chip { top: -16px; right: 14px; font-size: 12.5px; padding: 7px 13px; }
  .work { height: auto; }
  .work-sticky { position: static; height: auto; display: block; padding: 100px 0 80px; }
  .work-sticky::before { display: none; }
  .work-head { position: static; padding: 0 var(--pad); margin-bottom: 36px; max-width: none; }
  .work-track { transform: none !important; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work-track::-webkit-scrollbar { display: none; }
  .shot { width: 78vw; scroll-snap-align: center; }
  .shot-end { width: 70vw; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .brand-txt b { font-size: 13px; letter-spacing: .14em; }
  .brand-txt small { letter-spacing: .3em; }
  .hero-cta { gap: 20px; }
  .marquee { padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .orbit { animation: none; }
}

/* ---------- protezione immagini: niente menu "salva / copia / apri immagine" ---------- */
img, canvas, svg { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.stage img, .stage canvas, .wa-float img, .hero-trust img, .cta-avatar { pointer-events: none; }
.stage { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
