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

:root {
  --bg: #070a12;
  --surface: #0d1220;
  --surface-2: #11182a;
  --text: #f4f6fb;
  --muted: #a8afc2;
  --line: rgba(255,255,255,.10);
  --accent: #9b6cff;
  --accent-2: #4da3ff;
  --glow: rgba(155,108,255,.25);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 75% 8%, rgba(77,163,255,.08), transparent 25%),
    radial-gradient(circle at 12% 20%, rgba(155,108,255,.07), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.light {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --text: #111421;
  --muted: #5f6678;
  --line: rgba(17,20,33,.12);
  --glow: rgba(120,72,220,.15);
}
body.light .cert-grid article {
    background: #ffffff;
    border-color: #dfe3ec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light .cert-grid article h3 {
    color: #171b2b;
}

body.light .cert-grid article p {
    color: #626b7d;
}

body.light .cert-grid article:hover {
    border-color: rgba(126, 87, 255, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: white; }

.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 76px; padding: 0 4vw;
  display: flex; align-items: center; gap: 26px;
  background: rgba(7,10,18,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
body.light .navbar { background: rgba(245,246,250,.82); }
.brand { display: flex; align-items: center; gap: 11px; font: 700 13px "Space Grotesk"; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  color: white; background: linear-gradient(135deg,var(--accent),var(--accent-2));
  font-size: 12px;
}
.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 12px; transition: .25s; padding: 28px 0 22px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--text); border-color: var(--accent); }
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  color: var(--text); background: transparent; cursor: pointer;
}
.menu-toggle { display: none; background: transparent; border: 0; }
.menu-toggle span { display:block; width: 22px; height:2px; background:var(--text); margin:5px; }

.section { max-width: var(--max); margin: auto; padding: 115px 32px; }
.hero {
  min-height: 100vh; padding-top: 150px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;
}
.eyebrow { color: #bb96ff; font: 600 15px "Space Grotesk"; letter-spacing: .16em; }
.hero h1 { margin-top: 8px; font: 800 clamp(54px,7vw,92px)/.92 "Space Grotesk"; letter-spacing: -.06em; }
.hero h1 span, .contact-content h2 span { color: var(--accent); }
.hero h2 { margin-top: 20px; font: 600 22px "Space Grotesk"; }
.hero-text { max-width: 560px; margin-top: 14px; color: var(--muted); }
.hero-actions { display: flex; gap: 13px; margin-top: 28px; }
.btn {
  display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px;
  border-radius: 8px; font-size: 13px; font-weight: 700; transition: .25s;
}
.btn.primary { color: white; background: linear-gradient(135deg,var(--accent),#7250e6); box-shadow: 0 10px 30px var(--glow); }
.btn.secondary { border: 1px solid rgba(155,108,255,.55); }
.btn:hover { transform: translateY(-3px); }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-row a {
  display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--line);
  border-radius:50%; font-weight:700; color:var(--muted); transition:.25s;
}
.social-row a:hover { color:white; background:var(--accent); transform:translateY(-3px); }

/* .hero-art { min-height: 480px; position: relative; display:grid; place-items:center; }
.code-window {
  width: min(430px, 90%); padding: 20px 24px; border:1px solid rgba(155,108,255,.35);
  border-radius: 15px; background: linear-gradient(145deg,rgba(17,24,42,.96),rgba(9,12,23,.92));
  box-shadow: 0 30px 90px rgba(0,0,0,.4), 0 0 70px var(--glow);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  animation: float 5s ease-in-out infinite;
}
.window-bar { display:flex; gap:7px; padding-bottom:20px; }
.window-bar i { width:8px;height:8px;border-radius:50%;background:#596178; }
.code-line { color:#cbd3e8; font: 14px/2.2 monospace; }
.code-line b { color:#8dbdff; }
.code-line span { color:#d8a6ff; }
.code-line em { color:#77e2c0; font-style:normal; }
.indent { padding-left:25px; }.indent-2 { padding-left:50px; color:#f0a8bd; }
.data-card {
  position:absolute; right:0; bottom:48px; width:145px; padding:14px;
  background:rgba(13,18,32,.94); border:1px solid var(--line); border-radius:12px;
}
.mini-chart { height:55px; display:flex; align-items:end; gap:7px; }
.mini-chart span { flex:1; border-radius:4px 4px 1px 1px; background:linear-gradient(#8e6cff,#3f8fff); }
.mini-chart span:nth-child(1){height:35%}.mini-chart span:nth-child(2){height:52%}.mini-chart span:nth-child(3){height:44%}.mini-chart span:nth-child(4){height:72%}.mini-chart span:nth-child(5){height:60%}.mini-chart span:nth-child(6){height:90%}
.data-card small { display:block; margin-top:8px; color:var(--muted); letter-spacing:.12em; font-size:9px; }
.hero-chip { position:absolute; padding:8px 12px; border:1px solid var(--line); background:rgba(17,24,42,.9); border-radius:8px; font-size:11px; box-shadow:0 12px 30px rgba(0,0,0,.25); }
.chip-one { top:65px; right:70px; animation: drift 4s ease-in-out infinite; }
.chip-two { left:15px; bottom:100px; animation: drift 5s .5s ease-in-out infinite; }
.chip-three { top:150px; left:15px; animation: drift 4.5s 1s ease-in-out infinite; }
.orb { position:absolute; border-radius:50%; filter:blur(35px); opacity:.35; }
.orb-a { width:170px;height:170px;background:#8055ff;right:20%;top:8%; }
.orb-b { width:130px;height:130px;background:#2c8cff;left:15%;bottom:12%; } */

.split-section { display:grid; grid-template-columns: 210px 1fr; gap:60px; border-top:1px solid var(--line); }
.section-label h2 { font:700 17px "Space Grotesk"; letter-spacing:.05em; }
.section-number { color:var(--accent); font:600 12px monospace; display:block; margin-bottom:10px; }
.section-label p { color:var(--muted); font-size:12px; margin-top:5px; }
.section-content { min-width:0; }
.about-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:70px; }
.large-copy { font:500 23px/1.5 "Space Grotesk"; }
.about-grid p + p { margin-top:20px; color:var(--muted); }
.about-facts { display:grid; gap:14px; }
.about-facts div { padding:17px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.about-facts strong, .about-facts span { display:block; }
.about-facts span { color:var(--muted); font-size:12px; margin-top:2px; }

.skill-groups { display:grid; gap:22px; }
.skill-group { display:grid; grid-template-columns:220px 1fr; gap:25px; align-items:start; padding-bottom:22px; border-bottom:1px solid var(--line); }
.skill-group h3 { font:600 13px "Space Grotesk"; }
.tags { display:flex; flex-wrap:wrap; gap:8px; }
.tags span {
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #d9deec;
  font-size: 11px;
  transition: all 0.25s ease;
  cursor: default;
}
.tags span:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: #ffffff;
  background: rgba(155, 108, 255, 0.12);
  box-shadow: 0 6px 20px rgba(155, 108, 255, 0.15);
}
.experience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.experience-card, .project-card, .cert-grid article, .coding-card {
  background:linear-gradient(145deg,rgba(17,24,42,.85),rgba(10,14,26,.8));
  border:1px solid var(--line); border-radius:12px; transition:.3s;
}
.experience-card { padding:23px; position:relative; overflow:hidden; }
.experience-card:hover, .project-card:hover, .cert-grid article:hover, .coding-card:hover { transform:translateY(-7px); border-color:rgba(155,108,255,.45); box-shadow:0 18px 50px rgba(0,0,0,.2); }
.card-index { color:var(--accent); font:11px monospace; }
.experience-card h3 { margin-top:14px; font:600 17px/1.3 "Space Grotesk"; }
.role { color:#b89aff; font-size:12px; margin-top:8px; font-weight:600; }
.date { color:var(--muted); font-size:11px; margin-top:4px; }
.experience-card > p:last-child { margin-top:18px; color:var(--muted); font-size:12px; }

.project-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.project-card { overflow:hidden; }
.project-visual { height:220px; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.ebook-visual {
    height: 275px;
    overflow: hidden;
    padding: 0;
}
.ebook-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.book-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:35px; }
.book-grid i { height:105px; border-radius:5px; background:linear-gradient(145deg,#6b4bc7,#293b76); transform:rotate(-2deg); box-shadow:10px 12px 25px rgba(0,0,0,.3); }
.book-grid i:nth-child(2){background:linear-gradient(145deg,#2d89d7,#1c3d75);transform:rotate(2deg)}
.book-grid i:nth-child(3){background:linear-gradient(145deg,#d17c9f,#643d75)}
.book-grid i:nth-child(4){background:linear-gradient(145deg,#4ba983,#254a5c)}
.energy-visual {
    height: 275px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at center,
            rgba(77, 157, 255, 0.12),
            transparent 65%
        ),
        #0c1120;
} 
.energy-visual img {
    width: 92%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}
.student-visual {
    height: 275px;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
}

.student-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .student-visual img {
    transform: scale(1.04);
}
.chart-lines { position:absolute; inset:35px 25px 35px 25px; background:repeating-linear-gradient(to bottom,transparent 0 34px,rgba(255,255,255,.06) 35px 36px); }
.chart-lines span { position:absolute; height:2px; width:70%; background:#6f9cff; transform-origin:left; }
.chart-lines span:nth-child(1){top:20%;transform:rotate(9deg)} .chart-lines span:nth-child(2){top:40%;transform:rotate(-5deg);width:85%} .chart-lines span:nth-child(3){top:62%;transform:rotate(7deg);width:60%} .chart-lines span:nth-child(4){top:82%;transform:rotate(-8deg);width:76%}
.bars { position:absolute; right:30px; bottom:35px; display:flex; gap:7px; align-items:end; }
.bars i { width:14px; background:linear-gradient(#a56cff,#4b7fff); border-radius:3px 3px 0 0; }
.bars i:nth-child(1){height:35px}.bars i:nth-child(2){height:62px}.bars i:nth-child(3){height:48px}.bars i:nth-child(4){height:84px}.bars i:nth-child(5){height:105px}
.project-info { padding:22px; }
.project-title-row { display:flex; justify-content:space-between; gap:15px; }
.project-title-row h3 { font:600 20px/1.3 "Space Grotesk"; }
.project-title-row span { color:var(--accent); }
.stack { color:#b99dff; font-size:11px; margin-top:13px; }
.project-info > p:last-child { color:var(--muted); font-size:12px; margin-top:13px; }

.cert-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cert-grid article { padding:21px; }
.cert-grid span { color:var(--accent); font:11px monospace; }
.cert-grid h3 { font:600 16px "Space Grotesk"; margin-top:12px; }
.cert-grid p { color:var(--muted); font-size:11px; margin-top:4px; }

.coding-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.coding-card { padding:22px; text-align:center; }
.coding-icon { display:grid; place-items:center; width:45px;height:45px;margin:auto;border-radius:12px;background:var(--surface-2);color:#b99dff;font-weight:800;font-size:11px; }
.coding-card h3 { margin-top:13px; font:600 14px "Space Grotesk"; }
.coding-card strong { display:block; font:800 26px "Space Grotesk"; margin-top:10px; }
.coding-card p, .coding-card small { color:var(--muted); font-size:10px; }
.coding-card small { display:block; margin-top:8px; }

.timeline { position:relative; padding-left:28px; }
.timeline:before { content:""; position:absolute; left:7px; top:10px; bottom:10px; width:1px; background:linear-gradient(var(--accent),rgba(155,108,255,.1)); }
.timeline article { position:relative; display:grid; grid-template-columns:1fr auto; gap:30px; padding:0 0 30px; }
.timeline article:last-child { padding-bottom:0; }
.dot { position:absolute; left:-25px; top:5px; width:14px;height:14px;border-radius:50%;background:var(--bg);border:3px solid var(--accent); box-shadow:0 0 20px var(--glow); }
.timeline h3 { font:600 17px "Space Grotesk"; }
.timeline p { color:var(--muted); font-size:12px; }
.timeline time { text-align:right; color:var(--muted); font-size:11px; }
.timeline time b { color:#d5c5ff; font-weight:600; }

.contact-section { border-top:1px solid var(--line); display:grid; grid-template-columns:210px 1fr; gap:60px; }
.contact-content { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.contact-content h2 { font:700 clamp(32px,4vw,52px)/1.05 "Space Grotesk"; margin-top:10px; }
.contact-content > div:first-child > p:last-child { color:var(--muted); margin-top:18px; }
.contact-details { display:grid; align-content:center; gap:17px; }
.contact-details a, .contact-details > span { display:flex; gap:12px; align-items:center; color:var(--muted); font-size:13px; }
.contact-details a:hover { color:var(--text); }
footer { max-width:var(--max); margin:auto; padding:24px 32px 35px; display:flex; justify-content:space-between; color:var(--muted); border-top:1px solid var(--line); font-size:10px; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.12s; }.delay-2 { transition-delay:.22s; }

@keyframes float { 0%,100%{transform:perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(0)}50%{transform:perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(-12px)} }
@keyframes drift { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }

.cursor-glow { position:fixed; width:220px;height:220px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(155,108,255,.07),transparent 65%);transform:translate(-50%,-50%);z-index:0; }

@media (max-width: 1050px) {
  .nav-links { gap:12px; }
  .nav-links a { font-size:11px; }
  .experience-grid { grid-template-columns:1fr; }
}
@media (max-width: 850px) {
  .navbar { justify-content:space-between; }
  .menu-toggle { display:block; }
  .nav-links {
    position:absolute; top:76px; left:0; right:0; padding:18px 28px;
    background:var(--surface); border-bottom:1px solid var(--line);
    display:none; flex-direction:column; gap:0;
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:10px 0; }
  .hero { grid-template-columns:1fr; padding-top:120px; }
  .hero-visual { min-height:380px; }
  .split-section, .contact-section { grid-template-columns:1fr; gap:25px; }
  .section-label { display:flex; align-items:center; gap:10px; }
  .section-number { margin:0; }
  .about-grid, .contact-content { grid-template-columns:1fr; }
  .skill-group { grid-template-columns:1fr; gap:12px; }
}
@media (max-width: 600px) {
  .section { padding:80px 20px; }
  .hero { padding-top:110px; }
  .hero h1 { font-size:56px; }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .project-grid, .cert-grid, .coding-grid { grid-template-columns:1fr; }
  .project-visual { height:190px; }
  .timeline article { grid-template-columns:1fr; gap:8px; }
  .timeline time { text-align:left; }
  footer { flex-direction:column; gap:6px; }
  /* .theme-toggle { display:none; } */
}
\n/* Version 2 polish */
.hero-copy{position:relative;z-index:2}.hero-art{isolation:isolate}.hero-art:after{content:"";position:absolute;inset:10% 4% 8%;border:1px solid rgba(155,108,255,.08);border-radius:28px;transform:rotate(-3deg);pointer-events:none;animation:framePulse 6s ease-in-out infinite}.project-card,.experience-card,.cert-grid article,.coding-card{will-change:transform}.btn.primary span{display:inline-block;transition:transform .25s}.btn.primary:hover span{transform:translateX(4px)}.social-row a{position:relative;overflow:hidden}.social-row a:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.18),transparent);transform:translateX(-120%);transition:.45s}.social-row a:hover:after{transform:translateX(120%)}
@keyframes framePulse{0%,100%{opacity:.45;transform:rotate(-3deg) scale(1)}50%{opacity:1;transform:rotate(-1deg) scale(1.015)}}
/* ================================
   HERO ANIMATED VISUAL
================================ */

.hero-visual {
    min-height: 480px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

/* Main card */

.visual-card {
    width: min(440px, 90%);
    height: 300px;

    position: relative;
    z-index: 3;

    padding: 22px;

    border: 1px solid rgba(155, 108, 255, 0.35);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 24, 42, 0.96),
            rgba(8, 12, 24, 0.96)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 70px rgba(155, 108, 255, 0.14);

    transform: rotate(-4deg);

    animation:
        heroFloat 6s ease-in-out infinite,
        cardGlow 4s ease-in-out infinite;
}

/* Browser-style dots */

.visual-header {
    display: flex;
    gap: 7px;
}

.visual-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #596178;
}

/* Card content */

.visual-content {
    position: relative;
    height: calc(100% - 30px);
    padding-top: 45px;
}

.visual-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.code-symbol {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    border-radius: 14px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--accent)
            var(--accent-2)
        );

    font: 700 19px monospace;

    box-shadow:
        0 10px 30px rgba(155, 108, 255, 0.3);
}

.visual-title strong {
    display: block;

    font: 600 12px "Space Grotesk";

    letter-spacing: 0.08em;
}

.visual-title small {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;
}

/* Animated data bars */

.visual-bars {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 35px;

    height: 100px;

    display: flex;
    align-items: end;

    gap: 12px;

    padding: 0 20px;

    border-bottom: 1px solid var(--line);

    background:
        repeating-linear-gradient(
            to top,
            transparent 0 24px,
            rgba(255,255,255,.045) 25px 26px
        );
}

.visual-bars i {
    flex: 1;

    max-width: 32px;

    border-radius: 5px 5px 0 0;

    background:
        linear-gradient(
            to top,
            var(--accent-2),
            var(--accent)
        );

    animation: barPulse 2.8s ease-in-out infinite;
}

.visual-bars i:nth-child(1) {
    height: 35%;
    animation-delay: .1s;
}

.visual-bars i:nth-child(2) {
    height: 55%;
    animation-delay: .25s;
}

.visual-bars i:nth-child(3) {
    height: 42%;
    animation-delay: .4s;
}

.visual-bars i:nth-child(4) {
    height: 75%;
    animation-delay: .55s;
}

.visual-bars i:nth-child(5) {
    height: 58%;
    animation-delay: .7s;
}

.visual-bars i:nth-child(6) {
    height: 88%;
    animation-delay: .85s;
}

.visual-bars i:nth-child(7) {
    height: 68%;
    animation-delay: 1s;
}

/* Moving line */

.visual-line {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 45px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--accent-2),
            var(--accent),
            transparent
        );

    opacity: .7;

    animation: lineMove 3s ease-in-out infinite;
}

/* Floating technology pills */

.floating-tech {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 14px;

    border: 1px solid var(--line);

    border-radius: 10px;

    background: rgba(17, 24, 42, .9);

    backdrop-filter: blur(12px);

    color: #dfe4f3;

    font-size: 11px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);

    white-space: nowrap;
}

.floating-tech i {
    color: var(--accent);
}

.tech-python {
    top: 65px;
    right: 55px;

    animation:
        techFloat 4s ease-in-out infinite;
}

.tech-ml {
    left: 20px;
    bottom: 100px;

    animation:
        techFloat 4.8s .5s ease-in-out infinite;
}

.tech-web {
    right: 5px;
    bottom: 55px;

    animation:
        techFloat 4.3s 1s ease-in-out infinite;
}

/* Background glow */

.visual-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(55px);

    opacity: .35;

    z-index: -1;
}

.glow-purple {
    width: 230px;
    height: 230px;

    background: var(--accent);

    top: 5%;
    right: 15%;

    animation: glowPulse 5s ease-in-out infinite;
}

.glow-blue {
    width: 190px;
    height: 190px;

    background: var(--accent-2);

    bottom: 5%;
    left: 15%;

    animation: glowPulse 6s 1s ease-in-out infinite;
}

/* Orbit lines */

.floating-orbit {
    position: absolute;

    border: 1px solid rgba(155,108,255,.13);

    border-radius: 50%;

    pointer-events: none;
}

.orbit-one {
    width: 430px;
    height: 220px;

    transform: rotate(-20deg);

    animation: orbitRotate 12s linear infinite;
}

.orbit-two {
    width: 360px;
    height: 180px;

    transform: rotate(35deg);

    animation: orbitRotate 15s linear infinite reverse;
}

/* ================================
   HERO ANIMATIONS
================================ */

@keyframes heroFloat {

    0%, 100% {
        transform:
            rotate(-4deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(-2deg)
            translateY(-14px);
    }
}

@keyframes cardGlow {

    0%, 100% {
        box-shadow:
            0 30px 80px rgba(0,0,0,.45),
            0 0 50px rgba(155,108,255,.10);
    }

    50% {
        box-shadow:
            0 30px 80px rgba(0,0,0,.45),
            0 0 80px rgba(155,108,255,.22);
    }
}

@keyframes barPulse {

    0%, 100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(.72);
    }
}

@keyframes lineMove {

    0%, 100% {
        transform: translateX(-8%);
        opacity: .35;
    }

    50% {
        transform: translateX(8%);
        opacity: 1;
    }
}

@keyframes techFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {

    0%, 100% {
        opacity: .25;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(1.12);
    }
}

@keyframes orbitRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
body.light .skill-group h3 {
    color: #111827;
}

body.light .skill-group .tags span {
    color: #111827;
    background: #ffffff;
    border-color: #cfd5df;
}
body.light .experience-card {
    background: #ffffff;
    border-color: #dfe3ec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light .experience-card h3 {
    color: #111827;
}

body.light .experience-card p {
    color: #5f6878;
}

body.light .experience-card .role {
    color: var(--accent);
}

body.light .experience-card .date {
    color: #6b7280;
}

body.light .experience-card .card-index {
    color: var(--accent);
}

body.light .experience-card:hover {
    border-color: rgba(126, 87, 255, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}
body.light .project-card {
    background: #ffffff;
    border-color: #dfe3ec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light .project-info {
    background: #ffffff;
}

body.light .project-title-row h3 {
    color: #111827;
}

body.light .project-info .date {
    color: #6b7280;
}

body.light .project-info > p:not(.stack) {
    color: #5f6878;
}

body.light .project-info .stack {
    color: var(--accent);
}

body.light .project-title-row a {
    color: var(--accent);
}

body.light .project-card:hover {
    border-color: rgba(126, 87, 255, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}
body.light .energy-visual {
    background: #ffffff;
}
body.light .timeline time b {
    color: #8b5cf6;
    font-weight: 700;
}