/* ================================================
   JEEVANPRASATH V — PORTFOLIO
   Unique: Editorial Brutalism × Terminal Aesthetic
   Color: Near-black + Acid Lime + Warm White
   ================================================ */

/* ---- TOKENS ---- */
:root {
  --bg:        #0c0c0c;
  --bg-2:      #111111;
  --bg-3:      #161616;
  --lime:      #c8f135;
  --lime-dark: #a3c91a;
  --lime-dim:  rgba(200, 241, 53, 0.12);
  --lime-glow: rgba(200, 241, 53, 0.2);
  --white:     #f0ede8;
  --muted:     #6b6b6b;
  --dim:       #3a3a3a;
  --border:    rgba(255,255,255,0.07);
  --border-lime: rgba(200,241,53,0.25);
  --glass:     rgba(255,255,255,0.03);
  --glass-hover: rgba(255,255,255,0.06);
  --radius:    14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

/* ---- NOISE TEXTURE ---- */
.noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
  opacity: 0.35; mix-blend-mode: overlay;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--lime-dark); border-radius: 2px; }
::selection { background: var(--lime); color: #000; }

/* ---- UTILITIES ---- */
.mono { font-family: var(--font-mono); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 110px 0; }
.glass-block {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.glass-block:hover { background: var(--glass-hover); border-color: var(--border-lime); }

/* ---- SECTION EYEBROW ---- */
.section-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.eyebrow-num { font-size: 0.78rem; color: var(--lime); letter-spacing: 0.05em; }
.eyebrow-line { flex: 1; max-width: 60px; height: 1px; background: var(--dim); }
.eyebrow-text { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- BIG TITLE ---- */
.section-big-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.section-big-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--lime);
  -webkit-text-fill-color: var(--lime);
}

/* ====================
   NAVBAR
   ==================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem; font-weight: 700;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center;
  transition: var(--transition);
}
.nav-logo:hover {
  background: rgba(200,241,53,0.2);
  box-shadow: 0 0 16px rgba(200,241,53,0.15);
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-link {
  padding: 6px 16px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted);
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
/* Mobile: keep navbar bg solid when menu is open (even at page top) */
@media (max-width: 800px) {
  .navbar.menu-open {
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ====================
   HERO
   ==================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 0 80px;
}
/* Grid background */
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,241,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,241,53,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 100px 60px;
  position: relative; z-index: 1;
}

/* Hero Left */
.hero-left { display: flex; flex-direction: column; gap: 24px; }

.terminal-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 8px;
  width: fit-content;
}
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.chip-dot.red { background: #ff5f57; }
.chip-dot.yellow { background: #ffbd2e; }
.chip-dot.green { background: var(--lime); }
.chip-label { font-size: 0.75rem; color: var(--muted); margin-left: 6px; }

.hero-name {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  /* Hidden until JS adds .name-visible */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.hero-name.name-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-role-wrap {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--lime);
}
.role-prefix { opacity: 0.5; }
.role-cursor {
  animation: blink 0.9s step-end infinite;
  color: var(--lime);
  font-size: 1.1rem;
  line-height: 1;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-headline {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
}
.hero-headline em { font-style: normal; color: var(--white); font-weight: 500; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.78rem; font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.badge:hover { border-color: var(--border-lime); color: var(--white); }
.status-badge {
  background: var(--lime-dim);
  border-color: var(--border-lime);
  color: var(--lime);
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 100px;
  width: fit-content;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(200,241,53,0.4);
}
.cta-btn:hover {
  background: var(--white);
  box-shadow: 0 0 40px rgba(200,241,53,0.25);
  transform: translateY(-2px);
}
.cta-btn svg { transition: transform 0.3s; }
.cta-btn:hover svg { transform: translateX(4px); }

/* Hero Right — Code Window */
.hero-right { display: flex; justify-content: flex-end; }
.code-window {
  width: 100%;
  max-width: 480px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,241,53,0.05);
}
.cw-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.cw-dots { display: flex; gap: 6px; }
.cw-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.cw-dots span:nth-child(1) { background: #ff5f57; }
.cw-dots span:nth-child(2) { background: #ffbd2e; }
.cw-dots span:nth-child(3) { background: var(--lime); }
.cw-title { font-size: 0.75rem; color: var(--muted); margin-left: auto; }
.cw-body { padding: 24px; }
.code-block {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--white);
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 280px;
}
/* Code coloring */
.kw    { color: #c792ea; }
.str   { color: var(--lime); }
.prop  { color: #82aaff; }
.com   { color: #546e7a; font-style: italic; }
.arr   { color: #f78c6c; }
.bool  { color: #ff5370; }
.num   { color: #f78c6c; }

/* Hero Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.68rem; color: var(--dim); letter-spacing: 0.15em; text-transform: uppercase;
  animation: fadeUp 1s ease 1.5s both;
}
.scroll-track {
  width: 1px; height: 48px;
  background: var(--dim);
  border-radius: 1px;
  overflow: hidden;
}
.scroll-thumb {
  width: 100%; height: 40%;
  background: var(--lime);
  border-radius: 1px;
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(150%); }
  51% { transform: translateY(-100%); }
  100% { transform: translateY(-100%); }
}

/* ====================
   ABOUT
   ==================== */
.about {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 80% 0%, rgba(200,241,53,0.04) 0%, transparent 60%);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.about-headline-col .section-big-title { margin-bottom: 32px; }
.about-edu {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
}
.edu-icon { font-size: 1.6rem; flex-shrink: 0; }
.edu-degree { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.edu-college { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.edu-year { font-size: 0.73rem; color: var(--lime); }

.about-para {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-para:last-of-type { margin-bottom: 28px; }
.highlight { color: var(--white); font-weight: 600; }

.goal-card {
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 12px;
}
.goal-label { font-size: 0.72rem; color: var(--lime); display: block; margin-bottom: 10px; }
.goal-text { font-size: 0.93rem; color: var(--white); line-height: 1.7; font-style: italic; }

/* ====================
   SKILLS
   ==================== */
.skills {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 20% 100%, rgba(200,241,53,0.04) 0%, transparent 60%);
}
.skills .section-big-title { max-width: 400px; }

.skills-layout { display: flex; flex-direction: column; gap: 48px; margin-top: 48px; }

.skills-group-header { margin-bottom: 20px; }
.group-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}
.group-status.learning {
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  color: var(--lime);
}
.group-status.completed {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,241,53,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(200,241,53,0); }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: 12px;
}
.learning-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.learning-grid .bento-cell:nth-child(1) { grid-column: 1; grid-row: 1 / 3; } /* featured */
.learning-grid .bento-cell:nth-child(6) { grid-column: 2 / 5; } /* bento-wide */

.completed-grid {
  grid-template-columns: 1fr 1fr 2fr 1fr;
}

.bento-cell {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
  transition: var(--transition);
  cursor: default;
}
.bento-cell:hover {
  border-color: var(--border-lime);
  background: var(--bg-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.bento-featured {
  background: var(--lime-dim);
  border-color: var(--border-lime);
}
.bento-featured-alt {
  background: rgba(255,255,255,0.04);
}
.bento-icon { font-size: 1.5rem; }
.bento-featured .bento-icon { font-size: 2.2rem; }
.bento-name { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.bento-featured .bento-name { font-size: 1rem; }
.bento-sub { font-size: 0.68rem; color: var(--muted); font-family: var(--font-mono); }
.bento-featured .bento-sub { color: var(--lime); }

/* Languages */
.skills-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.block-title {
  font-size: 0.9rem; font-weight: 700;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.block-title span { font-family: var(--font-mono); color: var(--lime); font-size: 0.85rem; }

.lang-block, .tools-block { padding: 24px; }
.lang-list { display: flex; flex-direction: column; gap: 14px; }
.lang-item { display: flex; align-items: center; gap: 12px; }
.lang-name { font-size: 0.85rem; font-weight: 600; min-width: 90px; }
.lang-bar {
  flex: 1; height: 4px;
  background: var(--dim);
  border-radius: 2px;
  overflow: hidden;
}
.lang-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

.tools-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.tool-chip:hover {
  border-color: var(--border-lime);
  color: var(--white);
  background: var(--lime-dim);
}

/* ====================
   PROJECTS
   ==================== */
.projects {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 70% 50%, rgba(200,241,53,0.03) 0%, transparent 60%);
}

/* Grid: 2-col on desktop, 1-col on mobile */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

/* ── Project card ── */
.project-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.project-card:hover {
  border-color: var(--border-lime);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* Top row: number + status / links */
.proj-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.proj-meta { display: flex; align-items: center; gap: 12px; }
.proj-num {
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.08em;
}
.proj-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.proj-status.in-progress {
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  color: var(--lime);
}
.proj-links { display: flex; gap: 8px; }
.proj-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--muted);
  transition: var(--transition);
}
.proj-link:hover {
  border-color: var(--border-lime);
  color: var(--lime);
  background: var(--lime-dim);
}

/* Body */
.proj-body { flex: 1; margin-bottom: 24px; }
.proj-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.proj-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.proj-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.proj-features li {
  font-size: 0.75rem;
  color: #546e7a;
  line-height: 1.5;
}

/* Footer: stack tags */
.proj-footer { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.proj-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tag {
  font-size: 0.72rem; font-weight: 600;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.project-card:hover .stack-tag {
  border-color: rgba(200,241,53,0.15);
}

/* Action buttons row */
.proj-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proj-action-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-lime);
  color: var(--lime);
  background: var(--lime-dim);
  transition: var(--transition);
  cursor: pointer;
}
.proj-action-btn:hover {
  background: var(--lime);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,241,53,0.2);
}
.proj-action-btn--muted {
  border-color: var(--border);
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.proj-action-btn--muted:hover {
  background: var(--bg-2);
  color: var(--white);
  border-color: var(--white-06);
  box-shadow: none;
  transform: translateY(-1px);
}
.proj-action-badge {
  font-size: 0.62rem; font-weight: 700;
  padding: 1px 6px;
  border-radius: 100px;
  background: var(--bg-3);
  color: var(--muted);
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Empty/coming-soon slot */
.project-card--empty {
  justify-content: center;
  align-items: center;
  min-height: 280px;
  border-style: dashed;
  opacity: 0.5;
}
.project-card--empty:hover { opacity: 0.75; }
.empty-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-align: center;
}
.empty-label { font-size: 0.72rem; color: var(--lime); }
.empty-text { font-size: 1rem; color: var(--muted); font-weight: 500; }
.empty-cursor {
  color: var(--lime); font-size: 1.1rem;
  animation: blink 0.9s step-end infinite;
}

@media (max-width: 800px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--empty { min-height: 160px; }
}


/* ====================
   CONTACT
   ==================== */
.contact {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 100%, rgba(200,241,53,0.06) 0%, transparent 60%);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.contact-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--lime);
}
.contact-sub { font-size: 0.98rem; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }

.contact-card {
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-dark), var(--lime));
  display: flex; align-items: center; justify-content: center;
}
.avatar-letters {
  font-size: 1.4rem; font-weight: 800;
  color: #000; font-family: var(--font-mono);
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.contact-role { font-size: 0.78rem; color: var(--lime); display: block; margin-bottom: 6px; }
.contact-location { font-size: 0.85rem; color: var(--muted); }

/* Contact social pills (left column) */
.contact-social-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.social-pill:hover {
  background: var(--lime-dim);
  border-color: var(--border-lime);
  color: var(--lime);
  transform: translateY(-2px);
}

/* Contact real links (card) */
.contact-real-links { display: flex; flex-direction: column; gap: 10px; }
.real-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: var(--transition);
  text-decoration: none;
}
.real-link:hover {
  border-color: var(--border-lime);
  background: var(--lime-dim);
  color: var(--white);
  transform: translateX(4px);
}
.rl-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
  transition: var(--transition);
}
.real-link:hover .rl-icon {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
}
.rl-label {
  display: block;
  font-size: 0.7rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.rl-value {
  display: block;
  font-size: 0.82rem; color: var(--white); font-weight: 500;
}
.rl-arrow {
  margin-left: auto; flex-shrink: 0;
  color: var(--dim);
  transition: var(--transition);
}
.real-link:hover .rl-arrow {
  color: var(--lime);
  transform: translate(2px, -2px);
}

/* ====================
   FOOTER
   ==================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-name { font-size: 0.85rem; color: var(--lime); }
.footer-copy { font-size: 0.8rem; color: var(--dim); }
.footer-stack { font-size: 0.78rem; color: var(--muted); }

/* ====================
   REVEAL ANIMATIONS
   ==================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding: 130px 48px 60px; gap: 48px; }
  .hero-right { justify-content: flex-start; }
  .code-window { max-width: 100%; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .skills-row-two { grid-template-columns: 1fr; }
  .projects-wip { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 800px) {
  .learning-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .learning-grid .bento-cell:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .learning-grid .bento-cell:nth-child(6) { grid-column: 1 / -1; }
  .completed-grid { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  /* Hide desktop nav-links on mobile */
  .nav-links { display: none !important; }
  .hamburger { display: flex; }
}

/* ---- Mobile Drawer ---- */
.mobile-drawer {
  display: none; /* hidden by default on all screens */
}
@media (max-width: 800px) {
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #111111;
    z-index: 998;
    padding-top: 72px;
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mobile-drawer.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .mobile-nav-list {
    list-style: none;
    padding: 8px 28px;
    border-top: 1px solid rgba(200,241,53,0.15);
  }
  .mobile-nav-link {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--muted);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
    letter-spacing: -0.01em;
  }
  .mobile-nav-list li:last-child .mobile-nav-link {
    border-bottom: none;
  }
  .mobile-nav-link:hover, .mobile-nav-link:active {
    color: var(--lime);
    padding-left: 8px;
  }
}

@media (max-width: 500px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 80px 0; }
  .hero-inner { padding: 120px 24px 60px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-big-title { font-size: 2.6rem; }
  .contact-title { font-size: 2.6rem; }
}

