:root,
[data-theme="dark"] {
  --bg: #0a0e14;
  --bg-2: #0f1520;
  --bg-3: #131a26;
  --fg: #d6deeb;
  --muted: #7a8aa3;
  --accent: #00ff9c;
  --accent-2: #5ccfe6;
  --accent-3: #ffcc66;
  --danger: #ff6b6b;
  --border: #1f2a3a;
  --grid-line: rgba(0, 255, 156, 0.04);
  --scanline: rgba(255,255,255,0.015);
  --shadow-glow: rgba(0, 255, 156, 0.3);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-2: #ffffff;
  --bg-3: #eef2f8;
  --fg: #1a2238;
  --muted: #5a6a85;
  --accent: #00a86b;
  --accent-2: #2a8fb8;
  --accent-3: #b8860b;
  --danger: #d64545;
  --border: #d6dde9;
  --grid-line: rgba(0, 168, 107, 0.06);
  --scanline: rgba(0,0,0,0.012);
  --shadow-glow: rgba(0, 168, 107, 0.25);
}

* { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
@media (max-width: 768px) { body { padding-bottom: 100px; } }

/* Decorative background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
  filter: blur(40px);
}
[data-theme="light"] .cursor-glow { mix-blend-mode: multiply; opacity: 0; }
.cursor-glow.on { opacity: 1; }

.scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    var(--scanline) 0,
    var(--scanline) 1px,
    transparent 1px,
    transparent 3px
  );
}

.container { width: 92%; max-width: 1180px; margin: 0 auto; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-tools { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-icon { display: none; }
[data-theme="dark"] .theme-icon.sun { display: inline; }
[data-theme="light"] .theme-icon.moon { display: inline; }

/* Bottom dock (mobile only) */
.dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: none;
  gap: 4px;
  padding: 8px;
  background: color-mix(in srgb, var(--bg-2) 85%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 40px -8px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
}
.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  transition: all .25s;
  position: relative;
}
.dock-item .dock-ico {
  font-size: 1.1rem;
  line-height: 1;
}
.dock-item:hover { color: var(--fg); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.dock-item.active {
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 0 18px var(--shadow-glow);
}
.dock-item.active .dock-label { font-weight: 600; }
@media (max-width: 768px) {
  .dock { display: flex; }
}
@media (max-width: 480px) {
  .dock { bottom: 12px; padding: 6px; gap: 2px; }
  .dock-item { padding: 7px 11px; font-size: 0.62rem; }
  .dock-item .dock-ico { font-size: 1rem; }
}
.nav-inner {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.05rem;
}
.logo .prompt { color: var(--accent); margin-right: 4px; }
.logo .cursor-static { color: var(--accent); animation: blink 1s steps(1) infinite; }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.9rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
@media (max-width: 768px) { .nav-links { display: none; } }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--accent); }
.lang-btn.active { color: var(--bg); background: var(--accent); font-weight: 600; }
.lang-sep { color: var(--border); }

/* Stagger entrance */
.stagger {
  opacity: 0;
  transform: translateY(16px);
  animation: stagger-in .65s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 100ms);
}
@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Boot sequence */
.boot {
  opacity: 0;
  transform: translateX(-6px);
  animation: boot-in .35s ease-out forwards;
  animation-delay: calc(var(--d, 0) * 280ms + 700ms);
}
@keyframes boot-in {
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .stagger, .boot { animation: none; opacity: 1; transform: none; }
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  padding: 50px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.avatar-row .eyebrow { margin-bottom: 0; }
.avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-2);
  display: block;
  position: relative;
  z-index: 1;
}
.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  z-index: 0;
  animation: ring-spin 6s linear infinite;
  filter: blur(0.5px);
}
.avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
.avatar-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  z-index: 2;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 24px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.typing { font-family: var(--mono); color: var(--accent-2); font-size: 0.9em; }
.cursor { color: var(--accent); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.lead strong { color: var(--fg); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 24px var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px var(--shadow-glow); filter: brightness(1.05); }
.btn-ghost {
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  flex-wrap: wrap;
}
.stats div { display: flex; flex-direction: column; }
.stats strong {
  font-family: var(--mono);
  font-size: 1.7rem;
  color: var(--accent);
}
.stats span { font-size: 0.82rem; color: var(--muted); }

/* Terminal */
.terminal-wrap {
  perspective: 1200px;
}
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 255, 156, 0.15), 0 0 0 1px rgba(0,255,156,.05);
  font-family: var(--mono);
  font-size: 0.85rem;
  transform-style: preserve-3d;
  transition: transform .15s ease-out, box-shadow .3s ease;
  will-change: transform;
}
.terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 255, 156, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: 12px;
  z-index: 2;
}
.terminal-wrap:hover .terminal::before { opacity: 1; }
.terminal { position: relative; }
.terminal-bar {
  background: #161e2c;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.tdot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tdot.red { background: #ff5f57; }
.tdot.yellow { background: #febc2e; }
.tdot.green { background: #28c840; }
.terminal-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}
.terminal-body {
  padding: 18px;
  color: var(--fg);
  line-height: 1.7;
}
.terminal-body p { word-break: break-word; }
.t-prompt { color: var(--accent); }
.t-path { color: var(--accent-2); }
.t-out { color: var(--muted); padding-left: 0; margin-bottom: 6px; }
.t-code {
  color: var(--accent-3);
  margin: 8px 0 12px;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.82rem;
}
.t-blink { animation: blink 1s steps(1) infinite; color: var(--accent); }

/* SECTIONS */
.section { padding: 60px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 44px 0; } }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
  font-weight: 700;
}
.section-title .hash { color: var(--accent); }
.section-title .paren { color: var(--muted); font-weight: 400; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 28px 32px;
}
.about-card p { color: var(--muted); margin-bottom: 14px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card strong, .about-card em { color: var(--fg); font-style: normal; font-weight: 600; }
.meta-list {
  list-style: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 0.9rem;
}
.meta-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--fg);
}
.meta-list li:last-child { border-bottom: 0; }
.meta-list li span { color: var(--muted); }

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .skills-grid { grid-template-columns: 1fr; } }
.skill-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  transition: all .25s;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px -10px rgba(0,255,156,.15);
}
.skill-icon { font-size: 1.7rem; margin-bottom: 14px; }
.skill-card h3 {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.skill-card ul { list-style: none; }
.skill-card li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-family: var(--mono);
}
.skill-card li::before { content: '▸ '; color: var(--accent-2); }

/* Project filter */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 8px 18px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { color: var(--accent); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.project.hidden { display: none; }
.project {
  animation: fadeUp .45s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}
.project {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
}
.project:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px -10px rgba(0,255,156,.18);
}
.project-screen {
  background: linear-gradient(135deg, #1a2538, #0f1726);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.screen-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  background: rgba(0,0,0,.3);
}
.screen-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted);
  opacity: .6;
}
.screen-bar span:nth-child(1) { background: #ff5f57; }
.screen-bar span:nth-child(2) { background: #febc2e; }
.screen-bar span:nth-child(3) { background: #28c840; }

.screen-content {
  margin-top: 32px;
  padding: 14px;
  width: 86%; height: calc(100% - 50px);
  background: #1d2738;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.screen-content.dark { background: #121a28; justify-content: flex-end; }
.screen-content.web .mock-sidebar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 28%;
  background: rgba(0,255,156,.08);
  border-right: 1px solid var(--border);
}
.screen-content.web .mock-main {
  margin-left: 32%;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-nav { display: flex; gap: 6px; margin-bottom: 4px; }
.mock-nav span { width: 30px; height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; }
.mock-line { height: 8px; background: rgba(255,255,255,.12); border-radius: 4px; }
.mock-line.w70 { width: 70%; }
.mock-line.w60 { width: 60%; background: rgba(0,255,156,.25); }
.mock-line.w50 { width: 50%; }
.mock-line.w40 { width: 40%; }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 6px; }
.mock-grid div {
  height: 36px;
  background: rgba(92,207,230,.12);
  border-radius: 4px;
  border: 1px solid rgba(92,207,230,.2);
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 8px; height: 100%;
}
.chart-bars div {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 3px 3px 0 0;
  min-height: 20%;
}

/* Phone mock */
.phone {
  width: 110px;
  height: 180px;
  background: #0a0e14;
  border: 3px solid #2a3548;
  border-radius: 18px;
  position: relative;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.phone-notch {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 10px;
  background: #2a3548;
  border-radius: 0 0 8px 8px;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #1d2738;
  border-radius: 12px;
  padding: 18px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.phone-screen.alt-bg { background: linear-gradient(180deg, #1d2738, #00ff9c22); }
.phone-screen.edu-bg { background: linear-gradient(180deg, #1d2738, #5ccfe622); }
.app-card {
  height: 30px;
  background: rgba(0,255,156,.15);
  border-radius: 5px;
  border: 1px solid rgba(0,255,156,.25);
}
.app-card.small { height: 22px; }
.course-card {
  height: 28px;
  background: rgba(92,207,230,.18);
  border-radius: 5px;
}
.phone-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.phone-tabs span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3);
}
.phone-tabs span:first-child { background: var(--accent); }
.map-mock {
  flex: 1;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,255,156,.3) 0, transparent 20%),
    radial-gradient(circle at 70% 60%, rgba(92,207,230,.3) 0, transparent 18%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, transparent 6px 14px);
  border-radius: 6px;
}

.project-info { padding: 22px; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(0,255,156,.08);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,255,156,.2);
  margin-bottom: 12px;
}
.project-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--fg);
}
.project-info p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--bg-3);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* GITHUB */
.section-title .section-link {
  float: right;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  margin-top: 8px;
  transition: color .2s;
}
.section-title .section-link:hover { color: var(--accent); }
.gh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.gh-loading, .gh-error {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--mono);
  color: var(--muted);
  padding: 30px 0;
}
.gh-error { color: var(--danger); }
.gh-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.gh-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.gh-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px -10px var(--shadow-glow);
}
.gh-card:hover::before { opacity: 1; }
.gh-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}
.gh-card-head .repo-ico { color: var(--muted); }
.gh-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.gh-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gh-lang-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}
.gh-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CONTACT */
.contact-wrap { text-align: center; }
.contact-wrap .section-title { display: inline-block; }
.contact-lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--fg);
  transition: all .25s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px -10px rgba(0,255,156,.2);
}
.contact-card .ci { font-size: 1.6rem; }
.contact-card strong { font-family: var(--mono); color: var(--accent); }
.contact-card span { color: var(--muted); font-size: 0.88rem; word-break: break-all; }

/* FOOTER */
.footer { padding: 30px 0; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer code { color: var(--accent); }
.footer .ok { color: var(--accent); }
