* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 300;
  color: #333;
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
}

a { color: #2a6496; text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-name {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
}
.nav-name:hover { text-decoration: none; color: #2a6496; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  color: #555;
  letter-spacing: 0.03em;
}
nav ul a:hover { color: #2a6496; text-decoration: none; }
nav ul a.active { color: #2a6496; border-bottom: 2px solid #2a6496; padding-bottom: 2px; }

/* PAGE */
.page { max-width: 920px; margin: 0 auto; padding: 3rem 2rem; }

/* NAME HEADER */
.name-header { text-align: center; padding: 1rem 0 2.5rem; }
.name-header h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: #3a7ab5;
  letter-spacing: 0.02em;
}

/* HOME GRID */
.home-grid { display: flex; gap: 4rem; align-items: flex-start; }
.home-photo { flex-shrink: 0; }
.home-photo img { width: 270px; display: block; }
.photo-caption {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  margin-top: 0.5rem;
}
.home-bio p { margin-bottom: 1.1rem; font-size: 0.97rem; color: #333; font-weight: 300; }
.contact-block { margin-top: 1.6rem; font-size: 0.93rem; font-weight: 300; }
.contact-block p { margin-bottom: 0.3rem; }

/* PAGE HEADINGS */
h1.page-title {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  color: #3a7ab5;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* SECTION LABELS */
.list-label {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 2rem 0 0.8rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.4rem;
}
.list-label:first-child { margin-top: 0; }

/* PAPERS */
.paper { margin-bottom: 2rem; }
.paper-title {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 0.97rem;
  font-style: italic;
  margin-bottom: 0.25rem;
  color: #222;
}
.badge {
  display: inline-block;
  background: #3a7ab5;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.paper-meta {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 0.5rem;
}
.paper-desc { font-size: 0.92rem; font-weight: 300; color: #555; line-height: 1.7; }
.pub-entry {
  font-size: 0.93rem; font-weight: 300; color: #333;
  margin-bottom: 1rem; padding-left: 1.3rem; text-indent: -1.3rem; line-height: 1.7;
}

/* TEACHING */
.course { margin-bottom: 1.3rem; }
.course-title { font-family: "Lato", sans-serif; font-weight: 400; font-size: 0.95rem; }
.course-meta { font-family: "Lato", sans-serif; font-weight: 300; font-size: 0.83rem; color: #777; margin-top: 0.15rem; }
.eval-table {
  width: 100%; max-width: 520px; border-collapse: collapse;
  font-family: "Lato", sans-serif; font-weight: 300; font-size: 0.83rem; margin: 1.6rem 0 0.4rem;
}
.eval-table th { background: #3a7ab5; color: #fff; padding: 0.5rem 1rem; text-align: left; font-weight: 400; }
.eval-table td { padding: 0.4rem 1rem; border-bottom: 1px solid #eee; color: #444; }
.eval-table tr:nth-child(even) td { background: #f7f9fb; }
.eval-note { font-family: "Lato", sans-serif; font-weight: 300; font-size: 0.76rem; color: #aaa; margin-bottom: 1rem; }
.quote-block { border-left: 3px solid #d0e3f3; padding-left: 1.2rem; margin-top: 1.6rem; }
.quote-block p { font-size: 0.9rem; font-weight: 300; font-style: italic; color: #666; margin-bottom: 0.7rem; }

/* LISTS */
.list-item {
  font-size: 0.93rem; font-weight: 300; color: #333;
  margin-bottom: 0.55rem; padding-left: 1.2rem; position: relative; line-height: 1.6;
}
.list-item::before { content: "–"; position: absolute; left: 0; color: #3a7ab5; font-weight: 400; }
.year { font-family: "Lato", sans-serif; font-weight: 300; font-size: 0.8rem; color: #bbb; margin-left: 0.4rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: "Lato", sans-serif; font-weight: 400;
  font-size: 0.79rem; letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid #3a7ab5; color: #3a7ab5;
  padding: 0.45rem 1.1rem; border-radius: 2px;
  margin-top: 1rem; margin-right: 0.6rem; transition: all 0.18s;
}
.btn:hover { background: #3a7ab5; color: #fff; text-decoration: none; }

/* FOOTER */
footer {
  text-align: center; font-family: "Lato", sans-serif; font-weight: 300;
  font-size: 0.75rem; color: #ccc; padding: 2.5rem 2rem;
  border-top: 1px solid #eee; margin-top: 2rem;
}

@media (max-width: 660px) {
  .home-grid { flex-direction: column; align-items: center; }
  .home-photo img { width: 220px; }
  .name-header h1 { font-size: 2.1rem; }
  nav { padding: 0.9rem 1.2rem; }
  nav ul { gap: 1rem; }
}

/* ── PAGE BANNER ── */
.page-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.72);
}
.banner-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #2a4a5e;
}
.banner-title {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── BULLET LIST ── */
.bullet-list {
  list-style: disc;
  padding-left: 2rem;
  margin: 0.4rem 0 0.8rem;
}
.bullet-list li {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}
.bullet-list li a { color: #2a6496; }
