/* ===== Design tokens ===== */
:root {
  --bg: #050505;
  --bg-alt: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f6;
  --text-dim: #9a9aa3;
  --accent: #8b5cf6;
  --accent-2: #f43f8e;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
  --radius: 18px;
  --maxw: 1140px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

svg { width: 20px; height: 20px; fill: currentColor; }

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

/* ===== Loader ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.7vw, 1rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin-right: auto;
  color: var(--accent-2);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dim);
  padding: 4px 2px;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 1002;
}
.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(139,92,246,0.4); }
.btn-outline {
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-3px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}
.blob-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: var(--accent);
}
.blob-2 {
  width: 420px; height: 420px;
  bottom: -140px; right: -100px;
  background: var(--accent-2);
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-eyebrow {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-role {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 22px;
  min-height: 2.4rem;
}
.cursor-blink { animation: blink 0.9s step-end infinite; color: var(--accent-2); }
@keyframes blink { 50% { opacity: 0; } }
.hero-summary {
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
  font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-socials { display: flex; gap: 16px; }
.hero-socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
  transition: all 0.25s ease;
}
.hero-socials a:hover {
  color: var(--bg);
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-4px);
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--surface-border);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translateX(-50%);
  animation: scrollcue 1.6s ease infinite;
}
@keyframes scrollcue {
  0% { top: 8px; opacity: 1; }
  80% { top: 24px; opacity: 0; }
  100% { top: 24px; opacity: 0; }
}

/* ===== Hero orbit visual ===== */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.orbit-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring-line {
  position: absolute;
  inset: 30px;
  border: 1px dashed var(--surface-border);
  border-radius: 50%;
}
.orbit-core {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 0 60px rgba(139,92,246,0.45);
  animation: corePulse 3.2s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 40px rgba(139,92,246,0.35); }
  50% { box-shadow: 0 0 70px rgba(244,63,142,0.45); }
}
.orbit-ring {
  position: absolute;
  inset: 0;
  animation: spin 22s linear infinite;
}
.orbit-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
}
.orbit-icon-inner {
  transform: translate(-50%, -50%);
  animation: spin-reverse 22s linear infinite;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes spin-reverse {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ===== Ambient particles ===== */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.5;
  animation: drift 9s ease-in-out infinite;
}
.particles span:nth-child(1) { top: 18%; left: 12%; animation-duration: 8s; }
.particles span:nth-child(2) { top: 65%; left: 22%; animation-duration: 11s; animation-delay: -2s; background: var(--accent); }
.particles span:nth-child(3) { top: 30%; left: 78%; animation-duration: 9s; animation-delay: -4s; }
.particles span:nth-child(4) { top: 78%; left: 85%; animation-duration: 12s; animation-delay: -1s; background: var(--accent); }
.particles span:nth-child(5) { top: 50%; left: 50%; animation-duration: 10s; animation-delay: -6s; }
.particles span:nth-child(6) { top: 12%; left: 60%; animation-duration: 7s; animation-delay: -3s; background: var(--accent); }
.particles span:nth-child(7) { top: 85%; left: 40%; animation-duration: 13s; animation-delay: -5s; }
.particles span:nth-child(8) { top: 40%; left: 6%; animation-duration: 10s; animation-delay: -7s; background: var(--accent); }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  50% { transform: translate(18px, -26px); opacity: 0.8; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-tag {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-sub { color: var(--text-dim); max-width: 560px; margin-bottom: 50px; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: visible;
}
.about-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(30px);
  z-index: -1;
}

/* Animated code window */
.code-window {
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  background: #0a0a0a;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  animation: windowFloat 7s ease-in-out infinite;
}
@keyframes windowFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.3deg); }
}
.code-window-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--surface-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.code-filename {
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: "Space Grotesk", sans-serif;
}
.code-body {
  margin: 0;
  padding: 20px 22px;
  min-height: 260px;
  font-family: "Consolas", "Menlo", monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}
.code-line { display: block; }
.tok-kw { color: #ff7edb; }
.tok-var { color: var(--text); }
.tok-fn { color: #b18cff; }
.tok-str { color: #a6e22e; }
.tok-op { color: var(--text-dim); }
.tok-num { color: #f8c555; }
.tok-prop { color: #ffb86b; }

.floating-tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
}
.tag-1 { top: 6%; left: -12%; animation: floatTagA 6s ease-in-out infinite; }
.tag-2 { bottom: 16%; right: -15%; animation: floatTagB 8s ease-in-out infinite; animation-delay: -2s; }
.tag-3 { bottom: -6%; left: 22%; animation: floatTagC 5s ease-in-out infinite; animation-delay: -3.5s; }
@keyframes floatTagA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(4px, -14px) rotate(2deg); }
}
@keyframes floatTagB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, -10px) rotate(-3deg); }
}
@keyframes floatTagC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, 12px) rotate(3deg); }
}
.about-lead { color: var(--text-dim); margin-bottom: 22px; font-size: 1.02rem; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.quick-facts span {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== Skills (tag cloud) ===== */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.skill-pill {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.skill-pill:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

/* ===== Experience / Education grid ===== */
.exp-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* ===== Timeline ===== */
.timeline-heading {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 22px;
  color: var(--accent-2);
}
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--surface-border); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.15);
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover { transform: translateX(4px); border-color: rgba(244,63,142,0.35); }
.timeline-date { font-size: 0.8rem; color: var(--accent-2); font-weight: 600; }
.timeline-card h4 { font-family: var(--font-head); margin: 6px 0 12px; font-size: 1.08rem; }
.timeline-card h4 span { color: var(--text-dim); font-weight: 400; font-family: var(--font-body); font-size: 0.9rem; display: block; margin-top: 2px; }
.timeline-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.project-thumb {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(244,63,142,0.15));
  position: relative;
  overflow: hidden;
}
.project-thumb span {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
}
.project-body { padding: 24px; }
.project-body h3 { font-family: var(--font-head); margin-bottom: 10px; font-size: 1.15rem; }
.project-body p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
}
.project-links { display: flex; gap: 18px; }
.project-links a { font-size: 0.85rem; font-weight: 600; color: var(--accent-2); transition: transform 0.2s ease; display: inline-block; }
.project-links a:hover { transform: translateX(3px); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--accent-2);
}
.contact-item span { display: block; font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item strong { font-weight: 600; }
.contact-item a:hover { color: var(--accent-2); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(244,63,142,0.12);
}
.form-submit { align-self: flex-start; }
.form-note { font-size: 0.88rem; color: var(--accent-2); min-height: 1.2em; }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--surface-border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--text-dim); font-size: 0.88rem; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--text-dim); transition: color 0.25s ease; }
.footer-socials a:hover { color: var(--accent-2); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.15s; }
.reveal[data-delay="3"] { transition-delay: 0.25s; }
.reveal[data-delay="4"] { transition-delay: 0.35s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .exp-edu-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .exp-edu-grid > div:last-child { margin-top: 50px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-actions, .hero-socials { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .orbit-wrap { width: 280px; height: 280px; }
  .orbit-core { width: 100px; height: 100px; font-size: 1.7rem; }
  .orbit-icon { --radius: 115px !important; }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--surface-border);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .orbit-wrap { width: 230px; height: 230px; }
  .orbit-core { width: 84px; height: 84px; font-size: 1.4rem; }
  .orbit-icon { --radius: 92px !important; }
  .orbit-icon-inner { font-size: 0.7rem; padding: 7px 12px; }
}
