:root {
  --ink:#172033;
  --muted:#5d6678;
  --paper:#fff;
  --soft:#f4f6fa;
  --line:#dce1ea;
  --accent:#3157a4;
  --accent-dark:#203d79;
  --max:1100px;
  --radius:16px;
  --shadow:0 14px 40px rgba(23,
  32,
  51,
  .08)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:16px/1.65 system-ui,
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  sans-serif
}
a {
  color:var(--accent);
  text-underline-offset:3px
}
a:hover {
  color:var(--accent-dark)
}
h1,
h2,
h3 {
  line-height:1.15;
  letter-spacing:-.025em
}
h1 {
  font-size:clamp(2.5rem,
  7vw,
  5rem);
  margin:.1em 0 .25em
}
h2 {
  font-size:clamp(1.55rem,
  3vw,
  2.25rem)
}
h3 {
  font-size:1.2rem
}
.container {
  width:min(calc(100% - 2rem),
  var(--max));
  margin-inline:auto
}
.skip-link {
  position:absolute;
  left:-9999px
}
.skip-link:focus {
  left:1rem;
  top:1rem;
  z-index:99;
  background:#fff;
  padding:.7rem 1rem;
  border-radius:8px
}
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,
  255,
  255,
  .92);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px)
}
.nav-wrap {
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem
}
.brand {
  font-weight:750;
  color:var(--ink);
  text-decoration:none
}
.site-nav {
  display:flex;
  gap:.25rem
}
.site-nav a {
  color:var(--muted);
  font-weight:650;
  text-decoration:none;
  padding:.55rem .8rem;
  border-radius:8px
}
.site-nav a:hover,
.site-nav a[aria-current=page] {
  color:var(--ink);
  background:var(--soft)
}
.menu-toggle {
  display:none;
  border:1px solid var(--line);
  background:#fff;
  padding:.55rem .8rem;
  border-radius:8px;
  font:inherit
}
.hero {
  min-height:72vh;
  display:grid;
  grid-template-columns:1.5fr .8fr;
  align-items:center;
  gap:clamp(2rem,
  6vw,
  6rem);
  padding-block:6rem
}
.lead {
  font-size:clamp(1.1rem,
  2vw,
  1.35rem);
  color:var(--muted);
  max-width:66ch
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.76rem;
  font-weight:800;
  color:var(--accent)
}
.button-row {
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:2rem
}
.button {
  display:inline-block;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  padding:.75rem 1rem;
  border-radius:9px;
  font-weight:700
}
.button:hover {
  background:var(--accent-dark);
  color:#fff
}
.button.secondary {
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line)
}
.headshot-card {
  background:var(--soft);
  padding:1rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
  color:var(--muted)
}
.headshot-placeholder {
  aspect-ratio:4/5;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(145deg,
  #dfe5f1,
  #eef1f7);
  color:#7c879a;
  font-size:4rem;
  font-weight:800
}
.alt {
  background:var(--soft)
}
.section {
  padding-block:5rem
}
.cards {
  display:grid;
  gap:1.2rem
}
.cards.three {
  grid-template-columns:repeat(3,
  1fr)
}
.cards.two {
  grid-template-columns:repeat(2,
  1fr)
}
.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.5rem;
  box-shadow:0 5px 18px rgba(23,
  32,
  51,
  .035)
}
.card h2,
.card h3 {
  margin-top:0
}
.text-link {
  font-weight:750;
  text-decoration:none
}
.site-footer {
  border-top:1px solid var(--line);
  color:var(--muted);
  padding-block:2rem;
  font-size:.92rem
}
.page {
  padding-block:4rem 6rem
}
.page-header {
  max-width:800px;
  margin-bottom:4rem
}
.page-header h1 {
  font-size:clamp(2.5rem,
  6vw,
  4.5rem)
}
.content-section {
  margin-block:3.5rem
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
  margin-bottom:1rem
}
.section-heading h2,
.section-heading p {
  margin-bottom:0
}
.arxiv-feed {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.5rem;
  background:var(--soft);
  overflow-wrap:anywhere
}
.arxiv-feed .arxivfeed {
  margin:0 0 1rem!important;
  width:auto!important
}
.arxiv-feed .arxivfeed:last-child {
  margin-bottom:0!important
}
.course {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem
}
.clean-list,
.link-list {
  padding-left:1.2rem
}
.clean-list li,
.link-list li {
  margin:.65rem 0
}
@media(max-width:720px) {
  .menu-toggle {
    display:block
  }
  .site-nav {
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    flex-direction:column;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:1rem
  }
  .site-nav.open {
    display:flex
  }
  .hero {
    grid-template-columns:1fr;
    padding-block:3rem
  }
  .headshot-card {
    max-width:340px
  }
  .cards.three,
  .cards.two {
    grid-template-columns:1fr
  }
  .section-heading,
  .course {
    align-items:flex-start;
    flex-direction:column
  }
  .page {
    padding-top:3rem
  }

}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

}
