:root {
  --bg: #0a0e12;
  --bg-alt: #0f1519;
  --card: rgba(18, 26, 33, 0.6);
  --card-border: rgba(14, 124, 123, 0.15);
  --card-hover: rgba(14, 124, 123, 0.25);
  --ink: #e8edf0;
  --ink-soft: #8899a6;
  --ink-muted: #566773;
  --line: rgba(14, 124, 123, 0.12);
  --teal: #0ecca8;
  --teal-deep: #0ab394;
  --teal-glow: rgba(14, 204, 168, 0.25);
  --teal-subtle: rgba(14, 204, 168, 0.08);
  --shade: rgba(0,0,0,0.35);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --bg: #f5f0eb;
  --bg-alt: #efebe5;
  --card: rgba(255, 255, 255, 0.72);
  --card-border: rgba(14, 204, 168, 0.2);
  --card-hover: rgba(14, 204, 168, 0.1);
  --ink: #1a1d23;
  --ink-soft: #4a5568;
  --ink-muted: #8896a6;
  --line: rgba(0, 0, 0, 0.07);
  --teal: #0ecca8;
  --teal-deep: #0ab394;
  --teal-glow: rgba(14, 204, 168, 0.2);
  --teal-subtle: rgba(14, 204, 168, 0.06);
  --shade: rgba(0,0,0,0.06);
}

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

html { scroll-behavior: smooth; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

::selection { background: var(--teal); color: var(--bg); }

/* ---------- AMBIENT BG ---------- */
#ambientCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero, .section, .page-header, .cv-page, footer { position: relative; z-index: 1; }

/* ---------- NAV ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 18, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] header {
  background: rgba(245, 240, 235, 0.78);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}
@media (max-width: 480px) { .nav { padding: 12px 16px; } }

.nav-id {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-id span { color: var(--teal); }

.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal); border-color: var(--teal); }
.nav-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.nav-links .btn-nav {
  font-size: 11.5px; padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--teal); color: var(--bg); border: none;
  font-weight: 600; letter-spacing: 0.04em;
  transition: transform .15s, box-shadow .15s;
}
.nav-links .btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--teal-glow);
  border-color: transparent;
}

.theme-toggle {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 100px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-soft);
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
  padding: 0; flex-shrink: 0;
}
.theme-toggle:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-subtle); box-shadow: 0 0 16px var(--teal-glow); }
.theme-toggle svg { display: block; }
.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: block; }

.page-top { text-align: right; padding-top: 28px; }
.page-top .theme-toggle { display: inline-flex; }
@media (max-width: 480px) { .page-top { padding-top: 20px; } }

.mobile-toggle {
  display: none;
  background: none; border: none; color: var(--ink);
  font-size: 22px; cursor: pointer; padding: 6px;
  line-height: 1;
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 18, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column; gap: 0; padding: 12px 24px;
    border-bottom: 1px solid var(--line);
  }
  [data-theme="light"] .nav-links { background: rgba(245, 240, 235, 0.96); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn-nav { width: 100%; text-align: center; margin-top: 4px; }
}

/* ---------- STATUS STRIP ---------- */
.status-strip {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-muted); padding-top: 32px;
  justify-content: space-between;
}
.status-strip .strip-left { display: flex; align-items: center; gap: 10px; }
.status-strip .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse 2.2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--teal-glow); }
  70% { box-shadow: 0 0 0 10px rgba(14, 204, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 204, 168, 0); }
}

/* ---------- PROFILE ROW ---------- */
.profile-row {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 24px;
}
.profile-photo {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
  box-shadow: 0 0 24px var(--teal-glow);
  flex-shrink: 0;
}
@media (max-width: 480px) { .profile-photo { width: 72px; height: 72px; } }
.profile-info h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
@media (max-width: 480px) { .profile-info h3 { font-size: 17px; } }
.profile-info p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
@media (max-width: 480px) { .profile-info p { font-size: 13px; } }

/* ---------- HERO ---------- */
.hero { padding: 10px 0 56px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: -0.015em;
  margin-top: 20px;
  max-width: 12ch;
  line-height: 1.08;
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .role {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--teal-deep);
  margin-top: 14px;
  letter-spacing: 0.03em;
}
@media (max-width: 480px) { .hero .role { font-size: 11px; } }
.hero p.lede {
  margin-top: 18px; max-width: 60ch;
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  font-family: var(--font-mono); font-size: 13px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--bg); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--teal-glow); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(14,204,168,0.06); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- HERO VISUAL ---------- */
.hero-visual { margin: 32px 0 10px; max-width: 560px; }
.vis-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 24px; display: flex; gap: 24px; align-items: center;
  backdrop-filter: blur(12px);
  transition: border-color .3s;
}
.vis-card:hover { border-color: rgba(14,124,123,0.3); }
@media (max-width: 480px) { .vis-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; } }

.vis-pipeline { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.vis-pipeline .node {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-muted); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vis-pipeline .node-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  flex-shrink: 0; box-shadow: 0 0 8px var(--teal-glow);
}
.vis-chart { flex: 1; min-width: 0; }
.vis-chart .chart-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.vis-chart .chart-header span {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--teal-deep); text-transform: uppercase; letter-spacing: 0.05em;
}
.vis-chart .chart-header .r2 { color: var(--ink-muted); }

/* ---------- METRICS ---------- */
.metrics {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  backdrop-filter: blur(12px);
}
.metric { padding: 20px 16px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; background: linear-gradient(135deg, var(--teal) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric .lbl {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-right: none; }
}

/* ---------- SECTION ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .section { padding: 48px 0; } }
.section-label {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 32px;
}
.section-label .idx {
  font-family: var(--font-mono); color: var(--teal); font-size: 13px;
  opacity: 0.8;
}
.section-label h2 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
@media (max-width: 480px) { .section-label h2 { font-size: 17px; } }

/* ---------- PROJECT CARDS ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .projects { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(12px);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shade); border-color: var(--teal); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
@media (max-width: 480px) { .card h3 { font-size: 16px; } }
.tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--teal-deep);
  background: var(--teal-subtle); padding: 3px 8px; border-radius: 100px;
  white-space: nowrap; text-transform: uppercase; letter-spacing: 0.03em;
  flex-shrink: 0;
}
.card p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.stack span {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--ink-muted); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 4px;
}
.card-links { display: flex; gap: 16px; margin-top: 6px; }
.card-links a {
  font-family: var(--font-mono); font-size: 12px; color: var(--teal-deep);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.card-links a:hover { color: var(--teal); border-color: var(--teal); }
.card-links a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.spark { width: 100%; height: 34px; }
.spark path { fill: none; stroke: var(--teal); stroke-width: 1.6; }

.card-highlight {
  padding: 8px 10px;
  background: var(--teal-subtle);
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--teal-deep);
  font-family: var(--font-mono);
  line-height: 1.4;
}

/* ---------- CASE STUDY DROPDOWN ---------- */
.case-toggle {
  width: 100%;
  background: rgba(14,204,168,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, border-color .2s, color .2s;
}
.case-toggle:hover { background: rgba(14,204,168,0.08); border-color: var(--teal); color: var(--teal); }
.case-toggle .arrow { transition: transform .25s; display: inline-block; }
.case-toggle.open .arrow { transform: rotate(180deg); }

.case-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}
.case-content.open {
  max-height: 2000px;
  opacity: 1;
}
.case-inner {
  padding: 16px;
  background: rgba(14,204,168,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.case-inner > div { margin-bottom: 16px; }
.case-inner > div:last-child { margin-bottom: 0; }
.case-inner h4 {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.case-inner p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- SKILLS ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
@media (max-width: 768px) { .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .skill-grid { grid-template-columns: 1fr; gap: 20px; } }

.skill-group .k {
  font-family: var(--font-mono); font-size: 11px; color: var(--teal-deep);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px;
}
.skill-group .v { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- CONTACT ---------- */
.contact-wrap h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 4vw, 40px); max-width: 14ch;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-wrap .contact-headline p {
  color: var(--ink-soft); font-size: 15px;
  margin-top: 10px; margin-bottom: 32px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink); font-family: var(--font-body); font-size: 14px;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-glow);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--ink-muted);
}

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: #25D366; color: #fff;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform .15s, box-shadow .15s;
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35); }

.contact-direct { display: flex; flex-direction: column; gap: 10px; }
.contact-direct a {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-soft);
  transition: color .2s;
}
.contact-direct a::before { content: '→ '; color: var(--teal); }
.contact-direct a:hover { color: var(--teal); }
@media (max-width: 480px) { .contact-direct a { font-size: 12px; } }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line); padding: 24px 0 40px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  color: var(--ink-muted); transition: color .2s, transform .2s;
  display: flex;
}
.footer-social a:hover { color: var(--teal); transform: translateY(-2px); }

/* ---------- ALL PROJECTS PAGE ---------- */
.page-header { padding: 80px 0 40px; text-align: center; }
.page-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 48px);
  margin-bottom: 12px;
}
.page-header p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; font-size: 15px; }
.all-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 64px; }
@media (max-width: 768px) { .all-projects { grid-template-columns: 1fr; } }

/* ---------- CV PAGE ---------- */
.cv-page { padding: 80px 0 64px; }
.cv-download-btn { text-align: center; margin-bottom: 36px; }
.cv-content {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
}
@media (max-width: 640px) { .cv-content { padding: 24px 16px; } }

.cv-header { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 36px; }
.cv-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; margin-bottom: 4px;
}
.cv-role { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.cv-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 13px; color: var(--ink-muted); }
.cv-meta span, .cv-meta a { display: flex; align-items: center; gap: 4px; }
.cv-meta a:hover { color: var(--teal); }

.cv-section { margin-bottom: 32px; }
.cv-section h2 {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.cv-section h2::before {
  content: ''; width: 4px; height: 18px; background: var(--teal);
  border-radius: 2px; flex-shrink: 0;
}
.cv-section p, .cv-section li { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.cv-section ul { list-style: none; padding: 0; }
.cv-section li { padding: 5px 0; padding-left: 20px; position: relative; }
.cv-section li::before {
  content: '-'; position: absolute; left: 0; color: var(--teal);
  font-family: var(--font-mono); font-weight: 600;
}

.cv-job { margin-bottom: 22px; }
.cv-job:last-child { margin-bottom: 0; }
.cv-job-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.cv-job-title { font-weight: 600; color: var(--ink); }
.cv-job-date { color: var(--ink-muted); font-size: 13px; }
.cv-job-org { color: var(--ink-muted); font-size: 13px; margin-bottom: 8px; }

.cv-skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .cv-skills-grid { grid-template-columns: 1fr; } }

.cv-skill-cat h3 {
  font-family: var(--font-mono); font-size: 11px; color: var(--teal-deep);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.cv-skill-cat .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-skill-cat .tags span {
  font-size: 11.5px; background: var(--teal-subtle);
  color: var(--teal-deep); padding: 3px 8px; border-radius: 100px;
}

/* ---------- PROGRESS BAR ---------- */
#progressBar {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; background: var(--teal);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--teal-glow);
}

/* ---------- GITHUB GRID ---------- */
.github-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .github-grid { grid-template-columns: 1fr; } }

.github-loading {
  grid-column: 1 / -1;
  text-align: center; padding: 32px;
  color: var(--ink-muted); font-family: var(--font-mono); font-size: 13px;
}

.github-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(12px);
  transition: transform .2s, border-color .2s;
}
.github-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.github-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.github-card-top svg { flex-shrink: 0; }
.github-card h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.github-card p {
  color: var(--ink-soft); font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.github-card-meta {
  display: flex; gap: 16px; margin-top: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
}
.github-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------- SKILL ICONS ---------- */
.skill-group { display: flex; flex-direction: column; gap: 8px; }
.skill-items { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(14,204,168,0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  transition: background .2s, border-color .2s, color .2s;
}
.skill-badge:hover {
  background: rgba(14,204,168,0.12);
  border-color: var(--teal);
  color: var(--teal);
}
.skill-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- ANIMATIONS ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fade-in { opacity: 1; transform: none; }
}
