/* --- DESIGN TOKENS --- */
:root {
  /* Light Theme */
  --bg-body: #eef0f4;
  --bg-card: #ffffff;
  /* Grid color for canvas use */
  --grid-color: rgba(0, 0, 0, 0.06);
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --accent: #2c3e50;
  --highlight: #3b82f6;
  --border: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "Space Mono", monospace;
  --font-body: "Inter", sans-serif;
  --radius: 12px;
  --cursor-size: 20px;
}

body.dark-mode {
  /* Dark Theme */
  --bg-body: #0a0a0a;
  --bg-card: #141414;
  --grid-color: rgba(255, 255, 255, 0.04);
  --text-main: #f0f0f0;
  --text-muted: #888888;
  --accent: #ffffff;
  --highlight: #00f0ff;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(20, 20, 20, 0.7);
  --shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.1);
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Hide default cursor globally */
}

::selection {
  background: var(--highlight);
  color: var(--bg-body);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  /* Removed static background-image to let canvas handle the grid */
  transition: background-color 0.5s ease;
}

/* Launch State */
body.locked {
  overflow: hidden;
}

/* --- GRAIN OVERLAY --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- BACKGROUND GRID CANVAS --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2; /* Behind everything */
  pointer-events: none;
}

/* --- CUSTOM CURSOR --- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border: 1px solid var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200000;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s,
    border-color 0.3s;
  mix-blend-mode: difference;
}

.cursor.hovered {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--highlight);
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background-color: var(--highlight);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200001;
  transform: translate(-50%, -50%);
}

/* --- LAUNCH SCREEN --- */
#launch-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-body);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.8s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.5s ease;
  cursor: none;
}

#launch-screen.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.rocket-container {
  position: relative;
  margin-bottom: 40px;
  transform-origin: bottom center;
  width: 160px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Rocket SVG */
.rocket-svg {
  width: 100px;
  height: 120px;
  filter: drop-shadow(0 0 8px var(--highlight));
  z-index: 2;
  position: relative;
}
.rocket-body {
  fill: #c0c0c0;
  stroke: var(--highlight);
  stroke-width: 1.5;
  transition: stroke 0.3s;
}
.dark-mode .rocket-body {
  fill: #2a2a2a;
  stroke: var(--highlight);
}
.rocket-fin {
  fill: #a0a0a0;
  stroke: var(--highlight);
  stroke-width: 1.2;
}
.dark-mode .rocket-fin {
  fill: #1e1e1e;
}
.rocket-window {
  fill: #00f0ff;
  opacity: 0.8;
  stroke: #0a0a0a;
  stroke-width: 1;
}
.dark-mode .rocket-window {
  stroke: #fff;
}

/* Fire Animation */
.rocket-flames {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.flame {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 30px solid #ffaa00;
  border-radius: 50% 50% 20% 20%;
  filter: blur(2px);
  opacity: 0.9;
  animation: flameFlicker 0.12s infinite alternate;
}
.flame-1 {
  border-bottom-color: #ff5500;
  border-left-width: 14px;
  border-right-width: 14px;
  border-bottom-width: 50px;
  bottom: -5px;
  filter: blur(4px);
  opacity: 0.7;
  animation-delay: 0.05s;
}
.flame-2 {
  border-bottom-color: #ffaa00;
  border-left-width: 10px;
  border-right-width: 10px;
  border-bottom-width: 40px;
  bottom: 0px;
  filter: blur(3px);
  opacity: 0.8;
  animation-delay: 0.1s;
}
.flame-3 {
  border-bottom-color: #ffe500;
  border-left-width: 6px;
  border-right-width: 6px;
  border-bottom-width: 28px;
  bottom: 5px;
  filter: blur(2px);
  opacity: 1;
  animation-delay: 0.2s;
}
.flame-4 {
  border-bottom-color: #ff3300;
  border-left-width: 18px;
  border-right-width: 18px;
  border-bottom-width: 60px;
  bottom: -15px;
  filter: blur(8px);
  opacity: 0.5;
  animation: flameFlicker 0.2s infinite alternate-reverse;
}
.flame-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #ffaa00, #ff3300);
  border-radius: 50%;
  bottom: -20px;
  filter: blur(2px);
  animation: spark 0.4s infinite;
  opacity: 0.7;
}
.particle1 {
  left: 10px;
  animation-delay: 0.1s;
  width: 8px;
  height: 8px;
}
.particle2 {
  left: -6px;
  animation-delay: 0.3s;
  width: 5px;
  height: 5px;
}
.particle3 {
  left: 20px;
  animation-delay: 0.5s;
  width: 7px;
  height: 7px;
}

@keyframes flameFlicker {
  0% {
    transform: scaleY(1) translateY(0px);
    opacity: 0.8;
  }
  100% {
    transform: scaleY(1.3) translateY(-5px);
    opacity: 1;
  }
}
@keyframes spark {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-30px) scale(0.2);
    opacity: 0;
  }
}
body.launching .rocket-svg {
  animation: rocket-shake 0.1s infinite;
}
body.launching .flame,
body.launching .flame-particle {
  animation-duration: 0.08s;
}
body.blastoff .rocket-container {
  animation: rocket-fly 1s cubic-bezier(0.6, 0, 1, 1) forwards;
}
@keyframes rocket-shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
@keyframes rocket-fly {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120vh);
  }
}

.launch-text {
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-align: center;
  min-height: 24px;
}
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--highlight);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 5px;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

#launch-btn {
  background: transparent;
  color: var(--highlight);
  border: 1px solid var(--highlight);
  padding: 15px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
#launch-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#launch-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--highlight);
  z-index: -1;
  transition: width 0.3s ease;
}
#launch-btn:hover {
  color: var(--bg-body);
  box-shadow: 0 0 20px var(--highlight);
}
#launch-btn:hover::before {
  width: 100%;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}
.highlight-text {
  color: var(--highlight);
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.highlight-text::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--highlight);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease-out;
}
.highlight-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  z-index: 100;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
}
nav.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
}
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.theme-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--highlight);
  z-index: -1;
  transition: width 0.3s ease;
}
.theme-toggle:hover::before {
  width: 100%;
}
.theme-toggle:hover {
  color: var(--bg-body);
  border-color: var(--highlight);
}
.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--highlight);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--highlight);
}
.theme-toggle:hover .status-dot {
  background-color: var(--bg-body);
  box-shadow: none;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
#hero-canvas.visible {
  opacity: 0.75;
}
.hero-label {
  color: var(--highlight);
  margin-bottom: 20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  color: var(--text-main);
  z-index: 2;
}
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
}
.hero-title.visible .char {
  opacity: 1;
  transform: translateY(0);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
  z-index: 2;
}
.hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
  z-index: 2;
}
.contact-pill-group.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-pill {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--bg-card);
  display: inline-block;
  transition: color 0.3s ease;
}

/* --- SECTIONS COMMON --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  padding-top: 100px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: help;
}
.section-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  color: var(--border);
  font-weight: 700;
  opacity: 0.5;
}

/* --- MIND BLOWING CARD STYLES --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Base Card Styling */
.tilt-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  /* Hide the default border, we will use pseudo-elements */
  border: 1px solid transparent;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  /* Smooth tilt reset */
  transition: transform 0.1s ease;
}

/* Dark mode adjustment for transparency */
body.dark-mode .tilt-card {
  background: rgba(20, 20, 20, 0.6);
}

/* 1. The Glowing Border (Spotlight) */
.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px; /* Width of the border */
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    var(--highlight),
    transparent 40%
  );
  /* Mask composite to show only the border area */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* 2. The Internal Sheen (Flashlight Effect) */
.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Reveal effects on hover */
.tilt-card:hover::before,
.tilt-card:hover::after {
  opacity: 1;
}

/* 3. Deep Parallax for Content */
.bento-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-content {
  position: relative;
  z-index: 3;
  transform: translateZ(40px); /* Lifts content off the card */
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 15px;
  pointer-events: none;
}
.bento-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bento-card li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--bg-body);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.bento-card li:hover {
  background: var(--highlight);
  color: #000;
  border-color: var(--highlight);
  transform: translateY(-2px);
}

/* --- EXPERIENCE TIMELINE --- */
.experience-list {
  display: flex;
  flex-direction: column;
}
.job-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 45px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.4s ease,
    border-color 0.4s ease,
    padding-left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}
.job-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.job-row:hover {
  background-color: var(--bg-card);
  padding-left: 25px;
  border-bottom-color: var(--highlight);
}
.job-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--highlight);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: top;
}
.job-row:hover::before {
  transform: scaleY(1);
}
.job-meta {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.job-row:hover .job-meta {
  color: var(--text-main);
}
.job-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--text-main);
}
.job-company {
  color: var(--highlight);
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 15px;
}
.job-details {
  list-style: none;
  color: var(--text-muted);
}
.job-details li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.job-details li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--highlight);
}

/* --- PROJECTS DIRECTORY LIST (NEW) --- */
.project-directory {
  display: flex;
  flex-direction: column;
  gap: 2px; /* Small gap for border illusion */
}

.project-item {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  padding: 35px 20px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.5fr 2fr 1.5fr 0.2fr;
  align-items: center;
  cursor: none; /* Custom cursor */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent;
  overflow: hidden;
}

/* 1. Spotlight Effect specifically for List Items */
.project-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(59, 130, 246, 0.08),
    /* Blueish glow */ transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
body.dark-mode .project-item::before {
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 240, 255, 0.08),
    transparent 40%
  );
}

.project-item:hover::before {
  opacity: 1;
}

/* 2. Focus Mode (Dim others) */
.project-directory:hover .project-item {
  opacity: 0.4;
  filter: blur(1px);
}
.project-directory:hover .project-item:hover {
  opacity: 1;
  filter: blur(0);
  background: rgba(255, 255, 255, 0.02);
  padding-left: 30px; /* Slide interaction */
}

.p-index {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.5;
}

.p-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.p-tech {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.p-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.project-item:hover .p-tag {
  border-color: var(--highlight);
  color: var(--highlight);
  background: rgba(59, 130, 246, 0.1);
}

.p-arrow {
  font-size: 1.5rem;
  color: var(--highlight);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}
.project-item:hover .p-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Accordion Description (Hidden by default) */
.p-details {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  padding-left: 0.5fr; /* Align with title roughly */
}

.project-item:hover .p-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 20px;
}

/* --- FOOTER --- */
footer {
  margin-top: 100px;
  border-top: 1px solid var(--border);
  padding: 50px 0;
  text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .job-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 10px;
  }
  .p-index {
    display: none;
  }
  .p-arrow {
    display: none;
  }
  .p-details {
    padding-left: 0;
  }
  .nav-brand span {
    display: none;
  }
  #hero-canvas {
    width: 100%;
    right: 0;
    top: 20%;
    opacity: 0.3;
  }
  .cursor,
  .cursor-dot {
    display: none;
  }
  * {
    cursor: auto;
  }
}
