:root {
  --bg: #070913;
  --surface: #101321;
  --surface-2: #171b2d;
  --surface-3: #20243a;
  --text: #f7f7fb;
  --muted: #a8adc2;
  --line: rgba(255,255,255,.09);
  --magenta: #f00091;
  --magenta-2: #b900ff;
  --cyan: #30d8ff;
  --gold: #ffd166;
  --success: #72e6a6;
  --sidebar: 250px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(185,0,255,.10), transparent 28rem),
    radial-gradient(circle at 10% 20%, rgba(48,216,255,.07), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; color: #111; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { top: 16px; }
.mockup-banner {
  height: 34px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--magenta), var(--magenta-2));
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.banner-note { opacity: .85; font-weight: 500; }
.app-shell { display: flex; min-height: calc(100vh - 34px); }
.sidebar {
  position: fixed;
  top: 34px;
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: rgba(8,10,19,.96);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--magenta));
  color: white; font-family: "Space Grotesk"; font-weight: 800;
  box-shadow: 0 12px 30px rgba(240,0,145,.25);
}
.brand strong { display:block; font-family:"Space Grotesk"; font-size:18px; }
.brand span { color:var(--muted); font-size:12px; }
.nav-label { margin: 20px 10px 8px; color:#737b98; font-size:10px; font-weight:700; letter-spacing:.14em; }
.side-nav { overflow-y:auto; padding-right:4px; }
.nav-link {
  display:flex; align-items:center; gap:12px;
  padding:11px 12px; margin:3px 0; border-radius:12px;
  color:#b9bfd3; font-size:14px; font-weight:600;
  transition:.2s ease;
}
.nav-link span { width:20px; text-align:center; color:#858da8; }
.nav-link:hover, .nav-link.active { background:linear-gradient(90deg, rgba(240,0,145,.16), rgba(185,0,255,.08)); color:white; }
.nav-link.active span { color:var(--magenta); }
.member-mini { margin-top:auto; padding:14px; background:var(--surface); border:1px solid var(--line); border-radius:16px; display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; }
.member-mini strong { display:block; font-size:13px; }
.member-mini span { color:var(--muted); font-size:11px; }
.member-mini button { border:0; background:transparent; color:var(--muted); }
.avatar { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; font-weight:800; font-size:13px; }
.avatar-mari { background:linear-gradient(145deg,#ff3fa4,#8e2dff); }
.avatar-purple { background:linear-gradient(145deg,#6f5cff,#c25cff); }
.avatar-blue { background:linear-gradient(145deg,#00a8ff,#2ce6d3); color:#041018; }
.avatar-gold { background:linear-gradient(145deg,#ffb547,#ffe47a); color:#241400; }
.avatar.large { width:90px; height:90px; border-radius:26px; font-size:24px; }
.app-main { width:100%; margin-left:var(--sidebar); }
.topbar { height:74px; position:sticky; top:34px; z-index:40; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 34px; background:rgba(7,9,19,.78); border-bottom:1px solid var(--line); backdrop-filter:blur(18px); }
.menu-button { display:none; background:transparent; color:white; border:0; font-size:22px; }
.global-search { width:min(520px,58vw); display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:0 14px; }
.global-search input { flex:1; min-width:0; height:42px; border:0; outline:0; background:transparent; color:white; }
.global-search kbd { border:1px solid var(--line); background:var(--surface-2); color:var(--muted); border-radius:7px; padding:3px 7px; font-size:10px; }
.top-actions { display:flex; gap:10px; align-items:center; }
.icon-button { position:relative; width:42px; height:42px; border-radius:12px; border:1px solid var(--line); background:var(--surface); color:white; }
.dot { position:absolute; width:7px; height:7px; border-radius:50%; background:var(--magenta); top:8px; right:8px; }
.primary-small, .primary-button { border:0; color:white; font-weight:700; background:linear-gradient(135deg,var(--magenta),var(--magenta-2)); box-shadow:0 10px 30px rgba(240,0,145,.22); }
.primary-small { padding:11px 16px; border-radius:12px; }
.primary-button { padding:12px 18px; border-radius:13px; }
.primary-button:hover, .primary-small:hover { transform:translateY(-1px); filter:brightness(1.08); }
main { padding:34px; max-width:1600px; margin:0 auto; }
.view { display:none; animation:fade .3s ease; }
.view.active { display:block; }
@keyframes fade { from{opacity:0; transform:translateY(5px)} to{opacity:1; transform:none} }
.eyebrow { margin:0 0 8px; color:var(--magenta); font-size:11px; font-weight:800; letter-spacing:.16em; }
h1,h2,h3,h4,p { margin-top:0; }
h1,h2,h3 { font-family:"Space Grotesk",sans-serif; }
h1 { font-size:clamp(32px,4vw,54px); line-height:1.04; margin-bottom:12px; letter-spacing:-.04em; }
h2 { font-size:22px; margin-bottom:0; letter-spacing:-.025em; }
.welcome-row, .page-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:28px; }
.welcome-row > div > p:last-child, .page-heading > div > p:last-child { color:var(--muted); max-width:700px; margin-bottom:0; }
.outline-button, .back-button { border:1px solid var(--line); background:var(--surface); color:white; border-radius:13px; padding:12px 16px; }
.outline-button span { color:var(--cyan); margin-left:8px; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.stat-card { position:relative; overflow:hidden; padding:20px; border:1px solid var(--line); background:linear-gradient(145deg,rgba(23,27,45,.95),rgba(13,16,28,.95)); border-radius:18px; }
.stat-card::after { content:""; position:absolute; width:110px; height:110px; border-radius:50%; background:radial-gradient(circle,rgba(240,0,145,.18),transparent 68%); right:-30px; top:-35px; }
.stat-card p { color:var(--muted); margin:12px 0 4px; font-size:13px; }
.stat-card strong { display:block; font-size:30px; font-family:"Space Grotesk"; }
.stat-card small { color:#7f87a2; }
.stat-icon { color:var(--cyan); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); gap:18px; }
.panel { border:1px solid var(--line); background:rgba(16,19,33,.88); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; }
.panel-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:18px; }
.text-button { border:0; background:transparent; color:var(--cyan); font-weight:700; }
.featured-event { display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center; padding:18px; background:linear-gradient(120deg,rgba(240,0,145,.12),rgba(48,216,255,.07)); border:1px solid rgba(240,0,145,.18); border-radius:18px; }
.event-date { width:68px; height:74px; display:grid; place-items:center; align-content:center; border-radius:16px; background:linear-gradient(145deg,#ff219e,#9e17ff); }
.event-date span { font-size:10px; font-weight:800; }
.event-date strong { font-size:28px; line-height:1; font-family:"Space Grotesk"; }
.pill { display:inline-flex; width:max-content; padding:6px 9px; border-radius:999px; background:rgba(240,0,145,.14); color:#ff82c8; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.pill.cyan { background:rgba(48,216,255,.12); color:var(--cyan); }
.event-body h3 { margin:10px 0 6px; font-size:19px; }
.event-body p { color:var(--muted); font-size:13px; margin-bottom:10px; }
.event-meta { display:flex; gap:16px; color:#858da7; font-size:11px; }
.event-list { margin-top:12px; }
.event-list article { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:13px 4px; border-bottom:1px solid var(--line); }
.event-list article:last-child { border-bottom:0; }
.mini-date { width:46px; height:46px; border-radius:12px; border:1px solid var(--line); display:grid; place-items:center; align-content:center; }
.mini-date strong { font-size:16px; line-height:1; }
.mini-date span { font-size:8px; color:var(--muted); }
.event-list h4 { margin-bottom:3px; font-size:14px; }
.event-list p { margin:0; color:var(--muted); font-size:12px; }
.event-list button { border:0; background:transparent; color:var(--cyan); font-size:20px; }
.connection-stack { display:grid; gap:12px; }
.connection { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:12px; background:rgba(255,255,255,.025); border-radius:15px; }
.connection strong { display:block; font-size:14px; }
.connection span { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.connection button { width:34px; height:34px; border-radius:10px; background:rgba(48,216,255,.10); border:1px solid rgba(48,216,255,.18); color:var(--cyan); }
.wide-secondary { width:100%; margin-top:14px; padding:12px; border-radius:13px; border:1px solid var(--line); background:var(--surface-2); color:white; font-weight:700; }
.activity-panel, .learning-panel { min-height:260px; }
.activity-item { display:flex; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); }
.activity-item:last-child { border:0; }
.activity-item p { margin-bottom:4px; font-size:13px; }
.activity-item span { color:var(--muted); font-size:11px; }
.learning-panel { display:flex; align-items:center; justify-content:space-between; gap:20px; background:linear-gradient(135deg,rgba(48,216,255,.08),rgba(185,0,255,.10)); }
.learning-copy { max-width:70%; }
.learning-copy h2 { margin:12px 0 8px; font-size:26px; }
.learning-copy p { color:var(--muted); font-size:13px; }
.progress { height:7px; background:rgba(255,255,255,.08); border-radius:999px; margin:18px 0; overflow:hidden; }
.progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--magenta)); }
.course-ring { width:110px; height:110px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--cyan) 0 68%, rgba(255,255,255,.08) 68%); position:relative; }
.course-ring::after { content:""; position:absolute; inset:10px; border-radius:50%; background:#111526; }
.course-ring span { z-index:1; font-family:"Space Grotesk"; font-size:22px; }
.directory-toolbar { display:grid; grid-template-columns:1fr 190px 190px; gap:12px; padding:15px; border:1px solid var(--line); background:var(--surface); border-radius:18px; }
.directory-search { display:flex; align-items:center; gap:10px; padding:0 12px; border-radius:12px; background:var(--surface-2); }
.directory-search input, .directory-toolbar select { width:100%; height:44px; border:0; outline:0; color:white; background:var(--surface-2); border-radius:12px; padding:0 12px; }
.directory-toolbar select { border:1px solid var(--line); }
.directory-summary { display:flex; justify-content:space-between; gap:12px; margin:20px 2px 14px; color:var(--muted); font-size:12px; }
.directory-summary strong { color:white; }
.member-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.member-card { position:relative; overflow:hidden; padding:20px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,var(--surface-2),var(--surface)); transition:.22s ease; }
.member-card:hover { transform:translateY(-4px); border-color:rgba(240,0,145,.35); box-shadow:0 20px 50px rgba(0,0,0,.24); }
.member-card-top { display:flex; gap:14px; align-items:center; }
.member-avatar { width:64px; height:64px; border-radius:19px; display:grid; place-items:center; font-size:18px; font-weight:800; }
.member-card h3 { margin:0 0 4px; font-size:18px; }
.member-card .title { color:var(--muted); font-size:12px; margin:0; }
.verified { color:var(--cyan); font-size:10px; font-weight:800; }
.member-card .bio { margin:16px 0; color:#b3b9cc; font-size:13px; line-height:1.55; min-height:61px; }
.tag-row { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:18px; }
.tag { padding:6px 8px; border-radius:999px; background:rgba(255,255,255,.05); color:#c8cce0; font-size:10px; }
.card-actions { display:flex; gap:8px; }
.card-actions button { flex:1; padding:10px; border-radius:11px; font-weight:700; }
.view-profile { background:linear-gradient(135deg,var(--magenta),var(--magenta-2)); color:white; border:0; }
.connect-button { border:1px solid var(--line); color:white; background:transparent; }
.back-button { margin-bottom:20px; }
.profile-hero { padding:28px; border-radius:26px; background:linear-gradient(130deg,rgba(240,0,145,.18),rgba(48,216,255,.09)); border:1px solid var(--line); }
.profile-top { display:flex; justify-content:space-between; gap:24px; align-items:center; }
.profile-ident { display:flex; align-items:center; gap:18px; }
.profile-ident .member-avatar { width:96px; height:96px; border-radius:28px; font-size:26px; }
.profile-ident h1 { margin-bottom:7px; font-size:38px; }
.profile-ident p { margin-bottom:6px; color:var(--muted); }
.profile-actions { display:flex; gap:10px; }
.profile-layout { display:grid; grid-template-columns:1.4fr .6fr; gap:18px; margin-top:18px; }
.profile-section { padding:22px; border-radius:20px; background:var(--surface); border:1px solid var(--line); }
.profile-section p { color:var(--muted); line-height:1.7; }
.detail-list { display:grid; gap:14px; }
.detail-list div { display:flex; justify-content:space-between; gap:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.detail-list div:last-child { border:0; }
.detail-list span { color:var(--muted); }
.simple-view .coming-soon-card { min-height:300px; display:grid; place-items:center; text-align:center; padding:50px; border-radius:26px; border:1px solid var(--line); background:radial-gradient(circle at 50% 0%,rgba(240,0,145,.13),transparent 50%),var(--surface); }
.coming-soon-card h2 { font-size:30px; margin-bottom:12px; }
.coming-soon-card p { color:var(--muted); max-width:650px; line-height:1.7; }
.profile-form-card { display:grid; grid-template-columns:200px 1fr; gap:28px; padding:28px; border-radius:24px; border:1px solid var(--line); background:var(--surface); }
.profile-preview { display:flex; flex-direction:column; align-items:center; gap:12px; }
.profile-form-card form { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.profile-form-card label { display:grid; gap:8px; font-size:12px; color:var(--muted); }
.profile-form-card label:nth-child(4) { grid-column:1/-1; }
.profile-form-card input, .profile-form-card textarea { width:100%; border:1px solid var(--line); background:var(--surface-2); color:white; border-radius:12px; padding:12px; outline:none; }
.mobile-overlay { display:none; }
@media (max-width:1100px) {
  .stat-grid { grid-template-columns:repeat(2,1fr); }
  .dashboard-grid { grid-template-columns:1fr; }
  .member-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px) {
  :root { --sidebar:280px; }
  .mockup-banner { padding:0 12px; }
  .banner-note { display:none; }
  .sidebar { transform:translateX(-105%); transition:.25s ease; top:34px; }
  .sidebar.open { transform:none; }
  .app-main { margin-left:0; }
  .topbar { top:34px; padding:0 14px; }
  .menu-button { display:block; }
  .global-search { width:100%; }
  .global-search kbd, .top-actions .primary-small { display:none; }
  main { padding:22px 14px; }
  .welcome-row, .page-heading { align-items:flex-start; flex-direction:column; }
  .stat-grid, .member-grid { grid-template-columns:1fr; }
  .featured-event { grid-template-columns:auto 1fr; }
  .featured-event > .primary-button { grid-column:1/-1; }
  .directory-toolbar { grid-template-columns:1fr; }
  .directory-summary { flex-direction:column; }
  .profile-top, .profile-ident { align-items:flex-start; flex-direction:column; }
  .profile-actions { width:100%; }
  .profile-actions button { flex:1; }
  .profile-layout, .profile-form-card { grid-template-columns:1fr; }
  .profile-form-card form { grid-template-columns:1fr; }
  .profile-form-card label:nth-child(4) { grid-column:auto; }
  .mobile-overlay.show { display:block; position:fixed; inset:34px 0 0; background:rgba(0,0,0,.55); z-index:45; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Premium global dashboard hero */
.welcome-hero {
  position:relative;
  min-height:300px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);
  align-items:center;
  gap:18px;
  margin-bottom:22px;
  padding:28px 30px;
  overflow:hidden;
  border:1px solid rgba(142,158,255,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at 78% 45%, rgba(0,212,255,.10), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(229,0,125,.14), transparent 31%),
    linear-gradient(130deg, rgba(15,19,37,.96), rgba(12,10,29,.92));
  box-shadow:0 26px 70px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035);
  isolation:isolate;
}
.welcome-hero::before {
  content:"";
  position:absolute;
  inset:-40%;
  z-index:-1;
  opacity:.45;
  background:conic-gradient(from 90deg, transparent, rgba(229,0,125,.09), transparent 35%, rgba(0,212,255,.07), transparent 70%);
  animation:ambientSpin 28s linear infinite;
}
.welcome-copy { position:relative; z-index:3; max-width:650px; }
.welcome-copy h1 { margin:6px 0 8px; font-size:clamp(2.35rem,4.4vw,4.2rem); line-height:.98; letter-spacing:-.055em; }
.welcome-copy > p:last-of-type { max-width:610px; color:var(--muted); font-size:1.03rem; }
.profile-progress { position:absolute; right:20px; top:20px; z-index:6; backdrop-filter:blur(14px); background:rgba(11,14,30,.62); }
.network-pulse { display:inline-flex; align-items:center; gap:9px; margin-top:18px; padding:9px 12px; border:1px solid rgba(0,212,255,.16); border-radius:999px; background:rgba(7,11,27,.58); color:#c4d1ff; font-size:.82rem; box-shadow:inset 0 1px rgba(255,255,255,.03); }
.pulse-dot { width:8px; height:8px; border-radius:50%; background:#00e7c8; box-shadow:0 0 0 0 rgba(0,231,200,.55); animation:pulseRing 2s infinite; }
.globe-stage { position:relative; min-height:260px; z-index:2; display:grid; place-items:center; }
#networkGlobe { width:100%; height:auto; max-width:520px; display:block; filter:drop-shadow(0 0 28px rgba(0,212,255,.13)); }
.globe-glow { position:absolute; width:56%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, rgba(0,212,255,.16), rgba(123,44,191,.06) 45%, transparent 72%); filter:blur(18px); z-index:-1; animation:glowBreathe 5s ease-in-out infinite; }
.globe-label { position:absolute; display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(255,255,255,.09); border-radius:11px; background:rgba(10,13,29,.72); backdrop-filter:blur(12px); box-shadow:0 12px 35px rgba(0,0,0,.22); }
.globe-label strong { color:#fff; font-family:'Space Grotesk',sans-serif; }
.globe-label span { color:var(--muted); font-size:.68rem; }
.globe-label-one { left:4%; bottom:18%; }
.globe-label-two { right:1%; top:29%; }
.stat-card { transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.stat-card:hover { transform:translateY(-5px); border-color:rgba(0,212,255,.25); box-shadow:0 18px 45px rgba(0,0,0,.24), 0 0 28px rgba(229,0,125,.055); }
.panel { transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.panel:hover { border-color:rgba(148,161,255,.23); box-shadow:0 22px 56px rgba(0,0,0,.22); }
@keyframes ambientSpin { to { transform:rotate(360deg); } }
@keyframes pulseRing { 70% { box-shadow:0 0 0 8px rgba(0,231,200,0); } 100% { box-shadow:0 0 0 0 rgba(0,231,200,0); } }
@keyframes glowBreathe { 50% { transform:scale(1.08); opacity:.72; } }
@media (max-width:1100px) {
  .welcome-hero { grid-template-columns:1fr minmax(290px,.75fr); }
  .welcome-copy h1 { font-size:clamp(2.5rem,5vw,3.7rem); }
}
@media (max-width:850px) {
  .welcome-hero { grid-template-columns:1fr; padding:28px 22px 18px; }
  .globe-stage { min-height:245px; margin-top:-14px; }
  .profile-progress { position:static; width:max-content; grid-row:3; }
}
@media (max-width:520px) {
  .welcome-hero { padding:24px 16px 16px; border-radius:19px; }
  .welcome-copy h1 { font-size:2.55rem; }
  .globe-stage { min-height:215px; }
  .globe-label { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .welcome-hero::before,.pulse-dot,.globe-glow { animation:none!important; }
}

/* Guaranteed-visible SVG world globe: no library, canvas, or network request required. */
.world-globe {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  z-index: 2;
  transform: translateY(8px);
  filter: drop-shadow(0 28px 48px rgba(0,0,0,.42));
}
.world-globe svg { width:100%; height:100%; display:block; overflow:visible; }
.globe-aura { fill:rgba(0,212,255,.055); stroke:rgba(164,105,255,.17); stroke-width:2; }
.globe-ocean { stroke:rgba(114,231,255,.68); stroke-width:2.2; }
.globe-grid { fill:none; stroke:rgba(146,224,255,.20); stroke-width:1.15; }
.rotating-world {
  transform-box: fill-box;
  transform-origin: center;
  animation: worldTurn 48s linear infinite;
  opacity:.92;
}
.network-arcs path { stroke:#43e8ff; stroke-width:2; stroke-linecap:round; stroke-dasharray:8 12; animation:arcFlow 5s linear infinite; }
.network-arcs path:nth-child(2) { stroke:#ff43ab; animation-delay:-1.5s; }
.network-arcs path:nth-child(3) { stroke:#9f6cff; animation-delay:-3s; }
.network-nodes circle { fill:#fff; stroke:#2de9ff; stroke-width:3; animation:nodePulse 2.8s ease-in-out infinite; }
.network-nodes circle:nth-child(even) { stroke:#ff39a5; animation-delay:-1.2s; }
.globe-rim { fill:none; stroke:rgba(106,226,255,.74); stroke-width:2.3; }
.globe-highlight { fill:rgba(255,255,255,.07); transform:rotate(-22deg); transform-origin:center; }
@keyframes worldTurn {
  0% { transform:rotate(-2deg) scale(1); }
  50% { transform:rotate(8deg) scale(.985); }
  100% { transform:rotate(-2deg) scale(1); }
}
@keyframes arcFlow { to { stroke-dashoffset:-80; } }
@keyframes nodePulse { 50% { opacity:.55; transform:scale(1.45); } }

/* Keep the globe visibly present on standard laptop screens. */
@media (min-width:851px) {
  .welcome-hero { min-height:340px; }
  .globe-stage { min-width:330px; min-height:300px; }
}
@media (max-width:850px) {
  .world-globe { width:min(86vw,340px); }
}
@media (prefers-reduced-motion:reduce) {
  .rotating-world,.network-arcs path,.network-nodes circle { animation:none!important; }
}
