:root {
  --bg: #030712;
  --bg-soft: #081126;
  --panel: rgba(14, 20, 39, 0.48);
  --panel-strong: rgba(15, 23, 42, 0.72);
  --panel-clear: rgba(13, 20, 44, 0.16);
  --border: rgba(186, 212, 255, 0.18);
  --border-strong: rgba(223, 239, 255, 0.2);
  --text: #ebf4ff;
  --muted: #a0b6d9;
  --blue: #67b7ff;
  --blue-deep: #3153ff;
  --purple: #8a5cff;
  --pink: #c45cff;
  --shadow: 0 24px 90px rgba(6, 10, 24, 0.55);
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(69, 114, 255, 0.24), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(138, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(92, 180, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.04), transparent 38%),
    linear-gradient(160deg, #02050d 0%, #030712 45%, #060e1c 100%);
  overflow-x: hidden;
}

body.is-scrolled .nav {
  transform: translateY(-4px) scale(0.995);
}

body.is-scrolled .nav-brand,
body.is-scrolled .nav-links,
body.is-scrolled .nav-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at var(--spot-x, 20%) var(--spot-y, 10%), rgba(174, 219, 255, 0.1), transparent 26%),
    rgba(8, 13, 29, 0.28);
  box-shadow:
    0 14px 28px rgba(4, 8, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
  background-size: 320px 320px, 260px 260px, 340px 340px;
  pointer-events: none;
  opacity: 0.3;
  z-index: -5;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(122, 162, 255, 0.12), transparent 35%),
    radial-gradient(circle at 50% 110%, rgba(138, 92, 255, 0.1), transparent 30%);
  pointer-events: none;
  opacity: 0.42;
  z-index: -5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  font: inherit;
}

.star-canvas,
.space-grid,
.noise-overlay,
.aurora,
.meteor,
.scroll-progress,
.cursor-aura,
.cursor-dot,
.click-burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scroll-progress {
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 60%);
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(103, 183, 255, 0.95), rgba(138, 92, 255, 0.95));
  box-shadow:
    0 0 18px rgba(103, 183, 255, 0.55),
    0 0 28px rgba(138, 92, 255, 0.3);
}

.cursor-aura,
.cursor-dot,
.click-burst-layer {
  display: none;
}

.cursor-aura {
  inset: auto;
  z-index: 80;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(159, 214, 255, 0.22) 0%, rgba(103, 183, 255, 0.16) 22%, rgba(138, 92, 255, 0.08) 48%, rgba(138, 92, 255, 0) 74%);
  filter: blur(10px);
  mix-blend-mode: screen;
  transition:
    width 240ms ease,
    height 240ms ease,
    opacity 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.cursor-dot {
  inset: auto;
  z-index: 81;
  width: 12px;
  height: 12px;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 18px rgba(103, 183, 255, 0.68),
    0 0 34px rgba(138, 92, 255, 0.28);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.cursor-aura.is-visible,
.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-aura.is-hovering {
  width: 340px;
  height: 340px;
  background:
    radial-gradient(circle, rgba(213, 237, 255, 0.22) 0%, rgba(103, 183, 255, 0.14) 28%, rgba(138, 92, 255, 0.1) 56%, rgba(138, 92, 255, 0) 78%);
}

.cursor-dot.is-hovering {
  transform: translate(-50%, -50%) scale(1.7);
  background: rgba(220, 239, 255, 1);
}

.cursor-aura.is-clicking {
  transform: translate(-50%, -50%) scale(0.84);
}

.cursor-dot.is-clicking {
  transform: translate(-50%, -50%) scale(0.78);
}

.click-burst-layer {
  z-index: 82;
}

.click-burst {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

.click-burst-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 1px solid rgba(232, 243, 255, 0.58);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 72%);
  animation: burst-ring 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.click-burst-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(138, 92, 255, 0.88));
  box-shadow: 0 0 16px rgba(103, 183, 255, 0.75);
  transform: rotate(var(--angle)) translateX(0) scale(0.4);
  animation: burst-particle 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.star-canvas {
  z-index: -3;
}

.space-grid {
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(122, 162, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 162, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  animation: grid-drift 38s linear infinite;
}

.noise-overlay {
  z-index: -1;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.9) 1px, transparent 0),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  background-size: 3px 3px, 100% 100%;
  mix-blend-mode: soft-light;
}

.aurora {
  z-index: -1;
  filter: blur(70px);
  opacity: 0.55;
}

.aurora-left {
  background: radial-gradient(circle, rgba(61, 109, 255, 0.35), transparent 60%);
  transform: translate(-22%, -16%);
  animation: aurora-drift-left 18s ease-in-out infinite alternate;
}

.aurora-right {
  background: radial-gradient(circle, rgba(152, 82, 255, 0.3), transparent 60%);
  transform: translate(32%, 8%);
  animation: aurora-drift-right 22s ease-in-out infinite alternate;
}

.meteor {
  z-index: -1;
  width: 220px;
  height: 2px;
  inset: auto auto auto auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(209, 231, 255, 0.88), rgba(255, 255, 255, 0));
  border-radius: 999px;
  filter: drop-shadow(0 0 12px rgba(103, 183, 255, 0.45));
  opacity: 0;
  transform: rotate(-24deg);
}

.meteor::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(103, 183, 255, 0.2));
  box-shadow: 0 0 18px rgba(103, 183, 255, 0.65);
}

.meteor-one {
  top: 18%;
  left: 58%;
  animation: meteor-fall 12s linear infinite 2s;
}

.meteor-two {
  top: 42%;
  left: 68%;
  animation: meteor-fall 16s linear infinite 8s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 22px 20px 0;
}

.nav {
  width: min(var(--max-width), calc(100% - 8px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  transition: transform 260ms ease;
}

.nav-brand,
.nav-links,
.nav-cta {
  animation: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at var(--spot-x, 20%) var(--spot-y, 10%), rgba(174, 219, 255, 0.08), transparent 24%),
    rgba(8, 13, 29, 0.16);
  border-color: rgba(223, 239, 255, 0.12);
  box-shadow:
    0 8px 22px rgba(2, 8, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(150%) brightness(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(150%) brightness(1.04);
}

.site-header .glass-panel::after {
  opacity: 0.46;
}

.nav-brand {
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  justify-self: start;
}

.nav-links {
  width: fit-content;
  margin: 0 auto;
  padding: 14px 24px;
  justify-content: center;
  border-radius: 999px;
}

.nav-cta {
  justify-self: end;
  padding: 12px 18px;
}

.glass-panel {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07) 34%, rgba(255, 255, 255, 0.02) 58%, rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at var(--spot-x, 18%) var(--spot-y, 12%), rgba(176, 220, 255, 0.22), transparent 30%),
    linear-gradient(155deg, rgba(64, 106, 255, 0.14), rgba(138, 92, 255, 0.08) 48%, rgba(9, 14, 30, 0.18));
  background-size: 140% 140%, 100% 100%, 120% 120%;
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(2, 8, 20, 0.26),
    0 12px 30px rgba(103, 183, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -14px 30px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px) saturate(190%) brightness(1.08);
  -webkit-backdrop-filter: blur(30px) saturate(190%) brightness(1.08);
  overflow: hidden;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
  animation: glass-flow 18s ease-in-out infinite alternate;
}

.glass-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(136deg, rgba(255, 255, 255, 0.42), transparent 16%, transparent 50%, rgba(103, 183, 255, 0.12) 74%, rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.glass-panel:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 34px 84px rgba(3, 7, 18, 0.38),
    0 0 0 1px rgba(164, 212, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(103, 183, 255, 0.35), rgba(138, 92, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.nav-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(103, 183, 255, 0.95), rgba(138, 92, 255, 0.95));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--text);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-cta:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 3px), 0);
}

.nav-cta {
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

main {
  position: relative;
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 112px;
}

.hero {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #9ec3ff;
  font-size: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  letter-spacing: -0.05em;
}

.hero-subtitle {
  margin: 28px 0 0 6px;
  max-width: 18ch;
  color: #d8e7ff;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.hero-text,
.info-card p,
.focus-card p,
.project-card p,
.contact-text {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0 6px;
}

.hero-copy {
  position: relative;
  max-width: 650px;
  padding-left: 18px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -16px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 183, 255, 0.18), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.role-strip {
  margin-top: 28px;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.role-label {
  color: var(--muted);
  font-size: 0.92rem;
}

#rotating-role {
  color: #eff6ff;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.03em;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -140%;
  width: 42%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-24deg);
  transition: left 360ms ease;
}

.button:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 4px), 0);
}

.button:hover::after {
  left: 140%;
}

.button-primary {
  background: linear-gradient(135deg, rgba(65, 112, 255, 0.58), rgba(138, 92, 255, 0.46));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 38px rgba(72, 95, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 680px;
}

.stat-card,
.info-card,
.focus-card,
.project-card,
.contact-panel,
.orbital-shell,
.signal-card {
  border-radius: var(--radius-lg);
}

.stat-card {
  padding: 18px 18px 20px;
}

.hero-stats > :nth-child(1) {
  grid-column: 1 / span 3;
}

.hero-stats > :nth-child(2) {
  grid-column: 4 / span 3;
  margin-top: 30px;
}

.hero-stats > :nth-child(3) {
  grid-column: 2 / span 4;
  margin-top: -4px;
}

.stat-card span,
.project-topline,
.card-tag {
  display: inline-block;
  color: #9fb9de;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.08rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
  align-items: center;
}

.moon-main,
.planet-small,
.twinkle-star {
  position: absolute;
  pointer-events: none;
}

.moon-main {
  top: 4%;
  right: 8%;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), rgba(206, 227, 255, 0.76) 28%, rgba(136, 155, 222, 0.46) 62%, rgba(115, 110, 202, 0.16) 100%);
  box-shadow:
    0 0 34px rgba(176, 212, 255, 0.22),
    0 0 90px rgba(138, 92, 255, 0.08);
  opacity: 0.88;
  transform: translate3d(calc(var(--scene-x, 0px) * -0.25), calc(var(--scene-y, 0px) * -0.25), 0);
  transition: transform 280ms ease;
  animation: moon-drift 12s ease-in-out infinite alternate;
}

.moon-main::before,
.moon-main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(124, 142, 210, 0.18);
}

.moon-main::before {
  width: 16px;
  height: 16px;
  top: 26px;
  left: 70px;
}

.moon-main::after {
  width: 10px;
  height: 10px;
  top: 72px;
  left: 28px;
}

.planet-small {
  border-radius: 50%;
  transition: transform 280ms ease;
}

.planet-small-one {
  top: 12%;
  left: 8%;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.88), rgba(112, 191, 255, 0.58) 42%, rgba(74, 90, 220, 0.28) 100%);
  box-shadow: 0 0 24px rgba(112, 191, 255, 0.24);
  transform: translate3d(calc(var(--scene-x, 0px) * 0.35), calc(var(--scene-y, 0px) * 0.35), 0);
  animation: float-slow 9s ease-in-out infinite;
}

.planet-small-two {
  right: 6%;
  bottom: 18%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.88), rgba(229, 175, 255, 0.58) 42%, rgba(164, 98, 255, 0.3) 100%);
  box-shadow: 0 0 18px rgba(222, 167, 255, 0.22);
  transform: translate3d(calc(var(--scene-x, 0px) * -0.28), calc(var(--scene-y, 0px) * -0.28), 0);
  animation: float-slow 11s ease-in-out infinite reverse;
}

.twinkle-star {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(237, 245, 255, 0.95);
  box-shadow:
    0 0 16px rgba(198, 227, 255, 0.48),
    0 0 28px rgba(136, 185, 255, 0.22);
}

.twinkle-star::before,
.twinkle-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: rgba(237, 245, 255, 0.72);
  transform: translate(-50%, -50%);
}

.twinkle-star::before {
  width: 2px;
  height: 22px;
}

.twinkle-star::after {
  width: 22px;
  height: 2px;
}

.twinkle-star-one {
  top: 8%;
  left: 54%;
  animation: twinkle 2.6s ease-in-out infinite;
}

.twinkle-star-two {
  top: 62%;
  left: 18%;
  transform: scale(0.82);
  animation: twinkle 3.2s ease-in-out infinite 0.8s;
}

.twinkle-star-three {
  right: 18%;
  top: 24%;
  transform: scale(0.62);
  animation: twinkle 2.9s ease-in-out infinite 1.4s;
}

.orbital-shell {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  background: transparent;
  overflow: visible;
  transform: translate3d(var(--shell-x, 0px), var(--shell-y, 0px), 0);
  transition: transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.orbital-shell::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(191, 219, 254, 0.08);
}

.orbital-shell::after {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(132, 184, 255, 0.18), rgba(138, 92, 255, 0.08) 38%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.planet-core {
  position: absolute;
  inset: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 40% 35%, rgba(120, 194, 255, 0.9), rgba(62, 74, 255, 0.5) 58%, rgba(23, 27, 61, 0.15) 100%);
  box-shadow:
    0 0 60px rgba(67, 130, 255, 0.32),
    inset -18px -24px 46px rgba(16, 15, 48, 0.62);
  animation: planet-breathe 11s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(179, 226, 255, 0.55);
  border-right-color: rgba(136, 168, 255, 0.3);
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 300px;
  height: 300px;
  animation: orbit-spin 18s linear infinite;
}

.orbit-two {
  width: 410px;
  height: 410px;
  animation: orbit-spin-reverse 28s linear infinite;
}

.orbit-three {
  width: 500px;
  height: 500px;
  border-top-color: rgba(218, 228, 255, 0.22);
  border-right-color: rgba(162, 190, 255, 0.08);
  opacity: 0.55;
  animation: orbit-spin 40s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7e9ff, #77b7ff);
  box-shadow: 0 0 18px rgba(130, 202, 255, 0.6);
}

.orbit-dot-one {
  top: calc(50% - 157px);
  left: calc(50% - 7px);
  transform-origin: 7px 157px;
  animation: orbit-dot-spin 12s linear infinite;
}

.orbit-dot-two {
  top: calc(50% + 198px);
  left: calc(50% - 7px);
  background: linear-gradient(145deg, #f0deff, #a174ff);
  transform-origin: 7px -198px;
  animation: orbit-dot-spin-reverse 16s linear infinite;
}

.rocket-orbit {
  position: absolute;
  inset: 50%;
  width: 0;
  height: 0;
  animation: rocket-orbit-spin 20s linear infinite;
}

.rocket {
  position: absolute;
  left: -18px;
  top: -252px;
  width: 36px;
  height: 84px;
  border-radius: 24px 24px 16px 16px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.98), rgba(183, 201, 255, 0.96) 44%, rgba(111, 123, 227, 0.86) 100%);
  box-shadow:
    0 0 18px rgba(184, 215, 255, 0.22),
    inset 0 -10px 18px rgba(55, 54, 140, 0.22);
  transform: rotate(90deg);
}

.rocket::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(173, 203, 255, 0.88));
}

.rocket-window {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(110, 201, 255, 0.72) 52%, rgba(67, 93, 229, 0.44));
  box-shadow: 0 0 14px rgba(110, 201, 255, 0.34);
}

.rocket-fin {
  position: absolute;
  bottom: 14px;
  width: 12px;
  height: 24px;
  background: linear-gradient(180deg, rgba(135, 121, 255, 0.92), rgba(91, 80, 219, 0.66));
}

.rocket-fin-left {
  left: -6px;
  clip-path: polygon(100% 0%, 100% 100%, 0% 76%);
}

.rocket-fin-right {
  right: -6px;
  clip-path: polygon(0% 0%, 100% 76%, 0% 100%);
}

.rocket-flame {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 14px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50% 50% 70% 70%;
  background: linear-gradient(180deg, rgba(255, 244, 163, 0.98), rgba(255, 151, 70, 0.88) 48%, rgba(255, 90, 102, 0.16) 100%);
  filter: blur(0.4px);
  animation: flame-flicker 0.42s ease-in-out infinite alternate;
}

.signal-card {
  position: absolute;
  right: 3%;
  bottom: 2%;
  max-width: 220px;
  padding: 18px 20px;
  border-radius: 24px 24px 34px 24px;
  animation: signal-float 9s ease-in-out infinite;
}

.hero-visual.is-boosted .rocket-orbit {
  animation-duration: 8s;
}

.hero-visual.is-boosted .rocket-flame {
  animation-duration: 0.18s;
  height: 38px;
}

.hero-visual.is-boosted .planet-core {
  animation-duration: 3.4s;
}

.hero-visual.is-boosted .twinkle-star,
.hero-visual.is-boosted .moon-main {
  filter: saturate(1.2) brightness(1.18);
}

.signal-card span {
  color: #b6c9ea;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-card strong {
  display: block;
  margin-top: 10px;
  line-height: 1.35;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.about-grid,
.focus-grid,
.experience-grid,
.project-grid {
  display: grid;
  gap: 20px;
}

.about-grid {
  grid-template-columns: 1.08fr 0.94fr 1fr;
}

.focus-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.experience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.project-grid {
  grid-template-columns: 1.08fr 0.94fr 1fr;
}

.info-card,
.focus-card,
.stack-card,
.experience-card,
.project-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.stat-card,
.info-card,
.focus-card,
.experience-card,
.project-card,
.contact-panel {
  will-change: transform;
}

.info-card:nth-child(2) {
  margin-top: 48px;
}

.info-card:nth-child(3) {
  margin-top: -10px;
}

.focus-card:nth-child(1) {
  grid-column: 1 / span 3;
}

.focus-card:nth-child(2) {
  grid-column: 4 / span 3;
  margin-top: 34px;
}

.focus-card:nth-child(3) {
  grid-column: 1 / span 2;
  margin-top: -6px;
}

.focus-card:nth-child(4) {
  grid-column: 3 / span 4;
  margin-top: 16px;
}

.stack-card:nth-child(2) {
  margin-top: 34px;
}

.stack-card:nth-child(4) {
  margin-top: 18px;
}

.experience-card:nth-child(2n) {
  margin-top: 34px;
}

.experience-card-wide {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.project-card:nth-child(2) {
  margin-top: 56px;
}

.project-card:nth-child(3) {
  margin-top: 16px;
}

.info-card::before,
.focus-card::before,
.experience-card::before,
.project-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -50px -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 184, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.info-card h3,
.focus-card h3,
.stack-card h3,
.experience-card h3,
.project-card h3 {
  margin: 18px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.stack-card p {
  color: var(--muted);
  line-height: 1.8;
}

.card-tag {
  color: #9bc3ff;
}

.focus-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(103, 183, 255, 0.2), rgba(138, 92, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #dbeafe;
  font-family: "Space Grotesk", sans-serif;
}

.project-topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.experience-topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  color: #9fb9de;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-topline span:last-child {
  text-align: right;
}

.project-card::after,
.focus-card::after,
.stack-card::after,
.experience-card::after,
.info-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -52% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.12), transparent 68%);
  pointer-events: none;
  opacity: 0.65;
}

.stack-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-item {
  min-width: 164px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.stack-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(188, 223, 255, 0.22);
}

.stack-item img {
  width: auto;
  height: 24px;
  max-width: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

.stack-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stack-icon-text {
  color: #f3f7ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stack-icon-sky {
  background: linear-gradient(145deg, rgba(93, 173, 255, 0.36), rgba(53, 89, 255, 0.26));
}

.stack-icon-violet {
  background: linear-gradient(145deg, rgba(158, 116, 255, 0.34), rgba(90, 76, 235, 0.24));
}

.stack-icon-emerald {
  background: linear-gradient(145deg, rgba(48, 201, 142, 0.34), rgba(28, 126, 105, 0.24));
}

.stack-icon-amber {
  background: linear-gradient(145deg, rgba(255, 187, 86, 0.34), rgba(203, 118, 44, 0.24));
}

.stack-item span {
  color: #e3edff;
  font-weight: 500;
}

.experience-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.experience-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.78;
}

.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(128, 197, 255, 1), rgba(159, 110, 255, 0.92));
  box-shadow: 0 0 14px rgba(103, 183, 255, 0.34);
}

.experience-card code {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eff6ff;
  font-size: 0.92em;
}

.experience-tags {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-tags li,
.project-tags li,
.contact-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dce8ff;
}

.contact-panel {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-text {
  max-width: 58ch;
  margin-top: 18px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 360px;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: #9eb1ce;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translate3d(-34px, 0, 0);
}

.reveal-left.visible {
  transform: translate3d(0, 0, 0);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-scale.visible {
  transform: scale(1);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tilt-card:hover {
  border-color: rgba(173, 216, 255, 0.28);
  box-shadow:
    0 26px 60px rgba(6, 10, 24, 0.45),
    0 0 0 1px rgba(155, 196, 255, 0.08);
}

.ripple {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0) 72%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ripple-expand 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes glass-flow {
  0% {
    background-position: 0% 0%, 50% 50%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, 52% 48%, 100% 100%;
  }
}

@keyframes moon-drift {
  0% {
    transform: translate3d(calc(var(--scene-x, 0px) * -0.25), calc(var(--scene-y, 0px) * -0.25), 0) scale(1);
  }
  100% {
    transform: translate3d(calc(var(--scene-x, 0px) * -0.25), calc(var(--scene-y, 0px) * -0.25), 0) scale(1.06);
  }
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(72px, 72px, 0);
  }
}

@keyframes signal-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes rocket-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes flame-flicker {
  0% {
    transform: translateX(-50%) scaleY(0.86);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-50%) scaleY(1.14);
    opacity: 1;
  }
}

@keyframes ripple-expand {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes burst-ring {
  0% {
    opacity: 0.66;
    transform: scale(0.2);
  }
  100% {
    opacity: 0;
    transform: scale(5.8);
  }
}

@keyframes burst-particle {
  0% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(0) scale(0.4);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(var(--distance)) scale(0.08);
  }
}

@keyframes aurora-drift-left {
  0% {
    transform: translate(-22%, -16%) scale(1);
  }
  100% {
    transform: translate(-14%, -8%) scale(1.14);
  }
}

@keyframes aurora-drift-right {
  0% {
    transform: translate(32%, 8%) scale(1);
  }
  100% {
    transform: translate(24%, 16%) scale(1.12);
  }
}

@keyframes meteor-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-24deg);
  }
  8% {
    opacity: 0.88;
  }
  24% {
    opacity: 0;
    transform: translate3d(-240px, 180px, 0) rotate(-24deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(-240px, 180px, 0) rotate(-24deg);
  }
}

@keyframes planet-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 60px rgba(67, 130, 255, 0.32),
      inset -18px -24px 46px rgba(16, 15, 48, 0.62);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow:
      0 0 86px rgba(92, 149, 255, 0.38),
      inset -18px -24px 46px rgba(16, 15, 48, 0.62);
  }
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes orbit-dot-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-dot-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .contact-panel,
  .about-grid,
  .focus-grid,
  .stack-grid,
  .experience-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .hero-stats > :nth-child(1),
  .hero-stats > :nth-child(2),
  .hero-stats > :nth-child(3) {
    grid-column: auto;
    margin-top: 0;
  }

  .hero-visual {
    order: -1;
  }

  .contact-pills {
    justify-content: flex-start;
    max-width: none;
  }

  .info-card:nth-child(2),
  .info-card:nth-child(3),
  .focus-card:nth-child(1),
  .focus-card:nth-child(2),
  .focus-card:nth-child(3),
  .focus-card:nth-child(4),
  .stack-card:nth-child(2),
  .stack-card:nth-child(4),
  .experience-card:nth-child(2n),
  .project-card:nth-child(2),
  .project-card:nth-child(3) {
    margin-top: 0;
  }

  .focus-card:nth-child(1),
  .focus-card:nth-child(2),
  .focus-card:nth-child(3),
  .focus-card:nth-child(4) {
    grid-column: auto;
  }

  .experience-card-wide {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .nav {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.96rem;
  }

  .nav-brand,
  .nav-cta {
    width: 100%;
  }

  .nav-cta {
    justify-self: stretch;
    justify-content: center;
  }

  .section {
    width: min(var(--max-width), calc(100% - 28px));
    padding: 78px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .orbital-shell {
    width: min(100%, 430px);
  }

  .planet-core {
    width: 140px;
    height: 140px;
  }

  .orbit-one {
    width: 250px;
    height: 250px;
  }

  .orbit-two {
    width: 340px;
    height: 340px;
  }

  .orbit-three {
    width: 420px;
    height: 420px;
  }

  .orbit-dot-one {
    top: calc(50% - 132px);
    left: calc(50% - 7px);
    transform-origin: 7px 132px;
  }

  .orbit-dot-two {
    top: calc(50% + 163px);
    left: calc(50% - 7px);
    transform-origin: 7px -163px;
  }

  .rocket {
    top: -212px;
  }

  .moon-main {
    width: 92px;
    height: 92px;
    right: 4%;
  }

  .contact-panel {
    padding: 30px;
  }
}

@media (pointer: fine) {
  body.has-fancy-cursor,
  body.has-fancy-cursor a,
  body.has-fancy-cursor button {
    cursor: none;
  }

  body.has-fancy-cursor .cursor-aura,
  body.has-fancy-cursor .cursor-dot,
  body.has-fancy-cursor .click-burst-layer {
    display: block;
  }
}

@media (max-width: 560px) {
  .nav-links {
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-subtitle {
    max-width: 18ch;
    margin-left: 0;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-text {
    margin-left: 0;
  }

  .button {
    width: 100%;
  }

  .role-strip {
    width: 100%;
    justify-content: space-between;
    border-radius: 20px;
  }

  .signal-card {
    right: 4%;
    left: auto;
    max-width: 220px;
  }

  .moon-main {
    top: 0;
    right: 0;
    width: 76px;
    height: 76px;
  }

  .planet-small-one {
    width: 22px;
    height: 22px;
  }

  .twinkle-star-one {
    left: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

