/* =========================================================
   Remote Marketing Studios — Sito 2026 "Space Center"
   Direzione: archivio fotografico del programma spaziale +
   tavole tecniche. Nero spazio, bianco, linee sottili, etichette
   da centro di controllo; i gradienti del brand solo come luce.
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg-2: #0c0e12;
  --bg-3: #13161c;
  --ink: #f3f4f6;
  --ink-2: rgba(243, 244, 246, .68);
  --ink-3: rgba(243, 244, 246, .42);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .22);

  --paper: #ecebe6;
  --paper-2: #e1dfd8;
  --paper-ink: #0a0b0d;
  --paper-ink-2: rgba(10, 11, 13, .62);
  --paper-line: rgba(10, 11, 13, .14);

  /* palette Light Rebrand */
  --blue: #0c60ee;
  --teal: #0ca19a;
  --blue-2: #357ff5;
  --magenta: #d94ccd;
  --blue-3: #3e86f0;
  --green: #6ced72;
  --star: #f5c451;
  --g-1: linear-gradient(90deg, var(--blue), var(--teal));
  --g-2: linear-gradient(90deg, var(--blue-2), var(--magenta));
  --g-3: linear-gradient(90deg, var(--green), var(--blue-3));
  --no: #ff5a4e;

  --f-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: #ffffff; color: #07080a; }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- sfondo: canvas spazio + grana ---------- */
.space-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

main, .footer { position: relative; z-index: 2; }

/* ---------- cursore a puntino (solo mouse) ---------- */
.has-cursor, .has-cursor * { cursor: none; }
.has-cursor input, .has-cursor select, .has-cursor textarea { cursor: auto; }
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease); }
.cursor.is-hover .cursor__dot { transform: scale(3.4); }
.cursor.is-down .cursor__dot { transform: scale(.7); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-items: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center;
}
.preloader__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.preloader__top { color: var(--ink-3); }
.preloader__count { font-family: var(--f-display); font-weight: 300; font-size: clamp(88px, 18vw, 220px); letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.preloader__t { color: var(--ink-3); }
.preloader__bar { width: min(320px, 70vw); height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.preloader__status { color: var(--ink-2); }
.no-preload .preloader { display: none; }

/* ---------- bottoni e link ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: 0; cursor: pointer;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #d9dde3; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 500 14px/1 var(--f-body); color: var(--ink);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link:hover { gap: 14px; background-size: 30% 1px; }

.tag {
  display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start;
  font: 600 13px/1 var(--f-body); letter-spacing: .02em;
  padding: 9px 14px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(7, 8, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .5s var(--ease), transform .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 8, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .3s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__met { display: flex; gap: 8px; color: var(--ink-3); padding-left: 22px; border-left: 1px solid var(--line); }
.nav__met b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- altimetro ---------- */
.altimeter { position: fixed; z-index: 60; right: calc(var(--gutter) * .45); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 12px; pointer-events: none; }
.altimeter__track { width: 1px; height: 180px; background: var(--line-2); position: relative; }
.altimeter__track::before, .altimeter__track::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: var(--ink-3); }
.altimeter__track::before { top: 0; }
.altimeter__track::after { bottom: 0; }
.altimeter__fill { position: absolute; left: 0; bottom: 0; width: 1px; height: 100%; background: var(--ink); transform-origin: bottom; transform: scaleY(0); }
.altimeter__val { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--ink-3); font-size: 10px; font-variant-numeric: tabular-nums; }

/* ---------- elementi comuni di sezione ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.shead { display: grid; gap: 22px; max-width: 880px; margin-bottom: clamp(48px, 7vw, 96px); }
.shead--wide { max-width: 1040px; }
.shead--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.shead--row > div:first-child { display: grid; gap: 22px; }
.shead__idx { color: var(--ink-3); display: inline-flex; align-items: center; gap: 12px; }
.shead__idx::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.shead__title { font-size: clamp(40px, 6.2vw, 92px); }

.shead__lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 760px; }
.eyebrow { color: var(--ink-2); display: inline-flex; gap: 12px; align-items: center; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px rgba(255,255,255,.6); }
.section::before, .section::after { content: "+"; position: absolute; top: 28px; font: 300 18px/1 var(--f-mono); color: var(--ink-3); }
.section::before { left: var(--gutter); }
.section::after { right: var(--gutter); }

/* ---------- 01 HERO: dalla sede alla Luna ---------- */
.hero { position: relative; }
.hero__pin { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 10px) 0 28px; overflow: hidden; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,8,10,.86) 0%, rgba(7,8,10,.5) 36%, rgba(7,8,10,0) 62%); }
.hero__hud { position: relative; display: flex; justify-content: space-between; padding: 0 var(--gutter); color: var(--ink-3); }
.hero__content { position: relative; align-self: center; display: grid; gap: 30px; padding-top: 2vh; padding-bottom: 10vh; will-change: transform, opacity; }
.hero__title { font-size: clamp(54px, 9.4vw, 156px); font-weight: 700; letter-spacing: -.055em; line-height: .92; display: grid; gap: .08em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__line-in { display: block; will-change: transform; }
.hero__line--sub { font-size: .36em; font-weight: 400; letter-spacing: -.03em; color: var(--ink-2); line-height: 1.1; }
.hero__copy { display: grid; gap: 12px; max-width: 560px; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); }
.hero__arrive { position: absolute; left: 0; right: 0; bottom: 92px; margin: 0 auto; display: flex; justify-content: center; opacity: 0; visibility: hidden; }
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); color: var(--ink-3); }
.hero__tele { display: inline-flex; gap: 22px; font-variant-numeric: tabular-nums; }
.hero__tele span:last-child { color: var(--ink); }
.hero__tag { position: absolute; left: 0; top: 0; z-index: 1; translate: 14px -50%; display: inline-flex; align-items: center; gap: 10px; padding: 7px 11px 7px 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(7,8,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); white-space: nowrap; opacity: 0; pointer-events: none; }
.hero__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px #fff; }
.hero__tag--moon { translate: -50% -100%; }
.hero__tag.is-left { translate: calc(-100% - 14px) -50%; }
.scrollcue { display: inline-flex; align-items: center; gap: 12px; }
.scrollcue i { width: 1px; height: 34px; background: var(--line-2); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.char { display: inline-block; }
.word { display: inline-block; white-space: nowrap; }

/* ---------- 02 PERCHÉ: righe editoriali con foto ---------- */
.adv { border-top: 1px solid var(--line); }
.adv__row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(260px, 34vw); gap: 0 clamp(20px, 3vw, 48px); align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.adv__n { color: var(--ink-3); align-self: start; padding-top: .9em; }
.adv__t { font-size: clamp(30px, 4vw, 62px); font-weight: 400; letter-spacing: -.04em; line-height: 1.04; }
.adv__t strong { font-weight: 700; }
.adv__img { margin: 0; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.adv__img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.why__cta { margin-top: 56px; }

/* ---------- 03 PER CHI: orbita di card fotografiche ---------- */
.forwho { position: relative; }
.forwho__pin { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 20px) 0 40px; overflow: hidden; }
.forwho__layout { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.forwho__intro { display: grid; gap: 22px; }
.forwho__intro .shead__title { font-size: clamp(40px, 5.2vw, 80px); }
.forwho__intro p { color: var(--ink-2); max-width: 520px; }
.forwho__index { display: grid; gap: 4px; margin-top: 8px; }
.forwho__index li { color: var(--ink-3); padding: 9px 0; border-bottom: 1px solid var(--line); transition: color .4s, padding .4s var(--ease); }
.forwho__index li.is-active { color: var(--ink); padding-left: 14px; }
.orbit { position: relative; height: min(76vh, 680px); perspective: 1700px; perspective-origin: 50% 40%; }
.orbit__path { position: absolute; left: 50%; top: 62%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(78deg); border: 1px dashed var(--line-2); border-radius: 50%; }
.orbit__ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.ocard {
  position: absolute; left: 50%; top: 50%; width: min(400px, 80%); aspect-ratio: 4 / 5; transform-origin: 50% 50%;
  transform: translate(-50%, -50%);
  display: grid; align-content: end; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.ocard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.ocard:hover .ocard__img { transform: scale(1.1); }
.ocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,8,.94) 0%, rgba(5,6,8,.55) 42%, rgba(5,6,8,0) 70%); pointer-events: none; }
.ocard__body { position: relative; z-index: 1; display: grid; gap: 14px; padding: 22px 24px 26px; }
.ocard__top { position: absolute; z-index: 1; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.75); }

.ocard p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.35; }
.orbit--static { height: auto; perspective: none; }
.orbit--static .orbit__path { display: none; }
.orbit--static .orbit__ring { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.orbit--static .ocard { position: relative; left: auto; top: auto; width: 100%; transform: none; opacity: 1; }

/* ---------- 04 TOUR UFFICIO ---------- */
.tour { position: relative; background: transparent; z-index: 3; }
.tour__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #07080a; }
.tour__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tour__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,6,8,.72) 0%, rgba(5,6,8,.3) 34%, rgba(5,6,8,0) 58%), linear-gradient(0deg, rgba(5,6,8,.5), rgba(5,6,8,0) 30%); }
.tour__fade { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.tour__hud { position: absolute; inset: 0; pointer-events: none; padding: calc(var(--nav-h) + 6px) var(--gutter) 30px; display: grid; grid-template-rows: auto 1fr auto auto; }
.tour__top { display: flex; justify-content: space-between; color: rgba(255,255,255,.7); }
.tour__captions { position: relative; align-self: end; margin-bottom: 34px; min-height: 40vh; }
.cap { position: absolute; left: 0; bottom: 0; max-width: min(760px, 88vw); opacity: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.04; letter-spacing: -.04em; text-shadow: 0 2px 30px rgba(0,0,0,.45); will-change: transform, opacity; text-wrap: balance; }

.cap--intro { display: grid; gap: 18px; }
.cap__kicker { color: var(--ink-2); font-size: 12px; }
.cap__title { font-size: clamp(40px, 6.2vw, 100px); letter-spacing: -.05em; }
.cap--end { font-size: 12px; font-family: var(--f-mono); color: var(--ink); letter-spacing: .1em; }
.tour__rail { display: flex; gap: 6px; flex-wrap: wrap; color: rgba(255,255,255,.5); }
.tour__rail li { padding: 7px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; transition: all .4s var(--ease); background: rgba(7,8,10,.3); backdrop-filter: blur(6px); }
.tour__rail li.is-active { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.tour__progress { margin-top: 14px; height: 1px; background: rgba(255,255,255,.18); }
.tour__progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.tour__labels { position: absolute; inset: 0; pointer-events: none; }
.tlabel { position: absolute; left: 0; top: 0; translate: -50% -100%; display: inline-flex; align-items: stretch; white-space: nowrap; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; overflow: hidden; background: rgba(7,8,10,.72); backdrop-filter: blur(6px); }
.tlabel b { font-weight: 500; padding: 7px 8px; background: var(--ink); color: var(--bg); }
.tlabel span { padding: 7px 10px; }
.tgrid { position: absolute; left: 0; top: 0; translate: -50% -50%; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font: 500 9px/1 var(--f-mono); color: rgba(255,255,255,.75); background: rgba(7,8,10,.6); }
.tour__fallback { display: none; }
.tour--fallback .tour__pin { height: auto; }
.tour--fallback .tour__canvas, .tour--fallback .tour__shade, .tour--fallback .tour__fade, .tour--fallback .tour__hud, .tour--fallback .tour__labels { display: none; }
.tour--fallback { background: var(--bg); }
.tour--fallback .tour__fallback { display: block; padding: clamp(96px, 12vw, 160px) 0; }
.tour__fallback .shead__title { margin: 20px 0; }
.tour__fallback-copy { color: var(--ink-2); max-width: 760px; font-size: 19px; margin-bottom: 40px; }
.tour__photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tour__photos figure { margin: 0; grid-column: span 2; position: relative; border-radius: 14px; overflow: hidden; }
.tour__photos figure:nth-child(1), .tour__photos figure:nth-child(2) { grid-column: span 3; }
.tour__photos img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tour__photos figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgba(7,8,10,.75); border-radius: 4px; }

/* ---------- 04b SERVIZI: galleria orizzontale ---------- */
.services { position: relative; z-index: 2; background: var(--bg); }
.services__pin { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 30px) 0 34px; overflow: hidden; }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.services__head .shead { margin-bottom: 0; }
.services__head .shead__title { font-size: clamp(36px, 4.8vw, 72px); }
.services__count { color: var(--ink-3); padding-bottom: 10px; }
.services__count b { color: var(--ink); font-weight: 400; }
.services__viewport { display: flex; align-items: center; perspective: 1600px; padding: 4vh 0; }
.services__track { display: flex; gap: 22px; padding: 0 var(--gutter); transform-style: preserve-3d; will-change: transform; }
.scard {
  position: relative; flex: none; width: clamp(300px, 30vw, 440px); height: min(64vh, 600px); border-radius: 22px; overflow: hidden;
  display: grid; align-content: end; background: var(--bg-2); border: 1px solid var(--line);
  transform-style: preserve-3d; will-change: transform;
}
.scard__media { position: absolute; inset: 0; overflow: hidden; }
.scard__media img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; max-width: none; object-fit: cover; will-change: transform; }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,8,.95) 0%, rgba(5,6,8,.6) 36%, rgba(5,6,8,0) 62%); pointer-events: none; }
.scard__body { position: relative; z-index: 1; display: grid; gap: 12px; padding: 26px; }
.scard__code { color: rgba(255,255,255,.6); }
.scard h3 { font-size: clamp(26px, 2.2vw, 34px); }
.scard ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.scard li { font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(7,8,10,.35); backdrop-filter: blur(6px); }
.scard--cta { align-content: center; justify-items: start; gap: 18px; padding: 34px; background: linear-gradient(160deg, #10141b, #0a0c10); border-color: var(--line-2); }
.scard--cta::after { display: none; }
.scard__cta-t { font: 600 clamp(28px, 2.6vw, 40px)/1.05 var(--f-display); letter-spacing: -.04em; }
.scard--cta p:not(.scard__cta-t) { color: var(--ink-2); }
.services__bar { height: 1px; }
.services__bar::before { content: ""; display: block; height: 1px; background: var(--line); }
.services__bar i { display: block; height: 1px; margin-top: -1px; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- 05 GO / NO GO ---------- */
.compare { position: relative; z-index: 2; background: var(--paper); color: var(--paper-ink); padding: clamp(96px, 13vw, 170px) 0; border-radius: 28px 28px 0 0; }
.compare .shead__idx { color: var(--paper-ink-2); }
.compare .shead__lead { color: var(--paper-ink-2); }
.shead--paper .shead__title { color: var(--paper-ink); }
.poll { border-top: 2px solid var(--paper-ink); }
.poll__head, .poll__row { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 24px; align-items: center; }
.poll__head { padding: 14px 0; color: var(--paper-ink-2); border-bottom: 1px solid var(--paper-line); }
.poll__head span:last-child { text-align: right; }
.poll__statushead { text-align: center; }
.poll__row { padding: 18px 0; border-bottom: 1px solid var(--paper-line); font-size: clamp(16px, 1.45vw, 21px); }
.poll__no { color: var(--paper-ink-2); position: relative; justify-self: start; }
.poll__no { text-decoration-line: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(10,11,13,0); transition: text-decoration-color .6s var(--ease); }
.poll__row.is-polled .poll__no { text-decoration-color: var(--paper-ink); }
.poll__go { text-align: right; font-weight: 600; }
.poll__st { display: flex; justify-content: center; gap: 6px; }
.st { font: 500 10px/1 var(--f-mono); letter-spacing: .08em; padding: 7px 8px; border-radius: 4px; border: 1px solid var(--paper-line); color: rgba(10,11,13,.3); min-width: 56px; text-align: center; transition: all .35s var(--ease); }
.poll__row.is-polled .st--no { color: var(--paper-ink-2); background: transparent; border-color: var(--paper-ink-2); text-decoration: line-through; }
.poll__row.is-polled .st--go { color: var(--paper); background: var(--paper-ink); border-color: var(--paper-ink); }
.poll__final { margin-top: 28px; text-align: center; font-size: 13px; color: var(--paper-ink-2); }
.poll__final b { color: var(--paper); background: var(--paper-ink); padding: 4px 10px; border-radius: 4px; font-weight: 500; }
.compare__note { margin-top: 44px; max-width: 760px; color: var(--paper-ink-2); display: grid; gap: 10px; }
.compare__note .mono { color: var(--paper-ink); }

/* ---------- PARTNER ---------- */
.partners { position: relative; z-index: 2; background: var(--paper-2); color: var(--paper-ink); padding: 36px 0 44px; }
.partners__in { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: space-between; }
.partners__label { color: var(--paper-ink-2); }
.partners__list { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 54px); flex-wrap: wrap; }
.partners__list li { transition: transform .4s var(--ease), opacity .4s; opacity: .78; }
.partners__list li:hover { transform: translateY(-3px); opacity: 1; }
.partners__list img { height: 34px; width: auto; }
.partners__badge img { height: 52px; }

/* ---------- 06 MISSIONI ---------- */
.missions { z-index: 2; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.stat { display: grid; gap: 8px; padding: 34px 0 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-family: var(--f-display); font-weight: 300; font-size: clamp(64px, 9vw, 150px); letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat__l { color: var(--ink-3); }
.missions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcard { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); transition: border-color .4s, transform .5s var(--ease); }
.mcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--ink-3); margin-bottom: 8px; }
.mcard__plot { width: 100%; height: 120px; margin-bottom: 10px; }
.mcard__plot .grid { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.mcard__plot .traj { stroke: var(--ink); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.mcard__feed { height: 120px; margin-bottom: 10px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; align-items: end; }
.mcard__feed i { display: block; height: 100%; border-radius: 6px; background: var(--ink); opacity: .2; transform-origin: bottom; }
.mcard__metric { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4vw, 60px); letter-spacing: -.05em; line-height: 1; }
.mcard__metric--txt { font-size: clamp(32px, 3.2vw, 46px); }
.mcard h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 8px; }
.mcard p { color: var(--ink-2); margin-bottom: 14px; }
.mcard .link { justify-self: start; }
.clients { margin-top: 80px; display: grid; gap: 22px; }
.clients__label { color: var(--ink-3); }
.clients__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__row { display: flex; gap: 14px; width: max-content; }
.clients__slot { display: grid; place-items: center; width: 190px; height: 84px; border: 1px dashed var(--line-2); border-radius: 12px; font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.missions__cta { margin-top: 90px; display: grid; justify-items: center; gap: 26px; text-align: center; }
.missions__q { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.04em; }

/* ---------- 07 RECENSIONI ---------- */
.reviews { z-index: 2; background: var(--bg); padding-top: 0; }
.reviews::before, .reviews::after { display: none; }
.rating { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 12px; align-items: center; }
.rating__n { grid-row: span 2; font: 300 clamp(64px, 7vw, 104px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rating__meta { display: grid; gap: 6px; }
.rating__c { color: var(--ink-3); }
.rating .link { grid-column: 2; justify-self: start; }
.stars { color: var(--ink); letter-spacing: .12em; font-size: 16px; }
.stars--ghost { color: rgba(255,255,255,.3); font-size: 22px; }
.reviews__track { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__row { display: flex; gap: 16px; width: max-content; padding-left: 16px; }
.rcard { flex: none; width: clamp(280px, 30vw, 420px); display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rcard__who { display: flex; align-items: center; gap: 12px; }
.rcard__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); font: 600 14px var(--f-display); color: var(--ink); }
.rcard__name { font-weight: 600; font-size: 15px; }
.rcard__when { color: var(--ink-3); }
.rcard p { color: var(--ink-2); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__g { color: var(--ink-3); }
.reviews__empty { display: grid; gap: 12px; justify-items: start; padding: 34px; border: 1px dashed var(--line-2); border-radius: 22px; color: var(--ink-2); }

/* ---------- 08 LOGBOOK ---------- */
.logbook { z-index: 2; background: var(--bg); padding-top: 40px; }
.logbook__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.entry { display: grid; gap: 30px; align-content: space-between; min-height: 280px; padding: 28px 28px 30px 0; text-decoration: none; border-right: 1px solid var(--line); transition: background .4s; position: relative; }
.entry + .entry { padding-left: 28px; }
.entry:last-child { border-right: 0; }
.entry::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.entry:hover::after { transform: scaleX(1); }
.entry__meta { display: flex; justify-content: space-between; color: var(--ink-3); }
.entry h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.entry__go { color: var(--ink-2); transition: color .3s; }
.entry:hover .entry__go { color: var(--ink); }

/* ---------- CONTATTO ---------- */
.contact { position: relative; z-index: 2; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; background: var(--bg); border-top: 1px solid var(--line); isolation: isolate; }
.contact__media { position: absolute; inset: 0; z-index: -1; }
.contact__media img { position: absolute; left: 0; bottom: 0; width: 100%; height: 115%; object-fit: cover; object-position: 50% 100%; will-change: transform; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,8,10,.55) 45%, rgba(7,8,10,.2) 100%); }
.contact__layout { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact__intro { display: grid; gap: 24px; }
.contact__title { font-size: clamp(54px, 8vw, 128px); letter-spacing: -.055em; }
.contact__intro p { color: var(--ink-2); font-size: 19px; max-width: 480px; }
.contact__facts { display: grid; gap: 0; margin-top: 10px; border-top: 1px solid var(--line); }
.contact__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__facts span { color: var(--ink-3); }
.contact__facts a { text-decoration: none; }
.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: rgba(12,14,18,.72); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--ink); font: 400 16px var(--f-body); transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-3); background: rgba(62,134,240,.06); }
.field.is-invalid input { border-color: var(--no); }
.check { display: flex; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); margin: 4px 0; }
.check input { margin-top: 3px; accent-color: #ffffff; width: 16px; height: 16px; flex: none; }
.check.is-invalid { color: var(--no); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn--launch { justify-self: start; --h: 60px; padding-left: 10px; }
.btn__count { display: grid; place-items: center; height: 40px; min-width: 56px; padding: 0 10px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 11px; }
.btn--launch.is-launching .btn__count { background: var(--bg); color: var(--ink); }
.form__msg { min-height: 16px; color: var(--ink); }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 18px; max-width: 320px; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { color: var(--ink-3); line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(28px, 5vw, 80px); line-height: 2; }
.footer__cols p { color: var(--ink-2); }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--ink); }
.footer__h { display: block; color: var(--ink-3); margin-bottom: 10px; }
.footer__legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 10px; }
.footer__legal a { text-decoration: none; }

/* ---------- stati iniziali animazioni (solo con JS attivo) ---------- */
.js [data-reveal] { opacity: 0; }
.js.reduced [data-reveal] { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__met { margin-left: auto; }
  .nav__burger { display: block; }
  .nav-open .nav__links { display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px; background: rgba(7,8,10,.96); border-bottom: 1px solid var(--line); }
  .nav-open .nav__links a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--f-display); }
  .forwho__layout { grid-template-columns: 1fr; }
  .hero__tag.is-left { visibility: hidden; }
  .contact__layout { grid-template-columns: 1fr; }
  .form { max-width: 680px; }
  .forwho__index { display: none; }
  .orbit { height: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --nav-h: 66px; }
  .nav { gap: 12px; }
  .nav__logo img { height: 36px; }
  .nav__met, .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hide-sm { display: none; }
  .altimeter { display: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(7,8,10,.2) 0%, rgba(7,8,10,.72) 55%, rgba(7,8,10,.9) 100%); }
  .hero__content { align-self: end; padding-bottom: 4vh; }
  .hero__tele span:first-child { display: none; }
  .adv__row { grid-template-columns: 40px minmax(0, 1fr); gap: 14px 12px; }
  .adv__img { grid-column: 1 / -1; }
  .forwho__pin { min-height: 0; padding: 96px 0 40px; }
  .orbit--static .orbit__ring { grid-template-columns: 1fr; }
  .services__pin { min-height: 0; padding: 96px 0 40px; }
  .services__count { display: none; }
  .services__track { flex-direction: column; gap: 14px; }
  .scard { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .scard--cta { aspect-ratio: auto; }
  .services__bar { display: none; }
  .poll__head, .poll__row { grid-template-columns: 1fr; gap: 8px; }
  .poll__head { display: none; }
  .poll__go { text-align: left; }
  .poll__st { justify-content: flex-start; order: 3; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .missions__grid, .logbook__grid { grid-template-columns: 1fr; }
  .entry, .entry + .entry { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .contact__layout { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .tour__photos { grid-template-columns: 1fr; }
  .tour__photos figure, .tour__photos figure:nth-child(1), .tour__photos figure:nth-child(2) { grid-column: auto; }
  .tour__shade { background: linear-gradient(0deg, rgba(5,6,8,.85) 0%, rgba(5,6,8,.4) 45%, rgba(5,6,8,0) 70%); }
  .cap { font-size: clamp(26px, 7.4vw, 40px); }
  .tour__rail { display: none; }
  .tour__top span:first-child { display: none; }
  .tour__top { justify-content: flex-end; }
  .tlabel { font-size: 8px; }
  .tlabel b, .tlabel span { padding: 5px 6px; }
  .tgrid { display: none; }
  .partners__in { justify-content: flex-start; }
  .rating__n { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .scrollcue i::after { animation: none; }
  .btn, .btn::before, .link, .mcard, .ocard__img, .cursor__dot { transition: none; }
}
