/* ===== Design tokens ===== */
:root {
  --navy: #0f3d5c;
  --navy-dark: #0a2c43;
  --teal: #1f8a8a;
  --teal-soft: #e6f3f3;
  --blue-soft: #eef4f8;
  --bg: #ffffff;
  --bg-alt: #f6f9fb;
  --text: #1f2a33;
  --text-muted: #5b6b78;
  --border: #e2e8ee;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 61, 92, 0.06), 0 6px 20px rgba(15, 61, 92, 0.06);
  --maxw: 1080px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.nav__menu {
  display: flex;
  gap: 1.75rem;
}
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav__menu a:hover { color: var(--navy); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  padding: 4.5rem 1.5rem 4rem;
  max-width: 820px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.hero__name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
}
.hero__title {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
}
.hero__statement {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  text-wrap: pretty;
}
.hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero__contact a { color: var(--navy); }
.hero__contact a:hover { color: var(--teal); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost {
  border-color: var(--border);
  color: var(--text-muted);
  background: var(--white);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--navy);
}
.section__subtitle {
  margin-top: 0.4rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
}
.section__divider {
  width: 56px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
  margin: 1rem 0 2rem;
}
.prose {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 820px;
  text-wrap: pretty;
}

/* ===== Badges ===== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.badge {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: all 0.18s ease;
}
.badge:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

/* ===== Cards grids ===== */
.cards { display: grid; gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cert-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.cert-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
}
.cert-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.cert-card--detail { text-align: left; }
.cert-card--detail h3 { font-size: 1.05rem; }
.cert-card__focus {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== Experience timeline ===== */
.timeline { display: grid; gap: 1.25rem; max-width: 820px; }
.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.exp-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.exp-card__role {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}
.exp-card__period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.exp-card__org { margin-top: 0.35rem; font-weight: 600; color: var(--text); }
.exp-card__loc { margin-top: 0.15rem; color: var(--text-muted); font-size: 0.92rem; }

/* ===== Education ===== */
.edu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.edu-card__degree { font-size: 1.05rem; color: var(--navy); font-weight: 700; line-height: 1.4; }
.edu-card__inst { margin-top: 0.4rem; font-weight: 600; color: var(--text); }
.edu-card__meta { margin-top: 0.15rem; color: var(--text-muted); font-size: 0.9rem; }
.edu-card__grade {
  margin-top: 0.6rem;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

/* ===== Info cards (languages / interests) ===== */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.info-card__title { color: var(--navy); font-size: 1.1rem; margin-bottom: 1rem; }
.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: 0; }
.info-list span { font-weight: 600; color: var(--text); }
.info-list em { font-style: normal; color: var(--text-muted); font-size: 0.92rem; }
.info-list--plain li { justify-content: flex-start; }

/* ===== Contact ===== */
.contact { background: var(--navy); color: var(--white); }
.contact .section__title { color: var(--white); }
.contact__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  text-wrap: pretty;
}
.contact__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: background 0.18s ease;
}
.contact__item:hover { background: rgba(255, 255, 255, 0.12); }
.contact__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal-soft);
}
.contact__value { font-weight: 600; font-size: 1rem; word-break: break-word; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__menu.is-open { max-height: 320px; }
  .nav__menu li { width: 100%; border-top: 1px solid var(--border); }
  .nav__menu a { display: block; padding: 0.9rem 1.5rem; }
  .cards--2,
  .cards--4 { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__inner { padding: 3rem 1.5rem 2.75rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ===== Active nav state ===== */
.nav__menu a.is-active {
  color: var(--navy);
  font-weight: 600;
  position: relative;
}
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* ===== Split hero (home) ===== */
.hero--split .hero__inner {
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero__copy { min-width: 0; }

/* Pharma abstract visual */
.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.viz-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.viz-card--wide { grid-column: span 2; }
.viz-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
}
.viz-card__icon svg { width: 20px; height: 20px; }
.viz-card__label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.viz-card__sub { font-size: 0.78rem; color: var(--text-muted); }
.viz-molecule {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.viz-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  opacity: 0.85;
}
.viz-dot--soft { background: var(--navy); opacity: 0.35; }
.viz-line { flex: 1; height: 2px; background: var(--border); border-radius: 2px; min-width: 16px; }
.viz-bar { height: 6px; border-radius: 6px; background: var(--blue-soft); overflow: hidden; }
.viz-bar > span { display: block; height: 100%; background: var(--teal); border-radius: 6px; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { padding: 3.25rem 1.5rem 2.75rem; max-width: 820px; }
.page-hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance;
}
.page-hero p { margin-top: 0.75rem; color: var(--text-muted); font-size: 1.05rem; text-wrap: pretty; }
.page-hero__inner .hero__actions { margin-top: 1.5rem; }

/* ===== Snapshot cards (text + desc) ===== */
.snap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.snap-card:hover { transform: translateY(-3px); }
.snap-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 0.85rem;
}
.snap-card__icon svg { width: 22px; height: 22px; }
.snap-card h3 { font-size: 1rem; color: var(--navy); line-height: 1.4; }
.snap-card p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--text-muted); }

.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Skill sections ===== */
.skill-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.skill-block + .skill-block { margin-top: 1.25rem; }
.skill-block__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.skill-block__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.skill-block__title { color: var(--navy); font-size: 1.1rem; font-weight: 700; }

/* ===== Recruiter note ===== */
.note {
  background: var(--teal-soft);
  border: 1px solid #cfe7e7;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--navy);
  font-weight: 500;
  text-wrap: pretty;
}

/* ===== Footer extended ===== */
.site-footer__tag { color: rgba(255, 255, 255, 0.92); font-weight: 600; }
.site-footer__meta { margin-top: 0.5rem; }
.site-footer__meta a { color: var(--teal-soft); }
.site-footer__meta a:hover { color: var(--white); }
.site-footer__copy { margin-top: 0.5rem; font-size: 0.82rem; opacity: 0.7; }

/* ===== Dissertation / detail blocks ===== */
.detail {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.detail strong { color: var(--navy); }

/* ===== Bullets list ===== */
.bullets { margin-top: 0.9rem; display: grid; gap: 0.55rem; }
.bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 860px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cards--3 { grid-template-columns: 1fr; }
}
