/* ── VARIABLES ─────────────────────────────────── */
:root {
  --bg:       #f9f7f4;
  --bg-alt:   #f2efe9;
  --card:     #ffffff;
  --border:   #e4ddd5;
  --ink:      #1a1614;
  --ink2:     #3d3530;
  --muted:    #8a8078;
  --navy:     #1b2a4a;
  --blue:     #2563eb;
  --green:    #16a34a;
  --rose:     #e11d48;
  --amber:    #d97706;
  --accent:   #1b2a4a;
  --font-h:   'Cormorant Garamond', serif;
  --font-b:   'Plus Jakarta Sans', sans-serif;
  --font-m:   'JetBrains Mono', monospace;
  --radius:   10px;
  --shadow:   0 2px 16px rgba(26,22,20,.07);
  --shadow-lg:0 8px 40px rgba(26,22,20,.12);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, textarea, button { font-family: var(--font-b); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── NAV ─────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(249,247,244,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .9rem 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo {
  font-family: var(--font-h);
  font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin-right: auto;
}
.logo span { color: var(--blue); }
.nav-links {
  display: flex; gap: 1.8rem; list-style: none;
}
.nav-links a {
  font-size: .82rem; font-weight: 500;
  color: var(--muted); letter-spacing: .2px;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 1.5px;
  background: var(--blue); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-hire {
  display: flex; align-items: center; gap: .4rem;
  background: var(--navy); color: #fff;
  padding: .5rem 1.1rem; border-radius: 6px;
  font-size: .82rem; font-weight: 500;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.nav-hire:hover { background: var(--blue); transform: translateY(-1px); }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .3s;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  padding: 120px 2rem 0;
  max-width: 1200px; margin: 0 auto;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 5rem; align-items: center;
  padding-bottom: 4rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-m); font-size: .72rem;
  color: var(--green); margin-bottom: 1.2rem;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.25);
  padding: .3rem .8rem; border-radius: 20px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.4); }
  50% { box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}
.hero-heading {
  font-family: var(--font-h);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -1.5px; color: var(--ink);
  margin-bottom: .9rem;
}
.hero-heading em {
  font-style: italic; color: var(--blue);
}
.hero-role {
  font-family: var(--font-m);
  font-size: .88rem; color: var(--muted);
  margin-bottom: 1.2rem; min-height: 1.4em;
}
.hero-bio {
  font-size: 1rem; color: var(--ink2);
  max-width: 480px; line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex; gap: .9rem; margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.btn-main {
  background: var(--navy); color: #fff;
  padding: .75rem 1.6rem; border-radius: 7px;
  font-size: .9rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-main:hover { background: var(--blue); transform: translateY(-2px); }
.btn-sec {
  border: 1.5px solid var(--border);
  color: var(--ink2); padding: .75rem 1.6rem;
  border-radius: 7px; font-size: .9rem; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.btn-sec:hover { border-color: var(--navy); color: var(--navy); }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.chip {
  font-size: .76rem; font-family: var(--font-m);
  background: var(--card); border: 1px solid var(--border);
  padding: .3rem .75rem; border-radius: 20px;
  color: var(--muted); display: flex; align-items: center; gap: .4rem;
}
.chip i { color: var(--navy); font-size: .7rem; }

/* PHOTO */
.hero-photo { position: relative; }
.photo-card {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 12px 60px 12px 60px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .7rem; color: var(--muted);
  font-family: var(--font-m); font-size: .72rem;
  text-align: center; padding: 1.5rem;
}
.photo-empty i { font-size: 3.5rem; color: var(--border); }
.photo-empty code {
  background: var(--bg); border: 1px solid var(--border);
  padding: .2rem .5rem; border-radius: 4px;
  font-size: .68rem; color: var(--blue);
}
.photo-accent {
  position: absolute; bottom: -12px; right: -12px;
  width: 90px; height: 90px;
  border: 1.5px solid var(--blue);
  border-radius: 4px 28px 4px 28px;
  z-index: -1; opacity: .5;
}
.photo-tag {
  position: absolute;
  background: var(--card); border: 1px solid var(--border);
  padding: .4rem .8rem; border-radius: 8px;
  font-family: var(--font-m); font-size: .72rem;
  color: var(--ink2); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .35rem;
  white-space: nowrap;
}
.photo-tag i { color: var(--blue); }
.photo-tag.t1 { top: 16px; left: -20px; }
.photo-tag.t2 { bottom: 30px; right: -20px; }

/* STAT ROW */
.stat-row {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; padding: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-item strong {
  font-family: var(--font-h); font-size: 2.2rem;
  font-weight: 700; color: var(--navy); line-height: 1;
}
.stat-item span {
  font-size: .75rem; color: var(--muted); margin-top: .25rem;
  font-family: var(--font-m);
}
.stat-divider {
  height: 36px; width: 1px; background: var(--border);
}

/* ── SECTIONS ────────────────────────────────────── */
.section { padding: 90px 2rem; }
.bg-alt { background: var(--bg-alt); }
.wrap { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--font-m); font-size: .72rem;
  color: var(--blue); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: .6rem;
}
.section-heading {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1px; color: var(--ink);
  margin-bottom: 2.5rem;
}
.section-heading em { font-style: italic; color: var(--blue); }

/* ── ABOUT ───────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.about-left .section-heading { margin-bottom: 1.5rem; }
.about-left p {
  font-size: .97rem; color: var(--ink2);
  line-height: 1.8; margin-bottom: 1rem;
}
.about-left p strong { color: var(--navy); }
.info-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
  margin-bottom: 1.2rem; box-shadow: var(--shadow);
}
.info-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .55rem 0; border-bottom: 1px solid var(--bg-alt);
  font-size: .88rem; color: var(--ink2);
}
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--navy); width: 16px; text-align: center; }
.info-row a:hover { color: var(--blue); }
.cert-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: var(--shadow);
}
.cert-title {
  font-family: var(--font-m); font-size: .72rem;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: .8rem;
}
.cert-list { display: flex; flex-direction: column; gap: .5rem; }
.cert-row {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: var(--ink2);
}
.cert-row i { color: var(--green); font-size: .75rem; }

/* ── SKILLS ──────────────────────────────────────── */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.skill-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  opacity: 0; transform: translateY(20px);
}
.skill-card.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease,
              border-color .25s, box-shadow .25s;
}
.skill-card:nth-child(2).visible { transition-delay: .08s; }
.skill-card:nth-child(3).visible { transition-delay: .16s; }
.skill-card:nth-child(4).visible { transition-delay: .24s; }
.skill-card:nth-child(5).visible { transition-delay: .32s; }
.skill-card:nth-child(6).visible { transition-delay: .40s; }
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c8d8f0;
}
.sk-icon {
  width: 40px; height: 40px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1rem;
  margin-bottom: 1rem;
}
.skill-card h3 {
  font-family: var(--font-b); font-weight: 600;
  font-size: .95rem; color: var(--ink);
  margin-bottom: .75rem;
}
.sk-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: .9rem;
}
.sk-tags span {
  font-family: var(--font-m); font-size: .68rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--ink2); padding: .2rem .55rem;
  border-radius: 4px;
}
.sk-note {
  font-size: .8rem; color: var(--muted);
  line-height: 1.55; border-top: 1px solid var(--bg-alt);
  padding-top: .75rem;
}

/* ── EXPERIENCE ──────────────────────────────────── */
.exp-block {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 3rem; align-items: start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--navy);
}
.exp-period {
  font-family: var(--font-m); font-size: .8rem;
  color: var(--muted); margin-bottom: .3rem;
}
.exp-type {
  font-family: var(--font-m); font-size: .72rem;
  background: rgba(27,42,74,.08);
  color: var(--navy); padding: .25rem .6rem;
  border-radius: 4px; display: inline-block;
}
.exp-title {
  font-family: var(--font-b); font-weight: 700;
  font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem;
}
.exp-company {
  font-family: var(--font-m); font-size: .8rem;
  color: var(--blue); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .4rem;
}
.exp-list {
  list-style: none; display: flex; flex-direction: column; gap: .75rem;
}
.exp-list li {
  font-size: .91rem; color: var(--ink2); line-height: 1.65;
  padding-left: 1.2rem; position: relative;
}
.exp-list li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--blue); font-size: .8rem; top: .15rem;
}
.exp-list li strong { color: var(--ink); }
.exp-stack {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem;
}
.exp-stack span {
  font-family: var(--font-m); font-size: .7rem;
  background: rgba(37,99,235,.07);
  color: var(--blue); padding: .22rem .6rem;
  border-radius: 4px; border: 1px solid rgba(37,99,235,.2);
}

/* ── PROJECTS ────────────────────────────────────── */
.proj-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.proj-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  opacity: 0; transform: translateY(20px);
}
.proj-card.visible {
  opacity: 1; transform: translateY(0);
}
.proj-card.wide { grid-column: span 2; }
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c8d8f0;
}
.proj-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 1rem;
}
.proj-icon {
  width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.icon-blue  { background: rgba(37,99,235,.1);  color: var(--blue);  }
.icon-green { background: rgba(22,163,74,.1);  color: var(--green); }
.icon-rose  { background: rgba(225,29,72,.1);  color: var(--rose);  }
.icon-amber { background: rgba(217,119,6,.1);  color: var(--amber); }
.proj-year {
  font-family: var(--font-m); font-size: .72rem; color: var(--muted);
}
.proj-card h3 {
  font-family: var(--font-b); font-weight: 700;
  font-size: 1rem; color: var(--ink); margin-bottom: .75rem;
}
.proj-card p {
  font-size: .88rem; color: var(--ink2); line-height: 1.7;
  margin-bottom: 1rem;
}
.proj-card p strong { color: var(--navy); }
.proj-stack {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.proj-stack span {
  font-family: var(--font-m); font-size: .68rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--muted); padding: .2rem .55rem; border-radius: 4px;
}

/* ── RESEARCH ────────────────────────────────────── */
.pub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-bottom: 1.5rem;
}
.pub-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: border-color .25s, transform .25s;
}
.pub-card:hover { border-color: #c8d8f0; transform: translateY(-2px); }
.pub-meta-top {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem;
}
.pub-status {
  font-family: var(--font-m); font-size: .68rem;
  padding: .22rem .65rem; border-radius: 20px;
  display: flex; align-items: center; gap: .3rem;
}
.published {
  background: rgba(22,163,74,.09); color: var(--green);
  border: 1px solid rgba(22,163,74,.25);
}
.pending {
  background: rgba(217,119,6,.09); color: var(--amber);
  border: 1px solid rgba(217,119,6,.25);
}
.pub-index {
  font-family: var(--font-m); font-size: .68rem;
  background: rgba(37,99,235,.07); color: var(--blue);
  border: 1px solid rgba(37,99,235,.2);
  padding: .22rem .65rem; border-radius: 20px;
}
.pub-card h3 {
  font-family: var(--font-b); font-weight: 600;
  font-size: .93rem; color: var(--ink); line-height: 1.4;
  margin-bottom: .5rem;
}
.pub-venue {
  font-family: var(--font-m); font-size: .75rem;
  color: var(--blue); margin-bottom: .8rem;
}
.pub-summary {
  font-size: .84rem; color: var(--ink2); line-height: 1.65;
}
.pub-summary strong { color: var(--navy); }
.index-note {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .82rem; color: var(--ink2); line-height: 1.6;
  border-left: 3px solid var(--amber);
}
.index-note i { color: var(--amber); margin-top: .15rem; flex-shrink: 0; }
.index-note strong { color: var(--navy); }

/* ── EDUCATION ───────────────────────────────────── */
.edu-list {
  display: flex; flex-direction: column;
  position: relative; margin-bottom: 2.5rem;
  padding-left: 2.5rem;
}
.edu-item { position: relative; margin-bottom: 1.5rem; }
.edu-line {
  position: absolute; left: -2.1rem; top: 20px;
  width: 1px; height: calc(100% + 1.5rem);
  background: linear-gradient(var(--border), transparent);
}
.edu-line.short { height: calc(100% + .5rem); }
.edu-dot {
  position: absolute; left: -2.5rem; top: 12px;
  width: 10px; height: 10px; background: var(--navy);
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(27,42,74,.15);
}
.edu-content {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow); transition: border-color .2s;
}
.edu-content:hover { border-color: #c8d8f0; }
.edu-period {
  font-family: var(--font-m); font-size: .72rem;
  color: var(--muted); margin-bottom: .3rem;
}
.edu-content h3 {
  font-family: var(--font-b); font-weight: 600;
  font-size: 1rem; color: var(--ink); margin-bottom: .3rem;
}
.edu-school {
  font-family: var(--font-m); font-size: .8rem;
  color: var(--blue); margin-bottom: .5rem;
}
.edu-grade {
  display: inline-flex; align-items: center;
  background: rgba(27,42,74,.07);
  color: var(--navy); font-family: var(--font-m);
  font-size: .75rem; font-weight: 500;
  padding: .2rem .65rem; border-radius: 20px;
  margin-bottom: .5rem;
}
.edu-note {
  font-size: .83rem; color: var(--muted);
  margin-top: .5rem; line-height: 1.55;
}
.ach-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ach-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow); text-align: center;
  transition: border-color .2s, transform .2s;
}
.ach-card:hover { border-color: #c8d8f0; transform: translateY(-2px); }
.ach-card i {
  font-size: 1.4rem; color: var(--navy);
  margin-bottom: .6rem; display: block;
}
.ach-card p { font-size: .85rem; color: var(--ink2); line-height: 1.5; }
.ach-card p strong { display: block; color: var(--ink); margin-bottom: .2rem; }

/* ── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-left .section-heading { margin-bottom: 1.2rem; }
.contact-left p {
  font-size: .97rem; color: var(--ink2); line-height: 1.75;
  margin-bottom: .9rem;
}
.contact-left p strong { color: var(--navy); }
.contact-links { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.clink {
  display: flex; align-items: center; gap: .8rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem;
  font-size: .88rem; color: var(--ink2);
  box-shadow: var(--shadow); transition: border-color .2s, color .2s;
}
.clink:hover { border-color: var(--navy); color: var(--navy); }
.clink i { color: var(--blue); width: 16px; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font-m); font-size: .72rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: 1px;
}
.form-group input, .form-group textarea {
  background: var(--card); border: 1.5px solid var(--border);
  color: var(--ink); padding: .75rem 1rem;
  border-radius: 7px; font-size: .9rem;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-btn {
  background: var(--navy); color: #fff;
  border: none; border-radius: 7px;
  padding: .8rem; cursor: pointer;
  font-size: .9rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .2s, transform .2s;
}
.form-btn:hover { background: var(--blue); transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem 2rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: var(--font-m); font-size: .75rem; color: var(--muted);
}
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--navy); color: var(--navy); }

/* ── BACK TO TOP ─────────────────────────────────── */
#topBtn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 40px; height: 40px;
  background: var(--navy); color: #fff; border: none;
  border-radius: 8px; cursor: pointer; font-size: .85rem;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: background .2s;
}
#topBtn.show { display: flex; }
#topBtn:hover { background: var(--blue); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card.wide { grid-column: span 1; }
  .exp-block { grid-template-columns: 1fr; }
  .ach-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-hire { display: none; }
  .burger { display: flex; }
  .skills-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 1.5rem; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .hero-heading { font-size: 2.8rem; }
  section.section { padding: 60px 1.2rem; }
  .hero { padding: 100px 1.2rem 0; }
}

/* MOBILE NAV OPEN */
.nav-links.open {
  display: flex !important; flex-direction: column;
  position: absolute; top: 56px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1.2rem 2rem; gap: 1rem;
}
.logo img {
  height: 40px;
  width: auto;
}