/* CSS reset and variables */
:root {
  --bg: #0b0f14;
  --bg-elev: #111723;
  --text: #e6edf3;
  --muted: #9fb0c0;
  --primary: #5b9cff;
  --primary-600: #3c7be0;
  --accent: #ffd166;
  --card: #0f1621;
  --border: #1e2633;
  --success: #2ecc71;
  --danger: #ff6b6b;
  --warning: #f39c12;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --container: 1120px;
  --radius: 12px;
  --radius-lg: 16px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fc;
    --bg-elev: #ffffff;
    --text: #0e1726;
    --muted: #5b6b7c;
    --primary: #2f6fed;
    --primary-600: #1d55c0;
    --accent: #9b6cff;
    --card: #ffffff;
    --border: #e6eef6;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(91,156,255,0.15), transparent 60%),
              radial-gradient(800px 500px at 90% 10%, rgba(155,108,255,0.15), transparent 55%),
              var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; }

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 20, 0.92);
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
  color: var(--text);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
body.is-loading .page-loader {
  opacity: 1;
  pointer-events: auto;
}
.loader-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(91,156,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loader-spin 2.4s ease-in-out infinite;
}
.loader-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 3px;
  animation: loader-bounce 1.2s ease-in-out infinite;
}
.loader-dot:nth-child(2) { animation-delay: 0.15s; }
.loader-dot:nth-child(3) { animation-delay: 0.3s; }
.page-loader p { margin: 0; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

@keyframes loader-spin {
  0% { transform: rotate(0deg); box-shadow: 0 0 20px rgba(91,156,255,0.25); }
  50% { box-shadow: 0 0 30px rgba(155,108,255,0.35); }
  100% { transform: rotate(360deg); box-shadow: 0 0 20px rgba(91,156,255,0.25); }
}
@keyframes loader-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-6px); opacity: 1; }
}

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

main { position: relative; z-index: 1; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Reveal animations */
:root { --reveal-from: translateY(24px); }
.js [data-reveal] {
  opacity: 0;
  transform: var(--reveal-from, translateY(24px));
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal="scale"] { --reveal-from: scale(0.9); }
[data-reveal="blur"] {
  --reveal-from: translateY(20px);
  filter: blur(10px);
}


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; transition: transform 0.2s ease; }
.brand:hover { transform: translateY(-1px); }
.brand-mark { 
  width: 28px; 
  height: 28px; 
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 55%),
              linear-gradient(135deg, rgba(0,0,0,0.9), rgba(15,15,20,0.95));
  border-radius: 8px; 
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand-mark::after {
  content: 'QA';
}
.brand-text { font-weight: 700; letter-spacing: 0.2px; font-size: 18px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}
.nav-toggle-bar { width: 18px; height: 2px; background: currentColor; display: block; margin: 3px 0; border-radius: 2px; }

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); background: var(--bg-elev); }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: var(--bg-elev); border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform 240ms ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: 16px 20px; }
}

/* Hero */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.hero {
  position: relative;
  overflow: hidden;
  --tiltX: 0px;
  --tiltY: 0px;
  --tiltRotX: 0deg;
  --tiltRotY: 0deg;
}
.hero-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.12s ease-out;
}
.motion-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,156,255,0.45), transparent 70%);
  filter: blur(8px);
  animation: orb-pulse 16s ease-in-out infinite;
}
.motion-orb.orb-1 { top: -60px; left: -40px; }
.motion-orb.orb-2 {
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(155,108,255,0.5), transparent 70%);
  animation-delay: 4s;
}
.motion-orb.orb-3 {
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(255,209,102,0.35), transparent 70%);
  animation-delay: 8s;
}
.floating-icons {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 120px 10% 0;
  margin: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.16s ease-out;
}
.floating-icons li {
  font-size: 28px;
  color: rgba(255,255,255,0.65);
  animation: float-wiggle 12s ease-in-out infinite;
  opacity: 0.45;
}
.floating-icons li:nth-child(2) { animation-delay: 2s; }
.floating-icons li:nth-child(3) { animation-delay: 4s; }
.floating-icons li:nth-child(4) { animation-delay: 6s; }

.hero h1 { 
  font-size: 48px; 
  line-height: 1.1; 
  margin: 0 0 16px; 
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero .container { position: relative; z-index: 2; }
.accent { 
  color: var(--accent); 
  background: linear-gradient(135deg, var(--accent), #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead { 
  color: var(--muted); 
  font-size: 20px; 
  margin: 0 0 24px; 
  line-height: 1.5;
  font-weight: 400;
}
.lead[data-typing] {
  position: relative;
  min-height: 60px;
}
.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  animation: caret-blink 0.9s steps(1) infinite;
  vertical-align: middle;
}


.actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0 16px; }
.hero-stats { display: none; }

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  height: 48px; 
  padding: 0 20px; 
  border-radius: var(--radius); 
  border: 1px solid var(--border); 
  color: var(--text); 
  text-decoration: none; 
  background: var(--bg-elev); 
  box-shadow: var(--shadow); 
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-lg);
}
.btn-primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-600)); 
  border-color: transparent; 
  color: #fff; 
  box-shadow: 0 4px 16px rgba(91, 156, 255, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(91, 156, 255, 0.4);
}
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-elev); }
.btn-sm { height: 40px; padding: 0 16px; box-shadow: none; }

.social-list { display: flex; gap: 16px; list-style: none; padding: 0; margin: 16px 0 0; }
.social-list a { color: var(--muted); text-decoration: none; }
.social-list a:hover { color: var(--text); }

.hero-media { display: grid; place-items: center; }
.avatar {
  width: 260px;
  height: 260px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 70% 30%, rgba(255,209,102,0.4), transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(91,156,255,0.35), transparent 60%),
              linear-gradient(135deg, var(--primary), #8a5bff);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  --avatar-scale: 1;
  transform: translateY(var(--parallax-offset, 0px)) scale(var(--avatar-scale)) translate3d(var(--tiltY, 0px), var(--tiltX, 0px), 0);
  transition: transform 0.4s ease;
  overflow: hidden;
}
.avatar::before,
.avatar::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 2px dashed rgba(255,255,255,0.15);
  z-index: 1;
}
.avatar-img {
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 2px solid rgba(255,255,255,0.25);
  object-fit: cover;
  width: auto;
  height: auto;
  z-index: 2;
  animation: hero-elsa-bob 6s ease-in-out infinite;
}
.avatar-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 86px;
  color: rgba(255,255,255,0.4);
  text-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 0;
}
.avatar:hover { --avatar-scale: 1.05; }

@keyframes hero-elsa-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .floating-icons { padding-top: 60px; }
}
@media (max-width: 640px) {
  .floating-icons { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
}

/* Cards */
.section-title { 
  margin: 0 0 32px; 
  font-size: 32px; 
  font-weight: 700;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } }

.card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: all 0.3s ease;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::after { opacity: 1; }
.card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.card-media { 
  height: 180px; 
  background: linear-gradient(135deg, rgba(91,156,255,0.2), rgba(155,108,255,0.2)); 
  border-bottom: 1px solid var(--border); 
  position: relative;
  overflow: hidden;
}
.card-media::before {
  content: attr(data-icon);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.6;
}
.card-body { padding: 20px; }
.card-title { 
  margin: 0 0 12px; 
  font-size: 22px; 
  font-weight: 600;
  color: var(--text);
}
.card-body p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { 
  display: inline-flex; 
  align-items: center; 
  height: 32px; 
  padding: 0 12px; 
  border-radius: 999px; 
  border: 1px solid var(--border); 
  color: var(--muted); 
  background: var(--bg-elev); 
  font-size: 13px; 
  font-weight: 500;
  transition: all 0.2s ease;
}
.chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.card-actions { display: flex; gap: 12px; padding: 16px 20px 20px; margin-top: auto; }

/* About */
.about-media { 
  min-height: 280px; 
  border-radius: var(--radius-lg); 
  background: linear-gradient(135deg, rgba(255,209,102,0.2), rgba(91,156,255,0.2)); 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  position: relative;
  overflow: hidden;
  transform: translateY(var(--parallax-offset, 0px));
  transition: transform 0.6s ease;
  will-change: transform;
}
.about-media::before {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  opacity: 0.4;
}

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.skill-pill { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 12px 14px; 
  border: 1px solid var(--border); 
  border-radius: 999px; 
  background: var(--bg-elev); 
  color: var(--text); 
  box-shadow: var(--shadow); 
  font-weight: 600;
  position: relative;
  overflow: hidden;
  animation: skill-float 5s ease-in-out infinite;
  animation-delay: calc(var(--skill-order, 0) * 0.2s);
}
.skill-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.skill-pill:hover::after { transform: translateX(100%); }
.skill-pill:nth-child(1) { --skill-order: 0; }
.skill-pill:nth-child(2) { --skill-order: 1; }
.skill-pill:nth-child(3) { --skill-order: 2; }
.skill-pill:nth-child(4) { --skill-order: 3; }
.skill-pill:nth-child(5) { --skill-order: 4; }
.skill-pill:nth-child(6) { --skill-order: 5; }
.skill-ico { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 12px; }
@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .skills-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-tile { 
  display: block; 
  padding: 24px; 
  border: 1px solid var(--border); 
  border-radius: var(--radius-lg); 
  background: var(--bg-elev); 
  text-decoration: none; 
  color: var(--text); 
  box-shadow: var(--shadow); 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.contact-tile:hover::before { transform: scaleX(1); }
.contact-tile:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.tile-title { 
  display: block; 
  font-weight: 700; 
  font-size: 18px;
  margin-bottom: 8px;
}
.tile-sub { 
  color: var(--muted); 
  font-size: 14px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 22px 0; background: rgba(255,255,255,0.02); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.to-top { color: var(--muted); text-decoration: none; }
.to-top:hover { color: var(--text); }

/* Experience Timeline */
.experience-list { padding: 0; margin: 0; }
.timeline { position: relative; margin: 40px auto 0; max-width: 900px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--border));
  opacity: 0.6;
  background-size: 200% 200%;
  animation: timeline-flow 10s linear infinite;
}
.timeline-item { position: relative; padding-left: 72px; margin-bottom: 28px; }
.timeline-bullet {
  position: absolute; left: 16px; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(91,156,255,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.exp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px 20px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.timeline-item.is-active .timeline-bullet {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(91,156,255,0.25);
}
.timeline-item.is-active .exp-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.exp-card h3 { margin: 0 0 6px; font-size: 18px; }
.exp-meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.exp-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.exp-role { font-weight: 600; }
@media (max-width: 720px) {
  .timeline::before { left: 14px; }
  .timeline-item { padding-left: 56px; }
  .timeline-bullet { left: 6px; }
}

/* Blogs cards */
.blog-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.blog-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 18px; }
.blog-title { margin: 0; font-size: 16px; color: var(--text); }
@media (max-width: 720px) { .blog-cards { grid-template-columns: 1fr; } }

/* Education timeline */
.edu-timeline { list-style: none; margin: 0; padding: 0 0 0 24px; position: relative; }
.edu-timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.edu-timeline li { position: relative; margin: 0 0 18px; }
.edu-dot { position: absolute; left: -1px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(91,156,255,0.15); }
.edu-content { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.edu-head { font-weight: 600; }
.edu-meta { color: var(--muted); font-size: 13px; }

/* Training check list */
.training-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.training-list li { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.training-list .tick { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--success); color: #fff; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
@media (max-width: 760px) { .training-list { grid-template-columns: 1fr; } }

/* Awards grid */
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.award-badge { background: linear-gradient(135deg, rgba(91,156,255,0.12), rgba(155,108,255,0.12)); border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; color: var(--text); text-align: center; font-weight: 600; }
@media (max-width: 1000px) { .awards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }

/* Keyframes */
@keyframes skill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.1); opacity: 0.9; }
}
@keyframes float-wiggle {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes hero-glow {
  0%, 100% { opacity: 0.45; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}
@keyframes spark-float {
  0% { transform: translate3d(0, 0, 80px) scale(0.8); opacity: 0.4; }
  50% { transform: translate3d(10px, -18px, 80px) scale(1.2); opacity: 1; }
  100% { transform: translate3d(-6px, -32px, 80px) scale(0.6); opacity: 0; }
}
@keyframes timeline-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}


