/* ===========================================
   DESIGN TOKENS
   =========================================== */
:root {
  --bg: #FAFAF8;
  --bg-tint: #F0F4F8;
  --surface: #FFFFFF;
  --ink: #1A1A2E;
  --ink-light: #374151;
  --muted: #6B7280;
  --accent: #2563EB;
  --accent-light: #DBEAFE;
  --accent-dark: #1D4ED8;
  --accent-mid: #3B82F6;
  --accent-soft: #93C5FD;
  --accent-pale: #EFF6FF;
  --stroke: rgba(0, 0, 0, 0.07);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --max-width: 1140px;
  --header-h: 64px;
  --pointer-x: 50vw;
  --pointer-y: 0vh;
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-light);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 600; }
h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin: 0 0 0.6rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.85rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-pill);
}

/* ===========================================
   LAYOUT
   =========================================== */
.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-tinted {
  background: var(--bg-tint);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  text-wrap: balance;
}

/* ===========================================
   COMPONENTS — BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border-color: var(--stroke);
  color: var(--ink);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* ===========================================
   SCROLL EFFECTS
   =========================================== */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--pointer-x) var(--pointer-y),
    rgba(37, 99, 235, 0.05),
    transparent 60%
  );
  transition: background-position 120ms linear;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 100;
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0.75rem auto 0;
  padding: 0 0.4rem 0 1.1rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.brand {
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition-base);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition-base), background var(--transition-base);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(0,0,0,0.04);
}

.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  margin-left: 0.3rem;
}
.nav-cta:hover,
.nav-cta.is-active {
  background: var(--accent-dark);
  color: #fff !important;
}

/* ===========================================
   HERO
   =========================================== */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h) - 1.5rem);
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.hero-text { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37,99,235,0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #22C55E;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-name-accent {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-mid) 50%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  margin: 1.2rem 0 1rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--muted);
  line-height: 1.7;
}
.hero-tagline strong { color: var(--ink); font-weight: 600; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.tag {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-light);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: border-color var(--transition-base), color var(--transition-base);
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-photo-wrapper {
  position: relative;
}

.hero-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: calc(var(--radius-lg) + 5px);
  background: linear-gradient(150deg, var(--accent-dark), var(--accent-mid), var(--accent-soft));
  opacity: 0.18;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Hero entry animation */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.75s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================================
   ABOUT
   =========================================== */
.about-content {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.75;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

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

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===========================================
   EXPERIENCE
   =========================================== */
.experience-list {
  display: grid;
  gap: 1rem;
}

.exp-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.exp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

.exp-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.exp-logo-text {
  color: var(--accent);
  font-family: 'Sora', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.exp-content { flex: 1; min-width: 0; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.exp-date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.2rem 0.6rem;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
}

.exp-company {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.exp-details {
  margin: 0;
  padding-left: 1.1rem;
}

.exp-details li {
  margin: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.55;
}

/* ===========================================
   EDUCATION
   =========================================== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.edu-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--stroke);
  margin-bottom: 1rem;
}

.edu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.edu-card h3 {
  margin-bottom: 0.4rem;
}

.edu-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.edu-thesis {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-light);
  padding-top: 0.6rem;
  border-top: 1px dashed var(--stroke);
  margin-bottom: 0;
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 1rem;
}

.project-top h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.project-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
}

.project-section {
  margin-bottom: 0.9rem;
}
.project-section:last-child { margin-bottom: 0; }

.project-section h4 {
  color: var(--accent);
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
}

.project-section p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--ink-light);
}

.project-section ul {
  margin: 0;
  padding-left: 1rem;
}

.project-section li {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin: 0.25rem 0;
  line-height: 1.5;
}

.project-impact {
  padding-top: 0.7rem;
  border-top: 1px dashed var(--stroke);
}

.project-impact h4 { color: var(--accent-mid); }

/* ===========================================
   SKILLS
   =========================================== */
.skills-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.skills-competencies,
.tools-block,
.languages-block {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.skills-competencies h3,
.tools-block h3,
.languages-block h3 {
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.skill-tag {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.skill-tag:hover {
  background: var(--accent-light);
  transform: translateX(4px);
}

.lang-track {
  height: 8px;
  background: var(--bg-tint);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.lang-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-mid) 0%, var(--accent-soft) 100%);
  transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.skills-sidebar {
  display: grid;
  gap: 1.25rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.38rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-light);
  background: var(--bg-tint);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.lang-bars {
  display: grid;
  gap: 0.9rem;
}

.lang-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.3rem;
}

.lang-info span:first-child {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.lang-level {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--accent-pale);
  color: var(--accent);
}

/* ===========================================
   QUOTE
   =========================================== */
.quote-section {
  background: var(--ink);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.quote-section blockquote {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.45;
  max-width: 800px;
  position: relative;
  padding-left: 2.5rem;
}

.quote-mark {
  position: absolute;
  left: -0.25rem;
  top: -0.8rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  user-select: none;
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-section {
  background: linear-gradient(145deg, #EEF4FF 0%, var(--bg-tint) 40%, #E0ECFF 100%);
  border-top: 1px solid var(--stroke);
}

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

.contact-inner h2 {
  margin: 0.5rem 0 2rem;
  text-wrap: balance;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.contact-pill svg { flex-shrink: 0; color: var(--accent); }

a.contact-pill:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--stroke);
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===========================================
   REVEAL ANIMATIONS
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   RESPONSIVE — TABLET (max 1024px)
   =========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { order: 2; }
  .hero-visual { order: 1; justify-content: center; }

  .hero-badge { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }

  .hero-photo { max-width: 220px; }

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

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

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

/* ===========================================
   RESPONSIVE — MOBILE (max 768px)
   =========================================== */
@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--stroke);
    margin-top: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    text-align: center;
    padding: 0.6rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .hero { min-height: auto; padding: 2rem 0; }

  .skill-tags { grid-template-columns: 1fr; }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .exp-card {
    flex-direction: column;
    gap: 0.8rem;
  }

  .exp-header {
    flex-direction: column;
    gap: 0.3rem;
  }

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

  .section { padding: clamp(2rem, 4vw, 3rem) 0; }
}

/* ===========================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   =========================================== */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-tags { gap: 0.35rem; }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .contact-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-pill {
    justify-content: center;
  }

  .project-top {
    flex-direction: column;
  }
}

/* ===========================================
   REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .animate-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #heroCanvas { display: none; }

  .lang-fill {
    transition: none !important;
  }

  .pulse-dot::after { animation: none !important; }

  .btn,
  .exp-card,
  .edu-card,
  .project-card,
  .stat-card,
  .tag,
  .pill,
  .contact-pill {
    transition: none !important;
  }

  .page-glow { display: none; }
}
