:root {
  --bg: #070817;
  --bg-soft: #101329;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f7f8ff;
  --muted: #aeb5d8;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #45f0ff;
  --violet: #9c6bff;
  --gold: #ffd166;
  --rose: #ff5c8a;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(69, 240, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(156, 107, 255, 0.24), transparent 34rem),
    linear-gradient(135deg, #050713 0%, #080a18 46%, #0f1027 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  box-shadow: 0 0 24px rgba(69, 240, 255, 0.7);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 240, 255, 0.16), transparent 66%);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  color: #06101c;
  background: var(--cyan);
}

.aurora {
  position: fixed;
  inset: -20vh -10vw auto;
  z-index: -3;
  height: 70vh;
  background:
    radial-gradient(circle at 20% 40%, rgba(69, 240, 255, 0.28), transparent 25rem),
    radial-gradient(circle at 60% 30%, rgba(255, 92, 138, 0.18), transparent 24rem),
    radial-gradient(circle at 80% 60%, rgba(156, 107, 255, 0.24), transparent 25rem);
  filter: blur(40px);
  animation: floatAurora 12s ease-in-out infinite alternate;
}

#constellation {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 8, 23, 0.72);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(22px);
}

.brand,
.desktop-nav,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(69, 240, 255, 0.96), rgba(156, 107, 255, 0.94));
  color: #050713;
  box-shadow: 0 10px 30px rgba(69, 240, 255, 0.25);
}

.desktop-nav {
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.desktop-nav a,
.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  border: 1px solid rgba(69, 240, 255, 0.45);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-nav {
  position: fixed;
  top: 88px;
  right: 16px;
  left: 16px;
  z-index: 19;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 10, 24, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 16px;
  color: var(--muted);
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 88px 0 72px;
}

.hero > *,
.visual-story > *,
.systems-layout > *,
.impact-panel > *,
.credentials > *,
.contact-card > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-intro {
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 800;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
  transition: transform 550ms ease;
  content: "";
}

.button:hover::after {
  transform: translateX(120%);
}

.button.primary {
  color: #05101d;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 20px 50px rgba(69, 240, 255, 0.25);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.signal-row span,
.logo-strip span,
.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  backdrop-filter: blur(14px);
}

.signal-row span {
  padding: 10px 13px;
  font-size: 0.86rem;
}

.hero-card {
  perspective: 1200px;
}

.orbital-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 0%, rgba(69, 240, 255, 0.25), transparent 16rem);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.interactive-card {
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.interactive-card:hover {
  border-color: rgba(69, 240, 255, 0.42);
  box-shadow: 0 28px 90px rgba(69, 240, 255, 0.14), var(--shadow);
}

.orbital-card::before,
.orbital-card::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.orbital-card::before {
  inset: -22px 34px 22px -26px;
  transform: rotate(-10deg);
}

.orbital-card::after {
  inset: 44px -22px -26px 42px;
  transform: rotate(15deg);
}

.orbit-ring {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border: 1px solid rgba(69, 240, 255, 0.18);
  border-radius: 50%;
  animation: orbitSpin 24s linear infinite;
  pointer-events: none;
}

.orbit-ring-two {
  inset: 18px -34px -30px 24px;
  border-color: rgba(255, 209, 102, 0.16);
  animation-duration: 32s;
  animation-direction: reverse;
}

.orbit-ring span {
  position: absolute;
  display: grid;
  min-width: 44px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 8, 23, 0.78);
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(69, 240, 255, 0.2);
}

.orbit-ring span:nth-child(1) {
  top: 8%;
  left: 18%;
}

.orbit-ring span:nth-child(2) {
  top: 52%;
  right: -8px;
}

.orbit-ring span:nth-child(3) {
  bottom: 6%;
  left: 28%;
}

.orbit-ring-two span:nth-child(1) {
  top: 12%;
  right: 12%;
}

.orbit-ring-two span:nth-child(2) {
  bottom: 18%;
  left: -8px;
}

.status-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 12px;
  margin-bottom: 26px;
  font-size: 0.78rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #5cffb5;
  box-shadow: 0 0 20px #5cffb5;
}

.profile-core {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(4, 6, 18, 0.34);
}

.profile-core h2 {
  margin-bottom: 4px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.profile-core p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.avatar {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: cover;
  object-position: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background: conic-gradient(from 120deg, var(--cyan), var(--violet), var(--rose), var(--gold), var(--cyan));
  box-shadow: 0 14px 34px rgba(69, 240, 255, 0.2);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric-grid div,
.glass-card,
.stat-card,
.timeline-card,
.credential-card,
.contact-card,
.impact-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.metric-grid div {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
}

.metric-grid strong,
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text), var(--cyan));
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.08em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-grid span,
.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 28px 0 76px;
}

.logo-strip span {
  padding: 12px 18px;
  color: rgba(247, 248, 255, 0.72);
  font-weight: 800;
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
  align-items: center;
  padding: 28px 0 82px;
}

.visual-copy {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 209, 102, 0.12), transparent 18rem),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.infographic-flow {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.flow-step::before {
  position: absolute;
  top: 100%;
  left: 41px;
  width: 1px;
  height: 12px;
  background: linear-gradient(var(--cyan), transparent);
  content: "";
}

.flow-step:last-child::before {
  display: none;
}

.flow-step:hover,
.flow-step.active {
  transform: translateX(8px);
  border-color: rgba(69, 240, 255, 0.42);
  background: rgba(69, 240, 255, 0.09);
}

.flow-step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(69, 240, 255, 0.9), rgba(156, 107, 255, 0.9));
  color: #050713;
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.flow-step strong,
.flow-step small {
  display: block;
}

.flow-step small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.photo-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 138px;
  gap: 14px;
}

.photo-tile {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.photo-tile::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 28%, rgba(5, 7, 19, 0.86)),
    radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 0%), rgba(69, 240, 255, 0.18), transparent 38%);
  content: "";
  pointer-events: none;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
  transition: transform 650ms ease, filter 650ms ease;
}

.photo-tile:hover img {
  filter: saturate(1.18) contrast(1.1);
  transform: scale(1.12);
}

.photo-tile figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

.photo-tile figcaption span,
.photo-tile figcaption strong {
  display: block;
}

.photo-tile figcaption span {
  margin-bottom: 5px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-tile figcaption strong {
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.04em;
}

.photo-tile-large {
  grid-column: span 4;
  grid-row: span 3;
}

.photo-tile-small {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-tile-wide {
  grid-column: span 6;
  grid-row: span 2;
}

.split-section,
.timeline-section,
.credentials,
.impact {
  padding: 72px 0;
}

.section-kicker {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker .eyebrow {
  margin-bottom: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.glass-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.glass-card::after,
.credential-card::after,
.stat-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 0%), rgba(255, 255, 255, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
  pointer-events: none;
}

.glass-card:hover::after,
.credential-card:hover::after,
.stat-card:hover::after {
  opacity: 1;
}

.glass-card::before {
  position: absolute;
  inset: auto -30% -35% 20%;
  height: 180px;
  background: radial-gradient(circle, rgba(69, 240, 255, 0.22), transparent 68%);
  content: "";
}

.card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  min-width: 54px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(69, 240, 255, 0.26);
  border-radius: 16px;
  background: rgba(69, 240, 255, 0.08);
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.card-index {
  display: inline-block;
  margin-bottom: 94px;
  color: rgba(255, 255, 255, 0.28);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.section-visual-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.section-photo,
.highlight-photo,
.journey-photo,
.credential-photo,
.contact-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.section-photo {
  height: 260px;
}

.section-photo::before,
.highlight-photo::before,
.journey-photo::before,
.credential-photo::before,
.contact-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(5, 7, 19, 0.88)),
    radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 0%), rgba(69, 240, 255, 0.18), transparent 42%);
  content: "";
  pointer-events: none;
}

.section-photo img,
.highlight-photo img,
.journey-photo img,
.credential-photo img,
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
  transition: transform 650ms ease, filter 650ms ease;
}

.section-photo:hover img,
.highlight-photo:hover img,
.journey-photo:hover img,
.credential-photo:hover img,
.contact-photo:hover img {
  filter: saturate(1.18) contrast(1.1);
  transform: scale(1.12);
}

.section-photo figcaption,
.highlight-photo figcaption,
.journey-photo figcaption,
.credential-photo figcaption,
.contact-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

.section-photo span,
.highlight-photo span,
.credential-photo span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-photo strong,
.highlight-photo strong,
.credential-photo strong {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.impact-panel,
.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 36px;
  align-items: end;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
}

.systems {
  padding: 72px 0;
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.systems-visual,
.systems-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(69, 240, 255, 0.14), transparent 16rem),
    radial-gradient(circle at 80% 70%, rgba(156, 107, 255, 0.18), transparent 16rem),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.systems-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.systems-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  content: "";
}

.systems-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: visible;
}

.map-line {
  fill: none;
  stroke: rgba(69, 240, 255, 0.34);
  stroke-dasharray: 10 10;
  stroke-linecap: round;
  stroke-width: 2;
  animation: dashFlow 14s linear infinite;
}

.pulse-node {
  fill: rgba(69, 240, 255, 0.1);
  stroke: url("#node-gradient");
  stroke-width: 2;
  filter: url("#soft-glow");
}

.core-node {
  animation: corePulse 3.8s ease-in-out infinite;
}

.core-text,
.map-node text {
  fill: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 900;
  text-anchor: middle;
}

.core-text.small,
.map-node text + text {
  fill: var(--muted);
  font-size: 16px;
}

.map-node {
  cursor: pointer;
}

.map-node circle {
  fill: rgba(7, 8, 23, 0.78);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
  transition: fill 180ms ease, stroke 180ms ease, transform 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.map-node.active circle,
.map-node:hover circle {
  fill: rgba(69, 240, 255, 0.2);
  stroke: var(--cyan);
  transform: scale(1.08);
}

.systems-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 40px);
}

.system-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.system-tab {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.system-tab:hover,
.system-tab.active {
  border-color: rgba(69, 240, 255, 0.46);
  background: rgba(69, 240, 255, 0.12);
  color: var(--text);
  transform: translateY(-2px);
}

.system-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(69, 240, 255, 0.32);
  border-radius: 999px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-copy {
  min-height: 250px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.system-copy.switching {
  transform: translateY(10px);
  opacity: 0;
}

.system-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.infographic-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 0 0 72px;
}

.infographic-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 24% 8%, rgba(69, 240, 255, 0.18), transparent 14rem);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.infographic-card::after {
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(69, 240, 255, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 240, 255, 0.1), transparent 66%);
  content: "";
}

.infographic-number {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: #050713;
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.infographic-arrow {
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px rgba(69, 240, 255, 0.45);
}

.infographic-arrow::after {
  display: block;
  width: 14px;
  height: 14px;
  margin-top: -6px;
  margin-left: auto;
  border-top: 2px solid var(--violet);
  border-right: 2px solid var(--violet);
  transform: rotate(45deg);
  content: "";
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.stat-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.highlight-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
  margin-top: 16px;
}

.highlight-photo {
  min-height: 360px;
}

.mini-infographic {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.14), transparent 14rem),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.mini-label {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(69, 240, 255, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ring-chart {
  display: grid;
  width: min(190px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(7, 8, 23, 0.95) 0 46%, transparent 47%),
    conic-gradient(var(--cyan) 0 34%, var(--violet) 34% 68%, var(--gold) 68% 100%);
  box-shadow: 0 0 44px rgba(69, 240, 255, 0.22);
}

.ring-chart span {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem;
  font-weight: 900;
}

.mini-infographic ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mini-infographic li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(69, 240, 255, 0.42);
}

.mini-infographic li span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 178px;
  width: 1px;
  background: linear-gradient(transparent, var(--cyan), var(--violet), transparent);
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.timeline-date {
  padding-top: 20px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 800;
}

.timeline-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease;
}

.timeline-card:hover {
  transform: translateX(8px);
  border-color: rgba(69, 240, 255, 0.38);
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.journey-photo {
  height: 230px;
}

.journey-photo figcaption,
.contact-photo figcaption {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.timeline-card::before {
  position: absolute;
  top: 26px;
  left: -65px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
  content: "";
}

.timeline-card p,
.credential-card p,
.glass-card p,
.contact-card p,
.impact-panel p {
  margin-bottom: 0;
}

.credentials {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.credential-copy {
  position: sticky;
  top: 120px;
}

.credential-content {
  min-width: 0;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-photo {
  height: 320px;
  margin-top: 16px;
}

.credential-card {
  position: relative;
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.contact {
  padding: 78px 0 92px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(69, 240, 255, 0.18), rgba(156, 107, 255, 0.15)),
    var(--panel-strong);
}

.contact-photo {
  z-index: 1;
  min-height: 330px;
}

.contact-card::after {
  position: absolute;
  inset: -35% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.2), transparent 68%);
  content: "";
}

.contact-card h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: rgba(247, 248, 255, 0.52);
  font-size: 0.9rem;
}

.llm-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: calc(100vw - 28px);
}

.llm-launcher,
.llm-close,
.llm-load,
.llm-send {
  border: 0;
  cursor: pointer;
}

.llm-launcher {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 9px 16px 9px 9px;
  border: 1px solid rgba(69, 240, 255, 0.36);
  border-radius: 999px;
  background: rgba(7, 8, 23, 0.86);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.llm-launcher-orb {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #050713;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  box-shadow: 0 0 28px rgba(69, 240, 255, 0.36);
}

.llm-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  width: min(440px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 112px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(69, 240, 255, 0.2), transparent 16rem),
    rgba(7, 8, 23, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.llm-panel[hidden] {
  display: none;
}

.llm-header {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  padding: 20px 20px 12px;
  min-width: 0;
}

.llm-header > div {
  min-width: 0;
}

.llm-kicker {
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.llm-header h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.llm-close {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.llm-note,
.llm-status {
  margin: 0 20px 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.llm-status {
  padding: 10px 12px;
  border: 1px solid rgba(69, 240, 255, 0.22);
  border-radius: 16px;
  background: rgba(69, 240, 255, 0.08);
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
}

.llm-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 20px 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  min-height: 0;
}

.llm-mode legend {
  grid-column: 1 / -1;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.llm-mode label {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 7px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.llm-mode label input {
  flex: 0 0 auto;
}

.llm-mode:disabled {
  opacity: 0.56;
}

.llm-mode input {
  accent-color: var(--cyan);
}

.llm-messages {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 130px;
  gap: 10px;
  max-height: 280px;
  padding: 8px 20px 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.llm-message {
  width: auto;
  max-width: 92%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.llm-message p {
  margin: 0 0 8px;
  color: inherit;
  line-height: inherit;
}

.llm-message ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  margin: 0;
}

.llm-message a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.llm-message.composing::after,
.llm-message .composing::after {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  background: var(--cyan);
  border-radius: 999px;
  vertical-align: -0.15em;
  animation: cursorBlink 850ms steps(2, start) infinite;
  content: "";
}

.llm-message.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 58px;
}

.llm-message.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typingPulse 900ms ease-in-out infinite;
  opacity: 0.45;
}

.llm-message.typing span:nth-child(2) {
  animation-delay: 120ms;
}

.llm-message.typing span:nth-child(3) {
  animation-delay: 240ms;
}

.llm-message.assistant {
  justify-self: start;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.08);
}

.llm-message.user {
  justify-self: end;
  margin-left: auto;
  border-color: rgba(69, 240, 255, 0.28);
  background: rgba(69, 240, 255, 0.12);
}

.llm-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.llm-input {
  width: 100%;
  min-height: 62px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.llm-input:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.llm-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.llm-load,
.llm-send {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
}

.llm-load {
  border: 1px solid rgba(69, 240, 255, 0.32);
  background: rgba(69, 240, 255, 0.1);
  color: var(--cyan);
}

.llm-send {
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: #050713;
}

.llm-load:disabled,
.llm-send:disabled {
  cursor: not-allowed;
  filter: grayscale(0.8);
  opacity: 0.58;
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes floatAurora {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 3%, 0) scale(1.08);
  }
}

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

@keyframes dashFlow {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes corePulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
    transform-origin: center;
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    transform-origin: center;
  }
}

@keyframes typingPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1060px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .mobile-nav {
    display: block;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .section-kicker,
  .impact-panel,
  .credentials,
  .contact-card,
  .systems-layout,
  .visual-story {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 68px;
  }

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

  .credential-copy {
    position: static;
  }

  .credential-content {
    width: 100%;
  }

  .systems-panel {
    min-height: 360px;
  }

  .section-visual-row,
  .highlight-visual-grid,
  .journey-strip {
    grid-template-columns: 1fr;
  }

  .mini-infographic {
    grid-template-columns: 1fr;
  }

  .infographic-band {
    grid-template-columns: 1fr;
  }

  .infographic-arrow {
    width: 2px;
    height: 42px;
    margin: 0 auto;
  }

  .infographic-arrow::after {
    margin-top: 28px;
    margin-left: -6px;
    transform: rotate(135deg);
  }
}

@media (max-width: 720px) {
  .section-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 50px;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 5.2rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .expertise-grid,
  .impact-grid,
  .credential-grid,
  .system-tabs {
    grid-template-columns: 1fr;
  }

  .systems-visual,
  .systems-svg {
    min-height: 380px;
  }

  .systems-visual {
    overflow: hidden;
  }

  .systems-svg {
    width: 100%;
    min-width: 0;
  }

  .photo-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-tile-large,
  .photo-tile-small,
  .photo-tile-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-tile {
    height: 270px;
  }

  .glass-card {
    min-height: 280px;
  }

  .orbital-card {
    overflow: hidden;
  }

  .orbit-ring,
  .orbital-card::before,
  .orbital-card::after {
    display: none;
  }

  .interactive-card {
    transform: none !important;
  }

  .card-index {
    margin-bottom: 54px;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

  .timeline-date {
    padding-top: 0;
  }

  .timeline-card::before {
    top: -33px;
    left: -34px;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }

  .llm-chat {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    max-width: none;
  }

  .llm-launcher {
    width: 100%;
    justify-content: center;
  }

  .llm-panel {
    right: 0;
    bottom: 64px;
    width: 100%;
    max-height: min(680px, calc(100dvh - 88px));
    border-radius: 22px;
  }

  .llm-header {
    gap: 10px;
    padding: 16px 14px 8px;
  }

  .llm-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .llm-header h2 {
    font-size: 1.12rem;
  }

  .llm-close {
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .llm-note,
  .llm-status {
    margin-right: 14px;
    margin-left: 14px;
    font-size: 0.78rem;
  }

  .llm-mode {
    grid-template-columns: 1fr 1fr;
    margin-right: 14px;
    margin-left: 14px;
    padding: 7px;
  }

  .llm-mode legend {
    font-size: 0.62rem;
  }

  .llm-mode label {
    gap: 5px;
    min-height: 30px;
    padding: 6px;
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .llm-messages {
    min-height: 96px;
    max-height: min(30dvh, 210px);
    padding: 6px 14px 12px;
  }

  .llm-message {
    max-width: 96%;
    font-size: 0.86rem;
  }

  .llm-form {
    padding: 12px;
  }

  .llm-input {
    min-height: 54px;
    max-height: 118px;
    font-size: 0.9rem;
  }

  .llm-actions {
    grid-template-columns: 1fr;
  }

  .llm-load,
  .llm-send {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  #constellation {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}
