:root {
  --bg: #080810;
  --bg-2: #0d0d1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-h: rgba(255, 255, 255, 0.07);
  --surface-2: rgba(255, 255, 255, 0.09);
  --glass: rgba(12, 12, 28, 0.60);
  --glass-nav: rgba(8, 8, 16, 0.75);
  --border: rgba(255, 255, 255, 0.07);
  --border-h: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(120, 100, 255, 0.35);
  --text: #f0f0ff;
  --muted: rgba(200, 200, 230, 0.60);
  --dim: rgba(160, 160, 200, 0.35);
  --accent: #8b7cf8;
  --accent-2: #a78bfa;
  --accent-3: #60a5fa;
  --accent-dim: rgba(139, 124, 248, 0.10);
  --accent-glow: rgba(139, 124, 248, 0.22);
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.10);
  --pink: #f472b6;
  --pink-dim: rgba(244, 114, 182, 0.10);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1120px;
  --ease: 0.22s ease;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* cursor: none; */
}

body::-webkit-scrollbar {
  width: 4px
}

body::-webkit-scrollbar-track {
  background: var(--bg)
}

body::-webkit-scrollbar-thumb {
  background: rgba(139, 124, 248, 0.30);
  border-radius: 4px
}

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

img {
  max-width: 100%;
  display: block
}

button {
  font-family: inherit;
  cursor: none
}

/* ─── CURSOR ─── */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 10px 3px var(--accent-glow), 0 0 22px 6px rgba(139, 124, 248, 0.12);
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 124, 248, 0.50);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

body.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-2);
  box-shadow: 0 0 16px 6px var(--accent-glow), 0 0 40px 12px rgba(139, 124, 248, 0.15);
}

body.cursor-hover #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(139, 124, 248, 0.30);
}

body.cursor-click #cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
}

@media(pointer:coarse) {

  #cursor-dot,
  #cursor-ring {
    display: none
  }

  body,
  button {
    cursor: auto
  }
}

/* ─── BACKGROUND CANVAS ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── AMBIENT ORBS ─── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(99, 75, 255, 0.18) 0%, transparent 70%);
  animation-duration: 20s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  top: 30%;
  right: -180px;
  background: radial-gradient(circle, rgba(139, 124, 248, 0.14) 0%, transparent 70%);
  animation-duration: 16s;
  animation-delay: -6s;
}

.orb-3 {
  width: 700px;
  height: 400px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  animation-duration: 24s;
  animation-delay: -10s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 40%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.07) 0%, transparent 70%);
  animation-duration: 14s;
  animation-delay: -4s;
}

@keyframes orb-drift {
  0% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, -40px) scale(1.05)
  }

  100% {
    transform: translate(-20px, 30px) scale(0.96)
  }
}

/* ─── SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--pink));
  width: 0%;
  z-index: 500;
  box-shadow: 0 0 10px 1px var(--accent-glow);
  transition: width 0.08s linear;
}

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-h);
  color: var(--accent);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  pointer-events: none;
  z-index: 400;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

#back-top:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 32px rgba(0, 0, 0, 0.5);
}

/* ─── WRAP ─── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1
}

/* ─── NAV ─── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  background: var(--glass-nav);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 124, 248, 0.30), transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
}

.logo svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px var(--accent-glow))
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none
}

.nav-list a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
  letter-spacing: .02em;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: left 0.22s ease, right 0.22s ease;
  box-shadow: 0 0 6px var(--accent-glow);
}

.nav-list a:hover {
  color: var(--text)
}

.nav-list a:hover::after,
.nav-list a.active::after {
  left: 0;
  right: 0
}

.nav-list a.active {
  color: var(--accent)
}

.ham {
  display: none;
  background: 0;
  border: 0;
  color: var(--text);
  font-size: 1.15rem;
  padding: 4px
}

.mob-menu {
  display: none;
  flex-direction: column;
  background: rgba(8, 8, 16, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
}

.mob-menu a {
  display: block;
  padding: 14px 28px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease), background var(--ease);
}

.mob-menu a:hover {
  color: var(--accent);
  background: var(--accent-dim)
}

.mob-menu.open {
  display: flex
}

/* ─── HERO ─── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
}

.hero-box {
  padding: 88px 0 72px;
  max-width: 740px
}

.hero-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 6px var(--accent-glow);
}

.hero-name {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, rgba(220, 215, 255, 0.90) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 5px;
}

.hero-role {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 30px;
  min-height: 1.8em;
  letter-spacing: .01em;
}

.hero-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  box-shadow: 0 0 8px var(--accent-glow);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-text {
  font-size: .98rem;
  line-height: 1.82;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 42px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 600;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 24px rgba(139, 124, 248, 0.35), 0 0 0 1px rgba(139, 124, 248, 0.20);
}

.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  transition: opacity var(--ease);
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 124, 248, 0.45), 0 0 0 1px rgba(139, 124, 248, 0.30), 0 0 60px rgba(139, 124, 248, 0.12);
}

.btn-fill:active {
  transform: translateY(0)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid var(--border-h);
  color: var(--text);
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 500;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}

.btn-ghost:hover {
  border-color: var(--border-glow);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-ghost:active {
  transform: translateY(0)
}

.ripple-container {
  position: relative;
  overflow: hidden
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}

.btn-fill .ripple {
  background: rgba(255, 255, 255, 0.25)
}

.btn-ghost .ripple {
  background: rgba(139, 124, 248, 0.18)
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0
  }
}

.scroll-hint {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  font-size: .73rem;
  letter-spacing: .06em;
}

.scroll-hint span {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 4px var(--accent-glow);
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1
}

.sec-tag {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sec-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 5px var(--accent-glow);
}

.sec-h {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 52px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(200, 195, 255, 0.80) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-h em {
  font-weight: 400;
  font-style: normal;
  opacity: .55
}

/* ─── GLASS CARD ─── */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease), background var(--ease);
}

.glass-card:hover {
  border-color: var(--border-glow);
  background: var(--surface-h);
  box-shadow: 0 0 40px rgba(139, 124, 248, 0.08), 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

/* ─── ABOUT ─── */
#about {
  background: rgba(255, 255, 255, 0.012)
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 60px;
  align-items: start;
}

.about-prose p {
  color: var(--muted);
  line-height: 1.88;
  margin-bottom: 20px;
  font-size: .94rem;
}

.about-prose p:last-child {
  margin-bottom: 0
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat {
  padding: 22px 26px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.stat:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0
}

.stat:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg)
}

.stat:hover {
  background: var(--surface-h);
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(139, 124, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-n {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l {
  font-size: .70rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .12em
}

/* ─── SKILLS ─── */
.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sk-box {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.sk-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139, 124, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sk-box:hover::before {
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139, 124, 248, 0.12) 0%, transparent 70%);
}

.sk-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
  color: var(--text);
}

.sk-title i {
  color: var(--accent);
  font-size: .88rem;
  text-shadow: 0 0 8px var(--accent-glow)
}

.sk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px
}

.sk-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .83rem;
  color: var(--muted);
  padding: 5px 8px;
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}

.sk-list li:hover {
  background: var(--accent-dim);
  color: var(--accent)
}

.sk-list li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain
}

/* ─── PROJECTS ─── */
.filt-bar {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 36px
}

.filt {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: .76rem;
  font-weight: 500;
  transition: all var(--ease);
}

.filt:hover {
  border-color: var(--border-h);
  color: var(--text)
}

.filt.on {
  border-color: var(--border-glow);
  color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 16px rgba(139, 124, 248, 0.15);
}

.pj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pj {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.pj::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 124, 248, 0), transparent);
  transition: background 0.3s ease;
}

.pj:hover::after {
  background: linear-gradient(90deg, transparent, rgba(139, 124, 248, 0.50), transparent);
}

.pj[hidden] {
  display: none
}

.pj-icon {
  display: flex;
  align-items: center;
  height: 24px
}

.pj-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0.85) saturate(0.7);
  transition: filter var(--ease), transform var(--ease);
}

.pj:hover .pj-icon img {
  filter: brightness(1) saturate(1);
  transform: scale(1.1)
}

.pj-name {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text)
}

.pj-tech {
  font-size: .71rem;
  color: var(--dim);
  font-weight: 500;
  letter-spacing: .01em
}

.pj-desc {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.74;
  flex: 1
}

.pj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px
}

.t {
  font-size: .63rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
}

.t-ai {
  background: rgba(139, 124, 248, .12);
  color: var(--accent-2);
  border: 1px solid rgba(139, 124, 248, .18)
}

.t-web {
  background: rgba(34, 197, 94, .09);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, .15)
}

.t-devops {
  background: rgba(251, 191, 36, .09);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, .15)
}

.t-sec {
  background: rgba(248, 113, 113, .09);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, .15)
}

.t-mob {
  background: rgba(34, 211, 238, .09);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .15)
}

.t-res {
  background: rgba(244, 114, 182, .09);
  color: var(--pink);
  border: 1px solid rgba(244, 114, 182, .15)
}

.pj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--ease), color var(--ease);
}

.pj-link:hover {
  gap: 9px;
  color: var(--accent-2)
}

.pj-priv {
  font-size: .75rem;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* ─── EXPERIENCE ─── */
#experience {
  background: rgba(255, 255, 255, 0.012)
}

.tl {
  position: relative;
  padding-left: 26px
}

.tl::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(139, 124, 248, 0.10) 100%);
  box-shadow: 0 0 8px rgba(139, 124, 248, 0.20);
}

.tl-it {
  position: relative;
  margin-bottom: 36px
}

.tl-it:last-child {
  margin-bottom: 0
}

.tl-dot {
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(139, 124, 248, 0.20), 0 0 14px var(--accent-glow);
}

.tl-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px
}

.tl-role {
  font-size: .95rem;
  font-weight: 600
}

.tl-date {
  font-size: .75rem;
  color: var(--dim);
  font-weight: 500
}

.tl-org {
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500
}

.tl-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.tl-ul li {
  font-size: .85rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.65;
}

.tl-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 4px var(--accent-glow);
}

/* ─── EDUCATION ─── */
.edu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.edu {
  padding: 28px
}

.edu-deg {
  font-size: .91rem;
  font-weight: 600;
  margin-bottom: 4px
}

.edu-sch {
  font-size: .82rem;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 500
}

.edu-meta {
  font-size: .77rem;
  color: var(--dim)
}

/* ─── RESEARCH ─── */
.res-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.res-it {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.res-t {
  font-size: .91rem;
  font-weight: 600;
  margin-bottom: 4px
}

.res-v {
  font-size: .79rem;
  color: var(--accent);
  font-weight: 500
}

.res-sub {
  font-size: .77rem;
  color: var(--dim);
  margin-top: 6px
}

.res-btn {
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid rgba(139, 124, 248, 0.25);
  border-radius: var(--radius);
  background: var(--accent-dim);
  transition: all var(--ease);
}

.res-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(139, 124, 248, 0.30);
  transform: translateY(-1px);
}

/* ─── CONTACT ─── */
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start
}

.ct-intro {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.86
}

.ct-note {
  margin-top: 16px
}

.ct-links {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.ct-a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: .87rem;
  transition: all var(--ease);
}

.ct-a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* ─── FOOTER ─── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 124, 248, 0.25), transparent);
}

.ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px
}

.ft-c {
  font-size: .76rem;
  color: var(--dim)
}

.ft-links {
  display: flex;
  gap: 20px
}

.ft-links a {
  font-size: .76rem;
  color: var(--dim);
  transition: color var(--ease)
}

.ft-links a:hover {
  color: var(--accent)
}

/* ─── REVEAL ─── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease
}

.rv.vis {
  opacity: 1;
  transform: translateY(0)
}

.rv-1 {
  transition-delay: .07s
}

.rv-2 {
  transition-delay: .14s
}

.rv-3 {
  transition-delay: .21s
}

.rv-4 {
  transition-delay: .28s
}

/* ─── UTILS ─── */
.tl-spacer {
  height: 40px
}

.sec-surf {
  background: transparent
}

.res-pub {
  font-size: .76rem;
  color: var(--dim);
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(12, 12, 28, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-h);
  color: var(--text);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: .87rem;
  font-weight: 500;
  z-index: 600;
  opacity: 0;
  transition: transform .35s var(--ease-spring), opacity .25s ease;
  pointer-events: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  max-width: 440px;
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1
}

.toast.err {
  border-color: rgba(248, 113, 113, 0.35)
}

/* ─── RESPONSIVE ─── */
@media(max-width:920px) {
  .about-row {
    grid-template-columns: 1fr
  }

  .stats {
    flex-direction: row
  }

  .stat {
    flex: 1
  }

  .stat:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg)
  }

  .stat:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0
  }

  .sk-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pj-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .ct-row {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .edu-row {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  section {
    padding: 64px 0
  }

  .nav-list {
    display: none
  }

  .ham {
    display: block
  }

  .sk-grid {
    grid-template-columns: 1fr
  }

  .pj-grid {
    grid-template-columns: 1fr
  }

  .hero-name {
    font-size: 2.6rem
  }

  .filt-bar {
    gap: 5px
  }

  .stats {
    flex-direction: column
  }

  .stat:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0
  }

  .stat:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg)
  }

  .res-it {
    flex-direction: column;
    align-items: flex-start
  }

  #back-top {
    bottom: 20px;
    right: 20px
  }
}

.ollama {
  filter: invert(1) brightness(180%) !important
}

.github {
  filter: invert(1) brightness(200%) !important
}