/* ============================================
   ADEJARE.AI — v4 CLEAN EDITORIAL DARK
   Fonts: Plus Jakarta Sans + JetBrains Mono
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:          #0d1117;
  --bg-card:     #161b22;
  --bg-card2:    #1c2128;
  --border:      #30363d;
  --border-hover:#58a6ff;
  --text:        #e6edf3;
  --muted:       #8b949e;
  --accent:      #58a6ff;
  --accent-dim:  rgba(88,166,255,.12);
  --green:       #3fb950;
  --red:         #f85149;
  --yellow:      #e3b341;
  --ff-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent); z-index: 9999;
  transition: width .1s;
}

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(13,17,23,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem; letter-spacing: .5px;
  color: var(--text);
}
.nav-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-links {
  display: flex; gap: 4px;
  margin-left: auto;
  margin-right: 8px;
}
.nav-links a {
  padding: 6px 14px;
  font-size: .83rem; font-weight: 600; letter-spacing: .5px;
  color: var(--muted);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--bg-card2);
}
.nav-links a.active { color: var(--accent); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
}
.nav-cta a {
  padding: 7px 16px;
  font-size: .83rem; font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-ghost {
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.btn-solid {
  background: var(--accent); color: #0d1117;
  font-weight: 800;
}
.btn-solid:hover { opacity: .9; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--muted); border-radius: 2px; margin: 4px 0;
  transition: var(--transition);
}

/* ============================================
   PAGE WRAPPER
   ============================================ */
.page { padding-top: 64px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding: 80px 8% 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(88,166,255,.06), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .75rem; letter-spacing: 1.5px;
  color: var(--accent); margin-bottom: 1.2rem;
  padding: 5px 12px;
  border: 1px solid rgba(88,166,255,.25);
  border-radius: 20px;
  background: rgba(88,166,255,.06);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: .5rem;
  color: var(--text);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 1.2rem;
  min-height: 2rem;
}
.hero-subtitle .typed-word { color: var(--accent); font-weight: 600; }
.cursor-blink {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--accent); margin-left: 2px; vertical-align: middle;
  animation: blink .9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 1rem; color: var(--muted); line-height: 1.8;
  max-width: 560px; margin-bottom: 2rem;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-stats {
  display: flex; gap: 32px; margin-bottom: 2rem; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-val {
  font-family: var(--ff-mono); font-size: 1.6rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.hero-stat-lbl {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .8px;
  margin-top: 4px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; font-family: var(--ff-sans);
  transition: var(--transition); cursor: pointer; border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #0d1117;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-hover); color: var(--accent); }
.btn-muted {
  background: var(--bg-card); color: var(--muted);
  border: 1px solid var(--border);
}
.btn-muted:hover { color: var(--text); border-color: var(--border-hover); }

/* Hero image */
.hero-photo-wrap { position: relative; flex-shrink: 0; z-index: 1; }
.hero-photo {
  width: 260px; height: 260px;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  border: 2px solid var(--border);
  filter: grayscale(10%);
  transition: var(--transition);
}
.hero-photo:hover { filter: none; border-color: var(--accent); }

/* ============================================
   SECTION CONTAINERS
   ============================================ */
.section { padding: 64px 8%; border-bottom: 1px solid var(--border); }
.section-sm { padding: 40px 8%; border-bottom: 1px solid var(--border); }
.section-label {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800; color: var(--text);
  margin-bottom: .5rem;
}
.section-sub {
  font-size: .95rem; color: var(--muted);
  max-width: 540px; margin-bottom: 2.5rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 28px 5%;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .val {
  font-family: var(--ff-mono); font-size: 1.8rem; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 6px;
}
.stat-cell .lbl {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .8px;
}

/* ============================================
   PROJECT CARDS with <details>
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-card {
  background: var(--bg-card);
  transition: var(--transition);
}
.project-card:hover { background: var(--bg-card2); }

/* details/summary for project expansion */
.project-card details { }
.project-card summary {
  list-style: none; cursor: pointer;
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.project-card summary::-webkit-details-marker { display: none; }

.project-card-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.project-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  transition: var(--transition);
}
.project-card summary:hover .project-title,
.project-card details[open] .project-title { color: var(--accent); }

.project-expand-icon {
  font-size: .75rem; color: var(--muted); flex-shrink: 0;
  margin-top: 3px; transition: transform var(--transition);
}
.project-card details[open] .project-expand-icon { transform: rotate(90deg); }

.project-stack {
  font-family: var(--ff-mono); font-size: .72rem; color: var(--muted);
  letter-spacing: .5px;
}
.project-desc { font-size: .9rem; color: var(--muted); line-height: 1.7; }

.project-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 500;
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.chip-accent {
  border-color: rgba(88,166,255,.3);
  color: var(--accent);
  background: rgba(88,166,255,.07);
}

/* Project expanded content */
.project-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  animation: slide-in .2s ease;
}
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.project-body p { font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.project-body p strong { color: var(--text); }
.project-body ul { padding-left: 1.2rem; }
.project-body ul li { font-size: .88rem; color: var(--muted); margin-bottom: 6px; line-height: 1.6; }
.project-body ul li strong { color: var(--text); }

.code-snippet {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  font-family: var(--ff-mono); font-size: .78rem;
  color: #79c0ff; line-height: 1.7;
  overflow-x: auto; margin: 16px 0;
  white-space: pre;
}

.project-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Featured card */
.project-card.featured {
  background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
  grid-column: 1 / -1;
}
.featured-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #0d1117; background: var(--accent);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skill-group {
  background: var(--bg-card);
  padding: 20px;
}
.skill-group-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  font-family: var(--ff-mono); font-size: .72rem;
  padding: 4px 10px; border-radius: 5px;
  border: 1px solid var(--border); color: var(--muted);
  background: var(--bg);
}

/* ============================================
   TICKER STRIP
   ============================================ */
.ticker {
  overflow: hidden; padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: 1px;
  color: var(--muted); padding: 0 20px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ticker-item i { color: var(--accent); }
.ticker-sep { color: var(--border); padding: 0 4px; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 24px 1fr; gap: 20px; position: relative; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--bg-card);
  flex-shrink: 0; margin-top: 4px; z-index: 1;
}
.tl-dot.accent { background: var(--accent); box-shadow: 0 0 8px rgba(88,166,255,.4); }
.tl-line {
  width: 1px; flex: 1; background: var(--border); margin: 6px 0; min-height: 20px;
}
.tl-content { padding-bottom: 32px; }
.tl-item:last-child .tl-content { padding-bottom: 0; }
.tl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.tl-date { font-family: var(--ff-mono); font-size: .72rem; color: var(--muted); }
.tl-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px;
}
.badge-research { background: rgba(88,166,255,.1); color: var(--accent); border: 1px solid rgba(88,166,255,.2); }
.badge-work    { background: rgba(63,185,80,.1); color: var(--green); border: 1px solid rgba(63,185,80,.2); }
.badge-edu     { background: rgba(227,179,65,.1); color: var(--yellow); border: 1px solid rgba(227,179,65,.2); }
.tl-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.tl-org { font-size: .85rem; color: var(--accent); margin-bottom: 10px; }
.tl-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tag { font-family: var(--ff-mono); font-size: .68rem; padding: 3px 8px; border-radius: 4px; background: var(--bg-card2); color: var(--muted); border: 1px solid var(--border); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  display: grid; grid-template-columns: auto 1fr;
  gap: 3rem; align-items: center;
  padding: 64px 8% 48px;
  border-bottom: 1px solid var(--border);
}
.about-photo {
  width: 280px; height: 280px;
  object-fit: cover; object-position: center 15%;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.about-hero-headline {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-name { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: .3rem; }
.about-title { font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.about-bio { font-size: .95rem; color: var(--muted); line-height: 1.8; max-width: 600px; margin-bottom: 1.5rem; }
.about-bio strong { color: var(--text); }
.about-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.about-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 48px 8%;
  align-items: start;
}
.about-sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-fact { display: flex; flex-direction: column; margin-bottom: 14px; }
.sidebar-fact:last-child { margin-bottom: 0; }
.sf-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 3px; }
.sf-value { font-size: .88rem; color: var(--text); }
.sf-value.accent { color: var(--accent); font-family: var(--ff-mono); font-weight: 700; }
.sf-value.green { color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.sf-value.green::before { content:''; width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 6px var(--green);animation:pulse-dot 2s ease infinite; }

.cert-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cert-item:last-child { margin-bottom: 0; }
.cert-icon { width:36px;height:36px;border-radius:var(--radius);background:var(--bg-card2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:.95rem;flex-shrink:0; }
.cert-name { font-size: .85rem; font-weight: 600; color: var(--text); }
.cert-issuer { font-size: .75rem; color: var(--muted); }

.looking-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.looking-tag { font-size: .75rem; padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(88,166,255,.2); background: rgba(88,166,255,.06); color: var(--accent); }

.online-link { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); font-size: .85rem; margin-bottom: 8px; transition: var(--transition); }
.online-link:hover { border-color: var(--border-hover); color: var(--text); }
.online-link i:first-child { color: var(--accent); width: 16px; text-align: center; }
.online-link span { flex: 1; }
.online-link .arrow { font-size: .65rem; opacity: .4; }

.story-section { margin-bottom: 2rem; }
.story-section h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.story-section p { font-size: .93rem; color: var(--muted); line-height: 1.8; margin-bottom: .9rem; }
.story-section p strong { color: var(--text); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-header {
  padding: 64px 8% 48px;
  border-bottom: 1px solid var(--border);
  max-width: 700px;
}
.contact-page-header h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: .5rem; }
.contact-page-header p { font-size: 1rem; color: var(--muted); line-height: 1.75; }

.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-sidebar {
  padding: 40px 8%;
  border-right: 1px solid var(--border);
}
.contact-form-wrap { padding: 40px 6%; }

.contact-response {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--muted);
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(63,185,80,.2);
  background: rgba(63,185,80,.06);
  margin-bottom: 2rem;
}
.contact-response::before { content:''; width:7px;height:7px;border-radius:50%;background:var(--green);animation:pulse-dot 2s ease infinite; }
.contact-response strong { color: var(--green); }

.contact-info-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ci-icon { width:40px;height:40px;border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:.9rem;flex-shrink:0; }
.ci-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.ci-value { font-size: .88rem; color: var(--text); font-family: var(--ff-mono); }
.ci-copy {
  background: none; border: 1px solid var(--border); color: var(--muted);
  width: 26px; height: 26px; border-radius: 5px; cursor: pointer;
  font-size: .7rem; display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.ci-copy:hover { border-color: var(--accent); color: var(--accent); }

.open-to-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.open-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--muted);
  background: var(--bg-card);
  transition: var(--transition);
}
.open-pill:hover { border-color: var(--accent); color: var(--text); }
.open-pill i { color: var(--accent); font-size: .75rem; }

.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 2rem; }
.social-tile {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 3px; padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  transition: var(--transition);
}
.social-tile:hover { border-color: var(--border-hover); }
.social-tile i { color: var(--accent); font-size: 1rem; margin-bottom: 4px; }
.social-tile-name { font-size: .82rem; font-weight: 700; color: var(--text); }
.social-tile-handle { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); }

/* FORM */
.form-title { font-size: 1.3rem; font-weight: 800; margin-bottom: .3rem; }
.form-sub { font-size: .88rem; color: var(--muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--ff-sans); font-size: .9rem;
  transition: var(--transition); resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(88,166,255,.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(139,148,158,.5); }
.form-label-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.form-label-row label { margin-bottom: 0; }
.char-counter { font-family: var(--ff-mono); font-size: .7rem; color: var(--muted); }
.submit-btn { width: 100%; padding: 12px; font-size: .95rem; }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 10px; }
.form-note i { color: var(--green); }
.form-status {
  margin-top: 12px; padding: 12px; border-radius: var(--radius);
  font-size: .88rem; display: none;
}
.form-status.success { background: rgba(63,185,80,.1); border: 1px solid rgba(63,185,80,.3); color: var(--green); }
.form-status.error   { background: rgba(248,81,73,.1); border: 1px solid rgba(248,81,73,.3); color: var(--red); }

/* ============================================
   PAGE HEADER (projects / other pages)
   ============================================ */
.page-header {
  padding: 56px 8% 40px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: .4rem; }
.page-header p { font-size: .95rem; color: var(--muted); max-width: 560px; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 8%; gap: 2rem; flex-wrap: wrap;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.cta-strip h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.cta-strip p { font-size: .88rem; color: var(--muted); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 28px 8%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--border);
}
.footer-text { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; gap: 6px; }
.footer-links a {
  width: 34px; height: 34px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); border-color: var(--border-hover); }

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-tab {
  padding: 6px 16px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--muted); cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover { color: var(--text); border-color: var(--border-hover); }
.filter-tab.active { background: var(--accent); color: #0d1117; border-color: var(--accent); }
.glow-card.hidden-card { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 48px 6%; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { width: 140px; height: 140px; }
  .stats-bar { grid-template-columns: repeat(3,1fr); }
  .stat-cell:nth-child(3) { border-right: none; }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--border); }
  .about-hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 40px 6% 32px; }
  .about-body { grid-template-columns: 1fr; padding: 32px 6%; gap: 2rem; }
  .about-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 6%; }
  .contact-form-wrap { padding: 32px 6%; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 6%; }
  .page-header { padding: 40px 6% 28px; }
  .cta-strip { padding: 32px 6%; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(13,17,23,.98); backdrop-filter: blur(12px); padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-cell:nth-child(5) { border-right: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .social-grid { grid-template-columns: 1fr; }
}

/* ============================================
   v4.1 — GLASSMORPHISM + NEON BLUE LAYER
   CSS-only upgrade. No HTML/JS changes.
   ============================================ */

/* ---- New design tokens ---- */
:root {
  --neon:       #00e5ff;
  --neon-dim:   rgba(0,229,255,.15);
  --neon-glow:  rgba(0,229,255,.35);
  --glass-bg:   rgba(22,27,34,.55);
  --glass-bg2:  rgba(28,33,40,.65);
  --glass-border: rgba(88,166,255,.15);
  --glass-border-hover: rgba(0,229,255,.45);
  --shadow-glow: 0 0 20px rgba(0,229,255,.12), 0 8px 32px rgba(0,0,0,.4);
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.3);
}

/* ---- Ambient background orbs (CSS only, no canvas) ---- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%,   rgba(0,102,255,.08)  0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0,229,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 20%,  rgba(88,166,255,.04) 0%, transparent 55%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,.012) 2px, rgba(255,255,255,.012) 3px
  );
}

/* ---- Scroll progress glow ---- */
.scroll-progress {
  background: linear-gradient(90deg, var(--accent), var(--neon));
  box-shadow: 0 0 8px var(--neon-glow);
  height: 2px;
}

/* ---- Nav — stronger glass ---- */
.site-nav {
  background: rgba(13,17,23,.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 1px 0 rgba(0,229,255,.06), 0 4px 20px rgba(0,0,0,.3);
}
.site-nav:hover {
  border-bottom-color: rgba(88,166,255,.2);
}
.nav-links a.active {
  text-shadow: 0 0 12px rgba(88,166,255,.5);
}

/* ---- Buttons — neon glow on primary ---- */
.btn-primary {
  background: linear-gradient(135deg, #58a6ff 0%, #00c8ff 100%);
  box-shadow: 0 0 0 0 rgba(0,229,255,.0);
  transition: all .25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0,229,255,.35), 0 4px 16px rgba(0,0,0,.3);
  opacity: 1;
}
.btn-solid {
  background: linear-gradient(135deg, #58a6ff 0%, #00c8ff 100%);
}
.btn-solid:hover {
  box-shadow: 0 0 14px rgba(0,229,255,.3);
  transform: translateY(-1px);
  opacity: 1;
}
.btn-outline:hover {
  box-shadow: 0 0 10px rgba(88,166,255,.15);
}

/* ---- Hero section ---- */
.hero {
  background: transparent;
  position: relative;
}
.hero::before {
  background:
    radial-gradient(ellipse 90% 70% at 5% -10%, rgba(0,102,255,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 110%, rgba(0,229,255,.07) 0%, transparent 55%);
}
/* Neon ring on hero photo */
.hero-photo {
  border-color: var(--glass-border);
  box-shadow: 0 0 0 4px rgba(0,229,255,.06), 0 0 24px rgba(0,229,255,.1);
  transition: all .3s ease;
}
.hero-photo:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(0,229,255,.12), 0 0 32px rgba(0,229,255,.25);
  filter: none;
}
/* Hero stat values pulse on load */
.hero-stat-val {
  text-shadow: 0 0 20px rgba(88,166,255,.3);
}

/* ---- Stats bar — glass cells ---- */
.stats-bar { background: rgba(22,27,34,.3); }
.stat-cell {
  transition: background .2s ease;
  cursor: default;
}
.stat-cell:hover {
  background: rgba(0,229,255,.04);
}
.stat-cell .val {
  text-shadow: 0 0 16px rgba(88,166,255,.25);
}

/* ---- Ticker — glass band ---- */
.ticker {
  background: rgba(22,27,34,.6);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--glass-border);
}
.ticker-item i {
  text-shadow: 0 0 8px rgba(88,166,255,.4);
}

/* ---- Project cards — glassmorphism ---- */
.projects-grid {
  border-color: var(--glass-border);
  box-shadow: var(--shadow-glow);
}
.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transition: background .2s ease, box-shadow .2s ease;
}
.project-card:hover {
  background: var(--glass-bg2);
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.12);
}
.project-card details[open] {
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.18);
}

/* Featured card stronger glass */
.project-card.featured {
  background: linear-gradient(135deg,
    rgba(22,27,34,.8) 0%,
    rgba(26,35,50,.85) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0,229,255,.18) !important;
  box-shadow: 0 0 0 1px rgba(0,229,255,.06), var(--shadow-glow);
}
.project-card.featured:hover {
  border-color: rgba(0,229,255,.3) !important;
  box-shadow: 0 0 24px rgba(0,229,255,.12), 0 8px 32px rgba(0,0,0,.4);
}
.featured-pill {
  background: linear-gradient(135deg, #58a6ff, #00c8ff);
  box-shadow: 0 0 8px rgba(0,229,255,.3);
}

/* Project title glow on open/hover */
.project-card details[open] .project-title,
.project-card summary:hover .project-title {
  text-shadow: 0 0 12px rgba(88,166,255,.35);
}

/* Chip accent glow */
.chip-accent {
  box-shadow: 0 0 6px rgba(88,166,255,.15);
}

/* Code snippet — glass terminal ---- */
.code-snippet {
  background: rgba(13,17,23,.8);
  backdrop-filter: blur(8px);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

/* ---- Skills grid — glass ---- */
.skills-grid {
  border-color: var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.skill-group {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  transition: background .2s ease;
}
.skill-group:hover {
  background: var(--glass-bg2);
}
.skill-group-title i {
  text-shadow: 0 0 8px rgba(88,166,255,.5);
}
.skill-tag {
  background: rgba(13,17,23,.6);
  border-color: rgba(48,54,61,.8);
  transition: all .2s ease;
}
.skill-tag:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent);
  box-shadow: 0 0 6px rgba(0,229,255,.1);
}

/* ---- Timeline — neon dots ---- */
.tl-dot.accent {
  box-shadow: 0 0 10px rgba(88,166,255,.5), 0 0 20px rgba(0,229,255,.2);
}

/* ---- Sidebar cards — glass ---- */
.sidebar-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--glass-border);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sidebar-card:hover {
  border-color: rgba(0,229,255,.2);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cert-icon {
  background: rgba(0,102,255,.1);
  border-color: var(--glass-border);
  box-shadow: 0 0 8px rgba(88,166,255,.1);
}
.looking-tag {
  background: rgba(88,166,255,.06);
  box-shadow: 0 0 4px rgba(88,166,255,.08);
}
.online-link:hover {
  box-shadow: 0 0 8px rgba(88,166,255,.1);
  background: rgba(88,166,255,.03);
}

/* ---- Contact page — glass panels ---- */
.contact-sidebar {
  background: rgba(13,17,23,.4);
}
.contact-form-wrap {
  background: rgba(13,17,23,.2);
}
.ci-icon {
  background: rgba(0,102,255,.1);
  border-color: var(--glass-border);
}
.social-tile {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border-color: var(--glass-border);
  transition: all .2s ease;
}
.social-tile:hover {
  border-color: rgba(0,229,255,.3);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transform: translateY(-2px);
}
.social-tile i {
  text-shadow: 0 0 8px rgba(88,166,255,.4);
}
.open-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  border-color: var(--glass-border);
}
.open-pill:hover {
  border-color: rgba(0,229,255,.35);
  box-shadow: 0 0 8px rgba(0,229,255,.1);
}
.ci-copy:hover {
  box-shadow: 0 0 6px rgba(0,229,255,.2);
}
.form-group input, .form-group textarea {
  background: rgba(22,27,34,.7);
  backdrop-filter: blur(6px);
  border-color: var(--glass-border);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(0,229,255,.5);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08), 0 0 12px rgba(0,229,255,.06);
}

/* ---- CTA strip — glass with neon border ---- */
.cta-strip {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(0,229,255,.04);
  position: relative;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,102,255,.06), transparent 70%);
}
.cta-strip > * { position: relative; z-index: 1; }

/* ---- Footer ---- */
.site-footer {
  background: rgba(13,17,23,.8);
  backdrop-filter: blur(8px);
}
.footer-links a:hover {
  box-shadow: 0 0 8px rgba(88,166,255,.2);
}

/* ---- Filter tabs — glass ---- */
.filter-tab {
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  border-color: var(--glass-border);
}
.filter-tab:hover {
  box-shadow: 0 0 8px rgba(88,166,255,.1);
}
.filter-tab.active {
  background: linear-gradient(135deg, #58a6ff, #00c8ff);
  box-shadow: 0 0 12px rgba(0,229,255,.3);
  border-color: transparent;
}

/* ---- About hero photo — neon ring ---- */
.about-photo {
  border-color: var(--glass-border);
  box-shadow: 0 0 0 4px rgba(0,229,255,.06), 0 0 20px rgba(0,229,255,.08);
  transition: all .3s ease;
}
.about-photo:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(0,229,255,.12), 0 0 28px rgba(0,229,255,.2);
}

/* ---- About sidebar sticky glass ---- */
.about-sidebar .sidebar-card:first-child {
  border-color: rgba(0,229,255,.15);
}

/* ---- Page header ambient ---- */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,102,255,.07), transparent 70%);
}
.page-header > * { position: relative; z-index: 1; }

/* ---- Hidden-card fix for filter (uses project-card not glow-card) ---- */
.project-card.hidden-card { display: none !important; }
/* ============================================
   v4.2 — PHOTO + POLISH IMPROVEMENTS
   ============================================ */

/* Hero photo — face-centered crop + ring animation */
.hero-photo {
  object-position: center 15%;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0,229,255,.4) 60deg,
    transparent 120deg,
    rgba(88,166,255,.3) 200deg,
    transparent 280deg,
    rgba(0,229,255,.4) 320deg,
    transparent 360deg
  );
  animation: ring-spin 8s linear infinite;
  z-index: 0;
  pointer-events: none;
  opacity: .6;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}
.hero-photo {
  position: relative;
  z-index: 2;
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* About photo face-centered */
.about-photo {
  object-position: center 15%;
}

/* Featured project card — larger summary padding */
.project-card.featured > details > summary {
  padding: 28px;
}

/* Ticker — pause elegantly */
.ticker-track { cursor: default; }

/* Stats bar hover — cell lifts subtly */
.stat-cell:hover .val {
  filter: brightness(1.15);
}

/* Skills section — hover tag glow fix */
.skill-tag:hover {
  color: var(--neon);
  border-color: rgba(0,229,255,.4);
  background: rgba(0,229,255,.06);
  transform: translateY(-1px);
}

/* CTA strip — stronger heading */
.cta-strip h3 {
  font-size: 1.4rem;
  color: var(--text);
}

/* Footer email — fix obfuscation display */
.footer-text a {
  color: var(--muted);
  text-decoration: none;
}
.footer-text a:hover {
  color: var(--accent);
}

/* Improve details/summary focus ring for accessibility */
.project-card summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Page header — tighter spacing */
.page-header {
  padding-bottom: 32px;
}

/* Section label — more visible */
.section-label {
  font-weight: 700;
  color: var(--accent);
  opacity: .8;
}

/* Chip in project summary — add subtle transition */
.chip {
  transition: border-color .15s ease, color .15s ease;
}
.project-card summary:hover .chip-accent {
  border-color: rgba(0,229,255,.45);
  box-shadow: 0 0 8px rgba(0,229,255,.18);
}

/* Form submit button — full gradient width */
.submit-btn {
  background: linear-gradient(135deg, #58a6ff 0%, #00c8ff 100%);
  justify-content: center;
}

/* Mobile: hero photo sizing on small screens */
@media (max-width: 480px) {
  .hero-photo { width: 120px; height: 120px; }
  .hero-photo-wrap::after, .hero-photo-wrap::before { display: none; }
}

/* ============================================
   v5 — SKILLS VIZ + LIQUID GLASS + NEURAL BG
       HOVER ANIMATIONS + SCROLL REVEAL
       GITHUB CARDS + NAV SHRINK
   ============================================ */

/* ---- Neural background canvas ---- */
#neural-bg {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none; opacity: .45;
}

/* ---- Nav shrink on scroll ---- */
.site-nav.scrolled {
  height: 52px;
  box-shadow: 0 2px 24px rgba(0,0,0,.4), 0 1px 0 rgba(0,229,255,.08);
}
.site-nav.scrolled .nav-logo { font-size: .9rem; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Skills viz section ---- */
.skills-viz-section {
  padding: 64px 8%;
  border-bottom: 1px solid var(--border);
}
.skills-viz-header { margin-bottom: 2.5rem; }

.skills-viz-body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Radar panel */
.radar-panel {
  background: var(--glass-bg, rgba(22,27,34,.55));
  border: 1px solid var(--glass-border, rgba(88,166,255,.15));
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: border-color .25s, box-shadow .25s;
}
.radar-panel:hover {
  border-color: rgba(0,229,255,.28);
  box-shadow: 0 0 24px rgba(0,229,255,.08);
}
.radar-label-top {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.radar-wrap { width: 100%; max-width: 320px; margin: 0 auto; }
#radarChart { width: 100%; height: auto; }

/* Proficiency panel */
.proficiency-panel {
  background: var(--glass-bg, rgba(22,27,34,.55));
  border: 1px solid var(--glass-border, rgba(88,166,255,.15));
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.proficiency-label-top {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.prof-group { margin-bottom: 24px; }
.prof-group:last-child { margin-bottom: 0; }
.prof-group-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.prof-group-title i { color: var(--accent); font-size: .85rem; }
.prof-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.prof-name { font-size: .8rem; color: var(--muted); min-width: 160px; flex-shrink: 0; }
.prof-track {
  flex: 1; height: 6px; background: rgba(255,255,255,.06);
  border-radius: 99px; overflow: hidden;
  border: 1px solid rgba(88,166,255,.1);
}
.prof-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #58a6ff, #00e5ff);
  box-shadow: 0 0 8px rgba(0,229,255,.4);
  transition: width 1s cubic-bezier(.4,0,.2,1);
}
.prof-fill.animate { width: var(--pct); }
.prof-val {
  font-family: var(--ff-mono); font-size: .72rem;
  color: var(--accent); min-width: 32px; text-align: right;
}

/* ---- Liquid glass card variant ---- */
.liquid-glass {
  background: linear-gradient(135deg, rgba(88,166,255,.08) 0%, rgba(0,229,255,.04) 100%);
  border: 1px solid rgba(88,166,255,.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.15),
    0 8px 32px rgba(0,0,0,.25),
    0 0 0 1px rgba(88,166,255,.05);
  position: relative; overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
  transform: skewX(-20deg);
  animation: liquid-sheen 6s ease infinite;
  pointer-events: none;
}
@keyframes liquid-sheen {
  0%, 100% { left: -60%; opacity: 0; }
  40%, 60%  { left: 120%; opacity: 1; }
}

/* ---- Stats bar — hover lift ---- */
.stat-cell {
  cursor: default;
  transition: background .2s ease, transform .2s ease;
}
.stat-cell:hover {
  background: rgba(0,229,255,.05);
  transform: translateY(-2px);
}
.stat-cell:hover .val { filter: brightness(1.2); }

/* ---- Project cards — lift + glow on hover ---- */
.project-card {
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(0,229,255,.14);
}
.project-card details[open] {
  transform: none;
}

/* ---- Skill tags — animated hover ---- */
.skill-tag {
  transition: all .2s ease;
  cursor: default;
}
.skill-tag:hover {
  color: var(--neon, #00e5ff);
  border-color: rgba(0,229,255,.5);
  background: rgba(0,229,255,.07);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,229,255,.12);
}

/* ---- Buttons — more expressive hover ---- */
.btn {
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}
.btn:active { transform: translateY(0) scale(.97) !important; }
.btn-outline:hover {
  background: rgba(88,166,255,.06);
}
.btn-muted:hover {
  background: rgba(88,166,255,.08);
  color: var(--text);
}

/* ---- Timeline dots — pulse on hover ---- */
.tl-dot {
  transition: box-shadow .2s ease, transform .2s ease;
}
.tl-item:hover .tl-dot {
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(88,166,255,.5);
}
.tl-dot.accent { box-shadow: 0 0 12px rgba(0,229,255,.5), 0 0 20px rgba(0,229,255,.2); }
.tl-item:hover .tl-dot.accent { box-shadow: 0 0 18px rgba(0,229,255,.7), 0 0 30px rgba(0,229,255,.3); }

/* ---- Sidebar cards hover lift ---- */
.sidebar-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sidebar-card:hover { transform: translateY(-2px); }

/* ---- Social tiles — lift + glow ---- */
.social-tile { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.social-tile:hover { transform: translateY(-3px); }

/* ---- Online links hover ---- */
.online-link { transition: all .2s ease; }
.online-link:hover { padding-left: 14px; }

/* ---- Featured pill pulse ---- */
.featured-pill {
  animation: pill-pulse 3s ease infinite;
}
@keyframes pill-pulse {
  0%,100% { box-shadow: 0 0 6px rgba(0,229,255,.3); }
  50%      { box-shadow: 0 0 14px rgba(0,229,255,.6); }
}

/* ---- Chips hover ---- */
.chip { transition: all .15s ease; }
.chip:hover {
  border-color: rgba(0,229,255,.4);
  color: var(--accent);
}
.chip-accent:hover { box-shadow: 0 0 10px rgba(88,166,255,.25); }

/* ---- CTA strip — hover glow ---- */
.cta-strip .btn-primary:hover {
  box-shadow: 0 0 24px rgba(0,229,255,.45), 0 6px 20px rgba(0,0,0,.3);
}

/* ---- Footer links hover ---- */
.footer-links a { transition: all .2s ease; }
.footer-links a:hover { transform: translateY(-2px); }

/* ---- GitHub auto-fetch repos grid ---- */
.gh-section {
  padding: 56px 8%;
  border-bottom: 1px solid var(--border);
}
.gh-section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 2rem;
}
.gh-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: 1px;
  color: var(--green); padding: 4px 10px;
  border: 1px solid rgba(63,185,80,.2); border-radius: 20px;
  background: rgba(63,185,80,.06);
}
.gh-live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease infinite;
}
#gh-repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  border: 1px solid var(--glass-border, rgba(88,166,255,.15));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gh-repo-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  background: var(--glass-bg, rgba(22,27,34,.55));
  backdrop-filter: blur(10px);
  color: inherit; text-decoration: none;
  border-right: 1px solid var(--glass-border, rgba(88,166,255,.1));
  border-bottom: 1px solid var(--glass-border, rgba(88,166,255,.1));
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gh-repo-card:hover {
  background: rgba(28,33,40,.8);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.15);
}
.gh-repo-top {
  display: flex; align-items: center; gap: 8px;
}
.gh-repo-icon { color: var(--accent); font-size: .85rem; flex-shrink: 0; }
.gh-repo-name {
  font-size: .88rem; font-weight: 700; color: var(--text);
  font-family: var(--ff-mono); letter-spacing: .3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.gh-repo-card:hover .gh-repo-name { color: var(--accent); }
.gh-repo-desc {
  font-size: .8rem; color: var(--muted); line-height: 1.6;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gh-repo-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.gh-lang {
  font-family: var(--ff-mono); font-size: .68rem; color: var(--muted);
  display: flex; align-items: center; gap: 5px;
}
.gh-lang-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.gh-stars { font-family: var(--ff-mono); font-size: .68rem; color: var(--yellow); display: flex; align-items: center; gap: 4px; }
.gh-updated { font-family: var(--ff-mono); font-size: .65rem; color: var(--muted); margin-left: auto; }
#gh-status { font-size: .88rem; color: var(--muted); padding: 12px 0; }

/* ---- Responsive: skills viz ---- */
@media (max-width: 900px) {
  .skills-viz-body { grid-template-columns: 1fr; }
  .radar-wrap { max-width: 260px; }
  .prof-name { min-width: 120px; }
  .skills-viz-section { padding: 48px 6%; }
  .gh-section { padding: 40px 6%; }
}
@media (max-width: 600px) {
  #gh-repos-grid { grid-template-columns: 1fr; }
  .prof-name { min-width: 100px; font-size: .75rem; }
}

/* ============================================
   v6 — TRUE GLASSMORPHISM + NEON BOOST
       HERO ENTRANCE + FLOAT + STAGGER
   ============================================ */

/* ---- Override glass tokens: near-transparent ---- */
:root {
  --glass-bg:         rgba(13,17,23,.10);
  --glass-bg2:        rgba(13,17,23,.18);
  --glass-bg-hover:   rgba(0,229,255,.06);
  --glass-border:     rgba(0,229,255,.22);
  --glass-border-hover: rgba(0,229,255,.55);
  --neon-faint:       rgba(0,229,255,.08);
  --neon-mid:         rgba(0,229,255,.30);
  --neon-bright:      rgba(0,229,255,.55);
  --glow-sm:  0 0 12px rgba(0,229,255,.35);
  --glow-md:  0 0 24px rgba(0,229,255,.40), 0 0 48px rgba(88,166,255,.15);
  --glow-lg:  0 0 40px rgba(0,229,255,.45), 0 0 80px rgba(88,166,255,.20);
}

/* ---- Replace liquid-glass with true glassmorphism ---- */
.liquid-glass {
  background: rgba(13,17,23,.08) !important;
  border: 1px solid rgba(0,229,255,.25) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  box-shadow:
    inset 0 1px 0 rgba(0,229,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.2),
    0 0 0 1px rgba(88,166,255,.06),
    0 8px 40px rgba(0,0,0,.35),
    0 0 30px rgba(0,229,255,.06) !important;
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.5), rgba(88,166,255,.4), transparent);
  animation: glass-topline 4s ease infinite;
}
@keyframes glass-topline {
  0%,100% { opacity: .4; }
  50%      { opacity: 1; }
}
.liquid-glass:hover {
  border-color: rgba(0,229,255,.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(0,229,255,.2),
    inset 0 -1px 0 rgba(0,0,0,.2),
    0 0 0 1px rgba(88,166,255,.1),
    0 12px 48px rgba(0,0,0,.4),
    0 0 40px rgba(0,229,255,.12) !important;
}

/* ---- All glass cards: more see-through ---- */
.project-card,
.skill-group,
.sidebar-card,
.radar-panel,
.proficiency-panel,
.gh-repo-card,
.social-tile,
.open-pill {
  background: rgba(13,17,23,.12) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}
.project-card:hover,
.skill-group:hover,
.sidebar-card:hover,
.social-tile:hover {
  background: rgba(0,229,255,.05) !important;
}
.project-card.featured {
  background: rgba(0,40,80,.12) !important;
  border: 1px solid rgba(0,229,255,.28) !important;
}
.project-card.featured:hover {
  border-color: rgba(0,229,255,.5) !important;
  box-shadow: var(--glow-md) !important;
}

/* ---- Nav: stronger glass ---- */
.site-nav {
  background: rgba(13,17,23,.45) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border-bottom: 1px solid rgba(0,229,255,.18) !important;
}

/* ---- Ticker: glass ---- */
.ticker {
  background: rgba(13,17,23,.35) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0,229,255,.15) !important;
}

/* ---- Stats bar: glass ---- */
.stats-bar { background: rgba(13,17,23,.15) !important; }
.stat-cell { border-right-color: rgba(0,229,255,.12) !important; }

/* ---- Project grid border: neon ---- */
.projects-grid,
#gh-repos-grid {
  border-color: rgba(0,229,255,.22) !important;
  box-shadow: var(--glow-sm), 0 8px 32px rgba(0,0,0,.4) !important;
}

/* ---- Skill group borders ---- */
.skills-grid {
  border-color: rgba(0,229,255,.2) !important;
  box-shadow: 0 0 20px rgba(0,229,255,.06) !important;
}

/* ---- CTA strip: glass ---- */
.cta-strip {
  background: rgba(13,17,23,.15) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(0,229,255,.2) !important;
  border-bottom: 1px solid rgba(0,229,255,.12) !important;
}

/* ---- Footer: glass ---- */
.site-footer {
  background: rgba(13,17,23,.4) !important;
  backdrop-filter: blur(12px) !important;
  border-top-color: rgba(0,229,255,.15) !important;
}

/* ---- Neon boost: borders, accents ---- */
.chip-accent {
  border-color: rgba(0,229,255,.35) !important;
  background: rgba(0,229,255,.08) !important;
  color: #00e5ff !important;
  box-shadow: 0 0 8px rgba(0,229,255,.2) !important;
}
.featured-pill {
  box-shadow: 0 0 12px rgba(0,229,255,.45), 0 0 24px rgba(88,166,255,.2) !important;
}
.tl-dot.accent {
  background: #00e5ff !important;
  box-shadow: 0 0 14px rgba(0,229,255,.7), 0 0 28px rgba(0,229,255,.35) !important;
}
.tl-line {
  background: linear-gradient(to bottom, rgba(0,229,255,.4), rgba(88,166,255,.1)) !important;
}
.section-label {
  color: #00e5ff !important;
  text-shadow: 0 0 12px rgba(0,229,255,.5);
}
.hero-eyebrow {
  border-color: rgba(0,229,255,.35) !important;
  background: rgba(0,229,255,.06) !important;
  box-shadow: 0 0 20px rgba(0,229,255,.08);
}
.stat-cell .val {
  text-shadow: 0 0 20px rgba(0,229,255,.4) !important;
}
.gh-repo-icon { text-shadow: 0 0 8px rgba(88,166,255,.5) !important; }
.looking-tag {
  border-color: rgba(0,229,255,.3) !important;
  background: rgba(0,229,255,.06) !important;
}

/* ====================================================
   HERO ENTRANCE ANIMATION
==================================================== */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-enter {
  from { opacity: 0; transform: scale(.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-content {
  animation: hero-enter .9s cubic-bezier(.16,1,.3,1) .1s both;
}
.hero-photo-wrap {
  animation: hero-photo-enter 1s cubic-bezier(.16,1,.3,1) .3s both;
}

/* ---- Hero photo: floating loop ---- */
@keyframes float-photo {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}
.hero-photo-wrap {
  animation: hero-photo-enter 1s cubic-bezier(.16,1,.3,1) .3s both,
             float-photo 5s ease-in-out 1.3s infinite;
}

/* ---- Eyebrow entrance ---- */
@keyframes eyebrow-enter {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-eyebrow {
  animation: eyebrow-enter .7s ease .05s both;
}

/* ---- Hero h1: reveal word by word via clip ---- */
@keyframes h1-reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
.hero h1 {
  animation: h1-reveal .8s cubic-bezier(.16,1,.3,1) .2s both;
}

/* ---- Hero subtitle entrance ---- */
@keyframes subtitle-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-subtitle {
  animation: subtitle-enter .6s ease .6s both;
}

/* ---- Hero desc + actions ---- */
.hero-desc {
  animation: hero-enter .7s ease .55s both;
}
.hero-actions {
  animation: hero-enter .7s ease .7s both;
}

/* ====================================================
   STAGGERED REVEAL — delay children automatically
==================================================== */
.reveal:nth-child(1) { transition-delay: .0s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }
.reveal:nth-child(7) { transition-delay: .48s; }
.reveal:nth-child(8) { transition-delay: .56s; }

/* ---- Skill tags: staggered pop-in when parent revealed ---- */
@keyframes tag-pop {
  from { opacity: 0; transform: scale(.8) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.skill-group.revealed .skill-tag {
  animation: tag-pop .35s cubic-bezier(.34,1.56,.64,1) both;
}
.skill-group.revealed .skill-tag:nth-child(1) { animation-delay: .05s; }
.skill-group.revealed .skill-tag:nth-child(2) { animation-delay: .10s; }
.skill-group.revealed .skill-tag:nth-child(3) { animation-delay: .15s; }
.skill-group.revealed .skill-tag:nth-child(4) { animation-delay: .20s; }
.skill-group.revealed .skill-tag:nth-child(5) { animation-delay: .25s; }
.skill-group.revealed .skill-tag:nth-child(6) { animation-delay: .30s; }

/* ---- Timeline: cascade ---- */
.tl-item:nth-child(1) .tl-content { transition-delay: .0s; }
.tl-item:nth-child(2) .tl-content { transition-delay: .12s; }
.tl-item:nth-child(3) .tl-content { transition-delay: .24s; }
.tl-item:nth-child(4) .tl-content { transition-delay: .36s; }

/* ---- Stats bar cells: wave entrance ---- */
@keyframes stat-wave {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-cell {
  animation: stat-wave .6s cubic-bezier(.16,1,.3,1) both;
}
.stat-cell:nth-child(1) { animation-delay: .05s; }
.stat-cell:nth-child(2) { animation-delay: .12s; }
.stat-cell:nth-child(3) { animation-delay: .19s; }
.stat-cell:nth-child(4) { animation-delay: .26s; }
.stat-cell:nth-child(5) { animation-delay: .33s; }
.stat-cell:nth-child(6) { animation-delay: .40s; }

/* ---- Page header: slide in from left ---- */
@keyframes slide-left {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.page-header h1 {
  animation: slide-left .8s cubic-bezier(.16,1,.3,1) .1s both;
}
.page-header p {
  animation: slide-left .7s cubic-bezier(.16,1,.3,1) .2s both;
}

/* ---- About hero: photo float (same as hero) ---- */
.about-photo {
  animation: float-photo 5s ease-in-out 1s infinite !important;
}

/* ---- Sidebar cards: cascade entrance ---- */
.about-sidebar .sidebar-card:nth-child(1) { animation: hero-enter .6s ease .1s both; }
.about-sidebar .sidebar-card:nth-child(2) { animation: hero-enter .6s ease .2s both; }
.about-sidebar .sidebar-card:nth-child(3) { animation: hero-enter .6s ease .3s both; }
.about-sidebar .sidebar-card:nth-child(4) { animation: hero-enter .6s ease .4s both; }

/* ---- Neon typing cursor pulse ---- */
.cursor-blink {
  background: #00e5ff !important;
  box-shadow: 0 0 8px rgba(0,229,255,.8) !important;
}

/* ---- Contact info icons: glow ---- */
.ci-icon {
  background: rgba(0,40,80,.25) !important;
  border-color: rgba(0,229,255,.25) !important;
  box-shadow: 0 0 12px rgba(0,229,255,.1) !important;
}

/* ---- Form inputs: neon focus ---- */
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0,229,255,.6) !important;
  box-shadow: 0 0 0 3px rgba(0,229,255,.1), 0 0 16px rgba(0,229,255,.08) !important;
}

/* ---- Contact response badge: pulse ---- */
.contact-response {
  animation: pill-pulse 3s ease infinite;
}

/* ---- 404 number: continuous glow pulse ---- */
@keyframes four04-pulse {
  0%,100% { filter: drop-shadow(0 0 20px rgba(0,229,255,.3)); }
  50%      { filter: drop-shadow(0 0 40px rgba(0,229,255,.6)); }
}
.page .not-found-code,
.page > div > div[style*="10rem"] {
  animation: four04-pulse 3s ease infinite;
}

/* ---- Proficiency bars: neon ---- */
.prof-track {
  background: rgba(0,229,255,.06) !important;
  border-color: rgba(0,229,255,.18) !important;
}
.prof-fill {
  box-shadow: 0 0 12px rgba(0,229,255,.55) !important;
}

/* ---- GH repo cards: glass ---- */
.gh-repo-card {
  background: rgba(13,17,23,.12) !important;
  border-right-color: rgba(0,229,255,.1) !important;
  border-bottom-color: rgba(0,229,255,.1) !important;
}
.gh-repo-card:hover {
  background: rgba(0,229,255,.04) !important;
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.2) !important;
}
.gh-lang-dot { background: #00e5ff !important; box-shadow: 0 0 6px rgba(0,229,255,.5) !important; }

/* ---- Filter tabs: glass ---- */
.filter-tab {
  background: rgba(13,17,23,.2) !important;
  border-color: rgba(0,229,255,.18) !important;
}
.filter-tab.active {
  box-shadow: 0 0 16px rgba(0,229,255,.35) !important;
}

/* ---- Scroll reveal enhanced: fade+rise ---- */
.reveal {
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1) !important;
}


/* ============================================
   v7 — ULTRA-TRANSPARENT GLASS + STATS SECTION
   ============================================ */

/* Max transparency — neural bg must show through */
:root {
  --glass-bg:      rgba(13,17,23,.06) !important;
  --glass-bg2:     rgba(0,229,255,.04) !important;
}
.project-card,
.skill-group,
.sidebar-card,
.radar-panel,
.proficiency-panel,
.gh-repo-card,
.social-tile,
.open-pill,
.liquid-glass {
  background: rgba(13,17,23,.07) !important;
}
.project-card:hover,
.skill-group:hover,
.sidebar-card:hover,
.social-tile:hover,
.liquid-glass:hover { background: rgba(0,229,255,.05) !important; }
.project-card.featured { background: rgba(0,20,50,.10) !important; }
.stats-bar { background: rgba(13,17,23,.08) !important; }
.ticker    { background: rgba(13,17,23,.12) !important; }
.cta-strip { background: rgba(13,17,23,.10) !important; }
.site-footer { background: rgba(13,17,23,.20) !important; }
.site-nav { background: rgba(13,17,23,.30) !important; }
.contact-sidebar,
.contact-form-wrap { background: rgba(13,17,23,.07) !important; }

/* ---- Big dedicated stats section ---- */
.stats-section {
  padding: 72px 8%;
  border-bottom: 1px solid rgba(0,229,255,.15);
  background: rgba(13,17,23,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,102,255,.07), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 50%, rgba(0,229,255,.05), transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 50%, rgba(88,166,255,.04), transparent 60%);
}
.stats-section > * { position: relative; z-index: 1; }
.stats-section-label {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: 2px;
  text-transform: uppercase; color: #00e5ff;
  text-shadow: 0 0 12px rgba(0,229,255,.5);
  text-align: center; margin-bottom: 16px;
}
.stats-section-title {
  font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800;
  color: var(--text); text-align: center; margin-bottom: 56px;
}
.stats-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(0,229,255,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,229,255,.08), 0 8px 48px rgba(0,0,0,.4);
}
.stat-big {
  padding: 40px 32px;
  text-align: center;
  background: rgba(13,17,23,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(0,229,255,.12);
  border-bottom: 1px solid rgba(0,229,255,.1);
  transition: background .25s ease, transform .25s ease;
  cursor: default;
  position: relative; overflow: hidden;
}
.stat-big::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.4), transparent);
  opacity: 0; transition: opacity .3s;
}
.stat-big:hover::before { opacity: 1; }
.stat-big:last-child { border-right: none; }
.stat-big:hover {
  background: rgba(0,229,255,.05) !important;
  transform: translateY(-3px);
}
.stat-big-val {
  font-family: var(--ff-mono);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #58a6ff, #00e5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 16px rgba(0,229,255,.4));
  margin-bottom: 10px;
  display: block;
}
.stat-big-lbl {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted);
}
.stat-big-sub {
  font-size: .72rem; color: rgba(139,148,158,.6);
  margin-top: 4px; font-family: var(--ff-mono);
}
@media (max-width: 700px) {
  .stats-section-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-big:nth-child(2) { border-right: none; }
  .stat-big { padding: 28px 20px; }
}
@media (max-width: 420px) {
  .stats-section-grid { grid-template-columns: 1fr; }
  .stat-big { border-right: none; }
}

/* ---- Stat big wave entrance ---- */
@keyframes stat-big-in {
  from { opacity: 0; transform: translateY(28px) scale(.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.stat-big.revealed {
  animation: stat-big-in .65s cubic-bezier(.16,1,.3,1) both;
}
.stat-big:nth-child(1).revealed { animation-delay: .04s; }
.stat-big:nth-child(2).revealed { animation-delay: .10s; }
.stat-big:nth-child(3).revealed { animation-delay: .16s; }
.stat-big:nth-child(4).revealed { animation-delay: .22s; }
.stat-big:nth-child(5).revealed { animation-delay: .28s; }
.stat-big:nth-child(6).revealed { animation-delay: .34s; }

/* ---- Contact two-col layout fix ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr !important;
  min-height: 600px;
}
.contact-form-wrap {
  padding: 48px 6% !important;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.contact-sidebar {
  padding: 48px 6% !important;
  border-right: 1px solid rgba(0,229,255,.12) !important;
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr !important; }
  .contact-sidebar { border-right: none !important; border-bottom: 1px solid rgba(0,229,255,.12) !important; }
}
/* ============================================
   v8 — TARGETED FIXES
   ============================================ */

/* Timeline stagger — each item rises in with delay */
.tl-item.reveal { transform: translateY(36px); opacity: 0; }
.tl-item.revealed { transform: translateY(0); opacity: 1; }
.tl-item:nth-child(1).revealed { transition-delay: .05s; }
.tl-item:nth-child(2).revealed { transition-delay: .15s; }
.tl-item:nth-child(3).revealed { transition-delay: .25s; }
.tl-item:nth-child(4).revealed { transition-delay: .35s; }
.tl-item:nth-child(5).revealed { transition-delay: .45s; }

/* Skills grid — no orphan column on the right */
.skills-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
}

/* About hero — wider photo grid */
.about-hero {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 72px 8% 56px;
}

/* Mobile: scale down about photo */
@media (max-width: 900px) {
  .about-photo { width: 140px; height: 140px; }
}

/* ============================================
   v8.1 — ABOUT PHOTO RING + STATS COUNTERS
   ============================================ */

/* About photo wrap — spinning ring identical to hero */
.about-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 280px; height: 280px;
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0,229,255,.45) 60deg,
    transparent 120deg,
    rgba(88,166,255,.35) 200deg,
    transparent 280deg,
    rgba(0,229,255,.45) 320deg,
    transparent 360deg
  );
  animation: ring-spin 8s linear infinite;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}
.about-photo {
  position: relative;
  z-index: 2;
  width: 280px; height: 280px;
  object-fit: cover; object-position: center 15%;
  border-radius: 50%;
  border: 2px solid rgba(0,229,255,.3);
  box-shadow: 0 0 0 4px rgba(0,229,255,.08), 0 0 32px rgba(0,229,255,.12);
  transition: all .3s ease;
}
.about-photo:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(0,229,255,.15), 0 0 40px rgba(0,229,255,.25);
}

/* About stats — compact, no label at top, tighter padding */
.about-stats {
  padding: 40px 8% !important;
  backdrop-filter: none;
}
.about-stats .stats-section-grid {
  grid-template-columns: repeat(6, 1fr);
}
.about-stats .stat-big {
  padding: 28px 16px;
}
.about-stats .stat-big-val {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
@media (max-width: 900px) {
  .about-stats .stats-section-grid { grid-template-columns: repeat(3, 1fr); }
  .about-photo-wrap { width: 140px; height: 140px; }
  .about-photo { width: 140px; height: 140px; }
}
@media (max-width: 500px) {
  .about-stats .stats-section-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================
   v8 — FULL TRANSPARENCY + MOBILE/TABLET FIXES
   ============================================ */

/* ---- 1. Fully transparent glassmorphism ---- */
:root {
  --glass-bg:  rgba(0,0,0,0) !important;
  --glass-bg2: rgba(0,229,255,.03) !important;
}

/* All glass surfaces: completely transparent background,
   blur still active so the neural canvas shows through clean */
.project-card,
.skill-group,
.sidebar-card,
.radar-panel,
.proficiency-panel,
.liquid-glass,
.gh-repo-card,
.social-tile,
.open-pill,
.filter-tab,
.stat-big {
  background: transparent !important;
}

/* Hover - keep an ultra-subtle teal wash */
.project-card:hover,
.skill-group:hover,
.sidebar-card:hover,
.social-tile:hover,
.filter-tab:hover,
.stat-big:hover,
.liquid-glass:hover { background: rgba(0,229,255,.04) !important; }

/* Featured card keeps very faint deep-blue tint for hierarchy */
.project-card.featured { background: rgba(0,20,50,.06) !important; }

/* Structural bars / strips */
.stats-bar         { background: transparent !important; }
.stats-section     { background: transparent !important; }
.ticker            { background: transparent !important; }
.cta-strip         { background: transparent !important; }

/* Nav — keep enough opacity so text stays readable on any scroll position */
.site-nav { background: rgba(13,17,23,.18) !important; }

/* Footer — slight ground */
.site-footer { background: rgba(13,17,23,.12) !important; }

/* Contact panels */
.contact-sidebar,
.contact-form-wrap { background: transparent !important; }

/* Form inputs — keep legible background (full transparent = unreadable) */
.form-group input,
.form-group textarea {
  background: rgba(13,17,23,.35) !important;
}

/* ---- 2. Skills viz — was missing a stacking breakpoint entirely ---- */
@media (max-width: 960px) {
  .skills-viz-body {
    grid-template-columns: 1fr !important;
  }
  .radar-wrap { max-width: 280px; margin: 0 auto; }
  .skills-viz-section { padding: 48px 6%; }
}

/* ---- 3. Tablet (640px–900px) ---- */
@media (max-width: 768px) {
  .section,
  .section-sm    { padding: 40px 5%; }
  .page-header   { padding: 36px 5% 28px; }
  .about-hero    { padding: 44px 5% 32px; }
  .about-body    { padding: 28px 5%; }

  /* Centre the about photo when stacked */
  .about-photo-wrap { margin: 0 auto 1rem; }

  /* CTA strip: stack vertically on tablets */
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 5%;
  }

  /* Proficiency label - tighten before phone breakpoint */
  .prof-name { min-width: 130px; }
}

/* ---- 4. Mobile phones (≤ 480px) ---- */
@media (max-width: 480px) {
  /* NAV */
  .site-nav { padding: 0 4%; }

  /* HERO — centre everything on phones */
  .hero { padding: 28px 4% 40px; }
  .hero-content { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-desc    { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-stats   { justify-content: center; gap: 16px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-photo-wrap   { margin: 0 auto; }

  /* SECTIONS — tighter side padding on phones */
  .section,
  .section-sm           { padding: 28px 4%; }
  .stats-section        { padding: 36px 4%; }
  .skills-viz-section   { padding: 28px 4%; }
  .page-header          { padding: 24px 4% 18px; }
  .contact-page-header  { padding: 28px 4% 20px; }

  /* PROFICIENCY — stack label above bar on narrow screens */
  .prof-row   { flex-wrap: wrap; gap: 4px; }
  .prof-name  { min-width: 100%; font-size: .75rem; margin-bottom: 2px; }

  /* CODE SNIPPETS — shrink font so they don't scroll sideways */
  .code-snippet { font-size: .7rem; padding: 10px 12px; }

  /* ABOUT PAGE */
  .about-hero {
    padding: 28px 4%;
    gap: 1.5rem;
    text-align: center;
  }
  .about-photo-wrap { margin: 0 auto 0.5rem; }
  .about-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .about-actions .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
  .about-body { padding: 20px 4%; }

  /* CTA STRIP — full-width stacked buttons */
  .cta-strip { padding: 24px 4%; flex-direction: column; gap: 1rem; }
  .cta-actions { display: flex; flex-direction: column; width: 100%; gap: 8px; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* FOOTER — centre on phones */
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 4%;
    gap: .75rem;
  }

  /* CONTACT */
  .contact-sidebar   { padding: 24px 4% !important; }
  .contact-form-wrap { padding: 24px 4% !important; }

  /* SOCIAL GRID — 2-col keeps tiles big enough to tap */
  .social-grid { grid-template-columns: 1fr 1fr; }

  /* STATS SECTION — tighten stat cell padding */
  .stat-big { padding: 24px 12px; }
}

/* ---- 5. Very small phones (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero-actions .btn { padding: 10px 12px; font-size: .82rem; }
  .stat-big-val      { font-size: clamp(2rem, 9vw, 3rem); }
  .social-grid       { grid-template-columns: 1fr; }
  .prof-name         { font-size: .7rem; }
  .btn               { padding: 9px 14px; font-size: .82rem; }
}

/* ---- 6. Reduce motion — safe for low-powered devices ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================
   v8.1 — PUSH TRANSPARENCY EVEN FURTHER
   ============================================ */

/* Nav — just enough to prevent links disappearing mid-scroll */
.site-nav { background: rgba(13,17,23,.08) !important; }

/* Footer — fully gone */
.site-footer { background: transparent !important; }

/* Featured card — no tint at all */
.project-card.featured { background: transparent !important; }

/* Hover states — barely-there */
.project-card:hover,
.skill-group:hover,
.sidebar-card:hover,
.social-tile:hover,
.filter-tab:hover,
.stat-big:hover,
.liquid-glass:hover { background: rgba(0,229,255,.02) !important; }

/* Skill tags — transparent, border only */
.skill-tag {
  background: transparent !important;
}

/* Open pills + filter tabs — border only */
.open-pill,
.filter-tab { background: transparent !important; }

/* Stats section pseudo radial gradients — reduce opacity */
.stats-section::before { opacity: .3; }

/* Mobile nav dropdown — less opaque */
@media (max-width: 900px) {
  .nav-links {
    background: rgba(13,17,23,.65) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
  }
}

/* Form inputs — drop to 20% so canvas bleeds through slightly */
.form-group input,
.form-group textarea {
  background: rgba(13,17,23,.20) !important;
}

/* ============================================
   v9 — ZERO GLASS — NEURAL BG FULLY VISIBLE
   No backgrounds. No blur. Pure canvas.
   ============================================ */

/* Kill ALL backdrop-filter blur site-wide */
*, *::before, *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Every surface: fully transparent */
.site-nav,
.site-footer,
.project-card,
.project-card.featured,
.skill-group,
.sidebar-card,
.radar-panel,
.proficiency-panel,
.liquid-glass,
.gh-repo-card,
.social-tile,
.open-pill,
.filter-tab,
.stat-big,
.stats-bar,
.stats-section,
.ticker,
.cta-strip,
.contact-sidebar,
.contact-form-wrap,
.skill-tag,
.code-snippet,
.hero-eyebrow,
.chip,
.chip-accent,
.tl-badge,
.cert-item,
.sidebar-fact,
.looking-tag,
.contact-response,
.contact-info-row {
  background: transparent !important;
  box-shadow: none !important;
}

/* Nav needs the slimmest possible tint so links stay readable on scroll */
.site-nav {
  background: rgba(13,17,23,.05) !important;
  border-bottom-color: rgba(0,229,255,.08) !important;
}

/* Mobile nav dropdown — keep legible */
@media (max-width: 900px) {
  .nav-links {
    background: rgba(13,17,23,.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
}

/* Hover states — zero background */
.project-card:hover,
.skill-group:hover,
.sidebar-card:hover,
.social-tile:hover,
.filter-tab:hover,
.stat-big:hover,
.liquid-glass:hover {
  background: transparent !important;
  box-shadow: none !important;
}

/* Form inputs — keep the absolute minimum so text is readable */
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(13,17,23,.15) !important;
  backdrop-filter: none !important;
}

/* Kill pseudo-element radial gradient blobs */
.stats-section::before,
.hero::before,
.cta-strip::before,
.page-header::before {
  display: none !important;
}

/* Liquid glass sheen animation — gone */
.liquid-glass::before { display: none !important; }

/* Borders stay — they define layout without blocking the canvas */

/* ---- v9.1 — neural canvas full brightness ---- */
#neural-bg { opacity: 1 !important; }

/* ============================================================
   PATCH — appended fixes (do not remove existing style.css)
   Covers: repo cards, projects page header, filter buttons
   ============================================================ */

/* GitHub repo card grid */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.repo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: var(--surface, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.repo-card:hover {
  border-color: var(--accent, #00e5ff);
  transform: translateY(-2px);
}

.repo-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent, #00e5ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.repo-card-desc {
  font-size: .8rem;
  color: var(--muted, rgba(255,255,255,.5));
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-card-meta {
  display: flex;
  gap: 12px;
  font-size: .75rem;
  color: var(--muted, rgba(255,255,255,.45));
  align-items: center;
}

.repos-loading {
  text-align: center;
  padding: 32px;
  color: var(--muted, rgba(255,255,255,.4));
  font-size: .9rem;
}

/* Projects page header (fallback if not already styled) */
.projects-page-header {
  padding: 64px 0 32px;
  max-width: 720px;
}

.projects-page-header h1 {
  margin-bottom: 12px;
}

.projects-page-header p {
  color: var(--muted, rgba(255,255,255,.55));
  font-size: 1rem;
}

/* Filter buttons */
.project-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  background: transparent;
  color: var(--muted, rgba(255,255,255,.5));
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent, #00e5ff);
  color: var(--accent, #00e5ff);
  background: rgba(0,229,255,.06);
}

/* Filter JS hook */
.project-card[data-category] {
  transition: opacity .25s, transform .25s;
}

.project-card.hidden {
  display: none;
}

/* ============================================
   PATCH v10 — Ring fix + Radar-only + Certs
   ============================================ */

/* --- Profile ring: isolation creates proper stacking context ---
   Without isolation:isolate the ::before mask and ::after ring
   can lose stack order vs the child <img>. overflow:visible
   ensures the -8px inset ring isn't clipped by ancestor overflow. */
.about-photo-wrap {
  isolation: isolate;
  overflow: visible !important;
}

/* Force ::before mask to use exact bg hex so it stays opaque
   even if --bg is somehow overridden, and make sure it can't
   be accidentally made transparent by the v9 universal rules */
.about-photo-wrap::before {
  background: #0d1117 !important;
}

/* Ensure the ring ::after sits in the right stacking layer */
.about-photo-wrap::after {
  z-index: 0;
  will-change: transform;
}

/* Ensure the image is above both pseudo-elements */
.about-photo-wrap .about-photo,
.about-photo {
  position: relative;
  z-index: 2;
}

/* --- Radar-only layout: center the radar when proficiency panel removed --- */
.skills-viz-radar-only {
  grid-template-columns: 1fr !important;
  max-width: 460px;
}

.skills-viz-radar-only .radar-panel {
  max-width: 460px;
}

/* --- Certifications section on homepage --- */
.certs-home-section {
  border-bottom: 1px solid var(--border);
}

.cert-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.cert-home-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.cert-home-card:hover {
  transform: translateY(-3px);
  border-color: var(--ch-accent, var(--accent));
}

.cert-home-stripe {
  height: 3px;
  background: var(--ch-accent, var(--accent));
  opacity: 0.85;
}

.cert-home-body {
  padding: 18px 20px 20px;
}

.cert-home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.cert-home-badge {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ch-accent, var(--accent));
  border: 1px solid rgba(255,255,255,0.15);
  border-color: var(--ch-accent, var(--accent));
  opacity: 0.8;
  padding: 3px 8px;
  border-radius: 4px;
}

.cert-home-date {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--ff-mono);
}

.cert-home-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 7px;
}

.cert-home-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.cert-home-partners {
  font-size: 11px;
  color: #4a5568;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--ff-mono);
  letter-spacing: 0.03em;
}

/* Mobile: cert grid 1 col on small screens */
@media (max-width: 600px) {
  .cert-home-grid {
    grid-template-columns: 1fr;
  }
  .skills-viz-radar-only {
    max-width: 100%;
  }
}

/* ============================================
   PATCH v11 — Projects page enhancements
   what-went-wrong, artifact-block, repo cards
   ============================================ */

/* --- What Didn't Work / Engineering Decisions block --- */
.what-went-wrong {
  margin: 18px 0 14px;
  padding: 16px 18px;
  background: rgba(88, 166, 255, 0.04);
  border: 1px solid rgba(88, 166, 255, 0.12);
  border-left: 3px solid rgba(88, 166, 255, 0.5);
  border-radius: 0 10px 10px 0;
}

.wwg-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.what-went-wrong ul {
  margin: 0;
  padding-left: 1.2rem;
}

.what-went-wrong ul li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.what-went-wrong ul li:last-child {
  margin-bottom: 0;
}

.what-went-wrong ul li strong {
  color: var(--text);
}

/* --- Architecture artifact block (for private repos) --- */
.artifact-block {
  margin: 6px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
}

.artifact-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 7px;
}

.artifact-block .code-snippet {
  border-radius: 0;
  border: none;
  margin: 0;
}

/* --- Static repo cards (replaces broken API section) --- */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.repo-card {
  display: block;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.repo-card:hover {
  border-color: rgba(88, 166, 255, 0.35);
  transform: translateY(-2px);
}

.repo-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  word-break: break-all;
}

.repo-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.repo-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: #4a5568;
}

.repo-card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(88, 166, 255, 0.3);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: auto;
}

@media (max-width: 600px) {
  .repo-grid {
    grid-template-columns: 1fr;
  }
  .what-went-wrong {
    padding: 12px 14px;
  }
}

/* ============================================
   PATCH v12 — Page header fix, exp-grid,
   case study strips, hero-role, skills-combined
   ============================================ */

/* ---------- HERO: role subtitle ---------- */
.hero-role {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--accent);
  font-family: var(--ff-mono);
  letter-spacing: .06em;
  margin-bottom: .9rem;
  margin-top: -.2rem;
}
.hero-status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 7px;
  animation: pulse-dot 2s ease-in-out infinite;
  vertical-align: middle;
}

/* ---------- PROJECTS PAGE HEADER ---------- */
.proj-page-header {
  padding: 56px 8% 48px;
  border-bottom: 1px solid var(--border);
}
.proj-page-header-inner {
  max-width: 860px;
}
.proj-page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: .75rem;
  font-family: var(--ff-sans, system-ui, sans-serif);
}
.proj-page-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 560px;
}
.proj-stat-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 12px;
}
.proj-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px 0 0;
}
.proj-stat:first-child { padding-left: 0; }
.proj-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--ff-mono);
  line-height: 1;
}
.proj-stat-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.proj-stat-div {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin-right: 28px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .proj-page-header { padding: 40px 6% 32px; }
  .proj-stat-strip { gap: 16px; }
  .proj-stat-div { display: none; }
  .proj-stat { padding: 0; }
}

/* ---------- EXPERIENCE GRID (replaces timeline) ---------- */
.exp-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.exp-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 20px;
  padding-bottom: 40px;
}
.exp-card:last-child { padding-bottom: 0; }

.exp-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.exp-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(88,166,255,.25);
  border: 2px solid rgba(88,166,255,.4);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.exp-dot.accent-dot {
  background: rgba(88,166,255,.35);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(88,166,255,.12);
}
.exp-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, rgba(88,166,255,.3) 0%, rgba(88,166,255,.05) 100%);
  margin-top: 6px;
}

.exp-card-right {
  padding-bottom: 0;
}
.exp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.exp-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 3px;
  line-height: 1.25;
}
.exp-org {
  font-size: .88rem;
  color: var(--muted);
}
.exp-date {
  font-size: .78rem;
  font-family: var(--ff-mono);
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 6px;
}

.exp-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.exp-metric {
  background: rgba(88,166,255,.07);
  border: 1px solid rgba(88,166,255,.15);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  min-width: 72px;
}
.exp-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--ff-mono);
  line-height: 1;
  margin-bottom: 3px;
}
.exp-metric-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

.exp-bullets {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.exp-bullets li { margin-bottom: 5px; }
.exp-bullets li strong { color: var(--text); }

@media (max-width: 600px) {
  .exp-card { grid-template-columns: 24px 1fr; gap: 0 14px; }
  .exp-card-header { flex-direction: column; gap: 4px; }
  .exp-date { margin-top: 0; }
  .exp-metrics { gap: 8px; }
  .exp-metric { min-width: 60px; padding: 6px 10px; }
}

/* ---------- CASE STUDY CARDS (index.html) ---------- */
.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.case-study-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg, 14px);
  padding: 32px 36px;
  transition: border-color .22s ease;
}
.case-study-card:hover {
  border-color: rgba(88,166,255,.25);
}
.case-study-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--ff-mono);
}
.case-study-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.25;
}
.case-study-stack {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--ff-mono);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.case-study-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-study-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.case-study-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Right column */
.case-study-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-study-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.csm-block {
  background: rgba(88,166,255,.06);
  border: 1px solid rgba(88,166,255,.12);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.csm-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--ff-mono);
  line-height: 1;
  margin-bottom: 4px;
}
.csm-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.case-study-code {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 14px 16px;
  flex: 1;
}
.case-study-code pre {
  font-family: var(--ff-mono, 'Courier New', monospace);
  font-size: .75rem;
  color: #a8c7fa;
  line-height: 1.6;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}

/* "More" row */
.case-study-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 16px 24px;
  border: 1px dashed rgba(88,166,255,.2);
  border-radius: var(--radius-lg, 14px);
  flex-wrap: wrap;
}
.case-study-more span {
  font-size: .85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .case-study-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  .case-study-right { order: -1; }
  .case-study-metric-grid { grid-template-columns: repeat(4, 1fr); }
  .case-study-code { display: none; }
}
@media (max-width: 600px) {
  .case-study-metric-grid { grid-template-columns: 1fr 1fr; }
  .case-study-more { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- SKILLS COMBINED LAYOUT ---------- */
.skills-combined-section { }
.skills-combined-body {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}
.skills-tag-panel {
  padding-top: 4px;
}
/* Override the old styles-viz-section centering that only applies alone */
.skills-combined-body .skills-viz-radar-only {
  max-width: 100%;
}
.skills-combined-body .radar-panel {
  max-width: 100%;
}
@media (max-width: 900px) {
  .skills-combined-body {
    grid-template-columns: 1fr;
  }
  .skills-combined-body .skills-viz-radar-only {
    max-width: 420px;
    margin: 0 auto;
  }
}
