/* Astolf Networks — sito v2 (statico). Nero, oro #E8B84B, Sora / DM Sans / IBM Plex Mono. */

:root {
  --gold: #E8B84B;
  --gold-hi: #F3CD72;
  --gold-dim: #B8913A;
  --gold-a10: rgba(232, 184, 75, .10);
  --gold-a20: rgba(232, 184, 75, .20);
  --gold-a35: rgba(232, 184, 75, .35);

  --bg: #080808;
  --bg2: #0E0E0E;
  --bg3: #141414;
  --bg4: #1A1A1A;

  --line: #1E1E1E;
  --line-hi: #2C2C2C;

  --text: #F5F5F5;
  --text-2: #B4B4B4;
  --text-3: #8A8A8A;

  --green: #4ADE80;

  --f-title: 'Sora', system-ui, sans-serif;
  --f-sans: 'DM Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── bottoni ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-gold { background: var(--gold); color: #0A0A0A; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 24px -10px rgba(232,184,75,.55); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 12px 30px -10px rgba(232,184,75,.7); }
.btn-ghost { background: rgba(255,255,255,.02); border-color: var(--line-hi); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-a35); background: var(--gold-a10); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ── header ──────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.scrolled, .hdr.open { background: rgba(8,8,8,.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-title); font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.brand img { width: 34px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-cta { margin-left: 6px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-hi); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(68px + clamp(26px, 4.5vw, 64px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232,184,75,.16), transparent 70%),
    radial-gradient(40% 30% at 85% 30%, rgba(232,184,75,.05), transparent 70%);
}
.hero-bg::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
}
.hero-bg::after { content: ''; position: absolute; left: 50%; top: 0; width: min(900px, 90vw); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-a35), transparent); }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--gold-a20); background: rgba(232,184,75,.06);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,184,75,.55); } 70% { box-shadow: 0 0 0 8px rgba(232,184,75,0); } 100% { box-shadow: 0 0 0 0 rgba(232,184,75,0); } }
h1, h2, h3 { font-family: var(--f-title); letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
h1 { font-size: clamp(42px, 8vw, 92px); font-weight: 800; margin: 28px 0 0; letter-spacing: -.045em; line-height: 1.0; }
.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-dim)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; margin-top: 26px; font-size: clamp(17px, 2vw, 19px); color: var(--text-2); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.proto { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 860px; margin-top: clamp(60px, 8vw, 92px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(14,14,14,.6); overflow: hidden; }
.proto li { padding: 22px 18px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.proto li + li { border-left: 1px solid var(--line); }
.proto b { font-family: var(--f-title); font-size: 20px; letter-spacing: -.02em; }
.proto span { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: .02em; }

/* globo della hero (assets/js/globe.js) */
.hero-copy { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.hero-globe { position: relative; width: min(84vw, 340px); aspect-ratio: 1; margin: 6px auto -18px; pointer-events: none; }
.hero-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease);
  will-change: transform; }   /* livello proprio: lo sfondo della hero non si ridisegna a ogni fotogramma (misurato: -40% di lavoro senza GPU) */
.hero-globe canvas.on { opacity: 1; }
/* alone e sfera (fissi, nel CSS: il canvas disegna solo ciò che si muove). Raggio del globo = 40% del lato → cerchio all'80%. */
.hero-globe::before { content: ''; position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 30%, rgba(232,184,75,.11), rgba(20,16,8,.55) 45%, rgba(8,8,8,.94) 100%);
  border: 1px solid rgba(232,184,75,.26);
  box-shadow: 0 0 0 1px rgba(232,184,75,.04), 0 0 80px 6px rgba(232,184,75,.10), inset 0 0 60px rgba(232,184,75,.05); }
@media (min-width: 1000px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; text-align: left; column-gap: 0; }
  .hero-copy { align-items: flex-start; padding-top: clamp(8px, 3vh, 44px); }
  .hero-copy h1 { font-size: clamp(56px, 5.6vw, 86px); margin-top: 24px; white-space: nowrap; }
  .hero-copy .lead { margin-top: 22px; max-width: 540px; }
  .hero-cta { justify-content: flex-start; margin-top: 32px; }
  .hero-globe { width: calc(100% + 40px); max-width: 540px; margin: -78px -60px -40px 0; justify-self: end; align-self: start; }
  .hero-in .proto { grid-column: 1 / -1; justify-self: center; margin-top: clamp(28px, 4vw, 56px); }
}

/* ── sezioni ─────────────────────────────────────────────── */
.sec { padding: var(--sec-y) 0; border-top: 1px solid var(--line); position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--bg2), var(--bg) 85%); }
.sec-head { max-width: 700px; margin-bottom: clamp(40px, 6vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
h2 { font-size: clamp(34px, 5vw, 56px); }
.sub { margin-top: 18px; color: var(--text-2); font-size: 17px; max-width: 560px; }

.card { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(232,184,75,.28), transparent 40%); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::before { opacity: 1; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg) translate(1px, -3px); }
.ticks.small li { font-size: 14.5px; }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--gold); font-weight: 600; font-size: 15px; }
.link span { transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(3px); }

/* servizi */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-a10); border: 1px solid var(--gold-a20); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); }
.svc h3 { font-size: 24px; }
.svc > p { color: var(--text-2); }
.svc .link { margin-top: auto; padding-top: 6px; }

/* prodotti */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.prod { padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.prod-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.badge-live { color: var(--green); background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); }
.badge-live .dot { animation-name: pulse-g; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.badge-early { color: var(--gold); background: var(--gold-a10); border: 1px solid var(--gold-a20); }
.kind { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); letter-spacing: .04em; }
.prod h3 { font-size: clamp(28px, 3.2vw, 36px); }
.prod-lead { color: var(--text-2); font-size: 16.5px; }
.price { font-family: var(--f-title); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--text); }
.price span { font-family: var(--f-sans); font-weight: 400; font-size: 14.5px; color: var(--text-3); letter-spacing: 0; }
.prod-cta { display: flex; flex-wrap: wrap; gap: 10px; }

.mock { margin-top: auto; border: 1px solid var(--line-hi); border-radius: var(--r-md); background: #0B0B0B; overflow: hidden; font-family: var(--f-mono); font-size: 12.5px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg3); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2C2C2C; }
.mock-bar i:first-child { background: #3A2A10; }
.mock-bar span { margin-left: 8px; color: var(--text-3); font-size: 11px; letter-spacing: .06em; }
.inbox .msg { padding: 13px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.inbox .msg:last-child { border-bottom: 0; }
.msg-top { display: flex; align-items: center; gap: 8px; }
.tag { padding: 2px 7px; border-radius: 5px; background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.2); color: #8FE3AE; font-size: 11px; white-space: nowrap; }
.cc { color: var(--text-2); font-size: 11px; }
.msg-top .t { margin-left: auto; color: var(--text-3); font-size: 11px; }
.msg p { color: var(--text); font-size: 12.5px; }
.msg mark { white-space: nowrap; background: var(--gold-a20); color: var(--gold-hi); padding: 0 4px; border-radius: 4px; }
.msg-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11px; }
.sid { color: var(--text-3); }
.ok { color: var(--green); }
.msg.wait p { color: var(--text-3); }
.dots i { font-style: normal; animation: blink 1.4s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .15; } 40% { opacity: 1; } }
.code pre { padding: 16px; color: var(--text-2); line-height: 1.7; white-space: pre; overflow-x: auto; font-size: 12px; }
.code .c { color: var(--text-3); }
.code .k { color: var(--gold); }
.code .s { color: #8FE3AE; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-body > p { color: var(--text-2); font-size: 17px; }
.about-body > p + p { margin-top: 16px; }
.facts { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.facts > div { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.facts dd { font-size: 15px; color: var(--text); }

/* contatti */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.mail { display: inline-block; margin: 28px 0 28px; font-family: var(--f-title); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--gold);
  border-bottom: 1px solid var(--gold-a35); padding-bottom: 2px; transition: border-color .2s; }
.mail:hover { border-color: var(--gold); }
.form { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.form:hover::before { opacity: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld > span:first-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fld input, .fld select, .fld textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-hi); border-radius: 10px; padding: 13px 14px; font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.fld textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.fld input::placeholder, .fld textarea::placeholder { color: #5E5E5E; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-a10); }
.fld .invalid { border-color: #F87171; box-shadow: 0 0 0 4px rgba(248,113,113,.1); }
.select { position: relative; display: block; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.select select option { background: var(--bg2); color: var(--text); }
.fld.flash select { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-a20); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--text-3); }
.spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; animation: spin .7s linear infinite; }
.sending .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { display: none; padding: 13px 15px; border-radius: 10px; font-size: 14.5px; }
.alert.visible { display: block; }
.alert.ok { background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.25); color: #B7F0CB; }
.alert.err { background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.28); color: #FBC0C0; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 34px; }
.ftr-in { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; }
.ftr-brand p { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.ftr-nav a { color: var(--text-2); font-size: 14px; transition: color .2s; }
.ftr-nav a:hover { color: var(--gold); }
.ftr-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; color: var(--text-3); }
.ftr-bottom a:hover { color: var(--gold); }

/* comparsa allo scorrimento */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .svc-grid, .prod-grid, .about, .contact { grid-template-columns: 1fr; }
  .proto { grid-template-columns: 1fr 1fr; }
  .proto li:nth-child(3) { border-left: 0; }
  .proto li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.6); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 2px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-cta { margin: 16px 0 0; height: 48px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .row2, .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(odd) { border-right: 0; }
  .facts > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .prod-cta .btn { flex: 1 1 100%; }
  .proto b { font-size: 18px; }
  .ftr-in { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* scorrimento trascinando col mouse (assets/js/dragscroll.js, come nel gateway) */
body.dragging { cursor: grabbing; user-select: none; }
/* GLOBE-WIDE: sugli schermi larghi il titolo arriva al massimo della grandezza → globo più a destra, non sopra «Message» */
@media (min-width: 1500px) { .hero-globe { margin-right: -130px; } }

/* ── puntatore (assets/js/cursor.js): solo mouse ─────────── */
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; opacity: 0; border-radius: 50%; will-change: transform; }
.cur-dot { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 10px rgba(232,184,75,.8); transition: opacity .2s, width .2s, height .2s; }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(232,184,75,.55);
  transition: opacity .25s, width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1), background-color .25s, border-color .25s; }
html.has-cursor.cur-on .cur-dot, html.has-cursor.cur-on .cur-ring { opacity: 1; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor select, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
html.cur-hot .cur-ring { width: 58px; height: 58px; background-color: rgba(232,184,75,.12); border-color: rgba(232,184,75,.9); }
html.cur-hot .cur-dot { width: 5px; height: 5px; background: #080808; box-shadow: 0 0 0 1.5px var(--gold); }
.cur-ring { box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.25); }
html.cur-down .cur-ring { width: 24px; height: 24px; background-color: rgba(232,184,75,.25); }
html.cur-text .cur-ring, html.cur-text .cur-dot { opacity: 0 !important; }
body.dragging ~ .cur-ring, html.has-cursor body.dragging .cur-ring { width: 50px; height: 50px; border-style: dashed; }
html.has-cursor body.dragging { cursor: none; }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } }
