:root {
  --bg: #0a0a0a;
  --surface: #111;
  --border: #222;
  --accent: #e8ff47;
  --accent2: #ff4d6d;
  --text: #f0f0f0;
  --muted: #666;
  --card-bg: #131313;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 255, 71, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease;
}

body:hover .cursor {
  transform: translate(-50%, -50%);
}

/* Ensure interactive elements don't show default cursor */
a, button, .btn, [role="button"], input, select, textarea {
  cursor: none;
}

/* Noise overlay */
body::before {
  content: '';
  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: 9990;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeDown 0.8s ease both;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  /* font-size: 11px; */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18vw, 22vw, 28rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px #1e1e1e;
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  user-select: none;
  pointer-events: none;
  animation: fadeIn 1.5s ease both 0.3s;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both 0.2s;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  max-width: 900px;
  animation: fadeUp 0.8s ease both 0.4s;
}

.hero-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-sub {
  margin-top: 2rem;
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease both 0.6s;
}

.hero-image {
  position: absolute;
  right: 25%;
  top: 60%;
  transform: translateY(-30%);
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 50%;
}

.hero-image img {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.hero-links {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.8s ease both 0.8s;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.9rem 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent2);
}

.btn-ghost {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text);
}

/* MARQUEE */
.marquee-wrap {
  background: var(--accent);
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.8rem 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 45s linear infinite;
  gap: 3rem;
}

.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  padding-right: 3rem;
}

.marquee-track .dot {
  color: var(--accent2);
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.about-left {
  padding: 5rem 3rem;
  border-right: 1px solid var(--border);
}

.about-right {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.about-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-title strong {
  font-weight: 700;
  color: var(--accent);
}

.about-left p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 13px;
  margin-bottom: 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.skill-item {
  background: var(--card-bg);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-name {
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.1em;
}

.skill-bar {
  height: 2px;
  background: var(--border);
  position: relative;
}

.skill-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  animation: grow 1.5s ease both;
}

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

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.about-right .career-cta {
  margin-top: 13rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.about-right .career-text {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-right .career-btn {
  display: inline-block;
  margin-top: 0.5rem;
}

/* PROJECTS */
.projects {
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.projects-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.project-card {
  background: var(--card-bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.project-card--placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  background: #161616;
}

.project-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 1rem;
  transition: border-color 0.2s, color 0.2s;
}

.project-image {
  margin-bottom: 1.5rem;
}

.project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.project-card:hover .tag {
  border-color: var(--accent);
  color: var(--accent);
}

.project-card:hover .project-num {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.project-name {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.project-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  flex: 1;
}

.project-link {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

.project-link a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.project-link a:hover {
  opacity: 0.8;
  color: var(--accent);
}

.project-link a i {
  font-size: 14px;
  width: 1.2em;
  text-align: center;
  color: inherit;
}

.project-card--placeholder .placeholder-content {
  text-align: center;
  width: 100%;
}

.project-card--placeholder .placeholder-icon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: #1f1f1f;
  margin-bottom: 0.5rem;
  line-height: 1;
  transition: color 0.3s ease;
}

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

.project-card--placeholder .placeholder-text {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* SKILLS SECTION */
.skills {
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}

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

.skills h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  margin-bottom: 3rem;
}

.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: none;
  border: none;
  margin-top: 0;
}

.skill-category {
  background: var(--card-bg);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.skill-category:hover {
  background: #161616;
}


.skill-category h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.skill-category li:last-child {
  border-bottom: none;
}

/* CONTACT */
.contact {
  padding: 6rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact .container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.contact-bg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(15vw, 20vw, 24rem);
  color: transparent;
  -webkit-text-stroke: 1px #151515;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.contact-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.contact-email {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-item:hover {
  color: var(--accent);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span {
  font-size: 11px;
  color: var(--muted);
}

.footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes grow {
  from {
    width: 0;
  }
  to {
    width: var(--w, 80%);
  }
}

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

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* RESPONSIVE */
@media (max-width: 412px) {
  nav {
    padding: 1rem 1.2rem;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 10px;
    min-height: 90vh;
  }

  .hero-number {
    font-size: 45vh;
  }

  .hero-image {
    position: relative;
    transform: translateY(-220%);
    right: -70%;
    width: 100px;
    height: 100px;
  }


  .hero-image img {
    width: 100px;
    height: 100px;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 3rem 1.5rem;
  }

  .about-right {
    padding: 3rem 1.5rem;
  }

  .projects {
    padding: 3rem 1.5rem;
  }

  .skills {
    padding: 3rem 1.5rem;
  }

  .skills .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 4rem 1.5rem;
  }

  footer {
    padding: 1.2rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
