/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

:root {
  --bg: #0a0a0a;
  --fg: #f0ece4;
  --fg-dim: #8a8680;
  --accent: #c8ff00;
  --card-bg: #141414;
  --border: #222;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --font: 'Space Grotesk', 'Noto Sans SC', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
}

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

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: none;
}

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

/* ═══════════════════════════════════════════
   CUSTOM CURSOR — Small diamond, matches star theme
   ═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              opacity 0.3s var(--ease), border-radius 0.35s var(--ease),
              background 0.3s var(--ease), transform 0.35s var(--ease);
  will-change: left, top;
}

.cursor.hover {
  width: 24px;
  height: 24px;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.cursor.hover::before,
.cursor.hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 1px;
}

.cursor.hover::before {
  width: 2px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.cursor.hover::after {
  width: 20px;
  height: 2px;
  transform: translate(-50%, -50%);
}

@media (hover: none) {
  .cursor { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ═══════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-line {
  width: 120px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loaderProgress 0.8s var(--ease) forwards;
}

@keyframes loaderProgress {
  to { width: 100%; }
}

.loader-text {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--fg-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.4s var(--ease);
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-link {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: clip;
}

.hero-content {
  text-align: center;
  z-index: 2;
  perspective: 800px;
}

.hero-title-wrap {
  overflow: visible;
}

.hero-title {
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

.hero-line {
  display: block;
  overflow: visible;
  padding-bottom: 0.05em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transform-origin: center bottom;
}

.hero-subtitle-wrap {
  overflow: visible;
  margin-top: 24px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
  opacity: 0;
  transform: translateY(12px);
}

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

.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  50.01% { top: -100%; }
  100% { top: 100%; }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--fg-dim);
  border-radius: 50%;
  opacity: 0.3;
}

/* Star trail on hero */
.star {
  position: fixed;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.6),
              0 0 12px 2px rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════
   TOOLS SECTION
   ═══════════════════════════════════════════ */
.tools-section {
  padding: 72px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tools-content {
  max-width: 1400px;
  margin: 0 auto;
}

.tools-content .tools-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.tool-item:hover {
  border-color: var(--accent);
  background: rgba(200, 255, 0, 0.04);
}

.tool-icon {
  font-size: 8px;
  color: var(--accent);
}

.tool-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .tools-section { padding: 48px 24px; }
  .tools-grid { gap: 10px; }
  .tool-item { padding: 10px 18px; }
}

/* ═══════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════ */
.section-header {
  padding: 120px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.label-text {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.section-title,
.about-title,
.contact-title {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line span {
  display: inline-block;
  transform: translateY(110%);
}

/* ═══════════════════════════════════════════
   CATEGORY TABS
   ═══════════════════════════════════════════ */
.category-tabs {
  display: flex;
  gap: 8px;
  padding: 0 40px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
}

.tab:hover {
  border-color: var(--fg-dim);
}

.tab.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ═══════════════════════════════════════════
   WORKS GRID
   ═══════════════════════════════════════════ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
  padding: 0 40px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  cursor: none;
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: scale(0.98);
}

.work-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

.work-card-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-card-placeholder {
  width: 100%;
  height: 100%;
  background: hsl(var(--hue), 30%, 12%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-shape {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    hsl(var(--hue), 50%, 25%) 0%,
    hsl(var(--hue), 40%, 15%) 50%,
    transparent 70%
  );
  filter: blur(40px);
  animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; animation-delay: -1s; }
.shape-3 { border-radius: 50% 50% 30% 70%; animation-delay: -2s; }
.shape-4 { border-radius: 70% 30% 50% 50%; animation-delay: -3s; }
.shape-5 { border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%; animation-delay: -4s; }
.shape-6 { border-radius: 50% 30% 70% 50%; animation-delay: -5s; }

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10%, -10%) scale(1.1); }
  50% { transform: translate(-5%, 15%) scale(0.95); }
  75% { transform: translate(-10%, -5%) scale(1.05); }
}

.placeholder-icon {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.work-card:hover .placeholder-icon {
  transform: scale(1.2);
  color: rgba(255, 255, 255, 0.3);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-info {
  padding: 24px;
}

.work-card-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}

.work-card-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.work-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-dim);
  font-weight: 300;
  flex: 1;
}

.work-card-tags {
  position: absolute;
  bottom: 12px;
  left: 24px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.work-card-tags .tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 255, 136, 0.06);
}

.work-card-index {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

/* Hidden cards for filtering */
.work-card.hidden {
  display: none;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
  }
  .section-header { padding: 80px 24px 40px; }
  .category-tabs { padding: 0 24px 32px; }
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-left .section-label {
  justify-content: flex-start;
}

.about-right {
  padding-top: 8px;
}

.about-text {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
  font-weight: 300;
  color: var(--fg-dim);
  margin-bottom: 32px;
}

.about-list {
  list-style: none;
  margin-bottom: 32px;
  padding-left: 0;
}

.about-list li {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
  margin-bottom: 14px;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.skill-tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(200, 255, 0, 0.04);
  cursor: default;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.skill-tag:hover {
  background: rgba(200, 255, 0, 0.15);
  color: var(--accent);
  border-color: rgba(200, 255, 0, 0.4);
}

.about-subtitle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-number::after {
  content: '+';
  font-size: 0.6em;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

@media (max-width: 768px) {
  .about { padding: 80px 24px; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-subtitle { font-size: 13px; }
  .about-text { margin-bottom: 20px; }
  .about-skills { margin-top: 28px; }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding: 32px 0;
  }
  .stat-number { font-size: clamp(28px, 8vw, 40px); }
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact {
  padding: 120px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-content {
  position: relative;
}

.contact-title {
  margin-bottom: 48px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 400;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s var(--ease), gap 0.4s var(--ease);
}

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

.contact-email svg {
  transition: transform 0.4s var(--ease);
}

.contact-email:hover svg {
  transform: translate(4px, -4px);
}

.contact-socials {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}

.social-link {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  position: relative;
  transition: color 0.3s var(--ease);
}

.social-link:hover {
  color: var(--fg);
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.social-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .contact { padding: 80px 24px 60px; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer { padding: 20px 24px; flex-direction: column; gap: 8px; }
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATION HELPERS
   ═══════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.work-card {
  opacity: 0;
}

/* ═══════════════════════════════════════════
   PROJECT DETAIL
   ═══════════════════════════════════════════ */
.project-detail {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.project-detail.open {
  opacity: 1;
  pointer-events: all;
}

.project-detail-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 80px 48px 60px;
  max-width: 960px;
  margin: 0 auto;
}

.project-close {
  position: fixed;
  top: 24px;
  right: 48px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 10;
  cursor: none;
}

.project-close:hover {
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* ─── Top bar ─── */
.project-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.project-detail-category {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 14px;
  border: 1px solid var(--accent);
  border-radius: 100px;
}

.project-detail-index {
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

/* ─── Title ─── */
.project-detail-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 36px;
}

/* ─── Video box ─── */
.project-video-wrap {
  margin-bottom: 40px;
}

.project-video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  position: relative;
}

.project-video-box .project-detail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-video-box .placeholder-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.08);
}

/* ─── Info row ─── */
.project-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.project-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.info-value {
  font-size: 14px;
  font-weight: 400;
}

/* ─── Description ─── */
.project-desc-wrap {
  margin-bottom: 48px;
}

.project-detail-text {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
  color: var(--fg-dim);
}

/* ─── Nav ─── */
.project-detail-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.project-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
  cursor: none;
}

.project-nav-btn:hover {
  color: var(--accent);
  gap: 16px;
}

@media (max-width: 768px) {
  .project-detail-scroll { padding: 70px 24px 40px; }
  .project-close { right: 24px; }
  .project-info-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .project-video-box { border-radius: 10px; }
  .project-detail-title { font-size: 24px; margin-bottom: 24px; }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}
