/* OdyneAI · mockup scroll 3D */
:root {
  --bg: #05040b;
  --bg-2: #0a0819;
  --bg-3: #100d26;
  --ink: #eeeaff;
  --ink-2: rgba(238, 234, 255, 0.74);
  --ink-3: rgba(238, 234, 255, 0.5);
  --ink-4: rgba(238, 234, 255, 0.28);
  --line: rgba(168, 150, 255, 0.16);
  --line-2: rgba(168, 150, 255, 0.28);
  --cyan: #4cc9ff;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --magenta: #e879f9;
  --ok: #5eead4;
  --grad: linear-gradient(100deg, #4cc9ff 0%, #8b5cf6 52%, #e879f9 100%);
  --glass: rgba(14, 11, 34, 0.52);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 5vw, 96px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Caricamento ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg);
  transition: opacity 1s var(--ease-out), visibility 1s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { width: 120px; animation: pulseMark 2.4s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.55)); }
.loader-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); }
.loader-pct { font-family: var(--font-display); font-size: 40px; font-weight: 300; letter-spacing: -0.02em; }
.loader-line { position: relative; width: 200px; height: 1px; background: var(--line); overflow: hidden; }
.loader-line span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad); transition: transform 0.4s var(--ease-out); }
@keyframes pulseMark { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------- Intestazione ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: background 0.6s var(--ease-out), padding 0.6s var(--ease-out), border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(5, 4, 11, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; text-align: left; }
.brand-hint {
  position: absolute; left: 54px; top: 100%; margin-top: 2px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
  color: var(--cyan); opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.brand:hover .brand-hint, .brand:focus-visible .brand-hint { opacity: 0.85; transform: none; }
.brand:hover .brand-mark { filter: drop-shadow(0 0 14px rgba(76, 201, 255, 0.7)); }
.brand-mark { transition: filter 0.4s; }
.brand-mark { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45)); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.22em; }
.brand-name b { font-weight: 300; margin-left: 6px; color: var(--ink-2); }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2);
  transition: color 0.3s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 40px; height: 40px; position: relative; border-radius: 50%; border: 1px solid var(--line-2); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease-out); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 90px 28px 40px;
  background: rgba(5, 4, 11, 0.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 34px; font-weight: 300; letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 18px; align-self: flex-start; }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s, border-color 0.4s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-glow {
  color: #fff;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 22px rgba(139, 92, 246, 0.28);
}
.btn-glow::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(18px); opacity: 0.35; transition: opacity 0.5s;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(139, 92, 246, 0.8), inset 0 0 28px rgba(139, 92, 246, 0.4); }
.btn-glow:hover::before { opacity: 0.6; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(14, 11, 34, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(238, 234, 255, 0.5); transform: translateY(-2px); }
.arrow { position: relative; display: inline-block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out); }
.arrow::after { content: ''; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Viaggio 3D ---------- */
.journey { position: relative; background: var(--bg); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage.no-webgl { background: url('../media/hall.webp') center / cover no-repeat; }
.stage.no-webgl #gl { display: none; }
.veil { position: absolute; pointer-events: none; }
.veil-left { inset: 0 auto 0 0; width: 62%; background: linear-gradient(90deg, rgba(5, 4, 11, 0.78) 0%, rgba(5, 4, 11, 0.4) 55%, rgba(5, 4, 11, 0) 100%); }
.veil-bottom { inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(5, 4, 11, 0.85), rgba(5, 4, 11, 0)); }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.scene {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  will-change: opacity, transform;
}
.scene.is-first { opacity: 1; visibility: visible; }
.scene.is-first .scene-inner { pointer-events: auto; }
.scene-inner { width: min(560px, 42vw); margin-left: var(--gutter); padding-top: 70px; }
.scene.is-center { justify-content: center; align-items: flex-end; text-align: center; }
.scene.is-center .scene-inner { width: min(900px, 90vw); margin: 0 auto; padding: 0 0 11vh; }
.scene.is-center .eyebrow { justify-content: center; }
.scene.is-center .actions { justify-content: center; }
.scene.is-center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .idx { color: var(--cyan); }
.eyebrow .bar { width: 32px; height: 1px; background: var(--grad); flex: none; }
.eyebrow-center { justify-content: center; }

.title {
  margin-top: 22px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 74px); line-height: 1; letter-spacing: -0.035em;
  text-wrap: balance;
}
h1.title { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.96; }
.title-xl { font-size: clamp(44px, 6vw, 96px); line-height: 0.95; }
.lead { margin-top: 22px; max-width: 470px; font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions-center { justify-content: center; }
.meta-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; font-size: 13px; color: var(--ink-3); }
.meta-row b { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); margin-right: 4px; }

/* parole che emergono */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease-out); }
.split.is-in .w > span { transform: translate3d(0, 0, 0); }
.split em.grad { background: none; color: inherit; }
.split em .w > span { background: var(--grad); background-size: var(--gw, 100%) 100%; background-position: var(--gx, 0) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-radius: 18px;
}

.steps { margin-top: 28px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li > span { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); padding-top: 3px; }
.steps b { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.steps p { margin-top: 2px; font-size: 14px; color: var(--ink-3); }

.ticks { margin-top: 22px; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }

.call-card { margin-top: 24px; padding: 16px 18px; max-width: 470px; }
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.call-head b { display: block; font-size: 14px; font-weight: 600; }
.call-head small { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; background: url('../media/francesca.webp') 50% 22% / 250% auto no-repeat; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.6), 0 0 18px rgba(232, 121, 249, 0.45); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 10px #f43f5e; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.mini-wave { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 22px; }
.mini-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--grad); animation: wave 1s ease-in-out infinite; }
.mini-wave i:nth-child(1) { animation-delay: -0.2s; }
.mini-wave i:nth-child(2) { animation-delay: -0.5s; }
.mini-wave i:nth-child(3) { animation-delay: -0.1s; }
.mini-wave i:nth-child(4) { animation-delay: -0.7s; }
.mini-wave i:nth-child(5) { animation-delay: -0.35s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.call-body { min-height: 118px; padding-top: 12px; display: grid; gap: 8px; align-content: start; font-size: 13px; }
.call-body p { opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s var(--ease-out); }
.call-body p.is-in { opacity: 1; transform: none; }
.call-body p b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 8px; color: var(--ink-3); }
.call-body p.ai b { color: var(--magenta); }
.call-body p.ai { color: var(--ink); }
.call-body p.user { color: var(--ink-2); }
.call-body .caret { display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--magenta); animation: blink 0.8s steps(1) infinite; }

.feature-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 480px; }
.feature-grid > div { padding: 14px 16px; border-radius: 14px; }
.feature-grid b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.feature-grid span { font-size: 12.5px; color: var(--ink-3); }
.small-note { margin-top: 18px; max-width: 470px; font-size: 13px; color: var(--ink-3); }
.small-note b { color: var(--ink-2); font-weight: 500; }

.flow-line { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; }
.flow-line span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(14, 11, 34, 0.5); }
.flow-line i { position: relative; width: 18px; height: 1px; background: var(--line-2); overflow: hidden; }
.flow-line i::after { content: ''; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); animation: flow 1.6s linear infinite; }
@keyframes flow { to { left: 100%; } }

.hash-card { margin-top: 24px; padding: 14px 18px; max-width: 470px; font-family: var(--font-mono); font-size: 12px; display: grid; gap: 6px; }
.hash-card p { display: flex; justify-content: space-between; gap: 20px; }
.hash-card span { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10.5px; }
.hash-card b { font-weight: 500; }
.ok { color: var(--ok); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta);
}

/* navigatore scene: compatto sul bordo destro, l'etichetta compare solo per la scena attiva */
.scene-nav {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  text-shadow: 0 0 14px rgba(5, 4, 11, 0.95), 0 0 4px rgba(5, 4, 11, 0.9);
}
.scene-nav-title { display: none; }
.scene-nav-title span { color: var(--ink); }
.scene-nav ol { display: flex; flex-direction: column; align-items: flex-end; }
.scene-nav button { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; padding: 5px 0; }
.scene-nav .n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); transition: color 0.4s; }
.scene-nav .l { height: 1px; width: 10px; background: var(--ink-4); transition: width 0.6s var(--ease-out), background 0.4s; }
.scene-nav .t {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  transition: max-width 0.7s var(--ease-out), opacity 0.4s, color 0.4s;
}
.scene-nav button:hover .t { max-width: 180px; opacity: 1; }
.scene-nav button:hover .l { width: 16px; }
.scene-nav button.is-active .n { color: var(--cyan); }
.scene-nav button.is-active .l { width: 30px; background: var(--grad); }
.scene-nav button.is-active .t { max-width: 180px; opacity: 1; color: var(--ink); }
.scene-dots { display: none; }

.hud {
  position: absolute; right: 26px; bottom: 24px; text-align: right;
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.75; letter-spacing: 0.06em; color: var(--ink-4);
  text-shadow: 0 0 10px rgba(5, 4, 11, 0.95);
  pointer-events: none;
}
.hud b { font-weight: 500; color: var(--ink-3); }
.hud b.ok { color: var(--ok); }
.hud .coords { margin-top: 4px; letter-spacing: 0.18em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none;
  transition: opacity 0.6s;
}
.scroll-cue span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--grad); animation: cue 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
.scene-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(238, 234, 255, 0.08); }
.scene-progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* ---------- Progetti ---------- */
.projects { position: relative; background: radial-gradient(120% 80% at 80% 0%, rgba(139, 92, 246, 0.12), transparent 60%), var(--bg); }
.glide-pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 60px; overflow: hidden; }
.projects-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 60px; padding: 0 var(--gutter); }
.section-title { margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 70px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.section-text { margin-top: 20px; max-width: 440px; color: var(--ink-2); font-size: 16px; }
.projects-intro { max-width: 380px; color: var(--ink-3); font-size: 15px; }
.glide-viewport { margin-top: 44px; perspective: 1600px; }
.glide-track { display: flex; gap: 28px; padding: 10px var(--gutter); width: max-content; transform-style: preserve-3d; will-change: transform; }
.pcard { position: relative; flex: none; width: clamp(280px, 26vw, 400px); transform-style: preserve-3d; }
.pcard-3d { transform-style: preserve-3d; will-change: transform; }
.pcard-tilt { position: relative; border-radius: 24px; transform-style: preserve-3d; will-change: transform; }
.pcard-media {
  position: relative; height: min(62vh, 560px); border-radius: 24px; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.08);
}
.pcard-media img { position: absolute; top: 0; left: -8%; width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: center top; transition: filter 0.6s; }
.pcard:hover .pcard-media img { filter: brightness(1.08) saturate(1.1); }
.pcard-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 4, 11, 0.97) 0%, rgba(5, 4, 11, 0.7) 36%, rgba(5, 4, 11, 0) 64%); }
.pcard-num { position: absolute; top: 18px; left: 20px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.pcard-num span { color: var(--ink-4); }
.pcard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 24px; transform: translateZ(40px); }
.pcard-cat { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 4, 11, 0.5); color: var(--ink-2); }
.pcard h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; }
.pcard p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.pcard small { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--cyan); }
.pcard-glare { position: absolute; inset: 0; z-index: 3; border-radius: 24px; pointer-events: none; opacity: 0; transition: opacity 0.5s; mix-blend-mode: soft-light; }
.glide-progress { margin: 36px var(--gutter) 0; height: 1px; background: var(--line); }
.glide-progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* ---------- Numeri ---------- */
.stats { padding: 40px var(--gutter) 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; }
.stats-grid > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ---------- Metodo ---------- */
.method { padding: clamp(90px, 12vw, 160px) var(--gutter); background: var(--bg); }
.method-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); max-width: 1500px; margin: 0 auto; }
.method-aside .sticky { position: sticky; top: 110px; }
.parallax-frame { position: relative; margin-top: 36px; aspect-ratio: 4 / 3.4; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.parallax-frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.method-steps li { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.method-steps .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 4vw, 56px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.method-steps h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.method-steps p { margin-top: 10px; max-width: 520px; color: var(--ink-2); font-size: 15.5px; }
.method-steps .method-cta { display: block; padding-top: 36px; }
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 100px); max-width: 1400px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 26px 0; text-align: left; font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -0.01em; }
.faq-item button i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.5s, border-color 0.5s; }
.faq-item button i::before, .faq-item button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.5s var(--ease-out); }
.faq-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open button i { background: var(--violet); border-color: var(--violet); }
.faq-item.is-open button i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.7s var(--ease-out), opacity 0.6s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 26px; max-width: 640px; color: var(--ink-2); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Contatti ---------- */
.closing { position: relative; min-height: 96vh; min-height: 96svh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.closing-media { position: absolute; inset: 0; }
.closing-media img { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; }
.closing-veil { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(5, 4, 11, 0.55), rgba(5, 4, 11, 0.92)), linear-gradient(0deg, var(--bg), rgba(5, 4, 11, 0) 40%); }
.closing-inner { position: relative; padding: 120px 20px; max-width: 1000px; }
.closing-title { margin-top: 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 7vw, 112px); line-height: 0.96; letter-spacing: -0.04em; text-wrap: balance; }
.closing .section-text { margin-left: auto; margin-right: auto; }
.closing-mail { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--ink-3); }
.closing-mail a:hover { color: var(--ink); }

.site-footer { padding: 34px var(--gutter); border-top: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--ink-3); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 1500px; margin: 0 auto; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ink); }

.pick-hint { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.pick-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s ease-in-out infinite; }
.stage.is-picking { cursor: pointer; }
.pcard { cursor: pointer; }
.pcard:focus-visible { outline: none; }
.pcard:focus-visible .pcard-media { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---------- Dettaglio progetto (stessa grafica di odyneai.com) ---------- */
.pm-modal {
  position: fixed; inset: 0; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
  background: rgba(3, 5, 14, 0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.pm-modal[hidden] { display: none; }
.pm-modal.is-open { opacity: 1; }
.pm-card {
  position: relative; overflow: hidden; margin: auto;
  width: 920px; max-width: 96vw; max-height: 92vh;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: linear-gradient(145deg, #0a0f1e 0%, #080c18 55%, #0e0818 100%);
  border: 1px solid rgba(0, 212, 255, 0.22); border-radius: 22px;
  box-shadow: 0 0 90px rgba(0, 212, 255, 0.1), 0 0 180px rgba(168, 85, 247, 0.07), 0 30px 70px rgba(0, 0, 0, 0.65);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pm-modal.is-open .pm-card { opacity: 1; transform: none; }
.pm-media { position: relative; min-height: 340px; overflow: hidden; background: #050811; border-right: 1px solid rgba(0, 212, 255, 0.15); }
.pm-media::before { content: ''; position: absolute; inset: -30px; background: var(--pm-img) center / cover no-repeat; filter: blur(26px) saturate(1.2); opacity: 0.55; }
.pm-media img { position: relative; z-index: 1; width: 100%; height: 100%; max-height: 92vh; object-fit: contain; }
.pm-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, rgba(5, 13, 24, 0) 55%, rgba(8, 12, 24, 0.7) 100%), radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1), transparent 55%);
}
.pm-body { display: flex; flex-direction: column; gap: 18px; padding: 38px 36px; overflow-y: auto; }
.pm-chip {
  align-self: flex-start; padding: 6px 14px; border-radius: 50px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #00d4ff; border: 1px solid rgba(0, 212, 255, 0.35); background: rgba(0, 212, 255, 0.06);
}
.pm-title {
  font-family: 'Orbitron', var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ffffff, #8fd8ff, #c9a8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pm-year { margin-top: 6px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(200, 210, 230, 0.5); }
.pm-year:empty { display: none; }
.pm-desc { font-size: 14.5px; line-height: 1.75; color: rgba(214, 226, 244, 0.82); }
.pm-features:empty { display: none; }
.pcard-num .pcard-year { margin-left: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 4, 11, 0.5); color: var(--ink-2); }
.pcard-link { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--magenta); }
.pm-features { display: grid; gap: 8px; font-size: 14px; color: rgba(214, 226, 244, 0.82); }
.pm-features li { position: relative; padding-left: 24px; }
.pm-features li::before { content: ''; position: absolute; left: 0; top: 6px; width: 11px; height: 6px; border-left: 1.5px solid #00d4ff; border-bottom: 1.5px solid #00d4ff; transform: rotate(-45deg); }
.pm-tech-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pm-tech { padding: 5px 11px; border-radius: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(200, 218, 240, 0.85); border: 1px solid rgba(168, 85, 247, 0.3); background: rgba(168, 85, 247, 0.08); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 10px; }
.pm-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  font-family: 'Orbitron', var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.25s;
}
.pm-btn.primary { color: #02121a; background: linear-gradient(135deg, #00d4ff, #a855f7); box-shadow: 0 6px 24px rgba(0, 212, 255, 0.28); }
.pm-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 212, 255, 0.4); }
.pm-btn.ghost { color: #cfe6ff; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(0, 212, 255, 0.25); }
.pm-btn.ghost:hover { border-color: #a855f7; color: #e040fb; }
.pm-close {
  position: absolute; top: 14px; right: 16px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.7); font-size: 15px;
  transition: all 0.2s;
}
.pm-close:hover { background: rgba(0, 212, 255, 0.2); color: #00d4ff; }
.pm-corner { position: absolute; z-index: 4; width: 26px; height: 26px; pointer-events: none; }
.pm-corner.tl { top: 0; left: 0; border-top: 2px solid #00d4ff; border-left: 2px solid #00d4ff; border-radius: 4px 0 0 0; }
.pm-corner.br { bottom: 0; right: 0; border-bottom: 2px solid #a855f7; border-right: 2px solid #a855f7; border-radius: 0 0 4px 0; }
@media (max-width: 760px) {
  .pm-modal { padding: 12px; }
  .pm-card { grid-template-columns: 1fr; max-height: none; }
  .pm-media { min-height: 0; height: 46svh; border-right: none; border-bottom: 1px solid rgba(0, 212, 255, 0.15); }
  .pm-body { padding: 24px 22px 26px; }
  .pm-title { font-size: 23px; }
}

/* ---------- Biglietto da visita (stessa grafica di odyneai.com) ---------- */
.card-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 12px; overflow-y: auto;
  background: rgba(3, 5, 14, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transition: opacity 0.4s var(--ease-out);
}
.card-modal[hidden] { display: none; }
.card-modal.is-open { opacity: 1; }
.bcard {
  position: relative; overflow: hidden; margin: auto;
  width: 420px; max-width: 94vw; border-radius: 24px;
  background: linear-gradient(145deg, #0a0f1e 0%, #080c18 50%, #0e0818 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.08), 0 0 160px rgba(168, 85, 247, 0.06), 0 30px 60px rgba(0, 0, 0, 0.6);
  font-family: 'Rajdhani', 'Inter', sans-serif;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-modal.is-open .bcard { opacity: 1; transform: none; }
.bcard-blob { position: absolute; width: 220px; height: 220px; pointer-events: none; animation: bcardBlob 6s ease-in-out infinite; }
.bcard-blob-a { top: -60px; left: -60px; background: radial-gradient(circle, rgba(0, 212, 255, 0.07), transparent 70%); }
.bcard-blob-b { bottom: -60px; right: -60px; background: radial-gradient(circle, rgba(168, 85, 247, 0.07), transparent 70%); animation-delay: -3s; }
.bcard-scan { position: absolute; left: 0; right: 0; height: 2px; z-index: 10; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.18), transparent); animation: bcardScan 4s linear infinite; }
.bcard-corner { position: absolute; width: 32px; height: 32px; pointer-events: none; }
.bcard-corner.tl { top: 0; left: 0; border-top: 2px solid #00d4ff; border-left: 2px solid #00d4ff; border-radius: 4px 0 0 0; }
.bcard-corner.tr { top: 0; right: 0; border-top: 2px solid rgba(168, 85, 247, 0.5); border-right: 2px solid rgba(168, 85, 247, 0.5); border-radius: 0 4px 0 0; }
.bcard-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid rgba(168, 85, 247, 0.5); border-left: 2px solid rgba(168, 85, 247, 0.5); border-radius: 0 0 0 4px; }
.bcard-corner.br { bottom: 0; right: 0; border-bottom: 2px solid #a855f7; border-right: 2px solid #a855f7; border-radius: 0 0 4px 0; }
.bcard-close {
  position: absolute; top: 14px; right: 18px; z-index: 20;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5); font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.bcard-close:hover { background: rgba(0, 212, 255, 0.15); color: #00d4ff; }
.bcard-content { position: relative; z-index: 2; padding: 48px 32px 36px; text-align: center; }
.bcard-logo { width: 86px; height: 86px; object-fit: contain; margin: 0 auto 20px; animation: bcardLogo 4s ease-in-out infinite; }
.bcard-name {
  margin-bottom: 6px;
  font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(90deg, #00d4ff, #a855f7, #e040fb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bcard-role { margin-bottom: 28px; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(200, 210, 230, 0.6); }
.bcard-divider { height: 1px; margin-bottom: 26px; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), rgba(168, 85, 247, 0.25), transparent); }
.bcard-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; text-align: left; }
.bcard-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 10px; color: rgba(200, 218, 240, 0.85); transition: color 0.25s, background 0.25s; }
.bcard-item:hover { color: #00d4ff; background: rgba(0, 212, 255, 0.06); }
.bcard-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 212, 255, 0.35); border-radius: 8px; background: rgba(0, 212, 255, 0.05); color: #00d4ff; }
.bcard-item small { display: block; margin-bottom: 2px; font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0, 212, 255, 0.6); }
.bcard-item b { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; word-break: break-all; }
.bcard-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.bcard-social {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  font-family: 'Orbitron', sans-serif; font-size: 12px; letter-spacing: 0.14em; color: rgba(200, 218, 240, 0.8);
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.bcard-social:hover { border-color: #a855f7; box-shadow: 0 0 14px rgba(168, 85, 247, 0.4); color: #e040fb; }
.bcard-share { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.bcard-label { margin-bottom: 8px; font-family: 'Orbitron', sans-serif; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0, 212, 255, 0.5); }
.bcard-qr { display: inline-block; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 20px rgba(0, 212, 255, 0.15); }
.bcard-qr #cardQr { width: 120px; height: 120px; }
.bcard-qr canvas, .bcard-qr img { display: block; border-radius: 6px; }
.bcard-nfc {
  width: 88px; height: 88px; margin: 0 auto; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(168, 85, 247, 0.15));
  border: 2px solid rgba(0, 212, 255, 0.4); color: #00d4ff;
  animation: bcardNfc 1.5s ease-out infinite;
}
.bcard-nfc span { font-family: 'Orbitron', sans-serif; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0, 212, 255, 0.7); }
.bcard-status { margin-top: 6px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0, 212, 255, 0.4); }
.bcard-status.is-ok { color: #00d4ff; }
.bcard-save {
  width: 100%; padding: 15px; border-radius: 12px;
  background: linear-gradient(135deg, #00d4ff22, #a855f722);
  border: 1px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.12);
  font-family: 'Orbitron', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #e0eeff;
  transition: all 0.3s;
}
.bcard-save:hover { background: linear-gradient(135deg, #00d4ff, #a855f7); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 212, 255, 0.35); }
@keyframes bcardLogo { 0%, 100% { filter: drop-shadow(0 0 12px #00d4ff) drop-shadow(0 0 28px #a855f7); } 50% { filter: drop-shadow(0 0 22px #00d4ff) drop-shadow(0 0 50px #e040fb); } }
@keyframes bcardScan { 0% { top: -4px; } 100% { top: calc(100% + 4px); } }
@keyframes bcardNfc { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); } 70% { box-shadow: 0 0 0 14px rgba(0, 212, 255, 0); } }
@keyframes bcardBlob { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@media (max-width: 420px) {
  .bcard-content { padding: 44px 20px 28px; }
  .bcard-name { font-size: 17px; }
  .bcard-social { padding: 8px 10px; font-size: 11px; }
}

/* ---------- Banner cookie (come nel sito precedente) ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 220;
  max-width: 560px; margin: 0 auto; padding: 20px 22px;
  background: linear-gradient(150deg, #0a0f1e, #080c18);
  border: 1px solid rgba(0, 212, 255, 0.25); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.08);
  font-family: var(--font-mono); color: #dce6f4;
  transform: translateY(160%); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.show { transform: none; }
.cookie-banner .cb-title { margin-bottom: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #00d4ff; }
.cookie-banner p { margin-bottom: 14px; font-size: 12px; line-height: 1.6; color: rgba(220, 230, 244, 0.78); }
.cookie-banner a { color: #a78bfa; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner button { flex: 1; min-width: 130px; padding: 11px 16px; border-radius: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.2s; }
.cookie-banner .cb-accept { color: #02121a; background: linear-gradient(135deg, #00d4ff, #a855f7); }
.cookie-banner .cb-accept:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3); }
.cookie-banner .cb-reject { color: #cfe6ff; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(0, 212, 255, 0.25); }
.cookie-banner .cb-reject:hover { border-color: #a855f7; color: #e040fb; }

/* ---------- Adattamenti ---------- */
@media (max-height: 820px) and (min-width: 900px) {
  .title { font-size: clamp(34px, 3.8vw, 58px); margin-top: 16px; }
  h1.title { font-size: clamp(40px, 5.2vw, 82px); }
  .title-xl { font-size: clamp(40px, 6vw, 92px); }
  .lead { margin-top: 16px; font-size: 15px; }
  .actions { margin-top: 24px; }
  .meta-row { margin-top: 24px; }
  .steps { margin-top: 18px; }
  .steps li { padding: 9px 0; }
  .call-card, .hash-card, .feature-grid, .flow-line { margin-top: 16px; }
  .call-body { min-height: 100px; }
  .ticks { margin-top: 14px; gap: 6px; font-size: 13.5px; }
  .hud { display: none; }
}
@media (max-width: 1180px) {
  .scene-nav { display: none; }
  .scene-dots { display: flex; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 10px; }
  .scene-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); transition: background 0.4s, transform 0.4s; }
  .scene-dots button.is-active { background: var(--cyan); transform: scale(1.5); box-shadow: 0 0 10px var(--cyan); }
  .main-nav { gap: 20px; }
  .scene-inner { width: min(560px, 50vw); }
}
@media (max-width: 899px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 15px; }
  .veil-left { display: none; }
  .veil-bottom { height: 72%; background: linear-gradient(0deg, rgba(5, 4, 11, 0.97) 0%, rgba(5, 4, 11, 0.82) 45%, rgba(5, 4, 11, 0) 100%); }
  .scene { align-items: flex-end; }
  .scene-inner { width: 100%; margin: 0; padding: 0 20px 64px; }
  .scene.is-center { align-items: flex-end; }
  .scene.is-center .scene-inner { width: 100%; padding: 0 20px 72px; }
  .title { font-size: clamp(32px, 9vw, 46px); margin-top: 14px; }
  h1.title { font-size: clamp(38px, 11vw, 56px); }
  .title-xl { font-size: clamp(40px, 12vw, 60px); }
  .lead { margin-top: 12px; font-size: 14.5px; }
  .actions { margin-top: 20px; }
  .btn { min-height: 46px; padding: 0 20px; font-size: 13.5px; }
  .meta-row { margin-top: 20px; gap: 16px; font-size: 12px; }
  .meta-row b { font-size: 15px; }
  .steps { margin-top: 14px; gap: 0; }
  .steps li { padding: 8px 0; grid-template-columns: 34px 1fr; }
  .steps b { font-size: 16px; }
  .steps p { font-size: 13px; }
  .ticks { display: none; }
  .chips { margin-top: 14px; }
  .call-card { margin-top: 14px; padding: 12px 14px; }
  .call-body { min-height: 92px; font-size: 12.5px; }
  .feature-grid { margin-top: 14px; gap: 8px; }
  .feature-grid > div { padding: 10px 12px; }
  .feature-grid b { font-size: 13.5px; }
  .feature-grid span { font-size: 11.5px; }
  .small-note { display: none; }
  .flow-line { margin-top: 14px; font-size: 10.5px; gap: 6px; }
  .flow-line i { width: 10px; }
  .hash-card { margin-top: 14px; }
  .link-arrow { margin-top: 16px; }
  .hud, .scroll-cue span { display: none; }
  .scroll-cue { bottom: 14px; }
  .scene-dots { right: 10px; top: 96px; transform: none; }
  .projects-head { padding: 0 20px; }
  .glide-pin { padding: 90px 0 50px; }
  .glide-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .glide-viewport::-webkit-scrollbar { display: none; }
  .glide-track { padding: 10px 20px; gap: 16px; }
  .pcard { width: 80vw; scroll-snap-align: center; }
  .pcard-media { height: 62svh; }
  .glide-progress { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 20px 14px; }
  .stats-grid > div:nth-child(3) { border-left: 0; }
  .method-grid, .faq-grid { grid-template-columns: 1fr; }
  .method-aside .sticky { position: static; }
  .method-steps li { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; }
  .closing-inner { padding: 100px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .split .w > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
