/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-cyrillic-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-greek-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-vietnamese-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-ext-wght-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* fraunces-vietnamese-full-normal */
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-vietnamese-full-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* fraunces-latin-ext-full-normal */
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-full-normal.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* fraunces-latin-full-normal */
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-full-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* fraunces-vietnamese-full-italic */
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-vietnamese-full-italic.woff2)
    format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* fraunces-latin-ext-full-italic */
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-full-italic.woff2)
    format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* fraunces-latin-full-italic */
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-full-italic.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@layer base {
  :root {
    --color-canvas: #f7f3f8;
    --color-surface: #e9deed;
    --color-ink: #37223f;
    --color-muted-ink: #66546b;
    --color-primary: #854264;
    --color-primary-tint: #ddd0e4;
    --color-focus: #854264;
    --color-line: #dacee0;

    --font-sans:
      "Manrope Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
    --font-display:
      "Fraunces Variable", ui-serif, Georgia, "Times New Roman", serif;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  html {
    scroll-behavior: smooth;
    color: var(--color-ink);
    background: var(--color-canvas);
    font-family: var(--font-sans);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    margin: 0;
    background: var(--color-canvas);
    font-synthesis: none;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
  }

  [id] {
    scroll-margin-top: 1.5rem;
  }

  main,
  h1,
  h2,
  h3,
  p,
  a {
    overflow-wrap: anywhere;
  }

  h1,
  h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-variation-settings:
      "SOFT" 35,
      "WONK" 0;
    font-weight: 600;
    text-wrap: balance;
  }

  p,
  li,
  dd {
    text-wrap: pretty;
  }

  img,
  svg {
    display: block;
    vertical-align: middle;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  :focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
  }

  a {
    color: var(--color-primary);
    text-decoration: none;
    -webkit-tap-highlight-color: rgb(169 62 99 / 18%);
    touch-action: manipulation;
    transition:
      color 120ms ease,
      background-color 120ms ease,
      border-color 120ms ease;
  }

  a:hover {
    color: var(--color-ink);
  }

  ::selection {
    color: var(--color-ink);
    background: var(--color-primary-tint);
  }

  @media print {
    html,
    body {
      background: white;
    }

    .skip-link {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
  }
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--color-surface);
  background: var(--color-ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  color: var(--color-surface);
  transform: translateY(0);
}

.profile {
  --section-space: 1.5rem;
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
  font-size: 1rem;
}

.profile .site-header,
.profile .site-footer,
.profile .actions,
.profile .contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.profile .site-header,
.profile .site-footer {
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
}

.profile .site-header {
  border-bottom: 1px solid var(--color-line);
}
.profile .site-header a,
.profile .site-footer a {
  color: var(--color-ink);
}
.profile .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings:
    "SOFT" 35,
    "WONK" 0;
  font-size: 1.55em;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.profile .wordmark img {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
}
.profile .wordmark small {
  font-size: 0.71em;
  margin-left: 0.3rem;
}
.profile .site-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
}
.profile .site-footer a,
.profile .resume-link,
.profile .actions a,
.profile .contact-links a {
  border-radius: 999px;
  transition:
    color 200ms ease,
    background-color 240ms ease;
}
.profile .site-footer a:hover {
  color: var(--color-primary);
}

.profile .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: var(--section-space);
}
.profile h1 {
  font-size: 2.4rem;
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: initial;
}
.profile h1 em {
  color: var(--color-primary);
  font-weight: inherit;
}
.profile .mobile-break {
  display: none;
}
.profile p {
  color: var(--color-muted-ink);
}
.profile .hero-copy > p {
  max-width: 60ch;
  margin-top: 1.125em;
}
.profile .actions {
  gap: 0.5rem;
  margin-top: 1.0625em;
  font-size: 0.9em;
}
.profile .actions a,
.profile .resume-link,
.profile .contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
}
.profile .focus-link {
  background: var(--color-surface);
}
.profile .resume-link {
  max-width: 100%;
  gap: 0.5rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--color-line);
  font-size: 0.8125rem;
}
.profile .resume-link:hover,
.profile .actions a:hover,
.profile .contact-links a:hover {
  background: var(--color-surface);
  color: var(--color-ink);
}
.profile .focus-link:hover {
  background: var(--color-primary-tint);
}
.profile .link-icon,
.profile .section-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile .link-icon {
  opacity: 0.7;
}
.profile .section-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}
.profile .focus-grid .section-icon {
  margin-bottom: 0.65rem;
}
.profile .research h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.profile .research .section-icon {
  margin-top: 0.1em;
}

.profile .material-study {
  position: relative;
  width: 100%;
  max-width: 13rem;
  justify-self: center;
}
.profile .material-study > img {
  display: block;
  width: 100%;
  height: auto;
}
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.profile h2 {
  font-size: 1.5em;
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.profile h3 {
  margin-bottom: 0.5rem;
  font-size: 1em;
  font-weight: 550;
  line-height: 1.4;
}
.profile .focus-section {
  position: relative;
  padding: 1.25em 1.5625em;
  border-radius: 0.25rem;
  background: var(--color-surface);
}
.profile .focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1em;
}
.profile .focus-grid p,
.profile .experience p,
.profile .research p,
.profile .contact-copy p {
  font-size: 0.96em;
  max-width: 58ch;
}
.profile .focus-grid p {
  max-width: 42ch;
}
.profile .details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: var(--section-space);
}
.profile .details p {
  margin-top: 0.75rem;
}
.profile .supplier-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: 0.5rem 1.625rem;
  max-width: 22rem;
  margin-top: 1.125rem;
  list-style: none;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings:
    "SOFT" 35,
    "WONK" 0;
  font-size: 1.2em;
}
.profile .research {
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-line);
}
.profile .contact {
  position: relative;
  display: grid;
  grid-template-columns: 4.75em minmax(0, 1fr);
  gap: 1.5em;
  align-items: center;
  padding-block: var(--section-space);
  border-top: 1px solid var(--color-line);
}
.profile .portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2.375rem 2.375rem 0.25rem 0.25rem;
}
.profile .contact h2 {
  font-size: 1.35em;
}
.profile .contact-copy p {
  max-width: 70ch;
  margin-top: 0.5625rem;
}
.profile .contact-links {
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.9em;
}
.profile .site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: 0.75rem;
  font-size: 0.8em;
}
.profile .site-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 0.2em;
}

@media (min-width: 1025px) {
  .profile .site-footer > a {
    display: none;
  }
}

@media (max-width: 640px) {
  .profile {
    --section-space: 1.6875rem;
  }
  .profile .site-header {
    align-items: center;
    gap: 0.5rem 1rem;
    padding-block: 1.3125rem;
  }
  .profile .wordmark {
    font-size: 1.45rem;
  }
  .profile .wordmark small {
    display: block;
    margin: 0.1875rem 0 0;
    font-size: 1rem;
  }
  .profile .hero {
    position: relative;
    display: block;
    padding-block: 1.5625rem 1.75rem;
  }
  .profile h1 {
    max-width: calc(100% - 5.25rem);
    font-size: 2.3rem;
  }
  .profile .mobile-break {
    display: block;
  }
  .profile .material-study {
    position: absolute;
    right: 0;
    top: 1.875rem;
    width: 5.25rem;
  }
  .profile .hero-copy > p {
    margin-top: 1.4375rem;
  }
  .profile .focus-section {
    padding: 1.4375rem 1.3125rem;
  }
  .profile .focus-grid {
    grid-template-columns: 1fr;
    gap: 1.375rem;
  }
  .profile h2 {
    font-size: 1.4rem;
  }
  .profile .details {
    grid-template-columns: 1fr;
    gap: 1.6875rem;
  }
  .profile .research {
    padding: 1.5625rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }
  .profile .contact {
    grid-template-columns: 3.625rem minmax(0, 1fr);
    gap: 0.9375rem;
  }
  .profile .contact-copy {
    display: contents;
  }
  .profile .contact-copy > p,
  .profile .contact-links {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .profile .contact-links {
    gap: 0.1875rem;
  }
  .profile .site-footer {
    font-size: 0.75rem;
  }
}

@media (max-width: 350px) {
  .profile .material-study {
    position: relative;
    top: auto;
    margin: 1rem 0 0 auto;
  }
  .profile h1 {
    max-width: none;
  }
  .profile .wordmark {
    font-size: 1.3rem;
  }
  .profile .wordmark small {
    font-size: 0.85rem;
  }
}


@media print {
  .profile {
    width: 100%;
    font-size: 11pt;
  }
  .profile .material-study,
  .particle-canvas,
  .profile .site-footer,
  .profile .actions {
    display: none;
  }
  .profile .hero,
  .profile .details,
  .profile .contact {
    display: block;
  }
  .profile .hero,
  .profile .focus-section,
  .profile .experience,
  .profile .research,
  .profile .contact {
    padding: 1rem 0;
    break-inside: avoid;
  }
  .profile .focus-section {
    background: none;
  }
  .profile .research {
    border: 0;
  }
  .profile h1 {
    max-width: none;
    font-size: 30pt;
  }
  .profile .portrait {
    width: 4.75rem;
    margin-bottom: 1rem;
  }
}

.not-found {
  padding-block: 4rem;
  text-align: center;
}

.profile .not-found h1 {
  max-width: none;
  color: var(--color-primary);
  font-size: 4rem;
}

.not-found > p {
  margin-top: 0.75rem;
}

.not-found .actions {
  justify-content: center;
}
