/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2d3748;
  background: linear-gradient(160deg, #f7fafc 0%, #edf2f7 50%, #f7fafc 100%);
  background-attachment: fixed;
  line-height: 1.65; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === CSS VARIABLES === */
:root {
  --navy:      #1a365d;
  --blue:      #2b6cb0;
  --accent:    #3182ce;
  --accent-bg: #ebf8ff;
  --text:      #2d3748;
  --muted:     #718096;
  --border:    #e2e8f0;
  --bg:        #f7fafc;
  --white:     #fff;
  --green:     #38a169;
  --gold:      #d69e2e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow:    0 4px 6px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1);
  --radius:    10px;
  --radius-sm: 6px;
  --nav-h:     64px;
}

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
  border-bottom: 1px solid rgba(255,255,255,.1);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(26,54,93,.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-weight: 700; font-size: 1.3rem; color: #fff; white-space: nowrap; }
.nav-menu { display: flex; gap: .1rem; }
.nav-menu a {
  display: block; padding: .45rem .65rem;
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: #fff; padding: .4rem;
}

/* === MAIN === */
main { padding-top: var(--nav-h); }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 55%, #2b6cb0 100%);
  color: var(--white); padding: 6rem 1.5rem 5rem; text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: .4rem;
}
.hero-subtitle { font-size: 1.15rem; opacity: .88; font-weight: 500; margin-bottom: 1.5rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 1.25rem; }
.hero-tag {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .28rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 500;
}
.hero-tagline { font-size: 1rem; opacity: .72; font-style: italic; margin-bottom: 2.25rem; }
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.25rem; }
.btn-white {
  background: var(--white); color: var(--navy);
  padding: .7rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem;
  transition: transform .15s, box-shadow .15s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: .7rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem; border: 2px solid rgba(255,255,255,.5);
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-badge {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); padding: .65rem 1.1rem; text-align: left;
}
.hero-badge-label { font-size: .65rem; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
.hero-badge-value { font-size: .85rem; font-weight: 600; margin-top: .1rem; }

/* === PROFILE BAR === */
.profile-bar { background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.profile-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center;
}
.profile-link {
  display: flex; align-items: center; gap: .4rem; padding: .45rem 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 500; color: var(--text);
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.profile-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }

/* === SECTIONS === */
.section { padding: 4.5rem 1.5rem; }
.section-alt { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 2.25rem; }
.section-head h2 { font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: .4rem; font-size: .95rem; }
.rule { width: 44px; height: 3px; background: var(--accent); border-radius: 2px; margin: .55rem 0 .9rem; }

/* === CARD GRIDS === */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #bee3f8; }
.card-icon {
  width: 40px; height: 40px; background: var(--accent-bg); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: .9rem;
}
.card h3 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* === STATS === */
.stats { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 2.75rem; }
.stat { text-align: center; }
.stat-n { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-l { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; }

/* === PAGE HEADER === */
.page-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  color: #1a365d; padding: 3.5rem 1.5rem;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { font-size: .78rem; color: #718096; margin-bottom: .65rem; }
.breadcrumb a { color: #718096; }
.breadcrumb a:hover { color: #2b6cb0; }
.page-header h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: .4rem; color: #1a365d; }
.page-header p { font-size: .95rem; color: #4a5568; }

/* === PUBLICATION CARDS === */
.pub-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem; margin-bottom: 1.1rem;
  transition: box-shadow .2s;
}
.pub-card:hover { box-shadow: var(--shadow); }
.pub-type {
  display: inline-block; background: var(--accent-bg); color: var(--accent);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .18rem .55rem; border-radius: 4px; margin-bottom: .7rem;
}
.pub-card h3 { font-size: .97rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; line-height: 1.4; }
.pub-venue { font-size: .84rem; color: var(--muted); }
.pub-date { font-size: .78rem; color: var(--muted); font-style: italic; margin-top: .2rem; }

/* === TIMELINE === */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 0;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 2.25rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2.2rem; top: .35rem;
  width: 11px; height: 11px; background: var(--accent); border-radius: 50%;
  border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--accent);
}
.tl-period { font-size: .75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.tl-company { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.tl-role { font-size: .88rem; font-weight: 500; color: var(--blue); margin: .15rem 0 .4rem; }
.tl-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* === TAGS === */
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  font-size: .8rem; padding: .3rem .7rem; border-radius: var(--radius-sm);
}

/* === CONFERENCE LIST === */
.conf-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .7rem 0; border-bottom: 1px solid var(--border);
}
.conf-list li:last-child { border-bottom: none; }
.conf-year {
  background: var(--accent-bg); color: var(--accent);
  font-size: .72rem; font-weight: 700; padding: .2rem .55rem;
  border-radius: 4px; white-space: nowrap; flex-shrink: 0; margin-top: .05rem;
}
.conf-name { font-size: .88rem; font-weight: 500; color: var(--text); }
.conf-loc { font-size: .78rem; color: var(--muted); margin-top: .1rem; }

/* === AWARD CARDS === */
.award-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem; margin-bottom: .8rem;
  transition: box-shadow .2s;
}
.award-card:hover { box-shadow: var(--shadow); }
.award-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, #f6ad55, #dd6b20);
  border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.award-ico.blue { background: linear-gradient(135deg, #63b3ed, #3182ce); }
.award-ico.green { background: linear-gradient(135deg, #68d391, #38a169); }
.award-ico.purple { background: linear-gradient(135deg, #b794f4, #805ad5); }
.award-body h3 { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.award-body p { font-size: .82rem; color: var(--muted); }

/* === BLOG CARDS === */
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-img {
  height: 130px;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.blog-card-body { padding: 1.25rem; }
.blog-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: .4rem; }
.blog-card h3 { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; line-height: 1.4; }
.blog-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.blog-meta { font-size: .78rem; color: var(--muted); display: flex; gap: 1rem; }
.read-more { color: var(--accent); font-size: .83rem; font-weight: 500; }
.read-more:hover { text-decoration: underline; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.ci-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.ci-icon {
  width: 36px; height: 36px; flex-shrink: 0; background: var(--accent-bg);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.ci-label { font-size: .75rem; color: var(--muted); margin-bottom: .1rem; }
.ci-value { font-size: .88rem; font-weight: 500; color: var(--text); }
.ci-value a { color: var(--accent); }
.ci-value a:hover { text-decoration: underline; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .83rem; font-weight: 500; color: var(--text); margin-bottom: .4rem; }
.form-control {
  width: 100%; padding: .65rem .9rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: .88rem; color: var(--text);
  background: var(--white); font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49,130,206,.1); }
textarea.form-control { height: 140px; resize: vertical; }
.btn-accent {
  background: var(--accent); color: var(--white); padding: .7rem 1.75rem;
  border-radius: var(--radius-sm); border: none; font-size: .9rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .15s, transform .15s;
}
.btn-accent:hover { background: var(--blue); transform: translateY(-1px); }

/* === UTILITIES === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: .35rem .9rem;
  font-size: .82rem; font-weight: 500; color: var(--text);
}
.chip-check { color: var(--green); font-weight: 700; }
.placeholder-box {
  background: var(--bg); border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  color: var(--muted); font-style: italic; font-size: .88rem;
}
.info-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .87rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--muted); font-weight: 500; flex-shrink: 0; }

/* === FOOTER === */
.footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
}
.footer-brand { display: none; }
.footer-copy {
  font-size: .78rem; color: #718096;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { font-size: .82rem; color: #718096; }
.footer-nav a:hover { color: #2b6cb0; }

/* === PROFILE CARD === */
.profile-card {
  background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.profile-photo-sq {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile-card-info {
  padding: 1.25rem 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.profile-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}
.profile-card-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .3rem;
}
.profile-card-sub {
  font-size: .78rem;
  color: var(--muted);
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .about-bio-grid { grid-template-columns: 1fr; }
  .profile-card { max-width: 300px; margin: 0 auto; }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-menu {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: .75rem; box-shadow: var(--shadow); z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .6rem .8rem; }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr !important; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .section { padding: 3rem 1.25rem; }
  .stats { gap: 1.5rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-badges { gap: .5rem; }
}
