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

:root {
  --bg: #0a0a0b;
  --bg-card: #111113;
  --bg-card-hover: #18181b;
  --text: #f4f4f5;
  --text-muted: #71717a;
  --accent: #a78bfa;
  --accent-glow: rgba(167, 139, 250, 0.15);
  --accent-bright: #c4b5fd;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ==========================================
   CANVAS BACKGROUND
   ========================================== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1rem;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.accent {
  color: var(--accent);
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 2rem;
  position: relative;
}

.hero-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 80px var(--accent-glow);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h1 .line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1 .line:nth-child(1) { animation-delay: 0.3s; }
h1 .line:nth-child(2) { animation-delay: 0.45s; }
h1 .line:nth-child(3) { animation-delay: 0.6s; }

h1 .accent {
  background: linear-gradient(135deg, var(--accent), #818cf8, var(--accent-bright));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards, gradientShift 6s ease infinite;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll 2s ease infinite;
}

/* ==========================================
   ABOUT
   ========================================== */
#about {
  padding: 8rem 0;
}

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

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-icon {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

/* ==========================================
   SKILLS
   ========================================== */
#skills {
  padding: 4rem 0 8rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.skill-icon svg {
  width: 24px;
  height: 24px;
}

/* ==========================================
   PORTFOLIO
   ========================================== */
#portfolio {
  padding: 4rem 0 8rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    hsl(var(--hue, 260) 40% 12%),
    hsl(var(--hue, 260) 50% 18%)
  );
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-placeholder {
  transform: scale(1.05);
}

.project-placeholder svg {
  width: 48px;
  height: 48px;
  color: hsl(var(--hue, 260) 60% 65%);
  opacity: 0.6;
}

.project-info {
  padding: 1.5rem;
  flex: 1;
}

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

.project-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.project-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--text);
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================
   PROJECT PAGE
   ========================================== */
.project-page {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  transition: color 0.3s;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.back-link:hover {
  color: var(--accent);
}

.project-hero-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    hsl(var(--hue, 260) 40% 10%),
    hsl(var(--hue, 260) 50% 18%),
    hsl(var(--hue, 260) 35% 12%)
  );
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-hero-banner svg {
  width: 80px;
  height: 80px;
  color: hsl(var(--hue, 260) 60% 55%);
  opacity: 0.4;
}

.project-header {
  max-width: 720px;
  margin-bottom: 4rem;
}

.project-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.project-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.project-body {
  max-width: 720px;
}

.project-section {
  margin-bottom: 3rem;
}

.project-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.project-section ul {
  list-style: none;
  padding: 0;
}

.project-section ul li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.project-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.project-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-stack span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 4rem;
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: color 0.3s;
}

.project-nav-link.next {
  text-align: right;
  margin-left: auto;
}

.project-nav-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
}

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

.skill-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.skill-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   APPROACH / TIMELINE
   ========================================== */
#approach {
  padding: 4rem 0 8rem;
}

.approach-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border), transparent);
}

.approach-step {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  width: 80px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.step-content {
  flex: 1;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.approach-step:last-child .step-content {
  border-bottom: none;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================
   CONTACT
   ========================================== */
#contact {
  padding: 8rem 0;
}

.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Contact Form */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

#contact-form .btn {
  align-self: center;
  margin-top: 0.5rem;
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-status.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-dash {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

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

@keyframes scroll {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.skills-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.skills-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.skills-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.skills-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.skills-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.skills-grid [data-animate]:nth-child(6) { transition-delay: 0.4s; }

.approach-step[data-animate]:nth-child(1) { transition-delay: 0s; }
.approach-step[data-animate]:nth-child(2) { transition-delay: 0.1s; }
.approach-step[data-animate]:nth-child(3) { transition-delay: 0.2s; }
.approach-step[data-animate]:nth-child(4) { transition-delay: 0.3s; }

.portfolio-grid [data-animate]:nth-child(1) { transition-delay: 0s; }
.portfolio-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-image-wrapper {
    max-width: 300px;
  }

  .hero-sub {
    margin: 0 auto 2.5rem;
  }

  .hero-cta {
    justify-content: center;
  }

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

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

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

  .project-highlights {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1.25rem;
  }
}

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

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

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-image-wrapper {
    max-width: 250px;
  }

  .approach-timeline::before {
    left: 20px;
  }

  .step-num {
    width: 40px;
    font-size: 0.85rem;
  }

  .approach-step {
    gap: 1.5rem;
  }

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

  .project-nav-link.next {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
