/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;

  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --teal-400: #2dd4bf;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.07);
  --border-emerald: rgba(16, 185, 129, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 0.15s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--slate-950);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--slate-900);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--emerald-400);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
}

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

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-med);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.logo-bracket { color: var(--emerald-400); }
.logo-name { color: var(--text-primary); margin: 0 2px; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover { color: var(--text-primary); background: var(--slate-800); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.nav-icon-link {
  color: var(--text-secondary);
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-icon-link:hover { color: var(--text-primary); background: var(--slate-800); }

.btn-hire {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--emerald-400);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.btn-hire:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
  top: -100px; right: 100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 70%);
  bottom: 0; left: -100px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-emerald);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--emerald-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.terminal-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.terminal-cursor {
  animation: blink 1s step-end infinite;
  color: var(--emerald-400);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-500);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-primary:hover {
  background: var(--emerald-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-700);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.btn-secondary:hover {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.06);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--emerald-400);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ═══════════════════════════════════════════
   CODE WINDOW
═══════════════════════════════════════════ */
.hero-visual { position: relative; z-index: 1; }

.code-window {
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--slate-900);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.window-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.code-block {
  padding: 28px 32px;
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
}

.c-keyword { color: #c792ea; }
.c-var { color: var(--teal-400); }
.c-prop { color: var(--slate-300); }
.c-str { color: var(--emerald-400); }
.c-bool { color: #f78c6c; }

/* ═══════════════════════════════════════════
   IMPACT SECTION
═══════════════════════════════════════════ */
.impact-section {
  padding: 60px 0;
  background: var(--slate-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.impact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px;
  background: var(--slate-900);
  transition: background var(--transition-fast);
}
.impact-card:hover { background: var(--slate-800); }

.impact-icon { font-size: 28px; flex-shrink: 0; line-height: 1; margin-top: 2px; }

.impact-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.impact-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.impact-text strong { color: var(--emerald-400); }

/* ═══════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 24px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.marker-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--emerald-500);
  border: 3px solid var(--slate-950);
  box-shadow: 0 0 0 1px var(--emerald-500);
  flex-shrink: 0;
}

.marker-dot--alt {
  background: var(--teal-400);
  box-shadow: 0 0 0 1px var(--teal-400);
}

.marker-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--emerald-500), transparent);
  margin-top: 8px;
  opacity: 0.3;
}

.timeline-card {
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}
.timeline-card:hover {
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-glow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.job-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.company-name {
  font-size: 14px;
  color: var(--emerald-400);
  font-weight: 500;
}
.company-name a { color: var(--emerald-400); }
.company-name a:hover { text-decoration: underline; }

.card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.job-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.job-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.job-points {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-points li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.job-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--emerald-400);
  font-size: 12px;
}

.job-points strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════
   TAGS
═══════════════════════════════════════════ */
.job-tags, .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--slate-700);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.tag:hover { color: var(--text-primary); border-color: var(--slate-500); }

.tag--green {
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--border-emerald);
}

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.project-card--featured {
  grid-row: span 2;
}

.project-card {
  border-radius: var(--radius-lg);
  background: var(--slate-800);
  border: 1px solid var(--border);
  cursor: default;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
}
.project-card:hover {
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.project-card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.project-icon { font-size: 36px; }

.project-featured-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--slate-700);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.project-link-btn:hover { color: var(--emerald-400); background: rgba(16, 185, 129, 0.1); }

.project-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.project-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.hl-icon { font-size: 16px; }

/* ═══════════════════════════════════════════
   BENTO / SKILLS
═══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
}

.bento-card {
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition-med);
}
.bento-card:hover { border-color: var(--border-emerald); }

.bento-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--emerald-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
}

.skill-icon {
  font-size: 18px;
  text-align: center;
}

.si-next {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 900;
}

.skill-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.skill-bar {
  width: 80px;
  height: 4px;
  background: var(--slate-700);
  border-radius: 100px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--emerald-500), var(--teal-400));
  border-radius: 100px;
  animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
  from { width: 0%; }
  to { width: var(--fill, 0%); }
}

.devops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.devops-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--slate-900);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.devops-item:hover { border-color: var(--border-emerald); color: var(--text-primary); }

.devops-icon { font-size: 18px; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-card {
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.ci-value {
  font-size: 14px;
  color: var(--text-primary);
}
.ci-value a { color: var(--emerald-400); }
.ci-value a:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--slate-800);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.social-btn:hover {
  color: var(--emerald-400);
  border-color: var(--border-emerald);
  background: rgba(16, 185, 129, 0.06);
}

/* Form */
.contact-form {
  background: var(--slate-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

.btn-full { width: 100%; justify-content: center; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }

.form-success {
  text-align: center;
  font-size: 14px;
  color: var(--emerald-400);
  font-weight: 500;
  padding: 12px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--slate-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--emerald-400); }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 40px 80px;
    text-align: center;
  }
  .hero-visual { display: flex; justify-content: center; }
  .code-window { max-width: 480px; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }

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

  .projects-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-row: span 1; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card--wide { grid-column: span 2; }
  .bento-card--tall { grid-row: span 1; }

  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 90px 20px 60px; gap: 40px; }

  .stat-card { padding: 16px 12px; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 9px; }

  .section { padding: 70px 0; }

  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { border-radius: 0; }

  .timeline-item { grid-template-columns: 20px 1fr; gap: 16px; }
  .timeline-card { padding: 24px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }

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