:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --paper: #0a1428;
  --raised: #112043;
  --ink: #eef3fc;
  --muted: #98a8c6;
  --line: #ffffff1c;
  --blue: #0074d9;
  --accent: #4aa3f5;
  --sun: #ffd84d;
  --on-sun: #12141a;
  --font-sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --measure: 42rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, :before, :after {
  box-sizing: border-box;
}

html {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizelegibility;
  background-image: radial-gradient(120% 70% at 10% -10%, #0074d940 0%, #0000 55%), linear-gradient(170deg, #1a569e 0%, #0f1c3a 40%, #0a1428 100%);
  background-attachment: fixed;
  font-size: 100%;
  line-height: 1.7;
}

body {
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
  display: flex;
}

::selection {
  background: var(--sun);
  color: var(--on-sun);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img, svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.feather {
  vertical-align: middle;
  width: 1.25rem;
  height: 1.25rem;
}

.screen-reader-text {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

#site-header {
  z-index: 20;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hdr-wrapper {
  max-width: 64rem;
  padding: .75rem var(--gutter);
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  display: flex;
}

.hdr-left {
  align-items: center;
  gap: 2rem;
  min-width: 0;
  display: flex;
}

.site-branding a {
  letter-spacing: .04em;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.hdr-wrapper .site-nav {
  scrollbar-width: none;
  gap: 1.25rem;
  font-size: .9rem;
  display: flex;
  overflow-x: auto;
}

.hdr-wrapper .site-nav a {
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}

.hdr-wrapper .site-nav a:hover, .hdr-wrapper .site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hdr-icons {
  align-items: center;
  gap: .25rem;
  display: flex;
}

.hdr-social, #home-social {
  gap: .25rem;
  display: flex;
}

.hdr-social a, #home-social a, .hdr-btn {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 999px;
  place-items: center;
  transition: color .15s, background .15s;
  display: grid;
}

.hdr-social a:hover, #home-social a:hover, .hdr-btn:hover {
  color: var(--ink);
  background: var(--line);
}

#menu-btn {
  display: none;
}

#mobile-menu {
  z-index: 19;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1.25rem;
  display: none;
  position: absolute;
  inset: 3.75rem 0 auto;
}

#mobile-menu.open {
  display: block;
}

#mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mobile-menu li a {
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

#spotlight {
  width: 100%;
  max-width: 64rem;
  padding: clamp(2rem, 8vh, 5rem) var(--gutter) 2rem;
  flex-direction: column;
  flex: 1;
  margin: 0 auto;
  display: flex;
}

#home-center {
  flex: 1;
}

#home-title {
  letter-spacing: -.045em;
  margin: 0 0 0 -.045em;
  font-size: clamp(3.25rem, 13vw, 9rem);
  font-weight: 800;
  line-height: .95;
}

#home-subtitle {
  color: var(--muted);
  margin: 1.25rem 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 300;
}

#home-social {
  margin: 1.25rem 0 0 -.5rem;
}

#home-nav {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  column-gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  display: grid;
}

#home-nav a {
  border-bottom: 1px solid var(--line);
  letter-spacing: -.03em;
  isolation: isolate;
  padding: .55em 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  display: block;
  position: relative;
}

#home-nav a:before {
  content: "";
  background: var(--sun);
  z-index: -1;
  width: 0;
  transition: width .45s var(--ease);
  border-radius: .2em;
  position: absolute;
  inset: .28em auto .28em -.15em;
}

#home-nav a:hover, #home-nav a:focus-visible {
  color: var(--on-sun);
}

#home-nav a:hover:before, #home-nav a:focus-visible:before {
  width: calc(100% + .3em);
}

#home-nav a:hover {
  padding-left: .3em;
}

#home-nav a {
  transition: padding-left .45s var(--ease),
		color .2s;
}

#home-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 3rem;
  font-size: .875rem;
}

#home-footer p {
  margin: 0;
}

.site-main {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  padding: clamp(2.5rem, 7vh, 4.5rem) var(--gutter) 3rem;
  flex: 1;
  margin: 0 auto;
}

.site-main > h1 {
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 0 0 2rem;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 750;
  line-height: 1.08;
}

.content {
  overflow-wrap: break-word;
  font-size: 1.0625rem;
}

.content > :first-child {
  margin-top: 0;
}

.content p, .content ul, .content ol {
  margin: 1.1em 0;
}

.content li {
  margin: .35em 0;
}

.content li::marker {
  color: var(--muted);
}

.content h2, .content h3, .content h4 {
  letter-spacing: -.02em;
  text-wrap: balance;
  line-height: 1.2;
  position: relative;
}

.content h2 {
  border-top: 1px solid var(--line);
  margin: 2.6em 0 .7em;
  padding-top: 1.4em;
  font-size: 1.6rem;
  font-weight: 700;
}

.content h3 {
  margin: 2em 0 .5em;
  font-size: 1.25rem;
  font-weight: 650;
}

.content h4 {
  color: var(--muted);
  margin: 1.6em 0 .4em;
  font-size: 1.05rem;
  font-weight: 650;
}

.content a {
  color: var(--accent);
  text-underline-offset: .2em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  -webkit-text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: text-decoration-color .15s, background .15s;
}

.content a:hover {
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
}

.content strong {
  font-weight: 650;
}

.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.content img {
  border-radius: var(--radius);
  height: auto;
}

.content a.anchor {
  width: 1rem;
  color: var(--muted);
  display: none;
  position: absolute;
  top: 50%;
  left: -1.5rem;
  translate: 0 -50%;
}

.content h2 a.anchor {
  top: calc(50% + .7em);
}

@media (hover: hover) and (width >= 62rem) {
  .content a.anchor {
    opacity: 0;
    transition: opacity .15s;
    display: block;
  }

  .content :is(h2, h3, h4):hover a.anchor, .content a.anchor:focus-visible {
    opacity: 1;
  }
}

.content a.anchor svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

blockquote {
  border-left: 3px solid var(--sun);
  margin: 1.6em 0;
  padding: .2em 0 .2em 1.25rem;
  font-size: 1.12em;
  font-weight: 450;
  line-height: 1.55;
}

blockquote p {
  margin: .5em 0;
}

blockquote cite {
  color: var(--muted);
  font-size: .85em;
  font-style: normal;
  display: block;
}

code, kbd {
  font-family: var(--font-mono);
  font-size: .88em;
}

:not(pre) > code {
  background: var(--line);
  border-radius: 6px;
  padding: .15em .4em;
}

.highlight {
  margin: 1.6em 0;
  position: relative;
}

.highlight pre, pre {
  color: #e6edf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  tab-size: 2;
  background: #060d1d;
  margin: 0;
  padding: 1.1rem 1.25rem;
  font-size: .875rem;
  line-height: 1.6;
  overflow-x: auto;
  box-shadow: 0 10px 30px -18px #000;
}

.highlight pre code {
  font-size: inherit;
  background: none;
  padding: 0;
}

.highlight-copy-btn {
  color: #f1f1f1;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  background: #ffffff12;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  padding: .25rem .6rem;
  font-size: .75rem;
  transition: opacity .15s, background .15s;
  position: absolute;
  top: .6rem;
  right: .6rem;
}

.highlight:hover .highlight-copy-btn, .highlight-copy-btn:focus-visible {
  opacity: 1;
}

.highlight-copy-btn:hover {
  background: #ffffff28;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.6em 0;
  font-size: .95rem;
  display: block;
  overflow-x: auto;
}

th, td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: .6rem .9rem;
}

th {
  color: var(--muted);
  font-weight: 650;
}

.footnotes {
  color: var(--muted);
  margin-top: 3rem;
  font-size: .9rem;
}

a.footnote-ref {
  text-decoration: none;
}

.content .cv-download-wrap {
  margin: 0 0 2rem;
}

.content a.cv-download-link {
  backdrop-filter: blur(8px);
  color: var(--ink);
  background: #ffffff0f;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  align-items: center;
  gap: .7rem;
  padding: .3rem 1.1rem .3rem .3rem;
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-flex;
}

.content a.cv-download-link:hover {
  border-color: var(--accent);
  background: #0074d926;
}

.content .cv-download-icon {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
}

.content .cv-download-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform .25s var(--ease);
  display: block;
}

.content a.cv-download-link:hover .cv-download-icon svg {
  transform: translateY(2px);
}

.content .cv-download-meta {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
}

#site-footer {
  text-align: center;
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  padding: 1.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0 auto;
  font-size: .875rem;
}

#site-footer p {
  margin: 0;
}

#site-footer a {
  color: var(--ink);
  text-decoration: none;
}

#site-footer a:hover {
  text-decoration: underline;
}

.scroll-up {
  background: var(--raised);
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s,
		translate .25s var(--ease);
  border-radius: 999px;
  place-items: center;
  display: grid;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  translate: 0 .5rem;
  box-shadow: 0 6px 20px -8px #00000040;
}

.scroll-up.show {
  opacity: 1;
  pointer-events: auto;
  translate: 0;
}

.scroll-up svg {
  width: 1.25rem;
  height: 1.25rem;
}

.error-404 {
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

p.img-404 {
  color: var(--muted);
  margin: 0;
}

p.img-404 svg {
  width: clamp(7rem, 22vw, 10rem);
  height: auto;
}

.banner-404 h1 {
  letter-spacing: -.05em;
  margin: 0;
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 800;
  line-height: 1;
}

.banner-404 p {
  color: var(--muted);
  margin: .5rem 0;
}

.banner-404 .btn-404 a {
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .6rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.banner-404 .btn-404 a svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (width <= 48rem) {
  .hdr-wrapper .site-nav, .hdr-social {
    display: none;
  }

  #menu-btn {
    display: grid;
  }

  .content h2 {
    font-size: 1.4rem;
  }
}

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

  *, :before, :after {
    transition-duration: .01ms !important;
  }
}

@media print {
  #site-header, #site-footer, .scroll-up {
    display: none;
  }
}

@media (width >= 56rem) {
  #home-center {
    grid-template-rows: auto auto auto 1fr;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-content: start;
    column-gap: clamp(1.5rem, 3.5vw, 3rem);
    display: grid;
  }

  #home-title {
    grid-column: 1;
    font-size: clamp(3.5rem, 8vw, 7rem);
  }

  #home-subtitle, #home-social {
    grid-column: 1;
  }

  #home-nav {
    border-left: 2px solid var(--sun);
    border-top: 0;
    grid-area: 1 / 2 / -1;
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-left: clamp(1.5rem, 3.5vw, 3rem);
  }

  #home-nav a {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  }
}

.site-main > h1:empty {
  display: none;
}

.content .cv-download-wrap {
  float: right;
  margin: 0 0 1rem 1rem;
}

.content .cv-download-wrap + h2 {
  border-top: 0;
  align-items: center;
  min-height: 3rem;
  margin-top: 0;
  padding-top: 0;
  display: flex;
}

@media (width <= 39.99rem) {
  .content a.cv-download-link {
    padding: .3rem;
  }

  .content .cv-download-text, .content .cv-download-meta {
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }

  .content .cv-download-wrap + h2 {
    font-size: 1.3rem;
  }
}

@media (width >= 56rem) {
  #home-nav a:first-child {
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content a.cv-download-link:hover .cv-download-icon svg {
    transform: none;
  }
}
