
:root {
  --site-blue: #1f4e8c;
  --site-ink: #1b2c45;
  --site-border: #d9e1ea;
  --site-bg: #f5f8fc;
  --site-card: #ffffff;
}

body { color: var(--site-ink); }
.navbar { box-shadow: 0 1px 0 rgba(17,24,39,.06); }
.navbar-title { font-weight: 700; }

.quarto-title-banner { display:none; }
main.content { max-width: 1080px; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(180deg, #f7fbff 0%, #f3f7fc 100%);
  border: 1px solid var(--site-border);
  border-radius: 22px;
  padding: 2rem;
  margin: 1rem 0 2.25rem;
}
.hero-portrait-wrap { display:flex; justify-content:center; }
.hero-portrait {
  width: min(100%, 240px);
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  border: 1px solid rgba(31,78,140,.10);
}
.hero-name {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 .4rem;
  color: #16335b;
}
.hero-role {
  color: var(--site-blue);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.hero-org { font-size: 1rem; margin-bottom: 1rem; }
.hero-bio { font-size: 1.03rem; line-height: 1.75; max-width: 60ch; }
.hero-email { margin-top: 1rem; }
.hero-button {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(31,78,140,.24);
  background: #fff;
  color: var(--site-blue);
  font-weight: 600;
  text-decoration: none;
}
.hero-button:hover { background:#f2f7ff; color: var(--site-blue); }

h2 { font-size: 1.65rem; margin-top: 2rem; margin-bottom: 1rem; }

.highlight-carousel {
  position: relative;
  background: transparent;
  margin: 1rem 0 2rem;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--site-border);
  background: var(--site-card);
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
}
.carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.carousel-slide {
  min-width: 100%;
  padding: 1rem 1rem 1.2rem;
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--site-border);
  background: #fff;
}

.carousel-slide h3 {
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  margin: .8rem auto .05rem;
  color: #17365f;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31,78,140,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--site-blue);
  box-shadow: 0 8px 20px rgba(15,23,42,.10);
  z-index: 3;
}
.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
.carousel-btn:hover { background: #f4f8ff; }
.carousel-dots {
  display: flex;
  gap: .55rem;
  justify-content: center;
  align-items: center;
  margin-top: .9rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c5cfdb;
}
.dot.is-active { background: var(--site-blue); transform: scale(1.12); }

ol { padding-left: 1.25rem; }
ol li { margin-bottom: 1rem; line-height: 1.7; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; gap: 1.3rem; padding: 1.35rem; }
  .hero-copy { text-align: left; }
  .hero-portrait { width: min(62vw, 220px); }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
}

@media (max-width: 640px) {
  main.content { padding-left: .9rem; padding-right: .9rem; }
  .home-hero { border-radius: 18px; }
  .carousel-slide { padding: .7rem .7rem 1rem; }
  
.carousel-slide h3 {
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  margin: .8rem auto .05rem;
  color: #17365f;
}

  .carousel-btn { width: 38px; height: 38px; top: 42%; }
}


/* Page layout refinements */
.quarto-title, .title, header#title-block-header { display: none; }

.highlight-carousel {
  max-width: 100%;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-slide img {
  background: #fff;
  max-height: 620px;
}


.carousel-slide h3 {
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  margin: .8rem auto .05rem;
  color: #17365f;
}


@media (max-width: 640px) {
  .carousel-slide img {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  
.carousel-slide h3 {
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  margin: .8rem auto .05rem;
  color: #17365f;
}

}


@media (min-width: 900px) {
  .carousel-slide h3 {
    white-space: nowrap;
  }
}

.carousel-slide {
  min-width: 100%;
  padding: 1rem 1rem 1rem;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--site-border);
  background: #fff;
  max-height: 620px;
}

