/* Gli Amici di Boyle · Rete di Boyle 3D (BETA) */
.r3d-page { background: #020a18; }
.r3d-page main { position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r3d-beta { margin: 0; padding: 9px 16px; text-align: center; font-size: .82rem; color: #ffe1a6; background: rgba(230,159,0,.12); border-bottom: 1px solid rgba(230,159,0,.3); }
.r3d-beta b { letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; }

.r3d-hero { padding: 34px 28px 8px; text-align: center; }
.r3d-kicker { margin: 0 0 8px; font: 700 .72rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; color: #7be4ff; }
.r3d-hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .95; letter-spacing: -.045em; color: #edf7ff; }
.r3d-grad { background: linear-gradient(135deg, #a8eeff 0%, #7be4ff 40%, #c4b0ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.r3d-lead { max-width: 720px; margin: 16px auto 0; color: rgba(237,247,255,.72); font-size: 1.02rem; line-height: 1.6; }

/* ── scena ── */
.r3d-stage { position: relative; height: min(80vh, 860px); min-height: 520px; margin-top: 18px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 46%, rgba(20,70,140,.35) 0%, rgba(4,16,36,.6) 45%, #020a18 75%);
  border-top: 1px solid rgba(123,228,255,.12); border-bottom: 1px solid rgba(123,228,255,.12); }
.r3d-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(123,228,255,.025) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.r3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.r3d-canvas:active { cursor: grabbing; }
/* anteprima statica mentre il motore 3D si carica: nessuna area vuota */
.r3d-ph { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .8s ease; }
.r3d-ph span { width: min(30vh, 260px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255,255,255,.55), rgba(120,220,255,.25) 12%, rgba(40,110,255,.35) 38%, rgba(30,40,140,.25) 62%, rgba(0,0,0,0) 72%);
  box-shadow: 0 0 80px rgba(80,170,255,.35), inset 0 0 40px rgba(123,228,255,.35); animation: r3dBreath 5.2s ease-in-out infinite; }
@keyframes r3dBreath { 50% { transform: scale(1.04); filter: brightness(1.15); } }
.r3d-stage.is-live .r3d-ph { opacity: 0; }

.r3d-hud { position: absolute; left: 18px; top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; z-index: 3; pointer-events: none;
  font: 700 .7rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; color: rgba(168,238,255,.8); }
.r3d-hud b { color: #fff; text-shadow: 0 0 10px rgba(123,228,255,.8); }
.r3d-hud span { display: inline-flex; align-items: center; gap: 8px; }
.r3d-led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #39e6c3; box-shadow: 0 0 10px #39e6c3; animation: r3dLed 2.4s ease-in-out infinite; }
@keyframes r3dLed { 50% { opacity: .4; } }
.r3d-press { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 3; pointer-events: none; padding: 10px 16px; border-radius: 12px;
  background: rgba(2,11,24,.85); border: 1px solid rgba(123,228,255,.4); font: 600 .9rem/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: rgba(237,247,255,.75); white-space: nowrap; }
.r3d-press b { color: #c9f6ff; font-size: 1.1rem; text-shadow: 0 0 10px rgba(123,228,255,.7); }
.r3d-press small { margin-left: 10px; color: rgba(237,247,255,.5); font-size: .72rem; }
.r3d-label { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; margin: -78px 0 0 18px; padding: 8px 12px 9px; border-radius: 10px;
  background: rgba(2,11,24,.9); border: 1px solid rgba(123,228,255,.45); box-shadow: 0 0 24px rgba(123,228,255,.25); white-space: nowrap; }
.r3d-label::before { content: ""; position: absolute; left: -18px; top: 62px; width: 18px; height: 1px; background: rgba(123,228,255,.6); transform-origin: 0 0; transform: rotate(-35deg); }
.r3d-label b { display: block; color: #fff; font-size: .95rem; }
.r3d-label span { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: rgba(237,247,255,.7); }
.r3d-label span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.r3d-tools { position: absolute; right: 16px; top: 14px; z-index: 3; display: flex; gap: 6px; }
.r3d-tools button { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; cursor: pointer; font: 700 .8rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em;
  color: #c9f6ff; background: rgba(2,11,24,.75); border: 1px solid rgba(123,228,255,.35); }
.r3d-tools button:hover, .r3d-tools button[aria-pressed="true"] { background: rgba(123,228,255,.15); border-color: rgba(123,228,255,.7); }
.r3d-tools button[hidden] { display: none; }
.r3d-help { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; margin: 0; text-align: center; pointer-events: none; font: 600 .7rem/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; color: rgba(168,238,255,.55); text-transform: uppercase; }
.r3d-hint { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 3; margin: 0; padding: 8px 14px; border-radius: 10px; background: rgba(2,11,24,.9); border: 1px solid rgba(123,228,255,.35); color: #c9f6ff; font-size: .82rem; }
.r3d-fallback { display: none; position: absolute; inset: auto 20px 50% 20px; text-align: center; color: #c9f6ff; z-index: 3; }
.r3d-stage.is-fallback .r3d-fallback { display: block; }
.r3d-stage.is-fallback .r3d-help, .r3d-stage.is-fallback .r3d-tools { display: none; }

/* ── scheda della persona ── */
.r3d-panel { position: absolute; z-index: 5; right: 22px; top: 64px; bottom: 22px; width: min(400px, 40%); overflow: auto; padding: 22px 22px 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(6,26,51,.94), rgba(2,11,24,.96)); border: 1px solid rgba(123,228,255,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(123,228,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateX(24px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.r3d-panel.is-open { opacity: 1; transform: none; }
.r3d-panel[hidden] { display: none; }
.r3d-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; color: #c9f6ff; background: rgba(123,228,255,.08); border: 1px solid rgba(123,228,255,.3); font-size: 1rem; }
.r3d-card { text-align: center; color: #edf7ff; }
.r3d-card__photo { width: 128px; height: 128px; margin: 6px auto 14px; border-radius: 50%; padding: 4px; background: conic-gradient(var(--c), rgba(123,228,255,.4), var(--c)); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); }
.r3d-card__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #06203f; }
.r3d-card__area { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 .7rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(237,247,255,.75); }
.r3d-card__area i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.r3d-card h2 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -.02em; }
.r3d-card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 12px; }
.r3d-card__tags span { padding: 4px 10px; border-radius: 999px; font-size: .74rem; border: 1px solid rgba(123,228,255,.3); color: #a8eeff; }
.r3d-card__role { margin: 0 0 12px; color: rgba(237,247,255,.82); line-height: 1.55; font-size: .93rem; }
.r3d-card__bio { margin: 0 0 12px; color: rgba(237,247,255,.65); line-height: 1.55; font-size: .88rem; text-align: left; }
.r3d-card__city { margin: 0 0 16px; font: 600 .76rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; color: rgba(168,238,255,.7); }
.r3d-card__links { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.r3d-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(123,228,255,.3); color: #a8eeff; }
.r3d-ic svg { width: 18px; height: 18px; }
.r3d-btn { display: inline-block; padding: 11px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .88rem; color: #021022; background: linear-gradient(135deg, #a8eeff, #7be4ff); }

/* ── barra: ricerca, fondatori, aree ── */
.r3d-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; align-items: center; padding-top: 22px; padding-bottom: 6px; }
.r3d-search { position: relative; display: block; }
.r3d-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #7be4ff; stroke-width: 1.8; }
.r3d-search input { width: 100%; padding: 13px 16px 13px 44px; border-radius: 14px; font: inherit; color: #edf7ff; background: rgba(3,14,32,.85); border: 1px solid rgba(123,228,255,.28); }
.r3d-toggle { display: inline-flex; align-items: center; gap: 8px; color: rgba(237,247,255,.75); font-size: .88rem; cursor: pointer; white-space: nowrap; }
.r3d-toggle input { accent-color: #7be4ff; width: 18px; height: 18px; }
.r3d-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.r3d-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .84rem; color: rgba(237,247,255,.8); background: rgba(3,14,32,.7); border: 1px solid rgba(123,228,255,.2); }
.r3d-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.r3d-chip em { font-style: normal; color: rgba(237,247,255,.45); font-size: .78rem; }
.r3d-chip.is-on { color: #fff; border-color: rgba(123,228,255,.7); background: rgba(123,228,255,.12); }
.r3d-count { margin: 18px 0 10px; color: rgba(237,247,255,.5); font-size: .85rem; }
.r3d-list { list-style: none; margin: 0 0 80px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.r3d-item { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit;
  color: #edf7ff; background: rgba(5,18,46,.6); border: 1px solid rgba(123,228,255,.14); }
.r3d-item:hover, .r3d-item:focus-visible { border-color: rgba(123,228,255,.55); background: rgba(10,32,66,.75); }
.r3d-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c); }
.r3d-item.is-founder img { box-shadow: 0 0 0 3px #fff; }
.r3d-item b { display: block; font-size: .95rem; }
.r3d-item small { color: rgba(237,247,255,.55); font-size: .78rem; }
.r3d-empty { color: rgba(237,247,255,.5); }

@media (max-width: 760px) {
  .r3d-hero { padding: 24px 16px 4px; }
  .r3d-lead { font-size: .95rem; }
  .r3d-stage { height: 64svh; min-height: 420px; }
  .r3d-hud { left: 12px; top: 12px; gap: 4px 12px; font-size: .62rem; max-width: 60%; }
  .r3d-tools { right: 10px; top: auto; bottom: 40px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
  .r3d-help { font-size: .6rem; bottom: 10px; padding: 0 12px; }
  .r3d-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 72svh; border-radius: 22px 22px 0 0; transform: translateY(40px); z-index: 9000; }
  .r3d-panel.is-open { transform: none; }
  .r3d-bar { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .r3d-press { bottom: 96px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .r3d-ph span, .r3d-led { animation: none; }
  .r3d-panel { transition: none; }
}

/* ── v2: schede che compaiono avvicinandosi ── */
.r3d-zoom { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.r3d-zc { position: absolute; left: 0; top: 0; width: max-content; max-width: 280px; padding: 10px 13px 11px; border-radius: 12px; pointer-events: auto;
  display: grid; gap: 4px; text-align: left; color: #edf7ff; opacity: 0; visibility: hidden;
  background: rgba(2,11,24,.88); border: 1px solid color-mix(in srgb, var(--c) 55%, rgba(123,228,255,.4)); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 25%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .25s ease, visibility .25s; }
.r3d-zc.is-on { opacity: 1; visibility: visible; }
.r3d-zc b { font-size: .95rem; line-height: 1.2; }
.r3d-zc__a { display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; color: rgba(237,247,255,.7); }
.r3d-zc__a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.r3d-zc__r, .r3d-zc__t, .r3d-zc__b, .r3d-zc__c, .r3d-zc__go { display: none; }
.r3d-zc[data-l="m"] .r3d-zc__r, .r3d-zc[data-l="l"] .r3d-zc__r { display: block; font-size: .8rem; line-height: 1.45; color: rgba(237,247,255,.8); white-space: normal; width: 240px; }
.r3d-zc[data-l="m"] .r3d-zc__r { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r3d-zc[data-l="l"] { max-width: 300px; padding: 14px 16px; }
.r3d-zc[data-l="l"] b { font-size: 1.15rem; }
.r3d-zc[data-l="l"] .r3d-zc__t { display: flex; flex-wrap: wrap; gap: 4px; }
.r3d-zc__t em { font-style: normal; font-size: .7rem; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(123,228,255,.3); color: #a8eeff; }
.r3d-zc[data-l="l"] .r3d-zc__b { display: block; font-size: .78rem; line-height: 1.45; color: rgba(237,247,255,.62); width: 260px; }
.r3d-zc[data-l="l"] .r3d-zc__c { display: block; font: 600 .7rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; color: rgba(168,238,255,.7); }
.r3d-zc[data-l="l"] .r3d-zc__go { display: inline-block; justify-self: start; margin-top: 4px; padding: 7px 12px; border-radius: 999px; cursor: pointer; font: 700 .76rem/1 inherit; color: #021022; background: linear-gradient(135deg, #a8eeff, #7be4ff); border: 0; }
/* collegati nella scheda */
.r3d-card__net { margin: 4px 0 16px; }
.r3d-card__net p { margin: 0 0 8px; font: 700 .66rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(168,238,255,.7); }
.r3d-card__net div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.r3d-card__net button { display: grid; justify-items: center; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; color: rgba(237,247,255,.75); font: inherit; font-size: .68rem; }
.r3d-card__net img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(123,228,255,.5); transition: box-shadow .2s; }
.r3d-card__net button:hover img, .r3d-card__net button:focus-visible img { box-shadow: 0 0 0 3px #7be4ff, 0 0 14px rgba(123,228,255,.6); }
@media (prefers-reduced-motion: reduce) { .r3d-zc { transition: none; } }

/* ══ v3: la scena e' la hero della pagina della Rete ══ */
.r3d-top { position: relative; z-index: 2; background: #020a18; }
.r3d-top .r3d-stage { margin-top: 0; border-top: 0; height: min(calc(100svh - 72px - 150px), 860px); min-height: 480px;
  background: radial-gradient(ellipse at 50% 48%, rgba(24,86,170,.42) 0%, rgba(6,24,52,.75) 42%, #020a18 78%); }
.r3d-hud { flex-direction: column; gap: 6px; }
.r3d-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -.03em; color: #edf7ff; font-family: inherit; text-transform: none; }
.r3d-stats { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font: 700 .68rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(168,238,255,.75); }
.r3d-stats span { display: inline-flex; align-items: center; gap: 8px; }
.r3d-betapill { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 3; margin: 0; padding: 5px 12px; border-radius: 999px; pointer-events: none;
  font: 700 .62rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; color: #ffd98a; background: rgba(230,159,0,.12); border: 1px solid rgba(230,159,0,.4); }
.r3d-areas { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.r3d-areas .r3d-chip { padding: 7px 12px; font-size: .78rem; background: rgba(2,11,24,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* console delle azioni: stessa notte della scena, nessuno stacco chiaro */
.r3d-console { position: relative; padding: 18px 0 30px; background: linear-gradient(180deg, #020a18 0%, rgba(2,10,24,.92) 70%, rgba(2,10,24,0) 100%); border-top: 1px solid rgba(123,228,255,.1); }
.r3d-console .hero__cta { justify-content: center; margin: 0; }
.r3d-console .hero-access-bar { margin-top: 6px !important; }
/* scheda a destra: la card vera della griglia */
.r3d-panel { top: 70px; padding: 16px 16px 18px; }
.r3d-panel__area { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; font: 700 .68rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(237,247,255,.75); }
.r3d-panel__area i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.r3d-panel .member-card.r3d-membercard { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; width: 100%; max-width: none; margin: 0; animation: none !important; }
.r3d-founder { text-align: center; color: #edf7ff; padding: 6px 0 4px; }
.r3d-founder__photo { width: 136px; height: 136px; margin: 4px auto 14px; border-radius: 50%; padding: 4px; background: conic-gradient(#ffffff, rgba(123,228,255,.5), #ffffff); }
.r3d-founder__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.r3d-founder h2 { margin: 0 0 6px; font-size: 1.4rem; }
.r3d-founder__role { margin: 0 0 16px; color: rgba(237,247,255,.75); }
.r3d-net { margin: 16px 0 0; text-align: center; }
.r3d-net p { margin: 0 0 8px; font: 700 .64rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(168,238,255,.7); }
.r3d-net div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.r3d-net button { display: grid; justify-items: center; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; color: rgba(237,247,255,.75); font: inherit; font-size: .68rem; }
.r3d-net img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(123,228,255,.5); }
.r3d-net button:hover img, .r3d-net button:focus-visible img { box-shadow: 0 0 0 3px #7be4ff, 0 0 14px rgba(123,228,255,.6); }
.r3d-zc__go { cursor: pointer; }
@media (max-width: 760px) {
  .r3d-top .r3d-stage { height: 68svh; min-height: 440px; }
  .r3d-title { font-size: 1.5rem; }
  .r3d-betapill { top: auto; bottom: 64px; }
  .r3d-areas { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; left: 0; right: 0; padding: 0 12px; bottom: 10px; }
  .r3d-areas::-webkit-scrollbar { display: none; }
  .r3d-areas .r3d-chip { flex: none; }
  .r3d-tools { top: 12px; bottom: auto; right: 10px; max-width: 46%; }
  .r3d-tools button { min-width: 34px; height: 34px; padding: 0 9px; font-size: .72rem; }
  .r3d-hud { max-width: 52%; }
  .r3d-console { padding: 16px 0 26px; }
}
.r3d-panel .member-card.r3d-membercard { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; }
.r3d-panel .r3d-membercard .member-bio, .r3d-panel .r3d-membercard [class*="bio"] { flex: none !important; }
@media (min-width: 761px) {
  .r3d-stage:has(.r3d-panel.is-open) .r3d-areas { right: calc(min(400px, 40%) + 40px); justify-content: flex-start; }
  .r3d-stage:has(.r3d-panel.is-open) .r3d-hud ~ .r3d-betapill { left: 40%; }
}
.r3d-panel .r3d-membercard .member-role { padding-bottom: 100px !important; margin-bottom: 0 !important; max-width: 34ch; }
.r3d-panel .r3d-membercard .member-bio-snippet:empty { display: none; }

/* ══ v4: il fondale si intravede dietro la sfera; titolo grande; cerca con microcard; "perche' entrare" a richiesta ══ */
.r3d-top { background: transparent; }
.r3d-top .r3d-stage { border: 0;
  background:
    radial-gradient(ellipse 46% 52% at 50% 50%, rgba(30,100,190,.30) 0%, rgba(8,30,66,.10) 60%, transparent 75%),
    linear-gradient(180deg, rgba(2,10,24,.80) 0%, rgba(2,10,24,.62) 45%, rgba(2,10,24,.86) 100%); }
.r3d-title { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0,0,0,.55); }
.r3d-hud { top: 22px; left: 26px; }
.r3d-console { background: linear-gradient(180deg, rgba(2,10,24,.86) 0%, rgba(2,10,24,.55) 100%); border-top: 0; }

/* griglia originale: viva ma invisibile (serve alle card della scheda) */
.r3d-hidden-grid { display: none !important; }

.r3d-find { padding: 56px 0 24px; }
.r3d-find__head { display: grid; grid-template-columns: auto minmax(260px, 460px) 1fr; align-items: center; gap: 14px 22px; margin-bottom: 18px; }
.r3d-find__title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: #edf7ff; letter-spacing: -.02em; }
.r3d-find .r3d-count { margin: 0; justify-self: end; }
.r3d-find .r3d-list { margin: 0; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; }
.r3d-mc { border-radius: 16px; background: rgba(4,18,40,.72); border: 1px solid rgba(123,228,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
.r3d-mc:hover { border-color: rgba(123,228,255,.45); }
.r3d-mc.is-open { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--c) 60%, transparent); background: rgba(4,18,40,.88); }
.r3d-mc__head { width: 100%; display: grid; grid-template-columns: 52px 1fr 18px; gap: 12px; align-items: center; padding: 10px 12px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: #edf7ff; }
.r3d-mc__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(123,228,255,.55); }
.r3d-mc.is-founder .r3d-mc__head img { box-shadow: 0 0 0 3px #fff; }
.r3d-mc__txt { display: grid; gap: 3px; min-width: 0; }
.r3d-mc__txt b { font-size: .95rem; line-height: 1.2; }
.r3d-mc__txt small { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: rgba(237,247,255,.72); }
.r3d-mc__txt small i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.r3d-mc__txt em { font-style: normal; font-size: .72rem; color: rgba(168,238,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.r3d-mc__chev { width: 10px; height: 10px; border-right: 2px solid rgba(123,228,255,.7); border-bottom: 2px solid rgba(123,228,255,.7); transform: rotate(45deg); transition: transform .25s; justify-self: center; }
.r3d-mc.is-open .r3d-mc__chev { transform: rotate(225deg); }
.r3d-mc__body { padding: 4px 14px 18px; display: grid; justify-items: center; gap: 14px; }
.r3d-mc__body .member-card.r3d-membercard { width: min(400px, 100%); opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; height: auto !important; min-height: 0 !important; margin: 0; }
.r3d-mc__body .r3d-membercard .member-role { padding-bottom: 100px !important; margin-bottom: 0 !important; max-width: 34ch; }
.r3d-mc__body .r3d-membercard .member-bio-snippet:empty { display: none; }
.r3d-mc__go { padding: 10px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: .85rem; color: #c9f6ff; background: rgba(123,228,255,.08); border: 1px solid rgba(123,228,255,.45); }
.r3d-mc__go:hover { background: rgba(123,228,255,.18); }
.r3d-empty { grid-column: 1 / -1; padding: 18px; color: rgba(237,247,255,.6); }

/* perche' entrare: chiuso, si apre col pulsante */
.r3d-why .rete-why-header { margin-bottom: 0; }
.r3d-why.is-closed { padding-bottom: 40px; }
.r3d-why.is-closed .container > :not(.rete-why-header):not(.r3d-why__btn) { display: none !important; }
.r3d-why__btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 22px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; color: #021022; background: linear-gradient(135deg, #a8eeff, #7be4ff); border: 0; box-shadow: 0 8px 28px rgba(123,228,255,.25); }
.r3d-why__btn i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.r3d-why:not(.is-closed) .r3d-why__btn i { transform: rotate(225deg) translateY(-2px); }
.r3d-why:not(.is-closed) .rete-why-header { margin-bottom: 36px; }

@media (max-width: 760px) {
  .r3d-title { font-size: 2.3rem; }
  .r3d-hud { top: 14px; left: 16px; }
  .r3d-find { padding: 40px 0 16px; }
  .r3d-find__head { grid-template-columns: 1fr; }
  .r3d-find .r3d-count { justify-self: start; }
  .r3d-find .r3d-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .r3d-tools { top: auto; bottom: 62px; right: 10px; max-width: none; flex-direction: column; }
  .r3d-hud { max-width: 90%; }
  .r3d-betapill { bottom: auto; top: 70px; left: 16px; transform: none; }
}
/* titolo come gli altri titoli di pagina del sito */
.r3d-top .r3d-hud .r3d-title { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; font-weight: 800; font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .9; letter-spacing: -.05em; }
.r3d-top .r3d-title .r3d-grad { display: inline-block; padding: 0 .06em .06em 0; }
/* fondale piu' discreto: si intuisce dietro la sfera */
.r3d-top .r3d-stage { background:
    radial-gradient(ellipse 46% 52% at 50% 50%, rgba(30,100,190,.26) 0%, rgba(8,30,66,.12) 60%, transparent 75%),
    linear-gradient(180deg, rgba(2,10,24,.88) 0%, rgba(2,10,24,.74) 45%, rgba(2,10,24,.9) 100%); }
@media (max-width: 760px) {
  .r3d-top .r3d-hud .r3d-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .r3d-betapill { top: auto; bottom: 64px; left: 16px; }
  .r3d-tools { flex-direction: row; bottom: 60px; gap: 6px; }
  .r3d-tools button { height: 32px; min-width: 32px; padding: 0 8px; font-size: .68rem; }
}

/* ══ v5 ══════════════════════════════════════════════════════════════════ */
/* la "y" di Boyle non si taglia */
.r3d-top .r3d-hud .r3d-title { line-height: 1.02; padding-bottom: .04em; overflow: visible; }
.r3d-top .r3d-title .r3d-grad { padding: 0 .08em .2em 0; margin-bottom: -.16em; }
/* la rete sfuma prima del titolo e delle aree: non ci passa sopra */
.r3d-top .r3d-canvas {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--st, 0px) - 30px), #000 calc(var(--st, 0px) + 24px), #000 calc(100% - var(--sb, 0px) - 24px), transparent calc(100% - var(--sb, 0px) + 18px));
          mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--st, 0px) - 30px), #000 calc(var(--st, 0px) + 24px), #000 calc(100% - var(--sb, 0px) - 24px), transparent calc(100% - var(--sb, 0px) + 18px)); }
.r3d-top .r3d-stage { height: min(calc(100svh - 72px - 120px), 900px); min-height: 560px; }
@media (max-width: 760px) { .r3d-top .r3d-stage { height: 80svh; min-height: 560px; } }

/* ── Esplora la Rete: pannello a comparsa ── */
.r3d-hidden-grid { display: none !important; }
.r3d-explore { padding: 34px 0 10px; }
.r3d-explore__btn { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 18px; width: 100%; padding: 20px 26px; cursor: pointer; text-align: left; font: inherit; color: #edf7ff;
  border-radius: 18px; border: 1px solid rgba(123,228,255,.3); background: linear-gradient(120deg, rgba(4,20,44,.9), rgba(6,30,62,.75)); box-shadow: inset 0 0 40px rgba(123,228,255,.06), 0 20px 50px rgba(0,0,0,.35); overflow: hidden; }
.r3d-explore__btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(123,228,255,.14) 50%, transparent 70%); transform: translateX(-100%); animation: r3dSweep 5s ease-in-out infinite; pointer-events: none; }
@keyframes r3dSweep { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.r3d-explore__k { font: 700 .68rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .2em; text-transform: uppercase; color: #7be4ff; }
.r3d-explore__btn b { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.r3d-explore__btn i { width: 12px; height: 12px; border-right: 2px solid #7be4ff; border-bottom: 2px solid #7be4ff; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.r3d-explore:not(.is-closed) .r3d-explore__btn i { transform: rotate(225deg) translateY(-3px); }
.r3d-explore__btn:hover { border-color: rgba(123,228,255,.6); }
.r3d-explore__body { padding: 22px 0 10px; animation: r3dDrop .45s cubic-bezier(.22,1,.36,1); }
@keyframes r3dDrop { from { opacity: 0; transform: translateY(-12px); } }
.r3d-explore .r3d-search { max-width: 520px; margin: 0 auto 26px; }

.r3d-flow { position: relative; padding: 0 0 40px 28px; }
.r3d-flow__lines { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; filter: drop-shadow(0 0 4px rgba(123,228,255,.55)); }
.r3d-fl__base { fill: none; stroke: color-mix(in srgb, var(--c) 34%, transparent); stroke-width: 1.4; }
.r3d-fl__pulse { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100; animation: r3dPulse 2.6s linear var(--d, 0s) infinite; }
@keyframes r3dPulse { to { stroke-dashoffset: 0; } }
.r3d-flow__root { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: max-content; margin: 0 auto 46px; padding: 12px 22px; border-radius: 999px;
  font-weight: 800; letter-spacing: -.01em; color: #021022; background: linear-gradient(135deg, #a8eeff, #7be4ff); box-shadow: 0 0 34px rgba(123,228,255,.45); }
.r3d-flow__root i { width: 10px; height: 10px; border-radius: 50%; background: #021022; box-shadow: 0 0 0 3px rgba(2,16,34,.25); }
.r3d-flow__areas { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 14px; }
.r3d-fa { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: .86rem; color: #edf7ff;
  background: rgba(3,14,32,.88); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .2s, box-shadow .2s, background .2s, opacity .2s; }
.r3d-fa i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.r3d-fa:hover { transform: translateY(-2px); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 35%, transparent); }
.r3d-fa.is-on { background: color-mix(in srgb, var(--c) 22%, rgba(3,14,32,.9)); border-color: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 45%, transparent); }
.r3d-flow.has-sel .r3d-fa:not(.is-on) { opacity: .55; }
.r3d-flow.has-search .r3d-fa { opacity: .35; }
.r3d-flow__cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 14px; margin-top: 52px; }
.r3d-flow__cards:empty { margin-top: 0; }
.r3d-mc { display: grid; grid-template-columns: 46px 1fr; gap: 11px; align-items: center; padding: 9px 12px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; color: #edf7ff;
  background: rgba(3,14,32,.9); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); box-shadow: 0 10px 26px rgba(0,0,0,.3);
  animation: r3dCard .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--n) * 45ms); transition: border-color .2s, box-shadow .2s, opacity .2s; }
@keyframes r3dCard { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
.r3d-mc:hover, .r3d-mc:focus-visible { border-color: var(--c); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 35%, transparent); }
.r3d-mc.is-lensed { opacity: .25; }
.r3d-mc img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c); }
.r3d-mc__txt { display: grid; gap: 3px; min-width: 0; }
.r3d-mc__txt b { font-size: .9rem; line-height: 1.2; }
.r3d-mc__txt small { font-size: .72rem; line-height: 1.3; color: rgba(237,247,255,.65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r3d-empty { grid-column: 1 / -1; text-align: center; color: rgba(237,247,255,.6); }
/* la lente: card completa sopra la microcard */
.r3d-lens { position: absolute; z-index: 20; width: min(400px, 100%); padding: 14px 14px 16px; border-radius: 22px; display: grid; justify-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(6,26,51,.97), rgba(2,11,24,.98)); border: 1px solid var(--c); box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 40px color-mix(in srgb, var(--c) 30%, transparent);
  opacity: 0; transform: scale(.55); transition: opacity .22s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.r3d-lens.is-on { opacity: 1; transform: none; }
.r3d-lens__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; color: #c9f6ff; background: rgba(2,11,24,.8); border: 1px solid rgba(123,228,255,.35); }
.r3d-lens .member-card.r3d-membercard { width: 100%; opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; height: auto !important; min-height: 0 !important; margin: 0; }
.r3d-lens .r3d-membercard .member-role { padding-bottom: 100px !important; margin-bottom: 0 !important; max-width: 34ch; }
.r3d-lens .r3d-membercard .member-bio-snippet:empty { display: none; }
@media (max-width: 760px) {
  .r3d-flow { padding-left: 22px; }
  .r3d-flow__areas { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; }
  .r3d-fa { justify-content: flex-start; font-size: .78rem; padding: 10px 12px; text-align: left; }
  .r3d-flow__cards { grid-template-columns: 1fr; gap: 26px; }
  .r3d-lens { left: 0 !important; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .r3d-fl__pulse, .r3d-explore__btn::before, .r3d-mc, .r3d-explore__body { animation: none; } .r3d-fl__pulse { stroke-dasharray: none; opacity: .5; } }

/* ── Perche' entrare e proposta eventi: pannelli olografici ── */
.r3d-why, #prossimo-evento { position: relative; }
.r3d-why .rete-why-header .section-kicker, #prossimo-evento .next-event-propose__title { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.r3d-why .rete-why-header .section-kicker { letter-spacing: .24em; color: #7be4ff; }
.r3d-why .rete-why-header h2 { background: linear-gradient(135deg, #edf7ff 0%, #a8eeff 55%, #c4b0ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .1em; }
.r3d-why .rw-path, .r3d-why .rw-matrix, #prossimo-evento .next-event-propose {
  position: relative; border-radius: 6px !important; border: 1px solid rgba(123,228,255,.28) !important;
  background: linear-gradient(180deg, rgba(4,20,44,.86), rgba(2,10,24,.92)) !important;
  background-image: linear-gradient(rgba(123,228,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(123,228,255,.05) 1px, transparent 1px), linear-gradient(180deg, rgba(4,20,44,.88), rgba(2,10,24,.94)) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
  box-shadow: inset 0 0 60px rgba(123,228,255,.05), 0 30px 70px rgba(0,0,0,.45) !important;
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.r3d-why .rw-path::before, .r3d-why .rw-matrix::before, #prossimo-evento .next-event-propose::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, #7be4ff, transparent); animation: r3dScan 6s ease-in-out infinite; }
@keyframes r3dScan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .9; } 100% { transform: translateY(var(--scan, 420px)); opacity: 0; } }
.r3d-why .rw-path--amici::before { background: linear-gradient(90deg, transparent, #39e6c3, transparent); }
.r3d-why .rw-path__badge { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .16em; border-radius: 3px !important; }
.r3d-why .rw-matrix { --scan: 900px; }
.r3d-why .rw-row { border-color: rgba(123,228,255,.1) !important; transition: background .2s; }
.r3d-why .rw-row:not(.rw-row--head):hover { background: linear-gradient(90deg, rgba(123,228,255,.08), transparent 70%) !important; }
.r3d-why .rw-row:not(.rw-row--head):hover .rw-ico { box-shadow: 0 0 18px rgba(123,228,255,.5); }
.r3d-why .rw-ico { border-radius: 4px !important; border-color: rgba(123,228,255,.4) !important; }
.r3d-why .rw-check circle { stroke: #7be4ff; filter: drop-shadow(0 0 4px rgba(123,228,255,.7)); }
.r3d-why .rw-cell--amici .rw-check circle { stroke: #39e6c3; filter: drop-shadow(0 0 4px rgba(57,230,195,.7)); }
.r3d-why .rw-feat h3, .r3d-why .rw-row--head h3 { letter-spacing: -.01em; }
.r3d-why .rw-row--head h3 { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: #a8eeff; }
.r3d-why__btn { border-radius: 4px; clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
#prossimo-evento .next-event-propose { --scan: 200px; padding: 28px 30px !important; }
#prossimo-evento .next-event-propose__title { letter-spacing: .14em; text-transform: uppercase; color: #a8eeff; font-size: .95rem !important; }
#prossimo-evento .next-event-propose__title::before { content: "▸ "; color: #7be4ff; }
#prossimo-evento .next-event-propose__desc { color: rgba(237,247,255,.72); }
#prossimo-evento .next-event-propose a, #prossimo-evento .next-event-propose button { border-radius: 4px !important; }
@media (prefers-reduced-motion: reduce) { .r3d-why .rw-path::before, .r3d-why .rw-matrix::before, #prossimo-evento .next-event-propose::before { animation: none; opacity: 0; } }
@media (min-width: 761px) {
  .r3d-flow__areas { gap: 30px 8px; flex-wrap: wrap; }
  .r3d-fa { padding: 10px 12px; font-size: .8rem; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1300px) { .r3d-flow__areas { flex-wrap: wrap; } }
/* card completa nel pannello e nella lente: estratto della bio sotto il ruolo, senza sovrapporsi */
:is(.r3d-panel, .r3d-lens) .r3d-membercard .member-role { padding-bottom: 6px !important; }
:is(.r3d-panel, .r3d-lens) .r3d-membercard .member-bio-snippet { position: static !important; transform: none !important; margin: 6px 0 0 !important; max-width: 36ch; }
:is(.r3d-panel, .r3d-lens) .member-card.r3d-membercard { padding-bottom: 118px !important; }

/* ══ v6 ══ */
/* titolo: entrata a parole (title-fx) + "Boyle" attraversato da una corrente di luce */
.r3d-top .r3d-title .r3d-grad { background: linear-gradient(110deg, #a8eeff 0%, #7be4ff 30%, #ffffff 45%, #7be4ff 60%, #c4b0ff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: r3dFlow 6s ease-in-out infinite; }
@keyframes r3dFlow { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.r3d-top .r3d-title { text-shadow: none; filter: drop-shadow(0 6px 30px rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(123,228,255,.18)); }
@media (prefers-reduced-motion: reduce) { .r3d-top .r3d-title .r3d-grad { animation: none; } }

/* codice membro sulla stessa riga delle tre azioni */
@media (min-width: 1100px) {
  .r3d-console .container { max-width: 1400px; }
  .r3d-console .hero__cta { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: center; gap: 22px; }
  .r3d-console .hero-access-bar { position: relative; margin: 0 !important; flex: none; }
  .r3d-console .hero-access-bar::before { content: var(--r3d-member-lbl, "Sei già membro?"); position: absolute; left: 4px; bottom: calc(100% + 10px); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(168,210,240,.7); white-space: nowrap; }
}

/* il pulsante "Scopri cosa offre" ha lo stesso disegno di "Esplora la Rete" */
.r3d-why .r3d-why__btn { clip-path: none; border-radius: 18px; text-transform: none; letter-spacing: normal; font: inherit; color: #edf7ff; background: linear-gradient(120deg, rgba(4,20,44,.9), rgba(6,30,62,.75)); box-shadow: inset 0 0 40px rgba(123,228,255,.06), 0 20px 50px rgba(0,0,0,.35); max-width: 720px; margin: 22px auto 0; padding: 18px 24px; }
.r3d-why .r3d-why__btn b { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.r3d-why .r3d-why__btn i { width: 12px; height: 12px; border-right: 2px solid #7be4ff; border-bottom: 2px solid #7be4ff; transform: rotate(45deg) translateY(-3px); }
.r3d-why:not(.is-closed) .r3d-why__btn i { transform: rotate(225deg) translateY(-3px); }

/* eventi: riquadro gemello del Barometro */
#prossimo-evento.r3d-evx { padding-top: 40px; padding-bottom: 0; }
#prossimo-evento .bmx__panel::before { display: none; }
.r3d-evx__dial { width: 100%; max-width: 230px; justify-self: center; display: block; }
.r3d-evx__orbit { transform-origin: 120px 120px; animation: r3dOrbit 9s linear infinite; }
@keyframes r3dOrbit { to { transform: rotate(360deg); } }
.r3d-evx__ring { transform-origin: 120px 120px; animation: r3dOrbit 40s linear infinite reverse; }
.r3d-evx__d { opacity: .45; }
.r3d-evx__d--on { opacity: 1; filter: drop-shadow(0 0 6px #7BE4FF); animation: r3dBlink 2.4s ease-in-out infinite; }
@keyframes r3dBlink { 50% { opacity: .35; } }
.r3d-evx .bmx__form { align-items: center; }
.r3d-evx .bmx__btn { flex: none; }
.r3d-evx__ghost { display: inline-flex; align-items: center; height: 54px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 700; color: #E8EEF5; border: 1px solid rgba(232,238,245,.28); background: rgba(3,10,20,.55); transition: border-color .2s; }
.r3d-evx__ghost:hover { border-color: #7BE4FF; }
@media (max-width: 760px) { .r3d-evx__dial { max-width: 150px; } .r3d-evx__ghost { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .r3d-evx__orbit, .r3d-evx__ring, .r3d-evx__d--on { animation: none; } }
/* sfumatura delle fasce con due veli leggeri sopra la scena (piu' economico di una maschera sul canvas) */
.r3d-top .r3d-canvas { -webkit-mask-image: none; mask-image: none; }
.r3d-top .r3d-stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,10,24,.84) 0, rgba(2,10,24,.8) calc(var(--st, 0px) - 34px), rgba(2,10,24,0) calc(var(--st, 0px) + 26px)),
    linear-gradient(0deg, rgba(2,10,24,.84) 0, rgba(2,10,24,.8) calc(var(--sb, 0px) - 22px), rgba(2,10,24,0) calc(var(--sb, 0px) + 22px)); }
.r3d-top .r3d-title { filter: none; text-shadow: 0 0 28px rgba(123,228,255,.16); }
@media (min-width: 1380px) {
  .r3d-console .container { max-width: 1420px; }
  .r3d-console .hero__cta { grid-template-columns: repeat(4, max-content) !important; column-gap: 18px !important; }
  .r3d-console .hero__cta .hero-access-bar { grid-column: auto !important; justify-self: start; }
  .r3d-console .hero-access-input { max-width: 170px; }
}
@media (max-width: 1379px) { .r3d-console .hero-access-bar::before { display: none; } }

/* ══ v7: due barre gemelle una sotto l'altra; freccia che pulsa; fondatori con presentazione ══ */
.r3d-explore { padding-bottom: 0; }
.r3d-why.section { padding-top: 14px; }
.r3d-why .r3d-why__btn { max-width: none; width: 100%; margin: 0; padding: 20px 26px; text-align: left; }
.r3d-why .r3d-why__btn b { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.r3d-why.is-closed { padding-bottom: 30px; }
.r3d-why.is-closed .rete-why-header { display: none; }
.r3d-why:not(.is-closed) .rete-why-header { margin-top: 44px; }
.r3d-why .rete-why-header h2 { background: none; -webkit-text-fill-color: currentColor; color: #edf7ff; }
/* freccia che pulsa finche' il pannello e' chiuso */
.r3d-explore.is-closed .r3d-explore__btn i, .r3d-why.is-closed .r3d-why__btn i { animation: r3dChev 1.6s ease-in-out infinite; }
@keyframes r3dChev { 0%, 100% { transform: rotate(45deg) translate(-2px, -2px); filter: drop-shadow(0 0 0 rgba(123,228,255,0)); opacity: .75; } 50% { transform: rotate(45deg) translate(2px, 2px); filter: drop-shadow(0 0 6px #7be4ff); opacity: 1; } }
.r3d-explore__btn i, .r3d-why__btn i { width: 14px !important; height: 14px !important; border-width: 0 3px 3px 0 !important; }
@media (prefers-reduced-motion: reduce) { .r3d-explore__btn i, .r3d-why__btn i { animation: none !important; } }
/* fondatori: presentazione dalla home */
.r3d-founder__desc { margin: 0 auto 16px; max-width: 34ch; font-size: .92rem; line-height: 1.55; color: rgba(237,247,255,.82); }
.r3d-founder__links { display: flex; justify-content: center; align-items: center; gap: 10px; }
.r3d-founder__in { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; text-decoration: none; color: #edf7ff; border: 1px solid rgba(123,228,255,.45); background: rgba(123,228,255,.08); }
.r3d-founder__in:hover { background: rgba(123,228,255,.2); }
.r3d-lens .r3d-founder { padding: 18px 6px 4px; }
.r3d-lens { background: linear-gradient(180deg, #061a33, #020b18); }

/* ══ v8: intestazione di "Perche' entrare" allineata a sinistra, in due colonne ══ */
.r3d-why .r3d-whyhead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 18px 56px; text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.r3d-why .r3d-whyhead .section-kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0; font: 700 .72rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .2em; text-transform: uppercase; color: #7be4ff; }
.r3d-why .r3d-whyhead .section-kicker::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, transparent, #7be4ff); box-shadow: 0 0 8px #7be4ff; }
.r3d-why .r3d-whyhead h2 { margin: 0; text-align: left; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; color: rgba(237,247,255,.92); }
.r3d-why .r3d-hl { position: relative; display: inline-block; color: #7be4ff; text-shadow: 0 0 26px rgba(123,228,255,.45); padding-bottom: .08em; }
.r3d-why .r3d-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #7be4ff 30%, #c4b0ff 70%, transparent); background-size: 200% 100%; animation: r3dLine 3.2s linear infinite; box-shadow: 0 0 12px rgba(123,228,255,.6); }
@keyframes r3dLine { from { background-position: 200% 0; } to { background-position: 0 0; } }
.r3d-why .r3d-whyhead .section-subheading { margin: 0; max-width: 46ch; text-align: left; justify-self: start; padding: 4px 0 6px 22px; border-left: 2px solid rgba(123,228,255,.55); font-size: 1.05rem; line-height: 1.6; color: rgba(237,247,255,.78); box-shadow: -10px 0 18px -14px #7be4ff; }
.r3d-why .r3d-whyhead .r3d-why__btn { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .r3d-why .r3d-whyhead { grid-template-columns: 1fr; }
  .r3d-why .r3d-whyhead h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .r3d-why .r3d-whyhead .section-subheading { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { .r3d-why .r3d-hl::after { animation: none; } }
@media (max-width: 760px) {
  .r3d-explore__btn, .r3d-why .r3d-why__btn { grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 16px 20px; gap: 6px 12px; }
  .r3d-explore__btn .r3d-explore__k { grid-column: 1; grid-row: 1; }
  .r3d-explore__btn b { grid-column: 1; grid-row: 2; font-size: 1.25rem !important; }
  .r3d-explore__btn i { grid-column: 2; grid-row: 1 / 3; }
}

/* ══ v9: Eventi della Rete e Barometro larghi come le barre sopra ══ */
.r3d-evx.bmx, #barometro.bmx { padding-left: 28px; padding-right: 28px; }
.r3d-evx .bmx__panel, #barometro .bmx__panel { max-width: 1344px; }
@media (max-width: 760px) { .r3d-evx.bmx, #barometro.bmx { padding-left: 16px; padding-right: 16px; } }
@media (min-width: 1380px) { .r3d-console .hero-access-status { position: absolute; left: 16px; top: calc(100% + 6px); white-space: nowrap; } }
/* Amici di Boyle nella sfera */
.r3d-founder.is-friend .r3d-founder__photo { background: conic-gradient(#5eead4, rgba(94,234,212,.35), #5eead4); }
.r3d-founder.is-friend .r3d-founder__role { color: #5eead4; }

/* telefono: foglio basso compatto, la sfera resta visibile sopra (il volo si vede) */
@media (max-width: 760px) {
  .r3d-panel { top: auto; max-height: 50svh; padding-top: 24px; overscroll-behavior: contain; }
  .r3d-panel::before { content: ""; position: sticky; display: block; top: -14px; width: 42px; height: 4px; margin: -12px auto 8px; border-radius: 4px; background: rgba(168,238,255,.35); }
  .r3d-panel.is-drag { transition: none; }
  .r3d-panel .r3d-close { width: 40px; height: 40px; top: 10px; right: 10px; z-index: 2; }
}

/* link al profilo */
.r3d-share { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 14px 0 2px; padding: 10px 14px; border-radius: 12px; cursor: pointer; font: 600 .85rem/1.2 inherit; font-family: inherit; color: #c9f6ff; background: rgba(123,228,255,.07); border: 1px dashed rgba(123,228,255,.35); transition: background .2s, color .2s, border-color .2s; }
.r3d-share:hover { background: rgba(123,228,255,.14); border-style: solid; }
.r3d-share.is-done { color: #4dffd6; border-color: rgba(77,255,214,.6); border-style: solid; }
