:root {
  font-family: 'Manrope', sans-serif;
  color: #292929;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
.site-header { padding: 38px 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.name { font-size: 17px; font-weight: 500; letter-spacing: -.4px; }
.site-header nav { display: flex; gap: 22px; font-size: 14px; }
.site-header a { color: #737373; text-decoration: none; }
.site-header a:hover, .site-header a[aria-current="page"] { color: #292929; text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
main { width: min(100% - 64px, 690px); margin: 54px auto 100px; }
h1 { margin: 0 0 28px; font-size: 34px; line-height: 1.2; font-weight: 500; letter-spacing: -1.2px; }
p, li { font-size: 16px; line-height: 1.9; letter-spacing: -.12px; }
p { margin: 0 0 24px; }
.mantras { margin-top: 43px; }
h2 { margin: 0 0 3px; font-size: 16px; line-height: 1.6; font-weight: 500; letter-spacing: -.25px; }
.aside { color: #737373; font-size: 13px; margin-bottom: 20px; }
.project { padding: 22px 0; border-top: 1px solid #e8e8e8; }
.project h2 { margin: 0 0 7px; font-size: 17px; line-height: 1.6; font-weight: 600; letter-spacing: -.25px; }
.project a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.project a:hover { color: #606060; }
.project p { margin-bottom: 0; }
.project .project-meta { margin-bottom: 10px; color: #737373; font-size: 13px; }
ul { list-style: none; padding: 0; margin: 0; }
li { position: relative; padding-left: 24px; margin-bottom: 10px; }
li::before { content: '—'; position: absolute; left: 0; color: #888; }
::selection { background: #e8e8e8; }
:root { transition: background-color .6s ease, color .6s ease; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  /* Light falls off as 1 / (1 + (d / 0.75)^2) in linear light, sampled and converted to sRGB. */
  background: radial-gradient(circle farthest-corner at calc(100% - 46px) calc(100% - 46px),
    #f8fafd 0, #f6f8fb 10%, #f1f3f5 20%, #e3e5e8 35%, #d3d5d7 50%, #bcbdc0 70%, #acadaf 85%, #9d9fa0 100%);
}
.moon-toggle {
  position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; display: grid; place-items: center;
  filter: drop-shadow(0 1px 2px rgba(80, 90, 110, .35));
  transition: transform .3s ease, filter .6s ease;
}
.moon-toggle svg { width: 34px; height: 34px; }
.moon-toggle:hover { transform: rotate(-12deg) scale(1.06); }
.moon-toggle:focus-visible { outline: 2px solid #9aa3b2; outline-offset: 3px; }
.night { background: #000; }
.night body::before { opacity: 1; }
.night .moon-toggle { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)) drop-shadow(0 0 16px rgba(230, 236, 250, .6)); }
.night .site-header a, .night .aside, .night .project .project-meta { color: #3f434a; }
.night .project { border-top-color: rgba(0, 0, 0, .14); }
.night ::selection { background: #c9cfdb; }
@media (max-width: 600px) {
  .site-header { padding: 29px 25px; }
  .name { font-size: 16px; }
  main { width: calc(100% - 50px); margin: 43px auto 65px; }
  h1 { font-size: 30px; margin-bottom: 25px; }
  p, li { font-size: 15px; line-height: 1.85; }
  .mantras { margin-top: 35px; }
  .project h2 { font-size: 16px; }
  .aside { font-size: 12px; }
  li { padding-left: 22px; }
}
