@charset "UTF-8";

:root {
  /* MONOCHROME SYSTEM — stark, not muddy */
  --void:       #030303;   /* pure black for backdrops */
  --obsidian:   #080808;   /* body background */
  --carbon:     #111111;   /* card surfaces */
  --graphite:   #1A1A1A;   /* elevated surfaces */
  --iron:       #2A2A2A;   /* borders, dividers */
  --ash:        #3A3A3A;   /* subtle borders */
  --smoke:      #555555;   /* muted text, decorative */
  --silver:     #999999;   /* secondary text */
  --fog:        #BBBBBB;   /* tertiary text */
  --bone:       #E0E0E0;   /* body text */
  --ghost:      #F5F5F5;   /* high contrast text */
  --pure:       #FFFFFF;   /* headings, critical UI */

  /* ACCENT — exactly ONE, used sparingly like a scalpel */
  --signal:     #E8E8E8;   /* near-white accent for active states */
  --signal-dim: rgba(232, 232, 232, 0.08);

  /* FUNCTIONAL */
  --error:      #FF3333;
  --warn:       #FF9900;
  --ok:         #33FF99; /* used only in micro-feedback, never decoratively */

  /* Typography Scale */
  --font-display:  'Bebas Neue', 'Impact', sans-serif;
  --font-body:     'Barlow', 'Helvetica Neue', sans-serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: initial; /* Managed by GSAP */
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide default cursor on desktop */
@media (hover: hover) {
  body { cursor: none; }
}

::selection {
  background: var(--pure);
  color: var(--void);
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--obsidian);
  border-left: 1px solid var(--iron);
}
::-webkit-scrollbar-thumb {
  background: var(--smoke);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--silver);
}
::-webkit-scrollbar-corner {
  background: var(--obsidian);
}

/* TYPOGRAPHY UTILITIES */
.type-display { 
  font-family: var(--font-display); 
  font-size: clamp(72px, 14vw, 180px); 
  line-height: 0.9; 
  letter-spacing: -0.01em; 
  text-transform: uppercase; 
  color: var(--pure); 
  font-weight: 400; /* Bebas Neue is 400 */
}

.type-overline { 
  font-family: var(--font-mono); 
  font-size: 11px; 
  letter-spacing: 0.25em; 
  text-transform: uppercase; 
  color: var(--smoke); 
  font-weight: 400; 
}

.type-body { 
  font-family: var(--font-body); 
  font-size: clamp(15px, 1.8vw, 18px); 
  line-height: 1.75; 
  color: var(--bone); 
  font-weight: 300; 
}

.type-data { 
  font-family: var(--font-mono); 
  font-size: 13px; 
  color: var(--silver); 
  letter-spacing: 0.1em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--pure);
}

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

ul, ol {
  list-style: none;
}

/* LAYOUT ARCHITECTURE */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 120px);
  position: relative;
  z-index: 10;
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  background: rgba(5, 5, 5, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 3vw, 40px);
}

/* GLOBAL ELEMENTS */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--pure);
}

#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}



body.orb-mode #three-canvas {
  pointer-events: auto;
  cursor: grab;
  z-index: 10;
}
body.orb-mode #three-canvas:active {
  cursor: grabbing;
}

body.orb-mode .main-nav,
body.orb-mode main,
body.orb-mode footer {
  pointer-events: none;
}

/* ORB INTERACTION MODE */
.orb-showcase-section {
  height: 65vh; /* Dedicated empty space for the orb */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.orb-trigger-wrapper {
  text-align: center;
}

.orb-trigger-btn {
  background: rgba(5, 5, 5, 0.4);
  border: 1px solid var(--smoke);
  color: var(--silver);
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  letter-spacing: 0.15em;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.orb-trigger-btn:hover {
  border-color: var(--pure);
  color: var(--void);
  background: var(--pure);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.orb-close-btn {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 9999;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid var(--pure);
  color: var(--pure);
  padding: 12px 24px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  backdrop-filter: blur(8px);
}

body.orb-mode .orb-close-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* NAV CSS */
.main-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 300;
  mix-blend-mode: normal;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.main-nav.nav--scrolled {
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--iron);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pure);
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo-sep { color: var(--smoke); }
.nav-logo-domain { color: var(--silver); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link { 
  position: relative; 
  padding: 4px 0 4px 12px; 
  font-family: var(--font-mono); 
  font-size: 12px; 
  letter-spacing: 0.08em; 
  color: var(--silver); 
  transition: color 0.2s; 
  text-transform: uppercase;
}
.nav-link::before { 
  content: ''; 
  position: absolute; 
  left: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 2px; 
  height: 0; 
  background: var(--pure); 
  transition: height 0.3s ease; 
}
.nav-link:hover, .nav-link.active { color: var(--pure); }
.nav-link.active::before { height: 16px; }

.nav-status {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push to right if nav-links are centered, else just normal flow */
}

.nav-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); margin-right: 8px; display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(51, 255, 153, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(51, 255, 153, 0); }
}
.nav-status-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 400;
  padding: 8px;
}

/* HERO SECTION CSS */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px; 
}

.hero-line-reveal {
  position: fixed;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--pure);
  z-index: 100;
}

.hero-overline {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.overline-sep { color: var(--iron); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--pure);
  margin: 0 0 24px 0;
  display: flex;
  flex-wrap: wrap;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.15em;
}
.word-inner {
  display: inline-block;
}

.hero-roles {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  padding: 12px 0;
  margin: 32px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.roles-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
}

.roles-track span { margin-right: 24px; display: inline-block; }
.role-sep { color: var(--smoke); margin-right: 24px; }

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

.hero-descriptor {
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.social-row {
  display: flex;
  gap: 16px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--iron);
  color: var(--silver);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--pure);
  color: var(--pure);
}
.social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--smoke), transparent);
  animation: line-drop 2s ease-in-out infinite;
}

@keyframes line-drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* SECTION TITLES */
.section-overline {
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  margin-bottom: 64px;
}
.section-title-ghost {
  position: absolute;
  top: -0.1em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 400px);
  color: rgba(255,255,255,0.03);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 0; 
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--pure);
  color: var(--void);
  border-color: var(--pure);
}
.btn-primary:hover {
  background: var(--void);
  color: var(--pure);
}

.btn-ghost {
  background: transparent;
  color: var(--bone); /* Much brighter than silver */
  border-color: var(--smoke); /* Brighter border */
}
.btn-ghost:hover {
  background: var(--carbon); /* Subtle fill */
  border-color: var(--pure);
  color: var(--pure);
}

.btn-outline {
  background: transparent;
  color: var(--silver); /* Brighter than smoke */
  border-color: var(--ash); /* Brighter border */
}
.btn-outline:hover {
  border-color: var(--bone);
  color: var(--pure);
  background: rgba(255, 255, 255, 0.05);
}

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 0;
  border-top: 1px solid var(--iron);
  border-bottom: 1px solid var(--iron);
  margin: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
  border-left: 1px solid var(--iron);
}
.stat-item:first-child { border-left: none; }
.stat-number { color: var(--pure); }
.stat-label { color: var(--silver); }

/* ABOUT SECTION */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.intro-text {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.4;
  color: var(--pure);
  font-weight: 300;
  max-width: 1000px;
}
.subsection-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 32px;
  font-weight: 400;
}
.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 80px;
}
.tech-icon svg, .tech-icon img {
  width: 48px;
  height: 48px;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.2s;
}
.tech-icon:hover svg, .tech-icon:hover img {
  filter: grayscale(0%) brightness(1);
}
.tech-icon span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver);
  text-transform: uppercase;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.spec-card {
  background: var(--carbon);
  border: 1px solid var(--iron);
  padding: 40px;
  border-radius: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.spec-card:hover {
  border-color: var(--ash);
  transform: translateY(-6px);
}
.spec-icon {
  width: 32px; height: 32px; fill: var(--pure); margin-bottom: 24px;
}
.spec-card h4 {
  font-family: var(--font-mono);
  font-size: 18px; 
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.spec-card p {
  color: var(--silver); 
  font-family: var(--font-body);
  font-size: 15px;
}

/* PROJECTS SECTION */
.projects-grid, .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}
.project-card {
  background: var(--carbon);
  border: 1px solid var(--iron);
  border-radius: 0; 
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.project-card::before {
  content: attr(data-index);
  position: absolute;
  top: -0.1em;
  right: 0.05em;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.project-card:hover {
  border-color: var(--ash);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.project-divider {
  width: 40px;
  height: 1px;
  background: var(--iron);
  margin: 16px 0 24px;
  transition: width 0.4s ease;
}
.project-card:hover .project-divider {
  width: 80px;
}
.project-title {
  font-size: 24px; margin-bottom: 16px; z-index: 1; position: relative;
}
.project-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; z-index: 1; position: relative;
}
.project-badges .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--iron);
  color: var(--silver);
}
.project-description {
  color: var(--silver); margin-bottom: 32px; z-index: 1; position: relative; flex-grow: 1;
}
/* Abstract CSS geometry for thumbnail replacement */
.project-visual {
  height: 160px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--iron) 25%, transparent 25%) -50px 0,
              linear-gradient(225deg, var(--iron) 25%, transparent 25%) -50px 0,
              linear-gradient(315deg, var(--iron) 25%, transparent 25%),
              linear-gradient(45deg, var(--iron) 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: var(--carbon);
  opacity: 0.3;
  z-index: 1; position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
  transition: opacity 0.3s ease;
}
.project-card:hover .project-visual { opacity: 0.6; }

/* SKILLS SECTION */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}
.skill-group-immersive {
  background: var(--carbon);
  border: 1px solid var(--iron);
  border-radius: 0;
  padding: 40px;
  transition: border-color 0.2s;
}
.skill-group-immersive:hover {
  border-color: var(--ash);
}
.skill-list-immersive {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.skill-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--iron);
  border-radius: 0;
  color: var(--silver);
  background: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}
.skill-pill:hover {
  background: var(--pure);
  color: var(--void);
  border-color: var(--pure);
}
.skill-pill.learning {
  border-style: dashed;
  color: var(--fog);
}

/* SERVICES SECTION */
.services-section {
  position: relative;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, transparent 70%);
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--iron) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}
.service-card {
  border: 1px solid var(--iron);
  padding: 40px;
  background: var(--obsidian);
  border-radius: 0;
}
.service-icon {
  width: 40px; height: 40px; fill: var(--pure); margin-bottom: 24px;
}
.service-card h3 {
  font-size: 24px; margin-bottom: 16px;
}

/* CONTACT SECTION */
.contact-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 64px;
}
.form-wrapper {
  display: flex;
  flex-direction: column;
}
.form-group {
  margin-bottom: 32px;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--iron);
  background: var(--void);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--pure);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--pure);
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-info .contact-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  color: var(--pure);
}
.contact-info .contact-email {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 24px);
  color: var(--pure);
  word-break: break-all;
}
.contact-info .contact-desc {
  color: var(--silver);
}
.contact-social-icons {
  display: flex;
  gap: 24px;
}
.contact-social-icons .social-link {
  width: 56px; height: 56px;
}
.contact-social-icons .social-icon {
  width: 24px; height: 24px;
}

/* LOADING SCREEN */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--void);
  display: flex; align-items: center; justify-content: center;
}
.loading-inner {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
}
.loading-wordmark {
  color: var(--pure);
  opacity: 0; animation: fade-in 0.4s ease 0.1s forwards;
  margin-bottom: 8px;
}
.loading-wordmark svg {
  width: 64px; height: 64px;
}
.loading-bar-track {
  width: 200px; height: 1px; background: var(--iron);
}
.loading-bar-fill {
  height: 100%; width: 0%; background: var(--pure);
  animation: load-bar 1.2s ease 0.3s forwards;
}
@keyframes load-bar { to { width: 100%; } }
.loading-screen.hidden { animation: fade-out 0.5s ease forwards; }
@keyframes fade-out { to { opacity: 0; pointer-events: none; visibility: hidden; } }
@keyframes fade-in { to { opacity: 1; } }

/* CUSTOM CURSOR */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--pure);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.custom-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transition: transform 0.05s, border-color 0.2s;
}

body:has(a:hover) .custom-cursor-ring,
body:has(button:hover) .custom-cursor-ring,
body:has(.project-card:hover) .custom-cursor-ring {
  transform: translate(-50%, -50%) scale(2) !important;
  border-color: rgba(255,255,255,0.2);
}

/* FOOTER */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--iron);
  padding: 80px 0 40px;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 80px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.8;
  color: var(--pure);
  margin-bottom: 24px;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ok);
}
.footer-links {
  display: flex;
  gap: 80px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col .type-overline {
  color: var(--smoke);
  margin-bottom: 8px;
}
.footer-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-link:hover { color: var(--pure); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--iron);
  padding-top: 32px;
  gap: 24px;
}

.not-by-ai-badge {
  display: inline-block;
  transition: transform 0.3s ease;
}

.not-by-ai-badge:hover {
  transform: translateY(-2px);
}

.not-by-ai-badge:hover img {
  opacity: 1 !important;
}

.built-with {
  font-size: 11px;
  color: var(--smoke);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .hero-title { font-size: clamp(64px, 20vw, 120px); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { padding: 28px 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; border-left: none; }
  .stat-item { border-left: none; border-bottom: 1px solid var(--iron); padding: 24px 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--iron); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  
  .contact-content { grid-template-columns: 1fr; }
  
  .nav-links {
    position: fixed;
    top: 64px; right: -100%;
    width: min(320px, 80vw);
    height: calc(100vh - 64px);
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid var(--iron);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 301;
  }
  
  body::after {
    content: '';
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 299;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  body.menu-open::after {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links.open { right: 0; }
  .mobile-menu-toggle { display: block; }
  .toggle-bar {
    display: block; width: 28px; height: 1px;
    background: var(--pure); transition: all 0.3s; margin: 6px 0;
  }
  .mobile-menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .mobile-menu-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .roles-track { animation-duration: 20s; }
  .custom-cursor, .custom-cursor-ring { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 24px; text-align: center; align-items: center; }
  .built-with { justify-content: center; }
}