@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14243a;
  --muted: #627187;
  --soft: #8a98aa;
  --line: #e4eaf1;
  --paper: #ffffff;
  --canvas: #f5f8fb;
  --navy: #183b5b;
  --blue: #2c6388;
  --teal: #2f8a83;
  --teal-soft: #e7f4f1;
  --blue-soft: #eaf1f7;
  --shadow: 0 18px 55px rgba(24, 52, 78, .08);
  --radius: 22px;
  --max: 1160px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #70b8b0;
  outline-offset: 3px;
}

.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 234, 241, .9);
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  box-shadow: 0 7px 18px rgba(35, 91, 112, .2);
}

.brand-name { font-size: 15px; font-weight: 760; letter-spacing: -.02em; }

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: -2px;
}

.navlinks { display: flex; align-items: center; gap: 24px; color: #526278; font-size: 13px; font-weight: 650; }

.navlinks a { transition: color .2s ease; }
.navlinks a:hover { color: var(--teal); }
.navlinks a[aria-current="page"] { color: var(--teal); }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--navy);
}

.navlinks a.nav-cta[aria-current="page"] { background: var(--teal); }

.mobile-nav { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 62px;
  background:
    radial-gradient(circle at 84% 16%, rgba(91, 169, 160, .16), transparent 27%),
    radial-gradient(circle at 8% 88%, rgba(91, 139, 177, .11), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero:after {
  content: "";
  position: absolute;
  width: 430px; height: 430px;
  border: 1px solid rgba(47, 138, 131, .12);
  border-radius: 50%;
  right: -180px; top: -220px;
  box-shadow: 0 0 0 36px rgba(47, 138, 131, .025), 0 0 0 72px rgba(47, 138, 131, .02);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .8fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow:before { content: ""; width: 25px; height: 1px; background: var(--teal); }

h1 {
  max-width: 720px;
  margin: 17px 0 13px;
  color: #142d46;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 790;
}

.role { color: var(--blue); font-size: clamp(17px, 2vw, 21px); font-weight: 620; letter-spacing: -.02em; }

.intro { max-width: 690px; margin: 22px 0 0; color: #526278; font-size: 16px; line-height: 1.85; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 730;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(24, 52, 78, .1); }

.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-secondary { background: rgba(255, 255, 255, .75); color: var(--navy); }

.profile-card {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.avatar {
  width: 78px; height: 78px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: 24px;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(145deg, #1c4667, #3c9b91);
  box-shadow: 0 12px 28px rgba(35, 91, 112, .2);
}

.profile-card h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }

.profile-card .small-role { margin: 4px 0 19px; color: var(--muted); font-size: 13px; }

.profile-meta { display: grid; gap: 13px; padding-top: 17px; border-top: 1px solid var(--line); }

.meta-label {
  display: block;
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.meta-value { color: #34475e; font-size: 13px; font-weight: 620; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }

.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #356b6c;
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 700;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

.quick-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

main { padding: 66px 0 80px; flex: 1 0 auto; }

.section { margin-top: 66px; }
.section:first-child { margin-top: 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-kicker {
  color: var(--teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h2.section-title {
  margin: 5px 0 0;
  color: #19334d;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.section-desc { max-width: 560px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }

.text-link { color: var(--teal); font-size: 12px; font-weight: 800; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.research-card {
  min-height: 190px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 7px 24px rgba(24, 52, 78, .035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.research-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card-index {
  display: inline-grid;
  place-items: center;
  width: 31px; height: 31px;
  margin-bottom: 17px;
  border-radius: 10px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 850;
}

.research-card h3 {
  margin: 0 0 8px;
  color: #203a54;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.research-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.pub-list { display: grid; gap: 12px; }

.pub {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.pub-year {
  align-self: start;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.pub-title {
  margin: 0;
  color: #20374e;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 740;
}

.pub-meta { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.pub-meta em { color: #386c70; font-style: normal; font-weight: 700; }

.pub-doi {
  display: inline-block;
  margin-top: 9px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.pub-doi:hover { text-decoration: underline; text-underline-offset: 4px; }

.lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.info-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.info-panel h3 { margin: 0 0 17px; color: #203a54; font-size: 18px; letter-spacing: -.025em; }

.timeline { display: grid; gap: 17px; }

.timeline-item { display: grid; grid-template-columns: 12px 1fr; gap: 12px; }

.timeline-dot {
  width: 9px; height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.timeline-item strong { display: block; color: #2a4058; font-size: 13px; }
.timeline-item span { display: block; color: var(--muted); font-size: 12px; }

.resource-links { display: grid; gap: 10px; }

.resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #29445d;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease;
}

.resource:hover { border-color: #b8d8d3; background: #f6fbfa; }
.resource span:last-child { color: var(--teal); font-size: 17px; }

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(115deg, #183b5b 0%, #245b70 58%, #2f817c 100%);
  box-shadow: 0 18px 45px rgba(24, 59, 91, .16);
}

.contact-band .section-kicker { color: #a8dcd3; }
.contact-band h2 { margin: 7px 0 5px; color: #fff; font-size: 27px; letter-spacing: -.04em; }
.contact-band p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 13px; }
.contact-band .btn { flex-shrink: 0; border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .12); }

footer {
  padding: 25px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--teal); }

.page-hero { padding: 58px 0 46px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 15px 0 0; }
.page-hero .intro { margin-top: 16px; }

.prose { max-width: 720px; }
.prose p { margin: 0 0 17px; color: #4c5c70; font-size: 15.5px; line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-size: 17px; color: #3c4d62; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, .85fr);
  gap: 18px;
  align-items: start;
}

.panel-pad { padding: 30px 32px; }

.note {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.note p { margin: 0 0 9px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.note p:last-child { margin-bottom: 0; }

.empty {
  padding: 34px 30px;
  border: 1px dashed #cfdae6;
  border-radius: 18px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 14px;
}

.tool-search { max-width: 640px; }

.tool-search input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  -webkit-appearance: none;
}

.tool-search input::placeholder { color: #a9b4c2; }

.tool-search input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 138, 131, .13);
}

.tool-hint { margin: 10px 0 0; color: var(--soft); font-size: 11.5px; }

.tool-results { margin-top: 22px; display: grid; gap: 12px; }

.jresult {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.jresult h3 { margin: 0 0 5px; color: #20374e; font-size: 16px; letter-spacing: -.02em; }

.jmeta { margin: 0 0 15px; color: var(--muted); font-size: 12px; }

.jstats { display: flex; flex-wrap: wrap; gap: 12px 38px; margin: 0; }
.jstats div { min-width: 104px; }

.jstats dt {
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jstats dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.jstats dd.jif { color: var(--teal); font-weight: 800; }

.jsrc { margin: 13px 0 0; color: var(--soft); font-size: 11.5px; }

.jlinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0 0; }

.jlinks a { color: var(--teal); font-size: 11.5px; font-weight: 800; }
.jlinks a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .navlinks { gap: 14px; font-size: 12px; }
  .hero-grid { gap: 34px; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 30px, var(--max)); }
  .nav { min-height: 66px; }
  .navlinks { display: none; }
  .mobile-nav { display: block; }

  .mobile-nav summary {
    list-style: none;
    cursor: pointer;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }

  .mobile-nav[open] .mobile-menu {
    position: absolute;
    top: 60px; right: 15px; left: 15px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .mobile-menu a { padding: 11px 13px; border-radius: 9px; color: #526278; font-size: 13px; font-weight: 650; }
  .mobile-menu a:hover { background: var(--canvas); }

  .hero { padding: 53px 0 45px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .intro { font-size: 14px; }
  .profile-card { max-width: 460px; }
  main { padding: 48px 0 58px; }
  .section { margin-top: 52px; }
  .section-head { align-items: start; flex-direction: column; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: auto; }
  .pub { grid-template-columns: 48px 1fr; gap: 12px; padding: 16px; }
  .pub-title { font-size: 13px; }
  .lower-grid { grid-template-columns: 1fr; }
  .contact-band { align-items: start; flex-direction: column; padding: 27px 24px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .page-hero { padding: 40px 0 34px; }
  .panel-pad { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
