@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #050608;
  --bg-2: #0a0b12;
  --panel: rgba(11, 13, 20, 0.86);
  --panel-2: rgba(17, 20, 30, 0.92);
  --panel-3: rgba(10, 12, 18, 0.96);
  --text: #f5f7ff;
  --muted: #a3abbd;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(101, 211, 255, 0.34);
  --cyan: #39d6ff;
  --blue: #2c7dff;
  --purple: #b34dff;
  --green: #31d67c;
  --yellow: #ffd447;
  --pink: #ff69d6;
  --white-card: #f7f7fa;
  --dark-text: #0d1017;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
  --sans: "Plus Jakarta Sans", sans-serif;
  --display: "Orbitron", sans-serif;
}

body.light-mode {
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: rgba(248, 250, 252, 0.98);
  --panel-3: rgba(255, 255, 255, 0.99);
  --text: #111827;
  --muted: #607086;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(44, 125, 255, 0.22);
  --white-card: #f8fafc;
  --dark-text: #0d1017;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 15% 20%, rgba(57, 214, 255, 0.08), transparent 24%),
    radial-gradient(circle at 85% 30%, rgba(179, 77, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #020305 0%, #06070b 40%, #030406 100%);
  overflow-x: hidden;
  transition: background 260ms ease, color 260ms ease;
}

body.light-mode {
  background: #ffffff;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    radial-gradient(circle at 4% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 12% 72%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 36% 42%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 80%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 22%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 63% 58%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 12%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 34%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px);
  opacity: 0.7;
  animation: drift 22s linear infinite alternate;
}

body::after {
  background-image:
    radial-gradient(circle at 18% 44%, rgba(57, 214, 255, 0.34) 0 1px, transparent 3px),
    radial-gradient(circle at 38% 66%, rgba(179, 77, 255, 0.28) 0 1px, transparent 3px),
    radial-gradient(circle at 64% 18%, rgba(57, 214, 255, 0.22) 0 1px, transparent 3px),
    radial-gradient(circle at 78% 74%, rgba(255, 105, 214, 0.24) 0 1px, transparent 3px);
  opacity: 0.6;
  animation: drift 30s linear infinite alternate-reverse;
}

body.light-mode::before {
  opacity: 0;
  background: none;
}

body.light-mode::after {
  opacity: 0;
  background: none;
}

@keyframes drift {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-14px) translateX(8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

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

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

.shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 189, 255, 0.18);
  background: rgba(11, 13, 20, 0.8);
  box-shadow: var(--shadow);
}

body.light-mode .brand {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.light-mode .page {
  background: #ffffff;
}

body.light-mode .shell {
  background: #ffffff;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 22px rgba(57, 214, 255, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav a {
  padding: 0.8rem 0.98rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(87, 162, 255, 0.26);
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.18), rgba(179, 77, 255, 0.18));
  box-shadow: 0 0 22px rgba(57, 214, 255, 0.12);
}

.theme-toggle {
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.theme-toggle:hover {
  border-color: rgba(87, 162, 255, 0.28);
}

body.light-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.page {
  padding: 0.5rem 0 3rem;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.1rem;
  padding: 0 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(49, 214, 124, 0.2);
  background: rgba(49, 214, 124, 0.08);
  color: #92f3ba;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(49, 214, 124, 0.45);
  animation: pulseGlow 2s ease-in-out infinite;
}



.hero-copy-panel,
.hero-image-panel,
.section-card,
.feature-card,
.archive-card,
.timeline-panel,
.filter-wrap,
.section-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.78), rgba(6, 8, 13, 0.94));
  box-shadow: var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
  .hero-copy-panel,
  .hero-image-panel,
  .section-card,
  .feature-card,
  .archive-card,
  .timeline-panel,
  .filter-wrap,
  .section-shell,
  .open-source-strip,
  .contact-panel,
  .open-source-card,
  .oss-feature-card,
  .achievement-line,
  .oss-repo-block,
  .timeline-side-card {
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease,
      background 220ms ease;
    will-change: transform, box-shadow;
  }

  .hero-copy-panel:hover,
  .hero-image-panel:hover,
  .section-card:hover,
  .feature-card:hover,
  .archive-card:hover,
  .timeline-panel:hover,
  .filter-wrap:hover,
  .section-shell:hover,
  .open-source-strip:hover,
  .contact-panel:hover,
  .open-source-card:hover,
  .oss-feature-card:hover,
  .achievement-line:hover,
  .oss-repo-block:hover,
  .timeline-side-card:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 162, 255, 0.24);
    background:
      linear-gradient(180deg, rgba(12, 14, 22, 0.92), rgba(6, 8, 13, 0.98)),
      radial-gradient(circle at 18% 16%, rgba(57, 214, 255, 0.08), transparent 34%),
      radial-gradient(circle at 82% 84%, rgba(179, 77, 255, 0.08), transparent 30%);
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.22),
      0 0 0 1px rgba(57, 214, 255, 0.08) inset,
      0 0 26px rgba(57, 214, 255, 0.09),
      0 0 32px rgba(179, 77, 255, 0.06);
  }

  .hero-image-panel:hover {
    background:
      radial-gradient(circle at center, rgba(179, 77, 255, 0.18), transparent 38%),
      radial-gradient(circle at 18% 20%, rgba(57, 214, 255, 0.08), transparent 30%),
      linear-gradient(180deg, rgba(10, 12, 18, 0.92), rgba(5, 7, 11, 0.98));
  }

  body.light-mode .hero-copy-panel:hover,
  body.light-mode .hero-image-panel:hover,
  body.light-mode .section-card:hover,
  body.light-mode .feature-card:hover,
  body.light-mode .archive-card:hover,
  body.light-mode .timeline-panel:hover,
  body.light-mode .filter-wrap:hover,
  body.light-mode .section-shell:hover,
  body.light-mode .open-source-strip:hover,
  body.light-mode .contact-panel:hover,
  body.light-mode .open-source-card:hover,
  body.light-mode .oss-feature-card:hover,
  body.light-mode .achievement-line:hover,
  body.light-mode .oss-repo-block:hover,
  body.light-mode .timeline-side-card:hover {
    transform: translateY(-3px);
    border-color: rgba(44, 125, 255, 0.2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.99)),
      radial-gradient(circle at 18% 14%, rgba(59, 130, 246, 0.08), transparent 30%),
      radial-gradient(circle at 80% 84%, rgba(124, 58, 237, 0.08), transparent 28%);
    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(59, 130, 246, 0.05) inset,
      0 0 22px rgba(59, 130, 246, 0.08),
      0 0 24px rgba(124, 58, 237, 0.06);
  }

  .button:hover,
  .card-link:hover,
  .social-link:hover,
  .hero-pill:hover,
  .chip:hover,
  .tag:hover,
  .meta:hover,
  .timeline-pill:hover,
  .slider-button:hover,
  .achievement-badge:hover,
  .achievement-link:hover,
  .oss-pr-num:hover {
    transform: translateY(-2px);
    border-color: rgba(87, 162, 255, 0.3);
    background: linear-gradient(135deg, rgba(57, 214, 255, 0.12), rgba(179, 77, 255, 0.14));
    box-shadow:
      0 14px 32px rgba(57, 214, 255, 0.12),
      0 0 0 1px rgba(57, 214, 255, 0.06) inset,
      0 0 18px rgba(179, 77, 255, 0.08);
  }

  body.light-mode .button:hover,
  body.light-mode .card-link:hover,
  body.light-mode .social-link:hover,
  body.light-mode .hero-pill:hover,
  body.light-mode .chip:hover,
  body.light-mode .tag:hover,
  body.light-mode .meta:hover,
  body.light-mode .timeline-pill:hover,
  body.light-mode .slider-button:hover,
  body.light-mode .achievement-badge:hover,
  body.light-mode .achievement-link:hover,
  body.light-mode .oss-pr-num:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 125, 255, 0.22);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.12));
    box-shadow:
      0 14px 28px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(59, 130, 246, 0.05) inset,
      0 0 18px rgba(59, 130, 246, 0.08);
  }
}

body.light-mode .hero-image-panel,
body.light-mode .section-card,
body.light-mode .feature-card,
body.light-mode .archive-card,
body.light-mode .timeline-panel,
body.light-mode .filter-wrap,
body.light-mode .section-shell,
body.light-mode .contact-panel,
body.light-mode .open-source-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(243, 246, 251, 0.985)),
    radial-gradient(circle at 10% 12%, rgba(59, 130, 246, 0.08), transparent 24%),
    radial-gradient(circle at 90% 86%, rgba(139, 92, 246, 0.08), transparent 22%);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.light-mode .section-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body.light-mode .section-shell::before,
body.light-mode .section-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

body.light-mode .section-shell::before {
  left: -6rem;
  top: -5rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.11), transparent 68%);
  filter: blur(2px);
}

body.light-mode .section-shell::after {
  right: -5rem;
  bottom: -6rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.09), transparent 68%);
  filter: blur(2px);
}

body.light-mode .section-shell > * {
  position: relative;
  z-index: 1;
}

body.light-mode .hero-copy-panel,
body.light-mode .hero-pill,
body.light-mode .button,
body.light-mode .social-link,
body.light-mode .chip,
body.light-mode .tag,
body.light-mode .meta,
body.light-mode .experience-tabs,
body.light-mode .slider-button,
body.light-mode .timeline-side-card,
body.light-mode .timeline-pill,
body.light-mode .resume-focus {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(248, 250, 252, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.light-mode .hero-pill.cyan {
  color: #087ea4;
}

body.light-mode .hero-pill.purple {
  color: #7c3aed;
}

body.light-mode .hero-pill.yellow {
  color: #9a6700;
}

.intro-accent {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.intro-accent-cyan {
  color: #39d6ff;
}

.intro-accent-purple {
  color: #b34dff;
}

.intro-accent-amber {
  color: #f59e0b;
}

body.light-mode .intro-accent-cyan {
  color: #0284c7;
}

body.light-mode .intro-accent-purple {
  color: #7c3aed;
}

body.light-mode .intro-accent-amber {
  color: #c2410c;
}

body.light-mode .nav a:hover,
body.light-mode .nav a[aria-current="page"] {
  border-color: rgba(44, 125, 255, 0.18);
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.14), rgba(179, 77, 255, 0.12));
  box-shadow: 0 0 18px rgba(57, 214, 255, 0.08);
}

body.light-mode .hero-status {
  background: rgba(49, 214, 124, 0.12);
  color: #16794d;
  border-color: rgba(49, 214, 124, 0.2);
}

body.light-mode .hero-pill {
  background: rgba(248, 250, 252, 0.95);
}

body.light-mode .chip,
body.light-mode .tag,
body.light-mode .meta,
body.light-mode .timeline-pill {
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
}

body.light-mode .chip.active,
body.light-mode .chip:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.1));
  color: #111827;
}

body.light-mode .hero-subline {
  color: #374151;
}

body.light-mode .section-banner {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(248, 250, 252, 0.94)),
    var(--banner-image, linear-gradient(135deg, #ffffff, #f8fafc));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

body.light-mode .section-banner.blogs,
body.light-mode .section-banner.projects,
body.light-mode .section-banner.achievements,
body.light-mode .section-banner.experience,
body.light-mode .section-banner.certifications,
body.light-mode .section-banner.opensource {
  background-position: center;
}

body.light-mode .banner-copy {
  color: #4b5563;
}

body.light-mode .hero-copy,
body.light-mode .section-copy,
body.light-mode .feature-text,
body.light-mode .archive-text,
body.light-mode .filter-copy,
body.light-mode .timeline-description,
body.light-mode .timeline-list,
body.light-mode .cert-text,
body.light-mode .banner-copy,
body.light-mode .timeline-location,
body.light-mode .portrait-note p,
body.light-mode .meta,
body.light-mode .detail-summary,
body.light-mode .detail-list,
body.light-mode .open-source-meta,
body.light-mode .oss-repo-desc {
  color: #4b5563;
}

body.light-mode .hero-title,
body.light-mode .section-heading,
body.light-mode .banner-title {
  color: #111827;
}

body.light-mode .section-heading .gradient,
body.light-mode .gradient,
body.light-mode .hero-title .gradient,
body.light-mode .about-title .gradient {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 42%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.light-mode .achievement-card,
body.light-mode .open-source-card,
body.light-mode .detail-card,
body.light-mode .timeline-panel,
body.light-mode .timeline-side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.99)),
    radial-gradient(circle at 12% 12%, rgba(59, 130, 246, 0.05), transparent 20%);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .achievement-visual-card,
body.light-mode .mini-achievement {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.99)),
    radial-gradient(circle at 18% 16%, rgba(59, 130, 246, 0.05), transparent 20%);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .about-blob {
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.14), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(139, 92, 246, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 246, 251, 0.98));
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.light-mode .achievement-column {
  padding: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(59, 130, 246, 0.06), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(139, 92, 246, 0.05), transparent 22%);
  box-shadow: none;
}

body.light-mode .cluster-title {
  color: #2563eb;
}

body.light-mode .achievement-line {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.99)),
    radial-gradient(circle at 8% 8%, rgba(59, 130, 246, 0.04), transparent 18%);
  border-color: rgba(15, 23, 42, 0.14);
}

body.light-mode .achievement-line h3 {
  color: #111827;
}

body.light-mode .achievement-line p {
  color: #4b5563;
}

body.light-mode .about-title {
  line-height: 0.94;
}

body.light-mode .about-lead,
body.light-mode .about-copy-strong {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

body.light-mode .skill-cluster {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

body.light-mode .tl-highlight {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.05);
}

body.light-mode .tl-highlight-text {
  color: #334155;
}

body.light-mode .tl-highlight-text strong {
  color: #111827;
}

body.light-mode .tl-highlight.cyan {
  border-color: rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.05);
}

body.light-mode .tl-highlight.cyan .tl-highlight-text {
  color: #334155;
}

body.light-mode .tl-highlight.cyan .tl-highlight-text strong {
  color: #2563eb;
}

body.light-mode .tl-highlight.green {
  border-color: rgba(16, 185, 129, 0.18);
  background: rgba(16, 185, 129, 0.05);
}

body.light-mode .tl-highlight.green .tl-highlight-text {
  color: #334155;
}

body.light-mode .tl-highlight.green .tl-highlight-text strong {
  color: #059669;
}

body.light-mode .achievement-badge,
body.light-mode .achievement-link {
  background: rgba(255, 255, 255, 0.95);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

body.light-mode .achievement-line.accent-gold .achievement-badge,
body.light-mode .achievement-line.accent-gold .achievement-link {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.98));
  color: #b45309;
  border-color: rgba(249, 115, 22, 0.26);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.08);
}

body.light-mode .achievement-line.accent-gold .achievement-badge:hover,
body.light-mode .achievement-line.accent-gold .achievement-link:hover {
  background: linear-gradient(135deg, rgba(255, 237, 213, 1), rgba(254, 215, 170, 0.98));
}

body.light-mode .achievement-line.accent-gold::before {
  background: linear-gradient(180deg, #d97706, #f97316);
}

body.light-mode .achievement-line.accent-cyan::before {
  background: linear-gradient(180deg, #06b6d4, #3b82f6);
}

body.light-mode .achievement-line.accent-purple::before {
  background: linear-gradient(180deg, #8b5cf6, #ec4899);
}

body.light-mode .achievement-line.accent-green::before {
  background: linear-gradient(180deg, #10b981, #14b8a6);
}

body.light-mode .oss-repo-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 252, 0.97));
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

body.light-mode .oss-repo-left {
  border-right-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .oss-repo-name a {
  color: #2563eb;
}

body.light-mode .oss-repo-desc,
body.light-mode .,
body.light-mode .oss-period,
body.light-mode .oss-pr-text {
  color: #4b5563;
}

body.light-mode .oss-pr-item {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-mode .oss-pr-num {
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.2);
  background: rgba(14, 165, 233, 0.08);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

body.light-mode .oss-pr-num:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(124, 58, 237, 0.14));
  border-color: rgba(44, 125, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06) inset,
    0 0 18px rgba(59, 130, 246, 0.16),
    0 0 18px rgba(124, 58, 237, 0.08);
  transform: translateY(-1px);
}

body.light-mode .oss-pr-num.purple {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
}

body.light-mode .oss-pr-num.green {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
  background: rgba(5, 150, 105, 0.08);
}

body.light-mode .oss-pr-num.yellow {
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(217, 119, 6, 0.08);
}

body.light-mode .oss-pr-text strong {
  color: #111827;
}

body.light-mode .timeline-wrap::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.12));
}

body.light-mode .timeline-wrap::after {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.88), rgba(124, 58, 237, 0.8));
}

body.light-mode .timeline-entry::before {
  background: radial-gradient(circle, #2563eb, #7c3aed);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.18);
}

body.light-mode .experience-tab.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.1);
}

.hero-copy-panel,
.hero-image-panel,
.section-card,
.feature-card,
.archive-card,
.timeline-panel,
.filter-wrap,
.section-shell {
  border-radius: var(--radius-xl);
}

.hero-copy-panel {
  padding: 2.4rem 2.5rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.section-heading,
.banner-title {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.96;
  text-shadow: 0 0 24px rgba(57, 214, 255, 0.35);
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--text) 0%, #d6e7ff 35%, #c679ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient {
  background: linear-gradient(135deg, var(--text) 0%, #d6e7ff 35%, #c679ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subline {
  margin: 1.3rem 0 0;
  font-size: 1.4rem;
  color: #d9dff2;
}

.hero-subline .gradient {
  background: linear-gradient(135deg, var(--yellow), #ffa857 60%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 60ch;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.pill-row,
.tag-row,
.chip-row,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill-row {
  margin-top: 1.35rem;
}

.hero-pill,
.tag,
.chip,
.mini-tag {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-pill {
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-pill.cyan {
  color: #9cf0ff;
  border-color: rgba(57, 214, 255, 0.28);
}

.hero-pill.purple {
  color: #e0b2ff;
  border-color: rgba(179, 77, 255, 0.26);
}

.hero-pill.yellow {
  color: #ffe48c;
  border-color: rgba(255, 212, 71, 0.24);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.card-link:hover,
.social-link:hover,
.feature-card:hover,
.archive-card:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.18), rgba(179, 77, 255, 0.2));
  border-color: rgba(87, 162, 255, 0.24);
  box-shadow: 0 0 28px rgba(57, 214, 255, 0.14);
}

.button-light {
  background: var(--white-card);
  color: var(--dark-text);
  border-color: transparent;
}

.social-row {
  margin-top: 1.6rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition: 180ms ease;
}

.contact-icon-btn,
.contact-email-link {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.contact-icon-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.contact-email-link:hover {
  transform: translateY(-1px);
  text-decoration: underline;
}

.social-link.cyan:hover {
  border-color: rgba(57, 214, 255, 0.38);
  box-shadow: 0 0 18px rgba(57, 214, 255, 0.18);
}

.social-link.purple:hover {
  border-color: rgba(179, 77, 255, 0.38);
  box-shadow: 0 0 18px rgba(179, 77, 255, 0.18);
}

.social-link.pink:hover {
  border-color: rgba(255, 105, 214, 0.38);
  box-shadow: 0 0 18px rgba(255, 105, 214, 0.18);
}

.hero-image-panel {
  position: relative;
  min-height: 42rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(179, 77, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.82), rgba(5, 7, 11, 0.96));
}

body.light-mode .hero-image-panel {
  background:
    radial-gradient(circle at center, rgba(179, 77, 255, 0.07), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.98));
}

.orb-ring {
  position: absolute;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  border: 1px solid rgba(97, 158, 255, 0.12);
  background: radial-gradient(circle at center, rgba(179, 77, 255, 0.08), rgba(0, 0, 0, 0.2));
  box-shadow:
    0 0 0 26px rgba(57, 214, 255, 0.03),
    0 0 90px rgba(57, 214, 255, 0.12);
  animation: pulseGlow 6s ease-in-out infinite;
}

.portrait-wrap {
  position: relative;
  z-index: 1;
  width: min(76%, 32rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(179, 77, 255, 0.18), transparent 56%);
  box-shadow: 0 0 46px rgba(179, 77, 255, 0.12);
}

body.light-mode .portrait-wrap {
  border-color: rgba(15, 23, 42, 0.08);
  background: radial-gradient(circle at 50% 40%, rgba(179, 77, 255, 0.08), transparent 58%);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-note {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 14, 0.76);
  backdrop-filter: blur(18px);
}

body.light-mode .portrait-note {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.portrait-label {
  display: inline-block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portrait-note p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.marquee-band {
  overflow: hidden;
  padding: 1.2rem 0 0.2rem;
}

.marquee-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-alt .marquee-track {
  animation-direction: reverse;
  animation-duration: 32s;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-40%);
  }
}

.marquee-text {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}

.section-shell {
  padding: 2rem;
  margin-top: 3rem;
}

.section-shell.compact {
  padding-top: 1.5rem;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-head.left {
  max-width: none;
  margin: 0 0 1.6rem;
  text-align: left;
}

.section-heading {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.02;
}

.section-heading .gradient {
  background: linear-gradient(135deg, var(--text), #d6e7ff 30%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-copy {
  margin: 1rem auto 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-copy.left {
  margin-left: 0;
  max-width: 48rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.about-summary {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.about-achievement-layout,
.achievement-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1.6rem;
  align-items: start;
}

.about-blob {
  padding: 1.6rem 1.7rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 22%, rgba(57, 214, 255, 0.09), transparent 38%),
    radial-gradient(circle at 82% 80%, rgba(179, 77, 255, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.about-column,
.achievement-column {
  min-width: 0;
}

.about-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.about-lead,
.about-copy-strong {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.about-lead {
  margin-top: 1.1rem;
}

.about-copy-strong + .about-copy-strong {
  margin-top: 1.15rem;
}

.inline-accent {
  color: #59f0be;
  font-weight: 700;
}

.skill-clusters {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.skill-cluster {
  display: grid;
  gap: 0.65rem;
}

.cluster-title {
  color: var(--cyan);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.achievement-tabs-shell {
  display: grid;
  gap: 1rem;
}

.achievement-stack,
.achievement-detail-stack {
  display: grid;
  gap: 0.8rem;
}

.achievement-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.achievement-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.achievement-line h3 {
  margin: 0;
  font-size: 1.08rem;
}

.achievement-line p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.achievement-badge,
.achievement-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 220, 82, 0.2);
  background: rgba(253, 220, 82, 0.08);
  color: #ffe06c;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.achievement-link {
  text-decoration: none;
}

.achievement-visual-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.achievement-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
  display: block;
}

.about-achievement-list {
  display: grid;
  gap: 0.9rem;
}

.tab-panels {
  display: grid;
}

.tab-panel {
  display: block;
}

.tab-panel[hidden] {
  display: none;
}

.mini-achievement {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mini-achievement h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1.08rem;
}

.mini-achievement p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-copy .button {
  margin-top: 1.4rem;
}

.feature-grid,
.archive-grid,
.cert-grid,
.open-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-rail-wrap {
  position: relative;
  padding: 0 3.4rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.slider-dot {
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
  width: 1.5rem;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.slider-nav {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slider-button {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: 180ms ease;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(14px);
}

.slider-button:hover {
  border-color: rgba(87, 162, 255, 0.3);
}

.feature-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(19rem, 25rem);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
}

.feature-rail::-webkit-scrollbar {
  display: none;
}

.feature-rail .feature-card {
  scroll-snap-align: start;
}

.feature-card,
.archive-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.86), rgba(6, 8, 13, 0.94));
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

body.light-mode .feature-card,
body.light-mode .archive-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.98));
}

.feature-card:hover,
.archive-card:hover {
  border-color: var(--line-strong);
}

.feature-thumb,
.archive-thumb {
  position: relative;
  overflow: hidden;
}

.feature-thumb img,
.archive-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-type {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(247, 247, 250, 0.96);
  color: var(--dark-text);
  font-size: 0.72rem;
  font-weight: 700;
}

body.light-mode .card-type {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-body,
.archive-body {
  padding: 1.3rem;
}

.feature-title,
.archive-title {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.18;
}

.feature-text,
.archive-text,
.filter-copy,
.timeline-description,
.timeline-list,
.cert-text {
  color: var(--muted);
  line-height: 1.8;
}

.mini-tag {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe4f7;
}

body.light-mode .mini-tag {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
  color: #4b5563;
}

.feature-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.achievement-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.78), rgba(7, 8, 13, 0.95));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.achievement-card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.4rem;
}

.achievement-card p {
  color: var(--muted);
  line-height: 1.75;
}

.achievement-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 214, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.card-link {
  color: var(--text);
  font-weight: 700;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.section-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 22rem;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.2), rgba(6, 8, 12, 0.88)),
    var(--banner-image, linear-gradient(135deg, #10253c, #1d112b));
  background-size: cover;
  background-position: center;
}

.section-banner.projects {
  --banner-image: url("./assets/project-placeholder.svg");
}

.section-banner.blogs {
  --banner-image: url("./assets/blog-placeholder.svg");
}

.section-banner.achievements {
  --banner-image:
    linear-gradient(180deg, rgba(6, 8, 12, 0.3), rgba(6, 8, 12, 0.82)),
    url("./assets/sid/IMG_0222 2.JPG");
}

.section-banner.experience,
.section-banner.certifications,
.section-banner.opensource {
  --banner-image: linear-gradient(135deg, rgba(44, 125, 255, 0.25), rgba(179, 77, 255, 0.25));
}

.section-banner.opensource {
  --banner-image:
    linear-gradient(180deg, rgba(6, 8, 12, 0.32), rgba(6, 8, 12, 0.88)),
    url("./assets/sid/IMG_0237 3.JPG");
}

.banner-overlay {
  max-width: 56rem;
  padding: 2rem;
}

.banner-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.banner-copy {
  margin: 1rem auto 0;
  max-width: 44rem;
  color: #d3d8ea;
  font-size: 1.04rem;
  line-height: 1.8;
}

.filter-wrap {
  padding: 1rem;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.filter-copy {
  margin: 0;
  max-width: 32rem;
}

.filter-group {
  display: grid;
  gap: 0.7rem;
}

.filter-title {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chip {
  appearance: none;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: 180ms ease;
}

.chip.active,
.chip:hover {
  color: var(--text);
  border-color: rgba(87, 162, 255, 0.3);
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.14), rgba(179, 77, 255, 0.16));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.archive-card {
  display: flex;
  flex-direction: column;
}

.archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.meta {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #edf3ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.meta.alt {
  color: #cdb7ff;
}

.meta.warn {
  color: #baf8d4;
}

.meta.light {
  background: rgba(247, 247, 250, 0.96);
  border-color: transparent;
  color: var(--dark-text);
}

.meta-date {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 12px;
  background: rgba(247, 247, 250, 0.96);
  color: var(--dark-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.meta-date span {
  display: block;
}

.detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.detail-title {
  margin: 0.7rem 0 0;
  font-size: 1.6rem;
  line-height: 1.18;
}

.detail-summary {
  margin: 0;
}

.detail-list {
  margin: 0;
  padding-left: 1rem;
}

.detail-list li + li {
  margin-top: 0.45rem;
}

.tag {
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e7ebf8;
}

.detail-card.is-hidden,
.archive-card.is-hidden {
  display: none;
}

.card-clickable {
  cursor: pointer;
}

.card-clickable:focus-visible {
  outline: 2px solid rgba(57, 214, 255, 0.55);
  outline-offset: 4px;
}

.experience-tabs {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.experience-tab {
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
}

.experience-tab.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.22), rgba(44, 125, 255, 0.3));
  box-shadow: 0 0 22px rgba(57, 214, 255, 0.18);
}

.timeline-wrap {
  --timeline-split: 24%;
  --timeline-progress: 0%;
  position: relative;
  display: grid;
  gap: 1.65rem;
  margin-top: 2.4rem;
  padding: 0.5rem 0 0.5rem 0;
}

.timeline-wrap.home {
  --timeline-split: 22%;
  margin-top: 1.7rem;
}

.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-split);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2));
}

.timeline-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--timeline-split);
  width: 2px;
  height: var(--timeline-progress);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(57, 214, 255, 0.95), rgba(179, 77, 255, 0.82));
  box-shadow: 0 0 18px rgba(57, 214, 255, 0.28);
  transition: height 120ms linear;
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 1.9rem;
  align-items: start;
  justify-content: start;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: var(--timeline-split);
  top: 1.7rem;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(57, 214, 255, 0.42);
}

.timeline-entry:nth-child(even) .timeline-panel {
  grid-column: 2;
}

.timeline-entry:nth-child(even) .timeline-side {
  grid-column: 1;
  grid-row: 1;
}

.timeline-side {
  display: flex;
  justify-content: flex-start;
}

.timeline-side-card {
  width: 100%;
  max-width: 16rem;
  padding: 0.85rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.timeline-role {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.timeline-company-name {
  margin: 0.35rem 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.timeline-date-range {
  margin-top: 0.7rem;
  color: var(--text);
  font-weight: 700;
}

.timeline-location {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-pill {
  display: inline-flex;
  min-height: 2.2rem;
  padding: 0 0.95rem;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}

.timeline-panel {
  padding: 1.25rem 1.4rem;
  max-width: 100%;
}

body.light-mode .timeline-side-card {
  background: #fbfcfe;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .timeline-pill {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

.timeline-company {
  margin: 0.25rem 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.timeline-description {
  margin-top: 0;
}

.timeline-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.timeline-list li + li {
  margin-top: 0.42rem;
}

.timeline-tags {
  margin-top: 1rem;
}

.home-divider {
  margin: 3rem 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.resume-focus {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(57, 214, 255, 0.14);
  background: rgba(57, 214, 255, 0.05);
  color: #d9e8ff;
  line-height: 1.7;
}

.open-source-strip,
.contact-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.86), rgba(6, 8, 13, 0.96));
  box-shadow: var(--shadow);
}

body.light-mode .open-source-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-color: rgba(15, 23, 42, 0.12);
}

.open-source-strip {
  padding: 1.5rem;
}

.oss-section-group + .oss-section-group {
  margin-top: 2rem;
}

.oss-section-head {
  margin-bottom: 1rem;
}

.oss-group-label {
  margin: 0;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.oss-group-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.oss-group-copy {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 48rem;
}

.oss-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1rem;
  align-items: stretch;
  padding: 1.25rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(57, 214, 255, 0.14);
  background:
    radial-gradient(circle at 16% 18%, rgba(57, 214, 255, 0.08), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(179, 77, 255, 0.08), transparent 26%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.oss-tool-block {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
}

.oss-tool-block .oss-tool-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  row-gap: 0;
  position: relative;
  padding-right: 1.25rem;
  padding-top: 0.1rem;
  padding-bottom: 0.9rem;
  min-height: 8.5rem;
}

.oss-tool-block .oss-tool-left::after {
  content: "";
  position: absolute;
  top: 0.1rem;
  right: 0;
  width: 1px;
  height: calc(100% - 0.2rem);
  background: linear-gradient(180deg, rgba(57, 214, 255, 0.18), rgba(179, 77, 255, 0.18));
}

.oss-tool-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.oss-tool-right .oss-feature-copy {
  max-width: 100%;
}

.oss-tool-right .oss-feature-links {
  margin-top: 0.2rem;
}

.oss-tool-top {
  align-self: start;
}

.oss-tool-center {
  align-self: center;
  margin: 0;
}

.oss-tool-top {
  margin-bottom: 0.5rem;
}

.oss-tool-meta {
  align-self: end;
  margin-top: 0;
}

.oss-tool-label {
  margin: 0;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.light-mode .oss-tool-block {
  background:
    radial-gradient(circle at 12% 16%, rgba(59, 130, 246, 0.08), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(124, 58, 237, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.light-mode .oss-tool-block .oss-tool-left::after {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(124, 58, 237, 0.18));
}

body.light-mode .oss-tool-right {
  padding-right: 1rem;
}

.oss-tool-left .oss-repo-meta {
  margin-top: 0;
}

.oss-feature-main {
  display: grid;
  gap: 0.65rem;
}

.oss-feature-kicker {
  margin: 0;
  color: rgba(247, 115, 22, 0.88);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.oss-feature-title {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.oss-tool-name {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.05;
  margin: 0.15rem 0 0.2rem;
}

.oss-feature-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 46rem;
}

.oss-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.oss-feature-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.7rem;
  justify-content: flex-end;
}

.oss-link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 214, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

body:not(.light-mode) .oss-link-card {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.oss-link-card:hover {
  border-color: rgba(57, 214, 255, 0.3);
  background: linear-gradient(135deg, rgba(57, 214, 255, 0.12), rgba(179, 77, 255, 0.12));
  box-shadow:
    0 14px 28px rgba(57, 214, 255, 0.1),
    0 0 0 1px rgba(57, 214, 255, 0.06) inset,
    0 0 18px rgba(179, 77, 255, 0.08);
  transform: translateY(-1px);
}

body.light-mode .oss-link-card {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.98));
  color: #2563eb;
}

body.light-mode .oss-link-card:hover {
  border-color: rgba(44, 125, 255, 0.24);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.12));
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(59, 130, 246, 0.05) inset,
    0 0 18px rgba(59, 130, 246, 0.08);
}

body.light-mode .oss-feature-card {
  background:
    radial-gradient(circle at 16% 18%, rgba(59, 130, 246, 0.08), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(124, 58, 237, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .oss-feature-kicker {
  color: #f97316;
  opacity: 0.92;
}

body.light-mode .oss-feature-copy,
body.light-mode .oss-group-copy {
  color: #4b5563;
}

.open-source-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1rem;
}

.open-source-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.open-source-card {
  padding: 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  min-height: 100%;
}

.open-source-card.feature-large {
  grid-column: span 3;
  min-height: auto;
}

.open-source-card-more {
  display: grid;
  align-content: center;
}

.open-source-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.open-source-card h3 {
  margin: 0.7rem 0 0;
  font-size: 1.3rem;
}

.open-source-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-panel {
  padding: 2rem;
  text-align: center;
}

.contact-panel .section-copy {
  max-width: 44rem;
}

.cert-grid,
.open-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-home,
  .about-grid,
  .about-summary,
  .about-achievement-layout,
  .achievement-detail-layout,
  .feature-grid,
  .detail-grid,
  .cert-grid,
  .open-grid,
  .achievement-grid,
  .open-source-grid,
  .open-source-showcase {
    grid-template-columns: 1fr;
  }

  .timeline-wrap::before {
    left: 24px;
    transform: none;
  }

  .timeline-wrap::after {
    left: 24px;
    transform: none;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 3rem;
  }

  .timeline-entry::before {
    left: 24px;
    transform: translate(-50%, -50%);
  }

  .timeline-entry:nth-child(even) .timeline-panel,
  .timeline-entry:nth-child(even) .timeline-side {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline-side {
    justify-content: flex-start;
  }

  .timeline-side-card {
    max-width: none;
  }

  .open-source-card.feature-large {
    grid-column: auto;
  }

  .feature-rail {
    grid-auto-columns: minmax(18rem, 82vw);
  }

  .feature-rail-wrap {
    padding: 0 0.4rem;
  }

  .slider-nav {
    inset: auto 0 -4.1rem 0;
    transform: none;
    position: relative;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .topbar {
    position: static;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-home {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy-panel {
    padding: 1.2rem 0 0;
  }

  .hero-title {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .hero-image-panel {
    min-height: 28rem;
  }

  .orb-ring {
    width: 20rem;
    height: 20rem;
  }

  .section-shell {
    padding: 1.2rem;
  }

  .banner-title,
  .section-heading {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .marquee-text {
    font-size: clamp(1.6rem, 10vw, 2.8rem);
  }
}
