/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --bg-alt: #0c0c0c;
  --bg-card: #0f0f0f;
  --text: #c0c0c0;
  --text-light: #787878;
  --text-muted: #3f3f3f;
  --green: #39ff14;
  --red: #ff3b3b;
  --accent: #d8d8d8;
  --accent-light: #a0a0a0;
  --accent-dim: rgba(255, 255, 255, 0.04);
  --glow: rgba(57, 255, 20, 0.22);
  --glow-strong: rgba(57, 255, 20, 0.45);
  --border: #1c1c1c;
  --border-hover: #444444;
  --radius: 0px;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body *, body a, body button, body input, body select, body textarea {
  cursor: none !important;
}

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

strong {
  color: var(--text);
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--text);
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::before {
  content: '[';
  color: var(--text-light);
  opacity: 0;
  transition: opacity 0.15s ease;
  margin-right: 2px;
}

.nav-links a::after {
  content: ']';
  color: var(--text-light);
  opacity: 0;
  transition: opacity 0.15s ease;
  margin-left: 2px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
  opacity: 1;
}

.nav-resume-btn {
  color: var(--red) !important;
  border: 1px solid var(--red) !important;
  padding: 0.3rem 0.9rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  transition: all 0.2s ease !important;
}

.nav-resume-btn::before,
.nav-resume-btn::after {
  display: none !important;
}

.nav-resume-btn:hover {
  background: var(--red) !important;
  color: var(--bg) !important;
  box-shadow: 0 0 14px rgba(255, 59, 59, 0.4) !important;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1000px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-greeting {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.hero-name {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cursor-blink {
  color: var(--green);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.hero-meta span {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.hero-meta span::before {
  content: '> ';
  color: var(--text-muted);
}

.hero-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 0.65rem 1.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.hero-cta:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 24px var(--glow);
}

/* ASCII Collage — 3-panel portrait */
.ascii-collage {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  width: 480px;
  height: 460px;
}

.ascii-panel {
  overflow: hidden;
  border: 1px solid #222;
  background: transparent;
  position: relative;
}

.ascii-panel--large {
  grid-row: 1 / 3;
}

.ascii-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: opacity 0.3s ease;
  clip-path: inset(0 0 100% 0);
  animation: asciiReveal 1s steps(50, end) forwards 0.4s;
}

.ascii-panel:hover img {
  opacity: 0.9;
}

/* Scan line sweeps down as image generates */
.ascii-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 6px var(--green), 0 0 2px var(--green);
  opacity: 0;
  animation: asciiScanLine 1s linear forwards 0.4s;
  pointer-events: none;
  z-index: 2;
}

@keyframes asciiReveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}

@keyframes asciiScanLine {
  0%   { top: 0%;   opacity: 1; }
  96%  { top: 100%; opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 30px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  padding-top: 5px;
  z-index: 1;
}

.scroll-dot {
  width: 2px;
  height: 6px;
  background: var(--text-light);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: 0.2; }
}

/* ========== Sections ========== */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: left;
  color: var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title::before {
  content: '// ';
  color: var(--text-muted);
  font-weight: 400;
}

.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 0.75rem;
}

/* ========== About ========== */
.about {
  background: transparent;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-photo-wrapper {
  display: none;
}

.about-text {
  margin-bottom: 2.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.87rem;
  line-height: 1.85;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-detail-group h3 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.about-detail-group h3::before {
  content: '> ';
  color: var(--text-muted);
  font-weight: 400;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 400;
  padding: 0.22rem 0.65rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.15s ease;
  letter-spacing: 0.04em;
  display: inline-block;
  text-decoration: none;
  cursor: none;
}

.skill-tag:hover {
  border-color: #666;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.beyond-code {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.beyond-code h3 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.beyond-code h3::before {
  content: '> ';
  color: var(--text-muted);
  font-weight: 400;
}

.beyond-code p {
  color: var(--text-light);
  font-size: 0.87rem;
  line-height: 1.85;
}

/* ========== Experience Timeline ========== */
.experience {
  background: transparent;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -1.75rem;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  z-index: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.timeline-item:hover .timeline-marker {
  background: var(--text-light);
  border-color: var(--text-light);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  padding: 1.25rem;
  transition: border-color 0.2s ease, border-left-color 0.2s ease;
}

.timeline-content:hover {
  border-left-color: #444;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.timeline-header h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.timeline-place {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.timeline-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.timeline-content p:last-child {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== Projects ========== */
.projects {
  background: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  counter-reset: project-counter;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: border-color 0.2s ease;
  position: relative;
  counter-increment: project-counter;
}

.project-card::after {
  content: counter(project-counter, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.project-card:hover {
  border-color: #444;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.project-icon {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.project-card:hover .project-icon {
  color: var(--text);
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.project-links a:hover {
  color: var(--text);
}

.project-title {
  font-size: 0.87rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-description {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  font-size: 0.65rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-tags span {
  border-color: #3a3a3a;
  color: var(--text-light);
}

/* ========== Contact ========== */
.contact {
  background: transparent;
  text-align: center;
}

.contact-content {
  max-width: 500px;
  margin: 0 auto;
}

.contact-content > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.87rem;
  line-height: 1.85;
}

.contact-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #080808;
  background: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.75rem 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #080808;
  box-shadow: 0 0 24px var(--glow);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn-outline {
  background: var(--red);
  color: #ffffff;
  border: 1px solid var(--red);
}

.contact-btn-outline:hover {
  background: #ff6b6b;
  border-color: #ff6b6b;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 59, 59, 0.4);
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.contact-socials a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.contact-socials a:hover {
  color: var(--text);
}

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  letter-spacing: 0.06em;
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav { padding: 0.75rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .section { padding: 4rem 1.5rem; }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .hero-meta { align-items: center; }
  .ascii-collage {
    width: 100%;
    max-width: 340px;
    height: 280px;
    margin: 0 auto;
  }
  .hero-scroll-indicator { display: none; }

  .projects-grid { grid-template-columns: 1fr; }
  .about-details { grid-template-columns: 1fr; }
  .timeline-header { flex-direction: column; gap: 0.15rem; }
}

@media (max-width: 480px) {
  .nav-links a { font-size: 0.7rem; }
}

/* ========== Project Pages ========== */
.project-page-hero {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.back-link:hover { color: var(--text); }

.project-page-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.project-page-subtitle {
  color: var(--text-light);
  font-size: 0.87rem;
  max-width: 600px;
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.project-page-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.project-page-tags span {
  font-size: 0.7rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Gallery */
.project-gallery-section {
  padding: 4rem 2rem;
  background: transparent;
}

.project-gallery-section .section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  text-align: center;
  margin-bottom: 2rem;
}

.project-gallery-section .section-label::before {
  content: '// ';
  color: var(--text-muted);
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s ease;
}

.gallery-item:hover { border-color: #444; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img { opacity: 0.88; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  gap: 0.5rem;
  border: 1px dashed var(--border);
  letter-spacing: 0.05em;
}

.gallery-placeholder svg { opacity: 0.3; }

/* Content */
.project-content-section {
  padding: 4rem 2rem;
  background: transparent;
}

.project-content-inner {
  max-width: 780px;
  margin: 0 auto;
}

.project-content-inner h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.project-content-inner h2:first-child { margin-top: 0; }

.project-content-inner h2::before {
  content: '// ';
  color: var(--text-muted);
  font-weight: 400;
}

.project-content-inner p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 0.87rem;
}

.project-content-inner ul {
  color: var(--text-light);
  line-height: 1.85;
  padding-left: 0;
  margin-bottom: 1rem;
  font-size: 0.87rem;
  list-style: none;
}

.project-content-inner ul li {
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-content-inner ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.project-content-inner table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 0;
}

.project-content-inner th {
  text-align: left;
  padding: 0.5rem 1rem 0.5rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.project-content-inner td {
  padding: 0.55rem 1rem 0.55rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.project-content-inner td:first-child { color: var(--text-light); }

/* Docs */
.project-docs-section {
  padding: 3rem 2rem 4rem;
  background: transparent;
}

.project-docs-section .section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.5rem;
}

.project-docs-section .section-label::before {
  content: '// ';
  color: var(--text-muted);
  font-weight: 400;
}

.docs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 780px;
  margin: 0 auto;
}

.doc-card, .doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.78rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.doc-card:hover, .doc-link:hover {
  border-color: #444;
  color: var(--text);
}

.doc-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

/* Back nav */
.project-footer-nav {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: transparent;
}

.project-footer-nav a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.06em;
}

.project-footer-nav a:hover { color: var(--text); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.25rem;
  padding: 0.25rem 0.7rem;
  line-height: 1;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.lightbox-close:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ========== ASCII Background Canvas ========== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ========== Custom Cursor ========== */
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 6px var(--green);
  transition: opacity 0.2s ease;
}

/* cursor ring removed — replaced by ASCII trail glow */

/* ========== Scroll Progress Bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  z-index: 200;
  width: 0%;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ========== Hero Status ========== */
.hero-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ========== About Stats ========== */
.about-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== Certifications ========== */
.certs {
  background: transparent;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

.cert-item:hover {
  border-color: #444;
}

.cert-badge {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.cert-name {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.cert-year {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.cert-soon {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 1.5rem 0;
}

/* ========== Toast Notification ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.6rem 1.25rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 500;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
