* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b0e13;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0e13;
  color: #e6e6e6;
  font-family: Inter, sans-serif;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 10vw;
  display: flex;
  justify-content: space-between;
  background: rgba(11,14,19,0.6);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.navbar a {
  color: #9aa0a6;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
}

.navbar a:hover {
  color: #e6e6e6;
}

.container {
  padding: 140px 10vw 80px;
  display: flex;
  flex-direction: column;
  gap: 90px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.subtitle {
  color: #9aa0a6;
  font-family: JetBrains Mono, monospace;
  margin-top: 10px;
}

.traits {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trait {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

section h2 {
  margin-bottom: 24px;
}

.focus-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.project-card {
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
}

.project-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) brightness(0.9);
}

.project-content {
  padding: 20px;
}

.project-long {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

.project-card:hover .project-long {
  max-height: 200px;
  opacity: 1;
}

.journey-item {
  border-left: 2px solid rgba(255,255,255,0.08);
  padding-left: 20px;
  margin-bottom: 26px;
}

.contact-links a {
  margin-right: 20px;
  color: #9aa0a6;
  text-decoration: none;
}

.contact-links a:hover {
  color: #e6e6e6;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  font-family: JetBrains Mono, monospace;
  color: #6f7680;
  padding-top: 40px;
}

/* BACKGROUND */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px at 20% 30%, rgba(70,90,255,0.15), transparent 60%),
    radial-gradient(800px at 80% 70%, rgba(0,200,160,0.12), transparent 60%);
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
/* Hide default cursor */

/* X cursor */
.cursor-x {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;

  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);

  transform: translate(-50%, -50%);
}

/* Lagging circle */
.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;

  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid rgba(255, 255, 255, 0.35);

  pointer-events: none;
  z-index: 9998;

  transform: translate(-50%, -50%);
}


