/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:       #090909;
  --surface:  #111116;
  --surface2: #18181f;
  --border:   rgba(255,255,255,0.07);
  --accent:   #00a3ff;
  --accent2:  #FF4D00;
  --text:     #EFEFEF;
  --muted:    #555;
  --muted2:   #888;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ─── CURSOR ────────────────────────────────────────────────────── */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(0,163,255,0.4);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s, height 0.25s, border-color 0.25s;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(0,163,255,0.8);
}

/* ─── SCROLL PROGRESS ───────────────────────────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 9997;
  height: 2px; width: 0%; background: var(--accent);
  transition: width 0.1s linear;
}

/* ─── NOISE OVERLAY ─────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9996;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── NAV ───────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 24px; left: 50%; z-index: 1000;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: rgba(17,17,22,0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 7px 18px;
  border-radius: 100px;
  color: var(--muted2);
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a.active { color: #fff; background: var(--accent); }

/* ─── SECTIONS ───────────────────────────────────────────────────── */
section { padding: 120px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '//';
  color: var(--muted);
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ─── REVEAL ANIMATION ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ──────────────────────────────────────────────────────────────────
   HERO
─────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,163,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,163,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute; top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,163,255,0.07), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.3s forwards;
}
.hero-name {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  overflow: hidden;
}
.hero-name span {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: slideUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-name span:nth-child(1) { animation-delay: 0.4s; }
.hero-name span:nth-child(2) {
  animation-delay: 0.55s;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted2);
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s 0.9s forwards;
  font-weight: 300;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-available {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  margin-bottom: 32px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.6s 1s forwards;
}
.available-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
}
.available-text { color: #4ADE80; font-weight: 500; }
.available-meta { color: var(--muted2); letter-spacing: 0.05em; }
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 1.2s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem; letter-spacing: 0.08em;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,163,255,0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  color: var(--muted2);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem; letter-spacing: 0.08em;
  padding: 14px 28px; border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--text); color: var(--text);
  transform: translateY(-2px);
}
.hero-socials {
  position: absolute; right: 32px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 1.3s forwards;
}
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.social-link:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-3px);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 1.5s forwards;
}
.hero-scroll span {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ──────────────────────────────────────────────────────────────────
   ABOUT
─────────────────────────────────────────────────────────────────── */
#about .about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}
.timelines-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.about-photo-wrap {
  position: relative;
}
.about-photo-wrap img {
  width: 100%;
  border-radius: 16px;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.about-photo-wrap:hover img { filter: grayscale(0%); }
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 20px;
  pointer-events: none;
}
.about-accent-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500;
}
.about-text p {
  color: var(--muted2);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.timeline { margin-top: 40px; }
.timeline-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.timeline-entry {
  display: flex; gap: 20px;
  padding-bottom: 24px;
  border-left: 1px solid var(--border);
  margin-left: 8px;
  padding-left: 24px;
  position: relative;
}
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -5px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--muted);
}
.timeline-entry.highlight::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0,163,255,0.5);
}
.timeline-year {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 155px;
}
.timeline-role { font-size: 0.95rem; font-weight: 500; margin-bottom: 2px; }
.timeline-place { font-size: 0.82rem; color: var(--muted2); }

/* ──────────────────────────────────────────────────────────────────
   SKILLS
─────────────────────────────────────────────────────────────────── */
#skills .skills-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap; gap: 20px;
}
.skill-category-block { margin-bottom: 40px; }
.skill-cat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.skill-cat-label::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}
.skills-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.skill-chip {
  --chip-color: var(--accent);
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.skill-chip::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--chip-color, var(--accent));
  opacity: 0;
  transition: opacity 0.2s;
}
.skill-chip:hover {
  transform: translateY(-2px);
  border-color: var(--chip-color, var(--accent));
  z-index: 1;
}
.skill-chip:hover::before { opacity: 0.07; }
.skill-chip i, .skill-chip svg { font-size: 1.1rem; position: relative; z-index: 1; }
.skill-chip span { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────────────
   PROJECTS
─────────────────────────────────────────────────────────────────── */
#projects .projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; flex-wrap: wrap; gap: 20px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s;
  cursor: none;
}
.project-card:first-child {
  grid-column: span 2;
}
.project-card:hover { border-color: rgba(0,163,255,0.3); }
.project-img {
  width: 100%; height: 240px;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.7);
  transition: filter 0.5s, transform 0.5s;
}
.project-card:first-child .project-img { height: 360px; }
.project-card:hover .project-img {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.03);
}
.project-body {
  padding: 24px;
  position: relative;
}
.project-badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--accent2); color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 100px;
}
.project-badge.done { background: var(--accent); color: #fff; }
.project-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 4px;
}
.project-desc {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--muted2);
  border: 1px solid var(--border);
}
.project-links { display: flex; gap: 12px; }
.proj-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted2);
  transition: all 0.2s;
}
.proj-link:hover { border-color: var(--text); color: var(--text); }
.proj-link.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.proj-link.primary:hover { box-shadow: 0 4px 20px rgba(0,163,255,0.3); }
.projects-section-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 48px 0 24px;
}
.projects-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.project-card-small {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}
.project-card-small:hover {
  border-color: rgba(0,163,255,0.3);
  background: var(--surface2);
}
.card-small-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.card-small-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.card-small-desc {
  font-size: 0.82rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ──────────────────────────────────────────────────────────────────
   HOMELAB
─────────────────────────────────────────────────────────────────── */
#homelab .homelab-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.homelab-info { }
.homelab-desc {
  color: var(--muted2);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.network-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.net-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.82rem;
}
.net-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.terminal {
  background: #0D0F14;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'DM Mono', monospace;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.term-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.term-dot:nth-child(1) { background: #FF5F57; }
.term-dot:nth-child(2) { background: #FFBD2E; }
.term-dot:nth-child(3) { background: #28C840; }
.term-title {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 8px;
}
.terminal-body {
  padding: 20px;
  font-size: 0.8rem;
  line-height: 1.9;
}
.term-prompt { color: var(--accent); }
.term-cmd { color: var(--text); }
.term-comment { color: var(--muted); }
.term-service {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px; margin: 2px 0;
  border-radius: 4px;
  transition: background 0.15s;
}
.term-service:hover { background: rgba(255,255,255,0.04); }
.term-service-name { color: #7DD3FC; }
.term-service-desc { color: var(--muted); font-size: 0.72rem; }
.term-status {
  display: inline-flex; align-items: center; gap: 5px;
  color: #4ADE80;
  font-size: 0.7rem;
}
.status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}
.term-section { color: var(--muted2); margin-top: 8px; }

/* ──────────────────────────────────────────────────────────────────
   CONTACT
─────────────────────────────────────────────────────────────────── */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.contact-text { max-width: 500px; }
.contact-big {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
}
.contact-big .highlight {
  color: var(--accent);
}
.contact-sub {
  color: var(--muted2);
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 260px;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-link:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-link-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-icon svg { width: 18px; height: 18px; fill: var(--muted2); }
.contact-link-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted); letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.contact-link-value { font-size: 0.9rem; font-weight: 500; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
footer p {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.footer-accent { color: var(--accent); }

/* ─── KEYFRAMES ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(110%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* ─── HAMBURGER ──────────────────────────────────────────────────── */
#hamburger {
  display: none;
  position: fixed; top: 20px; right: 20px; z-index: 1100;
  width: 44px; height: 44px;
  background: rgba(17,17,22,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: none;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}
#hamburger:hover { border-color: var(--accent); }
#hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.2s;
  transform-origin: center;
}
#hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU OVERLAY ────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(9,9,9,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu a {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.03em;
  transition: color 0.2s;
  transform: translateY(20px);
  opacity: 0;
  transition: color 0.2s, transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
}
#mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
#mobile-menu a:hover { color: var(--accent); }
#mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open a:nth-child(2) { transition-delay: 0.10s; }
#mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open a:nth-child(4) { transition-delay: 0.20s; }
#mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
#mobile-menu.open a:nth-child(6) { transition-delay: 0.30s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #about .about-grid { grid-template-columns: 1fr; }
  .timelines-row { grid-template-columns: 1fr; gap: 0; }
  .about-photo-wrap { max-width: 300px; }
  .hero-socials { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: span 1; }
  .projects-grid-small { grid-template-columns: 1fr; }
  #homelab .homelab-layout { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; }
  nav { display: none; }
  #hamburger { display: flex; cursor: pointer; }
  #mobile-menu { display: flex; }
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (max-width: 600px) {
  section { padding: 80px 0; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero-available {
    font-size: 0.7rem;
    padding: 7px 14px;
    gap: 8px;
    max-width: 100%;
  }
  .available-text, .available-meta { white-space: nowrap; }
  footer { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .hero-available {
    font-size: 0.62rem;
    padding: 6px 12px;
    gap: 7px;
  }
  .available-dot { width: 6px; height: 6px; }
}
@media (max-width: 340px) {
  .hero-available { font-size: 0.58rem; padding: 5px 10px; gap: 6px; }
  .available-meta { display: none; }
}
