:root {
  --bg: #ffffff;
  --ink: #0d1b2a;
  --muted: #4f5a6b;
  --line: #e6edf5;
  --accent: #0b84ff;
  --accent-2: #00c6c8;
  --card: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 20px 60px rgba(13, 27, 42, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  filter: blur(70px);
  opacity: 0.6;
}

.shape-a { width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, rgba(11,132,255,0.32), transparent 60%); top: -160px; left: -120px; }
.shape-b { width: 420px; height: 420px; background: radial-gradient(circle at 60% 40%, rgba(0,198,200,0.24), transparent 65%); bottom: -120px; right: -80px; }
.shape-c { width: 380px; height: 380px; background: radial-gradient(circle at 50% 50%, rgba(13,27,42,0.10), transparent 70%); top: 40%; left: 50%; transform: translate(-50%, -50%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo .mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.logo .wordmark { display: flex; flex-direction: column; }
.logo .name { font-weight: 700; letter-spacing: 0.2px; }
.logo .tagline { font-size: 13px; color: var(--muted); }
.logo.mini .mark { width: 36px; height: 36px; font-size: 14px; }

nav { display: flex; align-items: center; gap: 18px; font-weight: 600; }
nav a { padding: 8px 10px; border-radius: 10px; color: var(--muted); transition: color 0.2s ease, background 0.2s ease; }
nav a:hover { color: var(--ink); background: rgba(11,132,255,0.08); }
nav a.pill { background: #0d1b2a; color: #fff; padding: 10px 16px; }

main { max-width: 1200px; margin: 0 auto; padding: 48px 24px 96px; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; padding: 32px 8px 64px; }
.hero-copy h1 { font-size: 42px; line-height: 1.15; margin: 12px 0 16px; }
.hero-copy .lede { font-size: 18px; color: var(--muted); margin-bottom: 22px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.eyebrow { letter-spacing: 0.32em; text-transform: uppercase; font-size: 12px; color: var(--muted); font-weight: 700; }
.lede, .section-lede { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stats .stat { font-size: 30px; font-weight: 700; display: block; }
.stats .label { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; min-height: 340px; }
.orbit {
  width: 360px; height: 360px; border-radius: 50%;
  margin: 0 auto;
  border: 1px dashed rgba(13,27,42,0.14);
  position: relative;
  animation: rotate 28s linear infinite;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(11,132,255,0.08), transparent 65%);
}
.orbit-core {
  width: 140px; height: 140px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff; text-align: center;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(11,132,255,0.35);
}
.orbit-node {
  position: absolute;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  font-weight: 600;
  color: var(--ink);
}
.node-a { top: -16px; left: 50%; transform: translate(-50%, 0); }
.node-b { right: -12px; top: 35%; }
.node-c { bottom: -12px; left: 48%; transform: translate(-50%, 0); }
.node-d { left: -20px; top: 40%; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.section { padding: 60px 8px; }
.section.alt { background: rgba(13,27,42,0.02); border-radius: 24px; margin: 32px 0; }
.section-head h2 { margin: 6px 0 12px; font-size: 32px; }
.section-head p.section-lede { max-width: 720px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}
.card h3 { margin: 0 0 10px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul { padding-left: 16px; margin: 0; color: var(--muted); line-height: 1.5; }

.timeline { display: grid; gap: 14px; margin-top: 26px; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-soft); }
.step-label { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.work-card { background: #0d1b2a; color: #f0f4fa; border-radius: var(--radius); padding: 18px; box-shadow: 0 16px 48px rgba(13,27,42,0.35); position: relative; overflow: hidden; }
.work-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(11,132,255,0.15), transparent 55%); }
.work-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; z-index: 1; }
.work-card h3 { margin: 0 0 8px; position: relative; z-index: 1; }
.work-card p { margin: 0 0 12px; color: #ced9e8; position: relative; z-index: 1; }
.work-card .meta { color: #9fb6d3; font-size: 14px; position: relative; z-index: 1; }
.chip { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.1); font-weight: 600; letter-spacing: 0.4px; }
.year { color: #9fb6d3; font-weight: 600; }

.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, rgba(11,132,255,0.12), rgba(0,198,200,0.14)); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); }
.contact-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-card .email { font-weight: 700; letter-spacing: 0.4px; color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 12px 30px rgba(11,132,255,0.35); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(11,132,255,0.4); }
.button.ghost { background: rgba(13,27,42,0.05); color: var(--ink); border-color: var(--line); }
.button.ghost:hover { background: rgba(13,27,42,0.08); }

.section-lede { margin: 0; }

.site-footer { max-width: 1200px; margin: 32px auto 48px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--ink); font-weight: 700; }
.footer-meta { display: flex; gap: 14px; align-items: center; }

.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .site-header { position: static; flex-wrap: wrap; gap: 12px 18px; }
  nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit { width: 280px; height: 280px; }
  .section.alt { padding: 48px 16px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { padding: 14px 18px; }
  main { padding: 32px 18px 72px; }
  .hero-copy h1 { font-size: 32px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 60px 1fr; }
}
