:root {
  --bg: #0b0e1a;
  --panel: rgba(19, 24, 41, 0.6);
  --panel-solid: #131829;
  --border: rgba(255, 255, 255, 0.08);
  --text: #edeff7;
  --text-dim: #8b93ae;
  --violet: #7c6fff;
  --cyan: #3ee8c8;
  --amber: #ffb86b;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.mono { font-family: var(--font-mono); }

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

::selection { background: var(--violet); color: white; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Background ambient orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.orb-1 { width: 500px; height: 500px; background: var(--violet); top: -150px; left: -100px; animation: drift1 22s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: var(--cyan); top: 30%; right: -150px; animation: drift2 26s ease-in-out infinite; }
.orb-3 { width: 350px; height: 350px; background: #ff6bcb; bottom: -100px; left: 20%; opacity: 0.18; animation: drift1 30s ease-in-out infinite reverse; }

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 60px); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 8px rgba(62, 232, 200, 0.6);
  transition: width 0.1s linear;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 14, 26, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav-logo .dot { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  color: var(--cyan) !important;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  grid-template-rows: auto auto;
  column-gap: 40px;
  align-items: center;
}
.hero-copy { grid-column: 1; grid-row: 1; }
.hero-photo-wrap { grid-column: 2; grid-row: 1; display: flex; justify-content: center; }
.hero-stats { grid-column: 1 / -1; grid-row: 2; margin-top: 48px; }

/* Photo frames — glass border + duotone filter to match theme */
.photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: var(--grad);
  z-index: -1;
  opacity: 0.6;
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(65%) contrast(1.08) brightness(0.95);
  transition: filter 0.5s ease;
}
.photo-duotone {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--violet), var(--cyan));
  mix-blend-mode: color;
  opacity: 0.55;
  pointer-events: none;
}
.photo-frame:hover img { filter: grayscale(15%) contrast(1.05) brightness(1); }
.photo-frame:hover .photo-duotone { opacity: 0.25; }

.photo-frame-hero {
  width: 280px;
  aspect-ratio: 3/4;
  animation: floatPhoto 6s ease-in-out infinite;
}
@keyframes floatPhoto {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.photo-frame-contact {
  width: 240px;
  aspect-ratio: 3/4;
}
.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--grad);
  color: #08091a;
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124, 111, 255, 0.35); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
.stat-wrap {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(270deg, var(--violet), var(--cyan), var(--amber), var(--violet));
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 0 22px rgba(124, 111, 255, 0.35), 0 0 44px rgba(62, 232, 200, 0.15);
  transition: box-shadow 0.3s, transform 0.3s;
}
.stat-wrap:hover {
  box-shadow: 0 0 32px rgba(124, 111, 255, 0.5), 0 0 60px rgba(62, 232, 200, 0.25);
  transform: translateY(-4px);
}
.stat-wrap:nth-child(2) { animation-delay: -2s; }
.stat-wrap:nth-child(3) { animation-delay: -4s; }

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

.stat {
  position: relative;
  background: #0d111c;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}
.stat-num, .stat-suffix {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--cyan);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { position: relative; z-index: 1; padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 8px 0 16px;
  letter-spacing: -0.01em;
}
.section-lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.about-text { color: var(--text-dim); font-size: 1.05rem; }
.about-text strong { color: var(--text); font-weight: 600; }

/* Console (signature element) */
.console-section { padding-top: 40px; }
.console {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.console-tabs {
  display: flex;
  overflow-x: auto;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
}
.console-tab {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 16px 20px;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.console-tab:hover { color: var(--text); }
.console-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.console-body { padding: 32px; min-height: 280px; }
.console-panel { display: none; animation: fadeIn 0.4s ease; }
.console-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.console-line {
  font-size: 0.88rem;
  color: var(--cyan);
  margin-bottom: 16px;
}
.console-line .prompt { color: var(--amber); margin-right: 8px; }
.console-desc { color: var(--text-dim); margin-bottom: 28px; max-width: 700px; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.metric-card.wide { grid-column: span 1; }
.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.metric-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
.metric-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: var(--grad);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.metric-vals { font-size: 0.85rem; }
.metric-vals .before { color: var(--text-dim); }
.metric-vals .after { color: var(--cyan); font-weight: 600; }

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(124, 111, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 111, 255, 0.4);
  box-shadow: 0 16px 40px rgba(124, 111, 255, 0.12);
}
.project-card.featured {
  grid-column: span 2;
  background: linear-gradient(160deg, rgba(124,111,255,0.1), rgba(19,24,41,0.6));
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.project-top h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.project-date { color: var(--text-dim); font-size: 0.78rem; white-space: nowrap; }
.project-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(62, 232, 200, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(62, 232, 200, 0.2);
}
.project-link { color: var(--violet); font-size: 0.88rem; font-weight: 500; }
.project-link:hover { color: var(--cyan); }

/* Cursor-reactive glow (applied via JS to .project-card, .edu-card, .contact-item) */
.glow-card {
  position: relative;
  overflow: hidden;
}
.glow-card::before {
  content: '';
  position: absolute;
  top: var(--my, 50%);
  left: var(--mx, 50%);
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 111, 255, 0.55), rgba(62, 232, 200, 0.25) 40%, transparent 72%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* Research — Notebook / Pinboard section */
.notebook-section {
  position: relative;
  background-color: #12161f;
  background-image:
    linear-gradient(rgba(124, 111, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 111, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 28px;
  margin: 0 24px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.notebook-section .section-inner { padding: 0 24px; }

.pinboard {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 20px;
  padding: 20px 0;
}
.pin-card {
  position: relative;
  background: #fbf8ef;
  color: #2b2b26;
  width: 300px;
  padding: 22px 20px 26px;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.05) inset;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.tilt-left { transform: rotate(-3deg); }
.tilt-right { transform: rotate(2.5deg); }
.pin-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 24px 44px rgba(0,0,0,0.5);
}
.pin-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 26px;
  background: rgba(255, 230, 130, 0.55);
  border: 1px solid rgba(255, 230, 130, 0.7);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.pin-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(0,0,0,0.15);
  margin-bottom: 14px;
  filter: sepia(8%) contrast(1.02);
}
.pin-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a17;
  margin-bottom: 4px;
}
.pin-venue {
  font-size: 0.72rem;
  color: #6b6558;
  margin-bottom: 14px;
}
.pin-note {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  line-height: 1.35;
  color: #3a3a30;
  margin-bottom: 14px;
}
.pin-note mark {
  background: rgba(255, 214, 92, 0.65);
  padding: 0 4px;
  border-radius: 2px;
  box-decoration-break: clone;
}
.pin-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #7c6fff;
  border-bottom: 1px solid rgba(124, 111, 255, 0.4);
  padding-bottom: 2px;
}
.pin-link:hover { color: #5a4fd8; border-color: #5a4fd8; }

.sticky-note {
  position: relative;
  background: #ffe680;
  color: #3a3420;
  width: 180px;
  height: 180px;
  padding: 22px 18px;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
  align-self: center;
}
.sticky-note:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0,0,0,0.45);
}
.sticky-underline {
  text-decoration: underline;
  text-decoration-color: rgba(58, 52, 32, 0.4);
  text-decoration-thickness: 2px;
}

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.edu-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s;
}
.edu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(62, 232, 200, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.edu-card:hover::before { opacity: 1; }
.edu-card:hover { transform: translateY(-4px); border-color: rgba(124, 111, 255, 0.4); }
.edu-logo-badge {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.edu-logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.edu-info h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.edu-school { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 8px; }
.edu-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.edu-meta .mono:first-child { color: var(--text-dim); }
.edu-gpa { color: var(--cyan); font-weight: 600; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.timeline-fill {
  position: absolute;
  left: 4px; top: 6px;
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  transition: height 0.15s linear;
  box-shadow: 0 0 8px rgba(62, 232, 200, 0.5);
}
.tl-item { position: relative; margin-bottom: 48px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-marker {
  position: absolute;
  left: -28px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(62, 232, 200, 0.15);
  transition: box-shadow 0.3s;
}
.tl-item:hover .tl-marker { box-shadow: 0 0 0 6px rgba(62, 232, 200, 0.28); }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.tl-head h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.tl-org { color: var(--text-dim); font-weight: 400; font-size: 0.95rem; }
.tl-date { color: var(--text-dim); font-size: 0.8rem; }
.tl-content ul { padding-left: 20px; color: var(--text-dim); font-size: 0.95rem; }
.tl-content li { margin-bottom: 6px; }
.tl-subrole {
  padding: 16px 0 16px 16px;
  border-left: 2px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.tl-subrole:last-child { margin-bottom: 0; }
.tl-subhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.tl-subhead strong { color: var(--text); font-size: 0.98rem; }
.tl-subdate { color: var(--text-dim); font-size: 0.75rem; }

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.skill-block h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 14px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--violet); color: var(--text); }

/* Publications */
.pub-list { display: flex; flex-direction: column; gap: 12px; }
.pub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.pub-item:hover { border-color: var(--cyan); transform: translateX(4px); }
.pub-thumb {
  width: 64px;
  height: 84px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.pub-text { display: flex; justify-content: space-between; align-items: center; flex: 1; flex-wrap: wrap; gap: 8px; }
.pub-name { font-weight: 500; }
.pub-meta { color: var(--text-dim); font-size: 0.82rem; }

/* Contact */
.contact-section { text-align: left; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.contact-photo-wrap { justify-content: flex-end; }
.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-item:hover { border-color: var(--violet); transform: translateY(-3px); }
.contact-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-val { font-size: 1.05rem; color: var(--text); }

.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { grid-row: 2; }
  .hero-photo-wrap { grid-row: 1; margin-bottom: 32px; }
  .photo-frame-hero { width: 200px; }
  .hero-stats { grid-row: 3; }
  .hero-stats { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo-wrap { justify-content: center; order: -1; margin-bottom: 24px; }
  .contact-links { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .pub-item { flex-direction: column; align-items: flex-start; }
  .pub-text { width: 100%; }
  .notebook-section { margin: 0 12px; padding-top: 56px; padding-bottom: 56px; background-size: 20px 20px; }
  .pinboard { justify-content: center; gap: 36px; }
  .pin-card { width: 100%; max-width: 300px; }
  .sticky-note { width: 140px; height: 140px; font-size: 1.1rem; }
}
