:root {
  --teal: #1f6f6b;
  --teal-deep: #123f3d;
  --teal-darker: #0c2b2a;
  --amber: #e8a33d;
  --paper: #f5f8f7;
  --ink: #1c2624;
  --ink-soft: #4d5b58;
  --line: #dfe7e5;
  --white: #ffffff;
  --shadow: 0 18px 40px -18px rgba(18,63,61,0.30);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--teal-darker); line-height: 1.2; margin: 0 0 0.5em; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,248,247,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--teal-darker); font-size: 1.02rem; }
.brand img { width: 30px; height: 30px; }
.links { display: flex; align-items: center; gap: 26px; }
.links a { font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); }
.links a:hover { color: var(--teal); }
.cta { background: var(--amber); color: var(--teal-darker) !important; padding: 9px 20px; border-radius: 999px; font-weight: 700 !important; }
.cta:hover { background: #d18f2b; }
.burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--teal-darker); border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--teal-deep); color: var(--white); padding: 90px 0 70px; }
.hero-contours {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    repeating-radial-gradient(circle at 85% 20%, transparent 0 26px, rgba(255,255,255,0.05) 26px 28px),
    repeating-radial-gradient(circle at 10% 90%, transparent 0 34px, rgba(232,163,61,0.06) 34px 36px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: center; }
.eyebrow { color: var(--amber); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 12px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 6px; }
.role { color: rgba(255,255,255,0.88); font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.lead { color: rgba(255,255,255,0.75); max-width: 54ch; margin-bottom: 28px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; transition: transform 0.15s, background 0.15s; }
.btn-primary { background: var(--amber); color: var(--teal-darker); box-shadow: 0 10px 24px -8px rgba(232,163,61,0.5); }
.btn-primary:hover { background: #d18f2b; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.hero-photo { display: flex; justify-content: center; }
.hero-photo img { width: min(260px, 60vw); aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 5px solid rgba(255,255,255,0.15); box-shadow: var(--shadow); }

/* Stats */
.stats { background: var(--teal-darker); color: var(--white); padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--amber); }
.stats span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

.section { padding: 74px 0; }
.section-label { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; margin-bottom: 8px; }
.section-label.light { color: var(--amber); }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 44px; align-items: start; }
.about-grid > div:first-child p { color: var(--ink-soft); }
.skill-card { background: var(--white); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.skill-card h3 { font-size: 0.95rem; color: var(--teal-darker); margin-top: 18px; }
.skill-card h3:first-child { margin-top: 0; }
.tags { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: rgba(31,111,107,0.08); color: var(--teal-deep); font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* Timeline (experience) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 34px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); }
.timeline li:last-child { padding-bottom: 0; }
.period { display: inline-block; background: rgba(232,163,61,0.16); color: #9c6a13; font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 2px; }
.org { color: var(--teal); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }
.timeline p:not(.org) { color: var(--ink-soft); font-size: 0.92rem; margin: 0; max-width: 68ch; }

/* Research grid */
.research { background: var(--teal-deep); color: var(--white); }
.research h2 { color: var(--white); }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.r-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px; }
.r-period { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--amber); margin-bottom: 8px; }
.r-card h3 { font-size: 0.98rem; color: var(--white); margin-bottom: 4px; }
.r-org { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin: 0 0 8px; }
.r-card p:not(.r-org) { color: rgba(255,255,255,0.82); font-size: 0.86rem; margin: 0; }

/* Education */
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.edu-list li { display: flex; gap: 18px; }
.edu-list .yr { flex-shrink: 0; width: 92px; color: var(--teal); font-weight: 700; font-size: 0.85rem; }
.edu-list strong { display: block; font-size: 1rem; }
.edu-list span { color: var(--ink-soft); font-size: 0.88rem; }

/* Publications */
.publications { background: var(--teal-darker); color: var(--white); }
.publications h2 { color: var(--white); }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pub-list li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid var(--amber); border-radius: 10px; padding: 16px 20px; }
.pub-tier { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.pub-list p { margin: 0 0 6px; color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.pub-list a { color: #7fd4cd; font-size: 0.84rem; word-break: break-all; }
.pub-list a:hover { text-decoration: underline; }

/* Contact */
.contact { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-darker) 100%); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-grid > div:first-child p { color: rgba(255,255,255,0.82); }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 16px 18px; }
a.c-card:hover { background: rgba(255,255,255,0.16); }
.c-card strong { color: var(--amber); font-family: var(--font-head); font-size: 0.9rem; }
.c-card span { font-size: 0.88rem; color: rgba(255,255,255,0.88); word-break: break-word; }

.footer { background: var(--teal-darker); color: rgba(255,255,255,0.65); padding: 22px 0; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer a { color: var(--amber); }

@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 180px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .links { position: fixed; top: 0; right: -100%; width: min(78vw,320px); height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 90px 28px 28px; gap: 22px; box-shadow: -10px 0 30px rgba(0,0,0,0.15); transition: right 0.3s ease; }
  .links.open { right: 0; }
  .links a { color: var(--ink); }
  .burger { display: flex; }
  .research-grid { grid-template-columns: 1fr; }
}
