:root {
  --ink: #06101f;
  --ink2: #0d1e38;
  --ink3: #162d50;
  --gold: #b8892a;
  --gold2: #d4a94e;
  --gold3: #eacb7a;
  --gold-pale: #faf3e0;
  --cream: #f7f2e8;
  --fog: #e8e2d4;
  --mist: #c8bfa8;
  --white: #ffffff;
  --text-body: #1a2e4a;
  --text-muted: #6b7e99;
  --border-light: rgba(184,137,42,0.18);
  --border-mid: rgba(184,137,42,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold2); border-radius: 2px; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(247,242,232,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.nav-brand em { color: var(--gold); font-style: normal; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 8px 20px;
  background: var(--ink);
  color: var(--gold3) !important;
  border-radius: 2px;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--ink3) !important; color: var(--gold3) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding: 80px 5% 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(184,137,42,0.08) 0%, transparent 60%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(184,137,42,0.025) 40px,
      rgba(184,137,42,0.025) 41px
    );
}

.hero-left {
  position: relative; z-index: 2;
  padding: 4rem 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold2);
  margin-bottom: 1.8rem;
  opacity: 0; animation: slideIn 0.7s 0.1s ease forwards;
}
.hero-eyebrow-line {
  display: inline-block; width: 32px; height: 1px; background: var(--gold2);
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.15em;
  opacity: 0; animation: slideIn 0.7s 0.2s ease forwards;
}
.hero-name strong {
  font-weight: 700;
  color: var(--gold3);
  display: block;
}

.hero-role {
  font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.6rem;
  opacity: 0; animation: slideIn 0.7s 0.3s ease forwards;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 300;
  color: rgba(234,203,122,0.75);
  margin-bottom: 2.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  line-height: 1.5;
  opacity: 0; animation: slideIn 0.7s 0.4s ease forwards;
}

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: slideIn 0.7s 0.5s ease forwards;
}

.btn-gold {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold3);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn-gold span { position: relative; z-index: 1; }
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { color: var(--ink); }

.btn-ghost {
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--gold3);
  font-weight: 500; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border: 1px solid rgba(234,203,122,0.4);
  cursor: pointer; transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold3);
  background: rgba(234,203,122,0.07);
}

.hero-stats-row {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0; animation: slideIn 0.7s 0.6s ease forwards;
}
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold3); line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--mist); margin-top: 3px;
}

/* Hero right — visual panel */
.hero-right {
  height: 100%; min-height: 100vh;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-visual-frame {
  width: 340px;
  position: relative;
  opacity: 0; animation: fadeScale 0.9s 0.5s ease forwards;
}

.hero-avatar-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--ink3);
  border: 1px solid var(--border-mid);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  gap: 16px;
}
.hero-avatar-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(184,137,42,0.1) 0%, transparent 50%),
    linear-gradient(315deg, rgba(184,137,42,0.06) 0%, transparent 50%);
}

/* Blueprint grid overlay */
.hero-avatar-wrap::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(184,137,42,0.06) 0px, rgba(184,137,42,0.06) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(90deg, rgba(184,137,42,0.06) 0px, rgba(184,137,42,0.06) 1px, transparent 1px, transparent 30px);
}


  .avatar-initials {
  width: 180px;
  height: 180px;
  border-radius: 50%;
   border: 1.5px solid var(--gold2);
  background: rgba(184,137,42,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
    background: transparent;
      box-shadow: 0 0 25px rgba(212,169,78,0.4);

}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image perfect */
  border-radius: 50%;
object-position: center 20%;}


.avatar-name-tag {
  position: relative; z-index: 1;
  text-align: center;
}
.avatar-name-tag p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em;
}
.avatar-name-tag span {
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--mist);
}

.hero-badge-otw {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(6,16,31,0.85);
  border: 1px solid var(--gold);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.otw-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: pulse 2s infinite;
}
.hero-badge-otw p {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold3);
}

/* Decorative corner lines */
.hero-corner {
  position: absolute;
  width: 30px; height: 30px;
}
.hero-corner.tl { top: -6px; left: -6px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.tr { top: -6px; right: -6px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.hero-corner.bl { bottom: -6px; left: -6px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-corner.br { bottom: -6px; right: -6px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ══════════════════════════════════════
   OPEN TO WORK TICKER
══════════════════════════════════════ */
.otw-ticker {
  background: var(--gold);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.otw-ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker 20s linear infinite;
}
.otw-ticker-item {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink);
  padding: 0 2.5rem;
  display: inline-flex; align-items: center; gap: 1rem;
}
.otw-ticker-item::after {
  content: '◆';
  font-size: 0.5rem;
  opacity: 0.5;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
section { padding: 6rem 5%; }

.section-tag {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.7rem;
}
.section-tag::before {
  content: '';
  display: inline-block; width: 24px; height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600; line-height: 1.1;
  color: var(--ink); margin-bottom: 3rem;
}

.section-heading.light { color: var(--white); }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about {
  background: var(--white);
  padding: 6rem 5%;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.about-body p {
  font-size: 1rem; line-height: 1.85;
  color: #3a4f6a; margin-bottom: 1.1rem;
  font-weight: 300;
}

.about-body p strong { font-weight: 600; color: var(--ink); }

.about-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--fog);
  margin-top: 2.5rem;
}

.about-detail-cell {
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}
.about-detail-cell:nth-child(even) { border-right: none; }
.about-detail-cell:nth-last-child(-n+2) { border-bottom: none; }

.adc-label {
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 4px;
}
.adc-val {
  font-size: 0.88rem; font-weight: 500;
  color: var(--ink);
}

.lang-row {
  margin-top: 2.5rem;
}
.lang-row-title {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-muted); margin-bottom: 1rem;
}
.lang-pills { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.lang-pill {
  padding: 6px 16px;
  border: 1px solid var(--fog);
  font-size: 0.8rem; font-weight: 500;
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
}
.lang-pill em {
  font-style: normal;
  font-size: 0.6rem; font-weight: 400;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ══════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════ */
#experience { background: var(--ink); }

.exp-list { display: flex; flex-direction: column; gap: 0; }

.exp-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.exp-entry:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.exp-meta { padding-top: 3px; }
.exp-period {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold2); margin-bottom: 6px;
}
.exp-duration {
  font-size: 0.72rem;
  color: var(--mist); margin-bottom: 4px;
}
.exp-location {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.exp-content { }
.exp-role-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--white); margin-bottom: 4px;
}
.exp-company-name {
  font-size: 0.82rem; font-weight: 500;
  color: var(--gold2); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}
.exp-desc {
  font-size: 0.88rem; line-height: 1.8;
  color: rgba(255,255,255,0.55);
  font-weight: 300; margin-bottom: 1.2rem;
}
.exp-skill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.exp-skill-chip {
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold3);
  background: rgba(184,137,42,0.1);
  border: 1px solid rgba(184,137,42,0.25);
  padding: 4px 10px;
}

/* ══════════════════════════════════════
   EDUCATION
══════════════════════════════════════ */
#education { background: var(--cream); }

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

.edu-card {
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.edu-card:hover { border-color: var(--gold2); transform: translateY(-4px); }

.edu-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
}

.edu-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 700;
  color: var(--fog); line-height: 1;
  position: absolute; top: 1rem; right: 1.2rem;
}

.edu-period {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 1rem;
}

.edu-inst {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink); line-height: 1.25; margin-bottom: 0.4rem;
}

.edu-degree {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 0.5rem;
}

.edu-location {
  font-size: 0.75rem; color: var(--text-muted);
  font-weight: 300;
}

.edu-grade {
  display: inline-block;
  margin-top: 1rem;
  padding: 4px 12px;
  background: var(--gold-pale);
  border: 1px solid rgba(184,137,42,0.3);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold);
}

.edu-activities {
  margin-top: 0.8rem;
  font-size: 0.75rem; line-height: 1.6;
  color: var(--text-muted); font-style: italic;
}

/* ══════════════════════════════════════
   SKILLS
══════════════════════════════════════ */
#skills { background: var(--white); }

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.skill-group { }
.skill-group-title {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold); padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--fog); margin-bottom: 1.5rem;
}

.skill-row { margin-bottom: 1.3rem; }
.skill-label-row {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink); margin-bottom: 8px;
}
.skill-pct { color: var(--gold); font-weight: 600; }

.skill-track {
  height: 3px;
  background: var(--fog);
  position: relative; overflow: hidden;
}
.skill-bar {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold3));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.4,0,0.2,1);
}
.skill-bar.go { transform: scaleX(1); }

/* ══════════════════════════════════════
   PUBLICATIONS & PATENTS
══════════════════════════════════════ */
#research { background: var(--ink2); }

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.research-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem;
  position: relative;
  transition: border-color 0.3s;
}
.research-card:hover { border-color: var(--gold2); }

.research-card-type {
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold2); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.research-card-type::before {
  content: '';
  display: inline-block; width: 16px; height: 1px;
  background: var(--gold2);
}

.research-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--white); line-height: 1.45;
  margin-bottom: 0.8rem;
}

.research-journal {
  font-size: 0.75rem; font-weight: 500;
  color: var(--gold3); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 4px;
}

.research-date {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
}

.patent-num {
  font-family: 'Outfit', monospace;
  font-size: 0.7rem; font-weight: 400;
  color: rgba(255,255,255,0.3); letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { background: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro p {
  font-size: 1rem; line-height: 1.85;
  color: #3a4f6a; font-weight: 300;
  margin-bottom: 2rem;
}

.contact-links { display: flex; flex-direction: column; gap: 2px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--fog);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s, transform 0.2s;
}
.contact-link:hover { border-color: var(--gold2); transform: translateX(4px); }

.cl-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--gold-pale);
  border: 1px solid rgba(184,137,42,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--gold);
}

.cl-label {
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); display: block; margin-bottom: 2px;
}
.cl-val {
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
}

.contact-form-wrap { }

.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 0.8rem 1rem;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  color: var(--ink); outline: none;
  transition: border-color 0.25s;
  resize: none;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--gold2); }
.form-row textarea { height: 110px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  border-top: 1px solid rgba(184,137,42,0.2);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--gold3);
}

.footer-copy {
  font-size: 0.75rem; color: var(--mist);
}

.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,137,42,0.25);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s;
}
.footer-social:hover { border-color: var(--gold2); color: var(--gold3); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.5); }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.up { opacity: 1; transform: translateY(0); }

/* stagger children */
.stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.up > *:nth-child(1) { transition-delay: 0s; }
.stagger.up > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.up > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.up > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.up > * { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-right { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; gap: 2rem; }
  .research-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .exp-entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .about-detail-grid { grid-template-columns: 1fr; }
  .hero-stats-row { gap: 1.5rem; }
}