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

:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: rgba(255,255,255,0.08);
  --accent: #ffffff;
  --accent-warm: #f5f0e8;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --nav-height: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===========================
   NOISE OVERLAY
   =========================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  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-size: 256px 256px;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.nav.scrolled {
  border-color: var(--border);
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo .logo-link {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  transition: opacity 0.2s;
}

.nav-logo .logo-link:hover { opacity: 0.7; }

.logo-jk { position: relative; }
.logo-k { color: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 100px;
  transition: color 0.2s, background-color 0.2s;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--text);
  background-color: rgba(255,255,255,0.06);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  background: #fff;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--accent-warm);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transition: transform 0.3s;
}

/* ===========================
   MOBILE MENU
   =========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu ul { list-style: none; text-align: center; }
.mobile-link {
  display: block;
  padding: 0.75rem 2rem;
  font-size: 2rem;
  font-family: var(--font-display);
  color: white;
  transition: opacity 0.2s;
}
.mobile-link:hover { opacity: 0.5; }

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Marquee top */
.hero-marquee-top {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
  margin-top: 1.5rem;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1rem;
}

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

/* Hero content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2.5rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* Hero headline */
.hero-headline-wrapper {
  margin-bottom: 3.5rem;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.headline-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.display-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: white;
  margin: 0;
}


.circle-icon {
  width: clamp(50px, 7vw, 88px);
  height: clamp(50px, 7vw, 88px);
  flex-shrink: 0;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero intro */
.hero-intro {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 900px;
}

.hero-intro p {
  flex: 1;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: black;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, gap 0.2s;
}

.hero-cta:hover {
  background: var(--accent-warm);
  transform: translateY(-2px);
  gap: 0.75rem;
}

/* ===========================
   WORKS SECTION
   =========================== */
.works {
  padding: 5rem 0 0;
}

.works-header {
  padding: 0 2.5rem 3rem;
  border-bottom: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: white;
}

/* Project Cards */
.works-stack {
  position: relative;
}

.project-card {
  position: sticky;
  top: var(--nav-height);
  min-height: 85vh;
  background: var(--card-bg, #111);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.3s;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.project-card-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  min-height: 80vh;
  align-items: center;
}

.project-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 2rem;
  border-right: 1px solid var(--border);
  min-height: 60vh;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.project-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-num {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 500;
}

.project-num span { color: var(--text-dim); }

.project-info {
  margin-top: auto;
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 2.5rem;
}

.project-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}

/* Project Center / Mockup */
.project-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

/* Phone Mockup */
.phone-mockup {
  width: 180px;
  height: 360px;
  background: #1a1a1a;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  transform: perspective(600px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s var(--ease);
}

.phone-mockup:hover {
  transform: perspective(600px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 16px 12px;
}

/* Tablet mockup */
.tablet-mockup {
  width: 280px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transform: perspective(800px) rotateX(8deg);
  transition: transform 0.4s var(--ease);
}

.tablet-mockup:hover { transform: perspective(800px) rotateX(0deg); }

.tablet-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 14px 12px;
}

/* Desktop mockup */
.desktop-mockup {
  width: 320px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transform: perspective(800px) rotateY(-6deg);
  transition: transform 0.4s var(--ease);
}

.desktop-mockup:hover { transform: perspective(800px) rotateY(0deg); }

.desktop-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 14px 14px;
}

/* Screen UI elements */
.screen-ui {
  width: 100%;
  color: white;
}

.ui-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  opacity: 0.9;
}

.ui-balance {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 2px;
}

.ui-label {
  font-size: 9px;
  opacity: 0.5;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.ui-bar {
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 10px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 10px;
  opacity: 0.8;
}

.ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ui-search {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 9px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.ui-rating-card {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.ui-components { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ui-comp-row { display: flex; gap: 6px; }
.ui-component {
  flex: 1;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 8px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.ui-component-wide {
  flex: 1;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 8px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.ui-actions {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.ui-action-btn {
  flex: 1;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 2px;
  font-size: 9px;
  text-align: center;
  color: white;
}

.ui-action-full {
  margin-top: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 10px;
  text-align: center;
}

.car-silhouette {
  font-size: 36px;
  text-align: center;
  margin: 8px 0;
}

.ui-specs {
  display: flex;
  justify-content: space-around;
  gap: 4px;
}

.spec {
  text-align: center;
  font-size: 8px;
  opacity: 0.7;
  line-height: 1.4;
}

.spec strong {
  font-size: 11px;
  color: white;
  opacity: 1;
}

/* Project right */
.project-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
  height: 100%;
  justify-content: center;
}

.project-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-group { display: flex; flex-direction: column; gap: 0.35rem; }

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
}

.detail-value {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.detail-tags span {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
  padding: 8rem 2.5rem;
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-photo-frame {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 600px;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.about-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.photo-initials {
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.05em;
  font-weight: 400;
}

.photo-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-tag {
  display: inline-flex;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  width: fit-content;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
}

.about-headline em {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.about-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 480px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.25rem;
  width: fit-content;
  transition: border-color 0.2s, gap 0.2s;
}

.about-cta:hover { border-color: white; gap: 0.75rem; }

/* ===========================
   STACKS SECTION
   =========================== */
.stacks {
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stacks-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.stacks-header {
  margin-bottom: 3rem;
}

.stacks-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 400px;
}

.stacks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: var(--bg);
  transition: background 0.2s;
  cursor: pointer;
}

.stack-item:hover { background: var(--surface-2); }

.stack-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stack-info { display: flex; flex-direction: column; gap: 0.2rem; }

.stack-name {
  font-size: 1rem;
  font-weight: 500;
  color: white;
}

.stack-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials {
  padding: 8rem 2.5rem;
  overflow: hidden;
}

.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 3.5rem;
}

.testimonials-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s var(--ease);
}

.testimonial-card {
  min-width: calc(50% - 0.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.testi-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

.testi-dots {
  display: flex;
  gap: 0.4rem;
}

.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.testi-dot.active {
  background: white;
  transform: scale(1.2);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 8rem 2.5rem 3rem;
  overflow: hidden;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-cta-area {
  text-align: center;
  padding: 4rem 0 6rem;
  position: relative;
}

.footer-eyebrow {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: white;
  color: black;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, gap 0.2s;
}

.footer-btn:hover {
  background: var(--accent-warm);
  transform: translateY(-3px);
  gap: 1.1rem;
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.footer-btn:hover .btn-arrow { transform: translate(2px, -2px); }

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-social {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social:hover { color: white; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 2rem 1.5rem 4rem; }

  .hero-intro { flex-direction: column; gap: 1.5rem; }

  .project-card-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .project-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .project-right {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 2rem;
  }

  .project-card { position: relative; min-height: auto; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-frame { max-height: 350px; }

  .stacks-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { min-width: calc(100% - 0px); }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .nav { padding: 0 1.5rem; }

  .works-header { padding: 0 1.5rem 2rem; }
  .stacks { padding: 4rem 1.5rem; }
  .testimonials { padding: 5rem 1.5rem; }
  .footer { padding: 5rem 1.5rem 2rem; }
  .about { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .stacks-grid { grid-template-columns: 1fr; }
}

/* ===========================
   CURSOR CUSTOM
   =========================== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Education cards */
.education-card {
  gap: 1.5rem;
}

.edu-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Project link styles */
.project-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
  cursor: pointer;
}

.project-view-link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.project-link:hover .project-view-link {
  color: white;
}

.project-view-link span {
  transition: transform 0.3s;
}

.project-link:hover .project-view-link span {
  transform: translateX(4px);
}

/* ===========================
   EXPERIENCE / TIMELINE SECTION
=========================== */
.experience {
  padding: 8rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.experience-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.experience-header {
  margin-bottom: 4rem;
}

.experience-timeline {
  position: relative;
  padding-left: 2rem;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
}

.exp-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.exp-item--last {
  padding-bottom: 0;
}

.exp-date-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding-top: 0.15rem;
  position: relative;
}

.exp-date {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  text-align: right;
}

.exp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  position: absolute;
  right: -2.6rem;
  top: 4px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.exp-content {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.exp-item--last .exp-content {
  border-bottom: none;
  padding-bottom: 0;
}

.exp-company {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-body);
  margin-bottom: 0.25rem;
}

.exp-role {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

.exp-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  margin-bottom: 1.2rem;
  max-width: 600px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .exp-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-left: 1.5rem;
  }

  .exp-date-col {
    align-items: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .exp-dot {
    position: static;
    right: auto;
    top: auto;
  }

  .experience-inner {
    padding: 0 1.5rem;
  }
}

