:root {
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf2ff;
  --accent-soft-2: #dbeafe;
  --nav-blue-1: #1d4ed8;
  --nav-blue-2: #2563eb;
  --nav-blue-3: #3b82f6;
  --bg: #f8fbff;
  --bg-white: #ffffff;
  --maxw: 980px;
  --flash1: #f59e0b;
  --flash2: #ef4444;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 10px 28px rgba(37, 99, 235, 0.08);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Fira Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f9ff 0%, #f8fbff 40%, #ffffff 100%);
  line-height: 1.72;
  font-size: 17px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   TOP NAV STRIP
   ========================= */

.top-strip {
  width: 100%;
  background: linear-gradient(90deg, var(--nav-blue-1), var(--nav-blue-2), var(--nav-blue-3));
  color: white;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.22);
}

.top-strip-inner {
  width: 100%;
  margin: 0;
  padding: 0 20px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.top-strip-name {
  color: white;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.top-strip-name:hover {
  text-decoration: none;
  opacity: 0.96;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

.site-nav a.active {
  background: rgba(255, 255, 255, 0.2);
}

/* =========================
   MOBILE HAMBURGER
   ========================= */

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HEADER BELOW NAV
   ========================= */

.site-header {
  display: none;
}

/* =========================
   LINKS / TEXT
   ========================= */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

main {
  padding-top: 34px;
  padding-bottom: 70px;
}

h1,
h2,
h3 {
  color: #0b1220;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  margin-top: 42px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #cfe0ff;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #eef5ff 0%, #e7f0ff 100%);
  color: #12305f;
}

h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

p {
  margin: 12px 0;
  font-weight: 400;
}

ul {
  padding-left: 22px;
}

li {
  margin: 10px 0;
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: 8px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  align-items: start;
}

.profile-photo {
  width: 100%;
  max-width: 230px;
  border-radius: var(--radius-lg);
  border: 1px solid #cfe0ff;
  display: block;
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
}

.profile-links {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-links a {
  text-decoration: none;
  background: none;
  border: none;
  width: auto;
  height: auto;
  padding: 0;
}

.profile-links a i {
  font-size: 26px;
}

.profile-links a[href*="mailto"] i {
  color: #ea4335;
}

.profile-links a[href*="linkedin"] i {
  color: #0077b5;
}

.profile-links a[href*="scholar"] i {
  color: #4285f4;
}

.profile-links a:hover i {
  transform: none;
  opacity: 1;
}

.hero-text-col {
  min-width: 0;
}

/* =========================
   BUTTONS
   ========================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  background: white;
}

.button:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border-color: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.button.primary:hover {
  background: linear-gradient(180deg, #1f5ae0 0%, #1944c6 100%);
}

/* =========================
   CARDS / BLOCKS
   ========================= */

.card {
  border: 1px solid #d7e4f8;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 16px 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.list-item {
  margin: 18px 0;
  padding: 0 0 14px 0;
  border-bottom: 1px solid var(--line);
}

.item-title {
  font-weight: 700;
}

/* =========================
   BLUE CALLOUTS / BOXES
   ========================= */

.note-box {
  border: 1px solid #c7dcff;
  border-left: 6px solid var(--accent);
  background: linear-gradient(180deg, #eef5ff 0%, #e8f1ff 100%);
  padding: 15px 16px;
  margin: 18px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.bio-label {
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--accent);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
}

/* =========================
   BADGES
   ========================= */

.new-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  animation: flash 1s infinite;
}

.inline-badge {
  margin-left: 8px;
}

@keyframes flash {
  0% {
    background: var(--flash1);
    opacity: 1;
  }
  50% {
    background: var(--flash2);
    opacity: 0.5;
  }
  100% {
    background: var(--flash1);
    opacity: 1;
  }
}

/* =========================
   EXTRA SECTIONS
   ========================= */

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-item {
  border: 1px solid #d7e4f8;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-card);
}

.clean-list {
  padding-left: 22px;
}

.edu-simple p {
  margin: 12px 0 18px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.edu-simple p:last-child {
  border-bottom: none;
}

.thrust {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
  margin: 24px 0 30px;
}

.figure-placeholder {
  width: 100%;
  min-height: 190px;
  border: 2px dashed #bcd2f7;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}

.figure-wide {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 6px;
}

.figure-wide2 {
  width: 75%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 6px;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #d7e4f8;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-card);
}

.contact-item i {
  width: 24px;
  text-align: center;
  font-size: 20px;
}

.contact-item .fa-envelope {
  color: #ea4335;
}

.contact-item .fa-globe {
  color: var(--accent);
}

.contact-item .fa-linkedin {
  color: #0077b5;
}

/* =========================
   RESEARCH ACCORDION
   ========================= */

.research-page {
  padding-top: 22px;
}

.research-accordion {
  margin-top: 8px;
}

.accordion-item {
  margin-bottom: 18px;
  border: 1px solid #d7e4f8;
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.accordion-header {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  margin: 0;
  border: none;
  outline: none;
  background: linear-gradient(180deg, #eef5ff 0%, #e7f0ff 100%);
  color: #12305f;
  cursor: pointer;
  font-family: "Fira Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: left;
  box-shadow: none;
}

.accordion-header:hover {
  background: linear-gradient(180deg, #e8f1ff 0%, #ddeaff 100%);
}

.accordion-title {
  display: block;
  flex: 1;
  padding-right: 16px;
}

.accordion-icon {
  flex-shrink: 0;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: #12305f;
  transition: transform 0.22s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.accordion-item.active .accordion-content {
  padding: 18px 20px 20px;
}

.accordion-content p:first-child,
.accordion-content img:first-child,
.accordion-content ul:first-child {
  margin-top: 0;
}

.accordion-content p:last-child,
.accordion-content ul:last-child {
  margin-bottom: 0;
}

/* =========================
   FOOTER
   ========================= */

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 24px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .top-strip-inner {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
  }

  .top-strip-name {
    font-size: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: auto;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: white;
    border: 1px solid #d7e4f8;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    z-index: 1000;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    color: #12305f;
    font-size: 0.98rem;
    font-weight: 400;
    padding: 8px 10px;
    border-radius: 8px;
    background: none;
  }

  .site-nav a:hover {
    background: #eef5ff;
    text-decoration: none;
    transform: none;
  }

  .site-nav a.active {
    background: #e7f0ff;
  }

  .hero-grid,
  .two-col,
  .thrust {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 220px;
  }

  .profile-links {
    justify-content: flex-start;
  }

  .figure-wide2 {
    width: 100%;
  }

  .research-page {
    padding-top: 18px;
  }

  .accordion-header {
    font-size: 1.2rem;
    padding: 16px;
  }

  .accordion-content {
    padding: 0 16px;
  }

  .accordion-item.active .accordion-content {
    padding: 16px;
  }

  .accordion-icon {
    font-size: 1.4rem;
  }
}