@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070a12;
  --bg-soft: #0b101c;
  --surface: rgba(255,255,255,.055);
  --surface-strong: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.11);
  --text: #f5f7fb;
  --muted: #97a0b3;
  --cyan: #5ee7f3;
  --blue: #6686ff;
  --violet: #9d72ff;
  --green: #66f2b4;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(102,134,255,.12), transparent 30%),
    radial-gradient(circle at 90% 35%, rgba(157,114,255,.10), transparent 28%),
    var(--bg);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: rgba(94,231,243,.3); color: #fff; }

#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  opacity: .45;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,231,243,.09), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -2;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 130px 0; }

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  transition: .35s ease;
}
.nav-wrap.scrolled {
  background: rgba(7,10,18,.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(94,231,243,.35);
  background: linear-gradient(135deg, rgba(94,231,243,.16), rgba(157,114,255,.12));
  border-radius: 12px;
  color: var(--cyan);
  font: 500 13px "DM Mono", monospace;
}
.brand-text span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 34px; color: #c1c7d4; font-size: 14px; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-button {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--muted);
  transition: .25s;
}
.icon-button span:last-child { font: 500 11px "DM Mono", monospace; }
.icon-button:hover { border-color: rgba(94,231,243,.4); color: var(--text); }
.menu-button { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 1px; background: #fff; margin: 6px auto; transition: .3s; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-small { min-height: 40px; padding: 0 16px; }
.button-primary {
  color: #071017;
  background: linear-gradient(135deg, var(--cyan), #8ba2ff);
  box-shadow: 0 10px 40px rgba(94,231,243,.16);
}
.button-primary:hover { box-shadow: 0 16px 45px rgba(94,231,243,.25); }
.button-ghost { border-color: var(--border); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(94,231,243,.35); background: rgba(94,231,243,.05); }

.hero {
  min-height: 100vh;
  padding-top: 145px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  position: relative;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(102,242,180,.2);
  background: rgba(102,242,180,.055);
  color: #bdfbdd;
  border-radius: 999px;
  padding: 9px 13px;
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(102,242,180,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(102,242,180,0); } 100% { box-shadow: 0 0 0 0 rgba(102,242,180,0); } }

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .18em;
}
.hero h1 {
  font-size: clamp(54px, 6.5vw, 94px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0;
  max-width: 820px;
}
.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s linear infinite;
}
@keyframes gradient { to { background-position: 300% 0; } }
.rotating-word.word-out { animation: wordOut .35s forwards; }
.rotating-word.word-in { animation: wordIn .45s forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-12px); filter: blur(8px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } }

.hero-description {
  max-width: 660px;
  color: #aab2c3;
  font-size: 18px;
  line-height: 1.75;
  margin: 28px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  gap: 42px;
  margin-top: 58px;
}
.hero-proof div { display: grid; gap: 5px; }
.hero-proof strong { font-size: 24px; letter-spacing: -.04em; }
.hero-proof span { color: var(--muted); font-size: 12px; }

.hero-visual { min-height: 600px; display: grid; place-items: center; }
.orbital-card {
  width: min(100%, 560px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.45));
}
.orbital-card::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,231,243,.12), rgba(102,134,255,.05) 40%, transparent 70%);
  filter: blur(5px);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: -4px;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}
.orbit-one { inset: 13%; animation: spin 17s linear infinite; }
.orbit-two { inset: 24%; border-style: dashed; animation: spinReverse 13s linear infinite; }
.orbit-three { inset: 34%; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
.core {
  z-index: 2;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(10,16,29,.86);
  border: 1px solid rgba(94,231,243,.35);
  box-shadow: inset 0 0 35px rgba(94,231,243,.08), 0 0 70px rgba(94,231,243,.11);
}
.core-label, .core small { font: 500 9px "DM Mono", monospace; color: var(--muted); letter-spacing: .14em; }
.core strong { color: var(--green); font: 500 17px "DM Mono", monospace; margin: 7px 0; }
.tech-node {
  position: absolute;
  z-index: 3;
  min-width: 72px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(9,14,25,.82);
  backdrop-filter: blur(10px);
  font: 500 10px "DM Mono", monospace;
  color: #d7deea;
}
.node-python { top: 12%; left: 21%; }
.node-sql { top: 22%; right: 10%; }
.node-siem { bottom: 22%; left: 7%; }
.node-java { bottom: 11%; right: 22%; }

.terminal-card {
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: 1%;
  width: 310px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(5,9,17,.89);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.terminal-top { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-bottom: 1px solid var(--border); }
.terminal-top span { width: 7px; height: 7px; border-radius: 50%; background: #677086; }
.terminal-top p { margin: 0 0 0 8px; color: #737d92; font: 400 9px "DM Mono", monospace; }
.terminal-card pre { margin: 0; padding: 18px; font: 400 11px/1.8 "DM Mono", monospace; color: #e5eaf3; }
.terminal-muted { color: #6d768a; }
.terminal-green { color: var(--green); }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scroll-indicator {
  position: absolute;
  left: 0;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #747e91;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-indicator i { width: 48px; height: 1px; background: #485064; position: relative; overflow: hidden; }
.scroll-indicator i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: translateX(-100%); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 50%,100% { transform: translateX(100%); } }

.section-heading { max-width: 720px; margin-bottom: 55px; }
.section-heading h2, .contact-panel h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -.055em;
  margin: 0;
}
.section-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 20px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; }
.split-heading > p { margin: 0 0 8px; }

.glass-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .65fr .65fr;
  gap: 18px;
}
.about-main { grid-row: span 2; padding: 38px; }
.card-kicker { color: var(--cyan); font: 500 10px "DM Mono", monospace; letter-spacing: .16em; margin-bottom: 22px; }
.about-main h3 { font-size: 30px; letter-spacing: -.04em; margin: 0 0 22px; max-width: 620px; }
.about-main p { color: #aab2c3; line-height: 1.8; margin: 0 0 18px; }
.metric-card { padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; }
.metric-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(94,231,243,.08); color: var(--cyan); margin-bottom: auto; }
.metric-card p { color: var(--muted); font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .13em; margin: 30px 0 8px; }
.metric-card strong { font-size: 18px; }
.metric-card small { color: var(--muted); line-height: 1.5; margin-top: 8px; }
.toolbox { grid-column: span 2; padding: 28px; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tech-cloud span, .project-tags span {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  border-radius: 999px;
  padding: 8px 11px;
  color: #bdc4d1;
  font: 500 10px "DM Mono", monospace;
}

.projects-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 15%, rgba(255,255,255,.018) 85%, transparent); }
.project-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-button {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 500 10px "DM Mono", monospace;
  transition: .25s;
}
.filter-button:hover, .filter-button.active { color: #071017; background: var(--cyan); border-color: var(--cyan); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.028);
  border-radius: 26px;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease, opacity .35s ease;
}
.project-card:hover { transform: translateY(-8px); border-color: rgba(94,231,243,.3); }
.project-card.hidden { display: none; }
.project-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.project-visual {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  background: #090e19;
  border-bottom: 1px solid var(--border);
}
.featured .project-visual { min-height: 100%; border-bottom: 0; border-right: 1px solid var(--border); }
.visual-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5,9,17,.62);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px 10px;
  color: #cbd2df;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .12em;
}
.project-content { padding: 30px; }
.project-meta { display: flex; justify-content: space-between; color: var(--cyan); font: 500 9px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.project-content h3 { font-size: 28px; letter-spacing: -.04em; margin: 18px 0 13px; }
.project-content p { color: var(--muted); line-height: 1.75; margin: 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 28px; }
.project-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project-links a, .details-button { color: #e7ebf3; font-size: 12px; font-weight: 700; }
.details-button { border: 0; background: none; cursor: pointer; color: var(--cyan); }

.retina-visual { display: grid; place-items: center; background: radial-gradient(circle at center, rgba(102,134,255,.14), transparent 55%), #080d18; }
.retina {
  width: 190px; height: 190px; border-radius: 50%;
  background:
    radial-gradient(circle at 47% 50%, #070910 0 7%, #32475d 8% 12%, transparent 13%),
    repeating-radial-gradient(ellipse at 50% 50%, rgba(94,231,243,.55) 0 1px, transparent 2px 7px),
    radial-gradient(circle, #335c68, #172735 48%, #090d16 70%);
  border: 1px solid rgba(94,231,243,.25);
  box-shadow: 0 0 60px rgba(94,231,243,.12);
}
.scan-line { position: absolute; z-index: 2; width: 80%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translateY(-105px); opacity: .3; } 50% { transform: translateY(105px); opacity: 1; } }
.data-points span { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }

.sentinel-visual { display: grid; place-items: center; background: radial-gradient(circle, rgba(157,114,255,.13), transparent 55%), #090d18; }
.radar { width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(157,114,255,.35); position: relative; overflow: hidden; }
.radar i { position: absolute; border: 1px solid rgba(157,114,255,.18); border-radius: 50%; inset: 20%; }
.radar i:nth-child(2) { inset: 38%; }
.radar i:nth-child(3) { inset: 49%; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(157,114,255,.17); }
.radar::before { width: 1px; height: 100%; left: 50%; }
.radar::after { height: 1px; width: 100%; top: 50%; }
.radar b { position: absolute; width: 50%; height: 50%; top: 0; left: 50%; transform-origin: bottom left; background: conic-gradient(from 270deg, rgba(157,114,255,.42), transparent 24%); animation: spin 3s linear infinite; }
.alert-chip { position: absolute; top: 24px; right: 24px; border: 1px solid rgba(255,102,132,.25); color: #ff9db3; padding: 7px 9px; border-radius: 7px; font: 500 8px "DM Mono", monospace; }

.distributed-visual { background: radial-gradient(circle at center, rgba(94,231,243,.09), transparent 50%), #090d18; }
.distributed-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.distributed-visual path { stroke: rgba(94,231,243,.22); stroke-width: 1; fill: none; stroke-dasharray: 5 5; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.server { position: absolute; z-index: 2; border: 1px solid rgba(94,231,243,.25); background: rgba(8,14,24,.92); color: #bfebef; border-radius: 9px; padding: 9px 11px; font: 500 9px "DM Mono", monospace; }
.central { left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 30px rgba(94,231,243,.1); }
.c1 { left: 11%; top: 14%; }.c2 { right: 11%; top: 14%; }.c3 { left: 11%; bottom: 14%; }.c4 { right: 11%; bottom: 14%; }

.dashboard-visual { background: linear-gradient(180deg, rgba(102,134,255,.08), transparent), #090d18; display: flex; align-items: flex-end; padding: 46px 42px; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 14px; width: 100%; opacity: .65; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, rgba(94,231,243,.65), rgba(94,231,243,.08)); border-radius: 5px 5px 0 0; }
.bars i:nth-child(1){--h:35%}.bars i:nth-child(2){--h:58%}.bars i:nth-child(3){--h:45%}.bars i:nth-child(4){--h:74%}.bars i:nth-child(5){--h:66%}.bars i:nth-child(6){--h:92%}
.trend-line { position: absolute; inset: 50px 30px 42px; }
.trend-line svg { width: 100%; height: 100%; overflow: visible; }
.trend-line path { fill: none; stroke: var(--violet); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(157,114,255,.5)); stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 4s ease infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.experience-layout { display: grid; grid-template-columns: 1fr 370px; gap: 70px; align-items: start; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cyan), rgba(255,255,255,.08)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 145px 1fr; padding-left: 38px; padding-bottom: 32px; }
.timeline-dot { position: absolute; left: 3px; top: 8px; width: 11px; height: 11px; border: 2px solid var(--cyan); background: var(--bg); border-radius: 50%; box-shadow: 0 0 18px rgba(94,231,243,.4); }
.timeline-date { color: var(--cyan); font: 500 10px "DM Mono", monospace; letter-spacing: .08em; padding-top: 6px; }
.timeline-card { border: 1px solid var(--border); border-radius: 20px; padding: 28px; background: rgba(255,255,255,.025); }
.timeline-card h3 { margin: 0 0 5px; font-size: 21px; }
.timeline-card > div p { margin: 0; color: var(--muted); }
.timeline-card ul { margin: 22px 0 0; padding-left: 18px; color: #aab2c3; line-height: 1.75; font-size: 14px; }
.principles { padding: 30px; position: sticky; top: 110px; }
.principles ol { list-style: none; padding: 0; margin: 0; }
.principles li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--border); }
.principles li span { color: var(--cyan); font: 500 10px "DM Mono", monospace; }
.principles strong { font-size: 14px; }
.principles p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 6px 0 0; }

.contact-section { padding: 40px 0 130px; }
.contact-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 30px;
  border: 1px solid rgba(94,231,243,.18);
  border-radius: 34px;
  background: radial-gradient(circle at 50% 100%, rgba(94,231,243,.13), transparent 45%), rgba(255,255,255,.025);
}
.contact-grid-bg {
  position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}
.contact-panel > *:not(.contact-grid-bg) { position: relative; z-index: 1; }
.contact-panel h2 { max-width: 850px; margin: 0 auto; }
.contact-panel > p:not(.eyebrow) { color: var(--muted); max-width: 620px; margin: 24px auto 34px; line-height: 1.75; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contact-status { display: flex; justify-content: center; align-items: center; gap: 10px; color: #9ba5b8; font: 500 10px "DM Mono", monospace; margin-top: 34px; }

.footer { min-height: 95px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.footer div { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

.modal-backdrop, .command-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2,5,10,.76);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.modal-backdrop.open, .command-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: min(100%, 760px);
  max-height: min(760px, 90vh);
  overflow-y: auto;
  padding: 42px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #0b101b;
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(.98);
  transition: .3s;
  position: relative;
}
.modal-backdrop.open .modal { transform: none; }
.modal-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 20px; }
.modal h2 { font-size: 38px; letter-spacing: -.04em; margin: 0 0 24px; }
.modal h3 { margin: 26px 0 8px; }
.modal p, .modal li { color: #aab2c3; line-height: 1.75; }
.modal ul { padding-left: 18px; }

.command-box {
  width: min(100%, 620px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #0b101b;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(-18px) scale(.98);
  transition: .25s;
}
.command-backdrop.open .command-box { transform: none; }
.command-input-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.command-input-row > span { color: var(--cyan); font-size: 20px; }
.command-input-row input { border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
kbd { color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 4px 7px; font: 500 9px "DM Mono", monospace; }
.command-results { padding: 8px; max-height: 430px; overflow-y: auto; }
.command-results button, .command-results a {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.command-results button:hover, .command-results a:hover, .command-results .selected { background: rgba(94,231,243,.075); }
.command-results > * > span { color: var(--cyan); }
.command-results strong { font-size: 13px; }
.command-results small { color: var(--muted); font-size: 10px; }
.command-footer { display: flex; gap: 18px; padding: 11px 18px; border-top: 1px solid var(--border); color: var(--muted); font: 500 9px "DM Mono", monospace; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .button, .icon-button { display: none; }
  .menu-button { display: block; }
  .mobile-menu {
    position: absolute; top: 82px; left: 20px; right: 20px;
    border: 1px solid var(--border); border-radius: 18px; padding: 12px;
    background: rgba(7,10,18,.96); backdrop-filter: blur(20px);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: 14px; border-radius: 10px; color: #c8cfdb; }
  .mobile-menu a:hover { background: var(--surface); }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .scroll-indicator { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-main { grid-column: span 2; grid-row: auto; }
  .toolbox { grid-column: span 2; }
  .experience-layout { grid-template-columns: 1fr; }
  .principles { position: static; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 90px 0; }
  .hero { padding-top: 130px; gap: 18px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-description { font-size: 16px; }
  .hero-proof { gap: 20px; flex-wrap: wrap; }
  .hero-proof div { min-width: 95px; }
  .hero-visual { min-height: 420px; }
  .orbital-card { width: 390px; max-width: 112%; }
  .terminal-card { width: 270px; right: 0; }
  .tech-node { font-size: 8px; min-width: 58px; }
  .split-heading { grid-template-columns: 1fr; gap: 15px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-main, .toolbox { grid-column: auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; display: block; }
  .featured .project-visual { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--border); }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; padding-left: 30px; }
  .timeline-date { padding-top: 0; }
  .contact-panel { padding: 74px 20px; }
  .footer { padding: 25px 0; flex-direction: column; gap: 16px; text-align: center; }
  .modal { padding: 34px 24px; }
  .command-results small { display: none; }
}
@media (max-width: 440px) {
  .hero-actions .button { width: 100%; }
  .hero-proof { margin-top: 42px; }
  .orbital-card { width: 340px; }
  .terminal-card { right: 15px; bottom: 0; width: 250px; }
  .node-python { left: 10%; }
  .node-sql { right: 4%; }
  .project-content { padding: 24px; }
  .project-links { align-items: flex-start; flex-direction: column; }
  .contact-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .cursor-glow, #network-canvas { display: none; }
}


/* =========================
   VERSION 2 ADDITIONS
   ========================= */

:root {
  --page-glow: rgba(94,231,243,.08);
}

body.light {
  --bg: #eef3f8;
  --bg-soft: #e5ebf2;
  --surface: rgba(255,255,255,.72);
  --surface-strong: rgba(255,255,255,.9);
  --border: rgba(20,36,58,.12);
  --text: #0b1320;
  --muted: #5d687a;
  --shadow: 0 24px 80px rgba(48,65,88,.15);
  background:
    radial-gradient(circle at 10% 10%, rgba(102,134,255,.15), transparent 30%),
    radial-gradient(circle at 90% 35%, rgba(157,114,255,.13), transparent 28%),
    var(--bg);
}

body.light .nav-wrap.scrolled,
body.light .mobile-menu,
body.light .modal,
body.light .command-box {
  background: rgba(238,243,248,.9);
}

body.light .brand-mark,
body.light .glass-card,
body.light .project-card,
body.light .timeline-card,
body.light .growth-card,
body.light .contact-panel,
body.light .cv-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

body.light .terminal-card,
body.light .hero-hud,
body.light .floating-chip {
  background: rgba(255,255,255,.8);
  color: #111827;
}

.theme-button {
  width: 40px;
  justify-content: center;
  padding: 0;
}

.stats-strip {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.stat-block {
  min-height: 145px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-block:last-child { border-right: 0; }
.stat-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-block p {
  margin: 8px 0 0;
  color: var(--muted);
  font: 500 10px "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-stage {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 45%, rgba(94,231,243,.10), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stage::before {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black 15%, transparent 70%);
}
.hero-stage::after {
  box-shadow: inset 0 0 90px rgba(0,0,0,.32);
}

#hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-hud {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(7,11,20,.64);
  backdrop-filter: blur(12px);
}
.hero-hud span { color: var(--muted); font: 500 8px "DM Mono", monospace; letter-spacing: .12em; }
.hero-hud strong { font: 500 11px "DM Mono", monospace; }
.hero-hud strong i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
  box-shadow: 0 0 10px var(--green);
}
.hud-top { top: 20px; left: 20px; }
.hud-bottom { right: 20px; bottom: 20px; }

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(7,11,20,.7);
  backdrop-filter: blur(10px);
  color: #dce3ef;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: .11em;
  animation: floatChip 5s ease-in-out infinite;
}
.chip-one { top: 22%; right: 8%; }
.chip-two { bottom: 28%; left: 7%; animation-delay: -1.5s; }
.chip-three { top: 48%; right: 12%; animation-delay: -3s; }
@keyframes floatChip {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.terminal-v2 {
  right: auto;
  left: 50%;
  bottom: 28px;
  width: 330px;
  transform: translateX(-50%) rotate(-1.2deg);
}
.terminal-cyan { color: var(--cyan); }

.growth-section {
  background:
    radial-gradient(circle at 25% 50%, rgba(94,231,243,.06), transparent 30%),
    radial-gradient(circle at 75% 50%, rgba(157,114,255,.06), transparent 30%);
}
.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.growth-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,.025);
  transition: transform .35s ease, border-color .35s ease;
}
.growth-card:hover {
  transform: translateY(-7px);
  border-color: rgba(94,231,243,.3);
}
.growth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.growth-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(94,231,243,.08);
}
.growth-status {
  color: var(--muted);
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .13em;
}
.growth-status.active { color: var(--green); }
.growth-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  letter-spacing: -.035em;
}
.growth-card p {
  min-height: 96px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}
.progress-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  margin: 24px 0 20px;
}
.progress-track i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform-origin: left;
  animation: growTrack 1.6s ease both;
}
@keyframes growTrack { from { transform: scaleX(0); } }
.growth-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.growth-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  color: #b9c1cf;
  font: 500 9px "DM Mono", monospace;
}

.cv-section { padding-top: 10px; }
.cv-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  overflow: hidden;
}
.cv-preview {
  min-height: 390px;
  display: grid;
  place-items: center;
  position: relative;
}
.cv-preview::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,231,243,.15), transparent 65%);
  filter: blur(12px);
}
.cv-sheet {
  position: relative;
  z-index: 1;
  width: 245px;
  min-height: 340px;
  padding: 26px;
  color: #111827;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: rotate(-4deg);
}
.cv-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.7);
  pointer-events: none;
}
.cv-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 8px "DM Mono", monospace;
  color: #5c6471;
}
.cv-sheet-head b {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #111827;
  color: #fff;
}
.cv-sheet h3 { margin: 48px 0 6px; font-size: 28px; }
.cv-sheet p { margin: 0; color: #687386; font-size: 11px; }
.cv-lines { display: grid; gap: 11px; margin-top: 44px; }
.cv-lines i { height: 6px; border-radius: 99px; background: #d7dce4; }
.cv-lines i:nth-child(2), .cv-lines i:nth-child(5) { width: 72%; }
.cv-lines i:nth-child(3) { width: 88%; }
.cv-copy h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.055em; margin: 0; }
.cv-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; max-width: 580px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.cv-copy small { color: var(--muted); }
.cv-copy code { color: var(--cyan); }

@media (max-width: 980px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: 0; }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .growth-grid { grid-template-columns: 1fr; }
  .growth-card p { min-height: 0; }
  .cv-panel { grid-template-columns: 1fr; text-align: center; }
  .cv-copy > p:not(.eyebrow) { margin-inline: auto; }
  .cv-actions { justify-content: center; }
}
@media (max-width: 720px) {
  .hero-stage { width: 390px; max-width: 112%; }
  .terminal-v2 { width: 280px; bottom: 18px; }
  .floating-chip { font-size: 7px; }
  .stats-strip { margin-top: 0; }
  .stat-block { min-height: 120px; padding: 20px 12px; }
  .stat-number { font-size: 34px; }
  .cv-panel { padding: 30px 20px; }
  .cv-preview { min-height: 330px; }
  .cv-sheet { transform: rotate(-2deg) scale(.9); }
}


/* =========================
   V2 RESPONSIVE REPAIR
   ========================= */

.hero-copy,
.hero-visual,
.hero-stage {
  min-width: 0;
}

.hero h1 {
  overflow-wrap: normal;
  word-break: normal;
}

.rotating-word {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 56px;
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-copy {
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    display: flex;
    justify-content: center;
  }

  .hero-stage {
    width: min(100%, 560px);
    max-width: 560px;
    aspect-ratio: 1 / 1;
  }

  .stats-strip {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    height: 70px;
  }

  .mobile-menu {
    top: 70px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 15px;
  }

  .hero {
    width: min(calc(100% - 28px), var(--container));
    padding-top: 108px;
    padding-bottom: 52px;
    gap: 42px;
  }

  .availability {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 9px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .13em;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .rotating-word {
    display: inline;
    white-space: normal;
  }

  .hero-description {
    max-width: 520px;
    margin-top: 22px;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    min-width: 0;
    flex: 1 1 150px;
  }

  .hero-proof {
    width: 100%;
    margin-top: 36px;
    gap: 18px;
    justify-content: space-between;
  }

  .hero-proof div {
    min-width: 0;
    flex: 1;
  }

  .hero-proof strong {
    font-size: 20px;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .hero-visual {
    width: 100%;
    overflow: visible;
  }

  .hero-stage {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1 / 1.08;
    border-radius: 28px;
  }

  .hero-hud {
    padding: 8px 9px;
  }

  .hud-top {
    top: 14px;
    left: 14px;
  }

  .hud-bottom {
    right: 14px;
    bottom: 14px;
  }

  .floating-chip {
    padding: 7px 9px;
  }

  .chip-one {
    top: 20%;
    right: 5%;
  }

  .chip-two {
    bottom: 30%;
    left: 4%;
  }

  .chip-three {
    top: 44%;
    right: 5%;
  }

  .terminal-v2 {
    width: min(270px, calc(100% - 36px));
    left: 50%;
    right: auto;
    bottom: 22px;
    transform: translateX(-50%);
  }

  .terminal-card pre {
    font-size: 9px;
    line-height: 1.65;
  }

  .stats-strip {
    width: min(calc(100% - 28px), var(--container));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-block {
    min-width: 0;
  }
}

@media (max-width: 440px) {
  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof div {
    text-align: center;
  }

  .hero-stage {
    max-width: 100%;
    aspect-ratio: 1 / 1.12;
  }

  .floating-chip {
    font-size: 6px;
  }

  .terminal-v2 {
    width: calc(100% - 28px);
  }

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

  .stat-block {
    padding: 18px 8px;
  }

  .stat-number {
    font-size: 30px;
  }
}
