:root{
  --bg:#fbfbfa;
  --paper:#ffffff;
  --text:#1f2328;
  --muted:#667085;
  --line:#e7e7e3;
  --link:#263f5f;
  --max:920px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.7;
}

a{
  color:var(--link);
  text-decoration:none;
}

a:hover{text-decoration:underline}

.site-header{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
}

.site-name{
  font-weight:650;
  letter-spacing:.08em;
  color:var(--text);
  text-decoration:none;
}

.site-nav{
  display:flex;
  gap:24px;
  font-size:14px;
}

main{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
}

.hero{
  display:flex;
  flex-direction:column;
  padding:36px 0 42px;
  border-bottom:1px solid var(--line);
}

.eyebrow{
  margin:0 0 18px;
  color:var(--muted);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.14em;
}

.hero h1{
  max-width:800px;
  margin:0;
  font-size:clamp(38px,6vw,50px);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:650;
}

.hero p{
  max-width:680px;
  margin:24px 0 0;
  font-size:clamp(18px,2vw,22px);
  color:#4d5561;
  line-height:1.6;
}

.hero-links{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:32px;
}

.text-link{
  font-weight:600;
}

.home-section{
  padding:54px 0;
  border-bottom:1px solid var(--line);
}

.home-section h2{
  margin:0 0 12px;
  font-size:24px;
  letter-spacing:-.02em;
}

.home-section p{
  max-width:720px;
  margin:0;
  color:#4d5561;
}

.profile-page{
  padding:56px 0 80px;
}

.profile-intro{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:40px;
  align-items:start;
  padding-bottom:46px;
  border-bottom:1px solid var(--line);
}

.profile-photo{
  width:150px;
  border-radius:8px;
  display:block;
}

.profile-intro h1{
  margin:0 0 8px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-.035em;
}

.profile-intro .role{
  margin:0 0 18px;
  color:var(--muted);
  font-size:18px;
}

.profile-intro p{
  margin:8px 0;
}

.content-section{
  padding:42px 0 4px;
}

.content-section + .content-section{
  border-top:1px solid var(--line);
  margin-top:34px;
}

.content-section h2{
  margin:0 0 24px;
  font-size:25px;
  letter-spacing:-.02em;
}

.profile-links{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:10px 24px;
  padding:0;
  margin:0;
  list-style:none;
}

.pub,.project{
  margin:0 0 22px;
}

.pub strong,.project strong{
  font-weight:650;
}

.footer{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 42px;
  color:var(--muted);
  font-size:13px;
}

.footer img{
  height:28px;
  opacity:.82;
}

@media (max-width:680px){
  .site-header{
    align-items:flex-start;
  }

  .site-nav{
    gap:14px;
  }

  .hero{
    padding:34px 0 40px;
  }

  .profile-intro{
    grid-template-columns:1fr;
    gap:24px;
  }

  .profile-intro h1{
    font-size:34px;
  }
}
